On a PII233 system running linux with ogg-vorbis-RC2, when playing a 2-min 48kbps ogg file, ogg123 takes much more CPU time than XMMS (several seconds with ogg123 vs. less than one second for all XMMS threads added up). Since the pids are the same, I am sure that XMMS did not create new threads when playing one song. I think this has to do with soundcard interaction. <p>--- >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.
Rainy <r6144@263.net> wrote:> On a PII233 system running linux with ogg-vorbis-RC2, > when playing a 2-min 48kbps ogg file, ogg123 takes much more CPU time > than XMMS (several seconds with ogg123 vs. less than one second > for all XMMS threads added up). Since the pids are the same, I > am sure that XMMS did not create new threads when playing one song. > > I think this has to do with soundcard interaction.I belive cpu-time isn't always reported correctly for xmms and its treads, (at least when using top to report). I didn't notice any change in %-of cpu-time between xmms(stopped) or xmms(playing). Is this true in your case too? How, or why it happens, I've no clue. -Joel --- >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 belive cpu-time isn't always reported correctly for xmms and its treads, > (at least when using top to > report). I didn't notice any change in %-of cpu-time between xmms(stopped) > or xmms(playing). Is this true > in your case too?When stopped there are four threads of XMMS, none is taking CPU time. When playing two more are created, and totally they eat 0.3~0.5% on my PII/233 (isn't noticeable, is it? :)>From a look at /proc I find that the player threads eat 0.02s of usertime and 0.2s of kernel time per minute of playing, so it is truly 0.3%. Therefore, if the time calculated is wrong, it is kernel's fault. <p><p>--- >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.