mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: Joe Hsu <joe@softwell.com.tw>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Kernel 2.6 with X (xorg) 4.4 (eats more CPU power)
Date: Wed, 01 Dec 2004 11:26:07 +0100	[thread overview]
Message-ID: <1101896767.2640.19.camel@laptop.fenrus.org> (raw)
In-Reply-To: <1101896505.2161.45.camel@joe>

On Wed, 2004-12-01 at 18:21 +0800, Joe Hsu wrote:

>     And I found something interisting happened. In pentium 4
> 3.0G machine and linux kernel 2.6, X and my program total 
> consumes 5% of cpu resource.
> 
>     But in pentium 4 2.xG or below, it would consume 10% or 
> more of CPU resource. (If you try this with XFree86 4.2 and 
> pentium 1.xG machine, it would consume 30% or more of cpu 
> resource at a peak.)
> 
>     In contrast, I've tried Kernel 2.4 with same X, same 
> program, and same machine. It consumes almost zero of CPU 
> resource( no matter it runs on a P4 1.xG or P4 3.0G and no
> matter it runs on 4.4 or 4.2 X-server).
> 
>     Same phenomenon happened when I ran 4 mpeg4 playback 
> programs (each 320x240, 30 frames per second, no scaling).
> It seems that these programs and X consume almost zero of 
> CPU power when the KERNEL HZ is 100. (I've 
> tried Robert Love's variable HZ patch to kernel 2.4 and 
> change HZ to 1000........Same phenomenon as 2.6)
> 
>     Could any one explain why??? Thanks.
> (I wish to be personally CC'ed the answers/comments posted 
> to the list in response to your posting 'cause I do not 
> subscribe to this mailing list.)
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
-- 


  reply	other threads:[~2004-12-01 10:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-01 10:21 Joe Hsu
2004-12-01 10:26 ` Arjan van de Ven [this message]
2004-12-02  3:21   ` Kernel 2.6 with X (eats more CPU power)...with test program Joe Hsu
2004-12-01 10:27 ` Kernel 2.6 with X (xorg) 4.4 (eats more CPU power) Arjan van de Ven
2004-12-01 10:56 ` Miguel Angel Flores

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=1101896767.2640.19.camel@laptop.fenrus.org \
    --to=arjan@infradead.org \
    --cc=joe@softwell.com.tw \
    --cc=linux-kernel@vger.kernel.org \
    /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®