lkml.org 
[lkml]   [2003]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH]O14int
Date
[Resent because the lkml spam filter thought this was spam originally]

Thanks for detailed description.

On Tue, 12 Aug 2003 01:19, Martin Schlemmer wrote:
> Normal run of things there is many times 1-3 'make -j6s' running.
> Yes, sure, for on of them you prob should use -j4, but hey its
> in the head, right =). No, it is not kernels, it is a variety

Actually in benchmarking I've found no increase in speed with more than one
job per cpu but it's up to you of course.

> of stuff - goes with the distro i guess. Yes, I have tested
> runs of 'make -j12' and 'make -j24' (sorry, should have been more
> precise, but -j{6,12,24) was used as testing, with -j6 default)
> running dual makes.
>
> With vanilla the mouse pointer, XMMS, switching desktops or
> windows is smooth. If I really hammer the system, it does
> 'slow down' the general navigation of X a little, but not
> so that that mouse pointer is jerky, etc. With the O??int
> patches things starts to 'stutter' under loads that is fairly
> under those that vanilla handles fine. The mouse gets jerky,
> switching desktops is notably lagging.

Yes what you're describing is the expiring X issue. At this moment in time
with my patches with very high loads, it is easy for interactive tasks to
expire if used for sustained periods. This means that they will be smoother
than vanilla for a burst, then have a nasty blip when falling on the expired
array. This doesn't happen at lower loads, and is representative of the hard
to optimise for case - the interactive task that behaves occasionally like a
cpu hog (ie X). Lots of suggestions for ways around this have been offered,
but none address the fact that these will cause starvation of other loads.
Note that I say the vanilla scheduler does cause starvation already in the
wrong circumstances if you offer that as a solution to go back to it. Suffice
to say I'm still working on it as my highest priority.

Note that tasks that are never cpu hogs (eg xmms) will never stutter or falter
under these circumstances; which is why I stopped mentioning audio ages ago:
audio works without problems under normal and extreme circumstances with my
patches unless you renice a cpu hog to better priority than your audio app.
Note that despite all this, since people are so excited by the idea of
soft RR scheduling, I actually wrote a patch that will work with my tweaks a
while ago. I've not optimised or improved it at all because that is lower
priority to me than getting the general interactivity correct. For those
interested, it's in my experimental directory in kernel.kolivas.org/2.5

> Note that I am not talking about starving XMMS/the make's.
> I am just talking general navigation of X. Yes, even with
> vanilla things do start a bit slower, but the mouse goes
> where it should, and its not as if the vga struggles to
> redraw the screen on desktop switch. I do not expect the
> system to behave for 'interactive' processes and xmms/whatever
> as if there is no load - the signs of load is just way more
> than with vanilla.

As discussed above. Thanks for your report.

Con

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.147 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site