[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090616074304.4e41ae98@infradead.org>
Date: Tue, 16 Jun 2009 07:43:04 -0700
From: Arjan van de Ven <arjan@...radead.org>
To: Robert Bradbury <robert.bradbury@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: Scheduler fails to allow for "niceness" with new/fast processes
On Tue, 16 Jun 2009 10:23:59 -0400
Robert Bradbury <robert.bradbury@...il.com> wrote:
> I primarily use my system (Gentoo) for 3 tasks: (a) Browsing the web
> related to biomedical research (I may often have dozens of windows and
> hundreds of tabs open in several browsers); (b) Running fairly CPU &
> Disk I/O intensive genetics programs; (c) Performing low priority
> rebuilds of various packages (Gentoo packages, firefox/chrome
> releases, etc.
>
> Now (a) is my top priority -- I want my active browser to get all of
> the CPU if it requires it (fast window/tab opens, quick page reloads &
> redraws, etc.); (b) is of lesser priority and (c) is lowest priority.
> This is on a 2.8 GHz Pentium IV (Prescott) with 3GB of RAM and 12GB
> of swap on two drives.
>
> Now I normally run (c) processes at nice -n 19 to (in theory) get the
> least CPU allocation. But it would appear that this does not work. I
> often experience extremely poor user (esp. browser) performance when
> running package builds. In monitoring the package builds I find that
have you tried running latencytop in this workload to see why you're
really stalling? Latencytop can at least tell you for sure if it's
a scheduler issue or something else...
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists