I was looking at the cpu use of my linux machine and noticed a strange
effect when running more than one process. I am having it encode wave files
ripped on another machine to mp3s for my music library.

This sample was taken while copying wave files from the other machine:

01:36:54 PM       PID  minflt/s  majflt/s     %user   %system   nswap/s
CPU
01:36:55 PM      7290      0.00      0.00     29.00     38.00      0.00
0
01:36:55 PM      6129      0.00      0.00      1.00     10.00      0.00
0
01:36:55 PM     28240      0.00      0.00     12.00      3.00      0.00
0

7290 is lame encoding wav -> mp3
6129 is samba, receiving wav from another machine
28240 is a process sampling data from the sound card

Forty seconds later, when the copying of that mp3 had finished, the cpu use
looks like this:

01:37:34 PM       PID  minflt/s  majflt/s     %user   %system   nswap/s
CPU
01:37:35 PM      7290      0.00      0.00     85.00      1.00      0.00
0
01:37:35 PM      6129      4.00      0.00      0.00      0.00      0.00
0
01:37:35 PM     28240      0.00      0.00      9.00      0.00      0.00
0

As you can see, the percentage of system cpu use by lame has dropped
significantly, and that's for a process that has been doing the same thing
all the time. Shouldn't lame be getting around 84% cpu for the encoding when
samba is using 11% - now it seems like it's getting only around 30%... Why
is this happening? What can I do to fix it?

Andreas






_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to