Re: Updated Linux kernel preemption patches

Daniel Phillips (phillips@bonn-fries.net)
Mon, 27 Aug 2001 05:06:18 +0200


On August 27, 2001 03:57 am, Robert Love wrote:
> This is a straight update of Nigel Gamble's Linux kernel preemption
> patch from http://kpreempt.sourceforge.net, updated for the above
> kernels. Thus, this is Nigel's code -- I merely updated it.
> [...]
> The performance increase in kernel compile and dbench 16 is decent, but
> the decrease in dbench 1 is odd. I am curious what numbers others find.
> My "how does it feel" benchmark is that bandwidth seems similar while
> multitasking may be a tad smoother with the patch.

Congratulations on showing evidence that preemption can improve performance
under some loads, especially the all-important kernel compile. Don't be too
worried about the dbench 1 results, dbench can vary by a factor of 2
depending on the alignment of the planets (ask Tridge). Try something more
stable like bonnie.

The theory goes that preemption improves performance by cutting down the time
between IO completion and user task resume, with only a small cost in extra
locking. It would be nice to see profiling statistics to support this idea.

--
Daniel
-
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/