[gst-devel] Hi all, and a question

Giuliano Pochini pochini at shiny.it
Thu Jun 24 01:02:02 CEST 2004

On 23-Jun-2004 David Schleef wrote:
> On Wed, Jun 23, 2004 at 10:06:23AM +0200, Giuliano Pochini wrote:
>> I know top is not very reliable, but vmstat should.  The strange
>> cpu usage I can see with vmstat is 100% cpu for 1-2s just after
>> start playing a wav, and a short 100% cpu spike every 5s (not
>> always) while playing mp3. I'll investigate this later.
> vmstat uses the same measurement method as top.  Plus, it merges
> all processes, so CPU hogs like gnome-terminal affect results.

No, vmstat uses /proc/<pids>/ only for the running status [DSRZ]
of the tasks. It uses the /proc/stat to get overall cpu usage
infos. btw, I don't know if the kernel just sums the values of
the tasks.


More information about the gstreamer-devel mailing list