mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: rettw@rtwnetwork.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6 high CPU utilization with multimedia apps {Scanned}
Date: Sat, 22 May 2004 17:27:24 -0700	[thread overview]
Message-ID: <20040522172724.6c804068.akpm@osdl.org> (raw)
In-Reply-To: <32847.192.168.0.243.1085236590.squirrel@webmail.rtwsecurenet.com>

rettw@rtwnetwork.com wrote:
>
> I have noticed and have read several reports on the net
>  regarding CPU utilization differences (top displays) when
>  running multimedia apps on 2.6 versus late 2.4 kernels. 
>  2.6 running xine/mplayer/vlc etc uses 2-4 times more CPU
>  than 2.4.24 running the very same applications/media. 
>  Some of the CPU appears tied up in the "X" process (I am
>  using the xvideo extension), the rest in the app itself. 
>  I have seen this on every machine I have tested 2.6 on,
>  all with 2Ghz+ CPUs.  I have tested 2.6.4, 2.6.5, 2.6.6
>  vanilla kernels from kernel.org

This could be an artifact from the instrumentation - if the application is
doing short bursts of work the 1000Hz clock may be providing more accurate
sampling.

In 2.6, edit include/asm/param.h and set HZ to 100 and then redo the
measurement.


  reply	other threads:[~2004-05-23  0:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-22 14:36 rettw
2004-05-23  0:27 ` Andrew Morton [this message]
2004-05-24  1:47   ` rettw
2004-05-24  2:13     ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040522172724.6c804068.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rettw@rtwnetwork.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®