From: Dmitry Antipov <dmantipov@yandex.ru>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Eric Dumazet <dada1@cosmosbay.com>,
David Miller <davem@davemloft.net>,
linux-kernel@vger.kernel.org
Subject: Re: Are Linux pipes slower than the FreeBSD ones ?
Date: Thu, 06 Mar 2008 15:11:01 +0300 [thread overview]
Message-ID: <47CFDF55.6030103@yandex.ru> (raw)
In-Reply-To: <200803060120.38032.nickpiggin@yahoo.com.au>
Nick Piggin wrote:
> One thing to try is pinning both processes on the same CPU. This
> may be what the FreeBSD scheduler is preferring to do, and it ends
> up being really a tradeoff that helps some workloads and hurts
> others. With a very unscientific test with an old kernel, the
> pipe.c test gets anywhere from about 1.5 to 3 times faster when
> running it as taskset 1 ./pipe
Sounds interesting. What kernel version did you tried? Can you
send your .config to me?
I've tried this trick on 2.6.25-rc4, and got ~20% more throughput for
large (> 8K) buffers at the cost of going ~30% down for the small ones.
Dmitry
next prev parent reply other threads:[~2008-03-06 12:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-05 7:46 Are Linux pipes slower than the FreeBSD ones ? Antipov Dmitry
2008-03-05 8:00 ` David Miller
2008-03-05 9:47 ` Eric Dumazet
2008-03-05 10:19 ` Andi Kleen
2008-03-05 12:12 ` David Newall
2008-03-05 14:20 ` Nick Piggin
2008-03-05 14:55 ` Eric Dumazet
2008-03-05 15:38 ` Nick Piggin
2008-03-05 15:55 ` Ray Lee
2008-03-05 16:02 ` Nick Piggin
2008-03-06 12:11 ` Dmitry Antipov [this message]
2008-03-17 12:53 ` Nick Piggin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47CFDF55.6030103@yandex.ru \
--to=dmantipov@yandex.ru \
--cc=dada1@cosmosbay.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=nickpiggin@yahoo.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox