Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-07 Thread Andriy Gapon
on 07/09/2010 08:54 Jeremy Chadwick said the following: Can someone explain exactly what this sysctl does? The description is only useful if you have familiarity with the scheduler internals: $ sysctl -d kern.sched.preempt_thresh kern.sched.preempt_thresh: Min priority for preemption, lower

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-07 Thread Andriy Gapon
on 06/09/2010 22:05 jhell said the following: On 09/03/2010 20:14, David Xu wrote: I think sysctl kern.sched.preempt_thresh is too low, default is only 64. I always tune it up to 200 on my desktop machine which is running gnome and other GUI applications, for a heavy GUI deskkop, I would

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-06 Thread jhell
On 09/03/2010 20:14, David Xu wrote: jan.gr...@bristol.ac.uk wrote: On Thu, 2 Sep 2010, Andriy Gapon wrote: on 02/09/2010 12:08 jan.gr...@bristol.ac.uk said the following: On Wed, 1 Sep 2010, Ivan Voras wrote: On 09/01/10 15:08, jan.gr...@bristol.ac.uk wrote: I'm running -STABLE

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-06 Thread Andriy Gapon
on 04/09/2010 03:14 David Xu said the following: I think sysctl kern.sched.preempt_thresh is too low, default is only 64. I always tune it up to 200 on my desktop machine which is running gnome and other GUI applications, for a heavy GUI deskkop, I would tune it up to 224 to get better

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-06 Thread Jeremy Chadwick
On Mon, Sep 06, 2010 at 03:05:53PM -0400, jhell wrote: On 09/03/2010 20:14, David Xu wrote: jan.gr...@bristol.ac.uk wrote: On Thu, 2 Sep 2010, Andriy Gapon wrote: on 02/09/2010 12:08 jan.gr...@bristol.ac.uk said the following: On Wed, 1 Sep 2010, Ivan Voras wrote: On

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-03 Thread Jim Bryant
i just noticed this too... had a build going of qt-creator, and then started a /usr/src make clean, and had to abort the qt-creator build to get the make clean to finish. it was taking forever to even paint the xterm in the make clean window. -stable built as of last week, amd64 kernel,

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-03 Thread Michal Varga
On Fri, 2010-09-03 at 14:03 -0500, Jim Bryant wrote: i just noticed this too... had a build going of qt-creator, and then started a /usr/src make clean, and had to abort the qt-creator build to get the make clean to finish. it was taking forever to even paint the xterm in the make clean

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-03 Thread Jeremy Chadwick
On Fri, Sep 03, 2010 at 10:08:38PM +0200, Michal Varga wrote: On Fri, 2010-09-03 at 14:03 -0500, Jim Bryant wrote: i just noticed this too... had a build going of qt-creator, and then started a /usr/src make clean, and had to abort the qt-creator build to get the make clean to finish.

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-03 Thread Bruce Cran
On Fri, 3 Sep 2010 13:50:10 -0700 Jeremy Chadwick free...@jdc.parodius.com wrote: Just be aware of this problem[1] when using it. (I've been working on a proper fix -- not a hack -- for the problem for about a week now. Stress level is very high given the ambiguous nature of many aspects of

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-03 Thread David Xu
jan.gr...@bristol.ac.uk wrote: On Thu, 2 Sep 2010, Andriy Gapon wrote: on 02/09/2010 12:08 jan.gr...@bristol.ac.uk said the following: On Wed, 1 Sep 2010, Ivan Voras wrote: On 09/01/10 15:08, jan.gr...@bristol.ac.uk wrote: I'm running -STABLE with a kde-derived

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-02 Thread jan . grant
On Wed, 1 Sep 2010, Ivan Voras wrote: On 09/01/10 15:08, jan.gr...@bristol.ac.uk wrote: I'm running -STABLE with a kde-derived desktop. This setup (which is pretty standard) is providing abysmal interactive performance on an eight-core machine whenever I try to do anything CPU-intensive

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-02 Thread Andriy Gapon
on 02/09/2010 12:08 jan.gr...@bristol.ac.uk said the following: On Wed, 1 Sep 2010, Ivan Voras wrote: On 09/01/10 15:08, jan.gr...@bristol.ac.uk wrote: I'm running -STABLE with a kde-derived desktop. This setup (which is pretty standard) is providing abysmal interactive performance on an

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-02 Thread jan . grant
On Thu, 2 Sep 2010, Andriy Gapon wrote: on 02/09/2010 12:08 jan.gr...@bristol.ac.uk said the following: On Wed, 1 Sep 2010, Ivan Voras wrote: On 09/01/10 15:08, jan.gr...@bristol.ac.uk wrote: I'm running -STABLE with a kde-derived desktop. This setup (which is pretty standard) is

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-02 Thread Luca Pizzamiglio
Hello, My machine has a similar behavior. For instance, during intensive workload (portupgrade), everything is quite not-responsive. I made an alias of portupgrade, nice -n 5 portupgrade, that solves the problem just in that particular case. My system is AMD Athlon(tm) 64 Processor 3000+

Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-01 Thread jan . grant
I'm running -STABLE with a kde-derived desktop. This setup (which is pretty standard) is providing abysmal interactive performance on an eight-core machine whenever I try to do anything CPU-intensive (such as building a port). Basically, trying to build anything from ports rapidly renders

Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.

2010-09-01 Thread Ivan Voras
On 09/01/10 15:08, jan.gr...@bristol.ac.uk wrote: I'm running -STABLE with a kde-derived desktop. This setup (which is pretty standard) is providing abysmal interactive performance on an eight-core machine whenever I try to do anything CPU-intensive (such as building a port). Basically, trying