Messages in this thread | | | Date | Thu, 13 Jul 2000 00:01:06 -0600 | From | Richard Gooch <> | Subject | Re: 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/
| |