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? Andre. -- Arthur Dent: "What's so unpleasant about being drunk?" Ford Prefect: "You ask a glass of water." - Douglas Noel Adams, 1952 - 2001 - DNA, so long and thanks for all the books -- Andre Kajita - Administrador da Rede <admin@camarasjc.sp.gov.br> Camara Municipal de Sao Jose dos Campos - SP http://www.camarasjc.sp.gov.br --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
At 09:12 AM 8/14/01 -0300, you 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. Michael --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
I open two instances of oggdrop and file them so one fish doesn't get too much more of a workload than the other. However, this does depend on having enough disk space (I rip all tracks and then encode in two separate steps) and then start filing into the two oggdrop buckets. Perhaps that given a list of filenames, oggenc/drop could do this sort of spawning themselves? On Tue, 14 Aug 2001, Andre Kajita - Administrador da Rede 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? > > Andre. > -- > Arthur Dent: "What's so unpleasant about being drunk?" > Ford Prefect: "You ask a glass of water." > - Douglas Noel Adams, 1952 - 2001 > - DNA, so long and thanks for all the books > -- > Andre Kajita - Administrador da Rede <admin@camarasjc.sp.gov.br> > Camara Municipal de Sao Jose dos Campos - SP > http://www.camarasjc.sp.gov.br > > --- >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@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. >--- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.