|| ||David Miller <davem-AT-davemloft.net>|
|| ||Re: [tbench regression fixes]: digging out smelly deadmen.|
|| ||Mon, 27 Oct 2008 02:57:33 -0700 (PDT)|
|| ||zbr-AT-ioremap.net, akpm-AT-linux-foundation.org, a.p.zijlstra-AT-chello.nl,
efault-AT-gmx.de, jkosina-AT-suse.cz, rjw-AT-sisk.pl,
From: Ingo Molnar <firstname.lastname@example.org>
Date: Mon, 27 Oct 2008 10:30:35 +0100
> But it's a difficult call with no silver bullets. On one hand we have
> folks putting more and more stuff into the context-switching hotpath on
> the (mostly valid) point that the scheduler is a slowpath compared to
> most other things.
This I heavily disagree with. The scheduler should be so cheap
that you cannot possibly notice that it is even there for a benchmark
If we now think it's ok that picking which task to run is more
expensive than writing 64 bytes over a TCP socket and then blocking on
a read, I'd like to stop using Linux. :-) That's "real work" and if
the scheduler is more expensive than "real work" we lose.
I do want to remind you of a thread you participated in, in April,
where you complained about loopback TCP performance:
It might be fruitful for you to rerun your tests with CFS reverted
(start with 2.6.22 and progressively run your benchmark on every
release), you know, just for fun :-)
> On the other hand we've got folks doing high-context-switch ratio
> benchmarks and complaining about the overhead whenever something
> goes in that improves the quality of scheduling of a workload that
> does not context-switch as massively as tbench. It's a difficult
> balance and we cannot satisfy both camps.
We've always been proud of our scheduling overhead being extremely
low, and you have to face the simple fact that starting in 2.6.23 it's
been getting progressively more and more expensive.
People even noticed it.
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
to post comments)