Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2007 00:34:03 -0700 (PDT)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Roman Bogorodskiy <novel@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: SCHED_ULE on desktop system
Message-ID:  <20070916003323.U4507@10.0.0.1>
In-Reply-To: <20070916071421.GA1320@underworld.novel.ru>
References:  <20070916061932.GA93480@underworld.novel.ru> <20070915234855.G531@10.0.0.1> <20070916071421.GA1320@underworld.novel.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sun, 16 Sep 2007, Roman Bogorodskiy wrote:

>  Jeff Roberson wrote:
>
>> This is contrary to the experiences of many others.  Can you send me your
>> dmesg?  There may be something about your particular hardware that is
>> triggering a bug.  ULE is definitely designed to be responsive on the
>> desktop.
>
> Thanks for the quick answer!
>
> Here's my dmesg: http://people.freebsd.org/~novel/misc/dmesg.txt

Roman,

The enclosed patch helps things on my system, however, there are still 
some delays due to IO issues.  Let me know if this helps.

Thanks,
Jeff

>
> Roman Bogorodskiy
>
[-- Attachment #2 --]
Index: sched_ule.c
===================================================================
RCS file: /home/ncvs/src/sys/kern/sched_ule.c,v
retrieving revision 1.205
diff -u -r1.205 sched_ule.c
--- sched_ule.c	20 Aug 2007 06:34:20 -0000	1.205
+++ sched_ule.c	16 Sep 2007 07:02:52 -0000
@@ -394,7 +394,7 @@
 		 * This queue contains only priorities between MIN and MAX
 		 * realtime.  Use the whole queue to represent these values.
 		 */
-		if ((flags & (SRQ_BORROWING|SRQ_PREEMPTED)) == 0) {
+		if ((flags & SRQ_BORROWING) == 0) {
 			pri = (pri - PRI_MIN_TIMESHARE) / TS_RQ_PPQ;
 			pri = (pri + tdq->tdq_idx) % RQ_NQS;
 			/*

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