SCHED_ULE on desktop system

Garrett Cooper youshi10 at u.washington.edu
Sun Sep 16 09:19:17 PDT 2007


Harald Schmalzbauer wrote:
> Am Sonntag, 16. September 2007 08:49:56 schrieb Jeff Roberson:
>   
>> On Sun, 16 Sep 2007, Roman Bogorodskiy wrote:
>>     
>>> Hello,
>>>
>>> I'm curious if SCHED_ULE is designed to be used on a desktop system. I'm
>>> running -CURRENT at home and tried to use SCHED_ULE for some time. It
>>> works alright while the load is not very high. But once I start
>>> compiling something (running 'make buildworld' or 'portupgrade -a' for
>>> example), the machine comes almost unusable - X11's windows takes a lot
>>> of time to redraw, changing virtual desktop in window manager may take
>>> a several seconds. And it's nearly impossible to watch some movie with
>>> mplayer.
>>>       
>> Roman,
>>
>> This is contrary to the experiences of many others.  Can you send me your
>>     
>
> Not in the UP case.
> My i386-core2duo with SMP kernel gives _wonderful_ responsiveness, even, with 
> buildworld -j5, I absolutely don't feel any slowdown!
> But when I once accidantially installed a UP kernel,the machine was 
> very "laggy", I want to say had short "freezes"
>
> I'm also wondering that inserting a CF card in my card reader stops all io for 
> a second. HALd is probably the culprit, but why can the system be stopped by 
> userland? Maybe unrelated to ULE though.
>
> Thanks

    1. Giant lock?
    2. Using pthread instead of libthread?
-Garrett


More information about the freebsd-current mailing list