From owner-freebsd-stable@FreeBSD.ORG Sun Apr 20 17:32:33 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36994106564A for ; Sun, 20 Apr 2008 17:32:33 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id B55EE8FC13 for ; Sun, 20 Apr 2008 17:32:32 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1JndOw-0004p6-KI>; Sun, 20 Apr 2008 19:32:30 +0200 Received: from e178036158.adsl.alicedsl.de ([85.178.36.158] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1JndOw-00070C-HJ>; Sun, 20 Apr 2008 19:32:30 +0200 Message-ID: <480B7F13.2070107@mail.zedat.fu-berlin.de> Date: Sun, 20 Apr 2008 19:36:19 +0200 From: "O. Hartmann" User-Agent: Thunderbird 2.0.0.12 (X11/20080420) MIME-Version: 1.0 To: Unga References: <371011.58765.qm@web57006.mail.re3.yahoo.com> In-Reply-To: <371011.58765.qm@web57006.mail.re3.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.36.158 Cc: Jeremy Chadwick , freebsd-stable@freebsd.org, jeff@freebsd.org Subject: Re: sched_ule performance on single CPU X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2008 17:32:33 -0000 I did the update of my sources as well and compiled a new world. Then I started build_world (with SCHED_ULE) as usual - and recognized the same stuck bahaviour under high load as usual :-( For me there is no release of pain ... Oliver Unga wrote: > --- Jeremy Chadwick wrote: > > >> There was a commit to the ULE code in RELENG_7 >> approximately 6 hours ago >> by Jeff, indicating some speed improvements in ULE >> when there's heavy >> IRQ activity, and adjustments in the timeslicing >> code for threads which >> don't utilise timesharing: >> >> >> > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/sched_ule.c > >> Can you update your src-all tree to pull this in, >> rebuild the kernel, >> and tell us if it behaves better for you? >> >> > > Thanks Jeff for updates and thanks Jeremy for > notifying the list. > > I did following test on the new update of sched_ule.c > on RELENG_7. > > I ran the amarok music player as realtime, and another > application named count as a normal process. When the > normal process showing the value of i > 20, the amarok > crashes as it cannot keep up the required audio > supply. > > That is, normal process starved the realtime process! > > > PID USERNAME THR PRI NICE SIZE RES STATE C > TIME WCPU COMMAND > 1100 root 1 118 0 3120K 720K CPU0 0 > 1:42 100.00% count > 963 root 1 46 0 163M 27368K select 0 > 0:18 5.96% Xorg > 1060 test 6 44 0 68380K 51568K ucond 1 > 0:00 5.47% amarokapp > > rtprio 963 > rtprio: normal priority > > rtprio 1060 > rtprio: realtime priority 0 > > rtprio 1100 > rtprio: normal priority > > > > /* Count */ > > #include > > main() > { > double nc; > int i; > > for (i=0; i < 100; i++) > { > for (nc=0; nc < 2000000000; nc++) > ; > printf("%d : %.0f\n", i, nc); > } > > } > > Kind Regards > Unga > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >