From: David Miller <davem@davemloft.net>
To: dmantipov@yandex.ru
Cc: linux-kernel@vger.kernel.org
Subject: Re: Are Linux pipes slower than the FreeBSD ones ?
Date: Wed, 05 Mar 2008 00:00:14 -0800 (PST) [thread overview]
Message-ID: <20080305.000014.245410231.davem@davemloft.net> (raw)
In-Reply-To: <1389671204703217@webmail34.yandex.ru>
From: Antipov Dmitry <dmantipov@yandex.ru>
Date: Wed, 05 Mar 2008 10:46:57 +0300
> Despite of this obvious fact, recently I've tried to compare pipe
> performance on Linux and FreeBSD systems. Unfortunately, Linux
> results are poor - ~2x slower than FreeBSD. The detailed description
> of the test case, preparation, environment and results are located
> at http://213.148.29.37/PipeBench, and everyone are pleased to look
> at, reproduce, criticize, etc.
FreeBSD does page flipping into the pipe receiver, so rerun your test
case but have either the sender or the receiver make changes to
their memory buffer in between the read/write calls.
FreeBSD's scheme is only good for benchmarks, rather then real life.
next prev parent reply other threads:[~2008-03-05 8:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-05 7:46 Antipov Dmitry
2008-03-05 8:00 ` David Miller [this message]
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
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=20080305.000014.245410231.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dmantipov@yandex.ru \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®