Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2009 00:40:04 GMT
From:      David Xu <davidxu@freebsd.org>
To:        freebsd-threads@FreeBSD.org
Subject:   Re: threads/128922: threads hang with xorg running
Message-ID:  <200909250040.n8P0e4MU025736@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR threads/128922; it has been noted by GNATS.

From: David Xu <davidxu@freebsd.org>
To: bug-followup@freebsd.org, dreigcht@gmail.com
Cc:  
Subject: Re: threads/128922: threads hang with xorg running
Date: Fri, 25 Sep 2009 08:31:10 +0800

 Try to set scheduler's preemption threshold to large priority value,
 the default one is too low for cpu-bound application, and can starve
 other threads under heavy cpu load. for example:
 sysctl kern.sched.preempt_thresh=220
 
 On 7.x and 8.0 kernel, I always set a large value for my Desktop PC.
 
 Regards,
 David Xu
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909250040.n8P0e4MU025736>