[vorbis] oggenc and SMP

jaromil jaromil at dyne.org
Tue Aug 14 05:48:35 PDT 2001



On Tue, Aug 14, 2001 at 10:42:56PM +1000, Michael Smith wrote:

> >Greets,
> >
> >I'm encoding my favorite Vivaldi Four Seasons CD (my tester files) on
> >my older dual PII-350 linux machines (it's kinda slow with '-b 160'
> >but that's alright) and started wondering - mind you, I'm sucky at C -
> >is it that hard to implement an encoder that uses all the processors
> >on a SMP computer?
> 
> There are two things you can do:
>  Encode multiple files at once, each using a single cpu
>  Encode only one file at a time, using multiple cpus.
> 
> Doing the first is really easy, and gains you very nearly as much as the
> latter in terms of speedup - as long as you're encoding 2 or more files,
> which you typically are if you're encoding a cd, for example.
> 
> The second is _very_ difficult. Jeff Squyres wrote a program called 
> 'poggenc' to do this, but he never completed it, it's just a really
> difficult problem - because decisions the encoder makes depend on
> past input, not just on what it is currently encoding. 

well, i find this interesting. can anybody point me to any resources 
documenting how to write SMP aware code?

thanks


-- 
jrml ..//korova.dyne.org
6EEE 4FB2 2555 7ACD 8496  AB99 E2A2 93B4 6C62 4800

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis mailing list