threads/128922: threads hang with xorg running

David Xu davidxu at freebsd.org
Fri Sep 25 00:40:06 UTC 2009


The following reply was made to PR threads/128922; it has been noted by GNATS.

From: David Xu <davidxu at freebsd.org>
To: bug-followup at freebsd.org, dreigcht at 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
 


More information about the freebsd-threads mailing list