lkml.org 
[lkml]   [2000]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Report: Big Improvement in -test3
Linus Torvalds writes:
>
> On Wed, 12 Jul 2000, Richard Gooch wrote:
>
> > Linus Torvalds writes:
> > >
> > > Heh.
> > >
> > > This was actually almost certainly due to a _really_ simple improvement.
> > >
> > > As of test4-pre4, the default time-slice for a normal process is just
> > > 50ms, while it used to be 200ms.
> > >
> > > 200ms is way too long a timeslice when working with interactive things:
> > > it's easily noticeable. 50ms should be much better.
> >
> > So is the number of ticks (5 now?) now decoupled from the
> > goodness/dynamic priority level?
>
> Yes.
>
> If people wondered why the "->priority" -> "->nice" change was done, now
> you know. "->priority" used to be a tick-based nice level, and it just
> wasn't able to handle UNIX semantics when the resolution of ticks dropped
> to just a few ticks.
>
> Simple vulcan mind-trick. Switch them around, and instead of
> calculating "nice" from the number of ticks, we calculate ticks from
> the virtual nice value, making the problem go away and allowing for
> a shorter timeslice without having to do major surgery.

Er, so how many ticks do a nice 10 and a nice 11 process get,
respectively?

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

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

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