Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 2010 11:25:29 +0200
From:      Andriy Gapon <avg@freebsd.org>
To:        Alexander Best <arundel@freebsd.org>
Cc:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>, freebsd-performance@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD Stable <freebsd-stable@freebsd.org>, "Matthew D. Fuller" <fullermd@over-yonder.net>
Subject:   Re: TTY task group scheduling
Message-ID:  <4CE64289.5030903@freebsd.org>
In-Reply-To: <20101118185635.GA43706@freebsd.org>
References:  <AANLkTinHSX1%2Bs3hrHyDeU2Vfp6zekTe04XkHhTc2jtLv@mail.gmail.com> <4CE50849.106@zedat.fu-berlin.de> <4CE52177.3020306@freebsd.org> <20101118182324.GA36312@freebsd.org> <20101118182852.GR63683@over-yonder.net> <20101118185635.GA43706@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 18/11/2010 20:56 Alexander Best said the following:
> On Thu Nov 18 10, Matthew D. Fuller wrote:
>> On Thu, Nov 18, 2010 at 06:23:24PM +0000 I heard the voice of
>> Alexander Best, and lo! it spake thus:
>>>
>>> judging from the videos the changes are having a huge impact imo.
>>
>> Well, my (admittedly limited, and certainly anecdotal) experience is
>> that Linux's interactive response when under heavy load was always
>> much worse than FreeBSD's.  So maybe that's just them catching up to
>> where we already are   ;)
> 
> well...i tried playing back a 1080p vide files while doing
> `make -j64 buildkernel` and FreeBSD's interactivity seems far from perfect.
> 
> it might be possible that linux'es interactivity was worse than freebsd's,
> but still this patch should be evaluated for freebsd. in this particular case
> it seems linux now does better than freebsd.

You do realize that there are many more variables for such a test than just
"1080p video" and "make -j64 buildkernel"?
Let's not forget about hardware, video drivers, player capabilities, exact kind
of the video (you know, 1080p alone doesn't tell much).

Besides, someone might be interested in running -j64 on his 1,2,4-core desktop
system, but it's definitely not me.  I prefer to be reasonable.

I am not saying that our scheduler (ULE) is perfect.
I don't even say that it's better (in whatever comparison system) than Linux
scheduler X.

I say that I wouldn't spend my time improving system behavior in a scenario like
this.  I compile stuff very frequently (kernels, ports, world) while browsing
web, reading email, doing various "desktop stuff", sometimes watching  videos
from the web (like e.g. trailers).  On this machine/hardware I have never
personally felt a need for improvements in the scheduler.  And I run KDE4 with
all bells and whistles enabled.

YMMV.

P.S. I don't discourage anyone from improving our scheduler, I even do encourage
that.

-- 
Andriy Gapon



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