From: Aki Niimura <akineko@gmail.com>
To: David Miller <davem@davemloft.net>, linux-kernel@vger.kernel.org
Subject: Re: Network throughput (localhost)
Date: Fri, 13 Mar 2009 11:38:14 -0700 [thread overview]
Message-ID: <59f1f0cb0903131138s1012ef9q94a67d212e905296@mail.gmail.com> (raw)
In-Reply-To: <20090313.100802.67201749.davem@davemloft.net>
Hello David,
Thank you for your prompt response to my posting.
I have changed my program temporarily to use AF_UNIX and tested the performance.
I got approx 20% throughput improvement in all testing conditions.
Thank you!
However, even with the use of AF_UNIX, the localhost throughput of
Solaris/x86 is still around 30% faster than Linux's AF_UNIX throughput
(using the same h/w).
I like the way Solaris did because I don't need to change my program
as my program may need to send packets to another machine rather than
another CPU next to.
Hope Linux will incorporate such scheme in the future.
Best regards,
Aki Niimura
On Fri, Mar 13, 2009 at 10:08 AM, David Miller <davem@davemloft.net> wrote:
> From: Aki Niimura <akineko@gmail.com>
> Date: Fri, 13 Mar 2009 00:25:48 -0700
>
>> Any suggestions will be greatly appreciated.
>
> Use AF_UNIX sockets if you want optimal performance.
>
> Solaris treats TCP connections over localhost specially,
> and we have no plans to add that optimization any time
> soon.
>
prev parent reply other threads:[~2009-03-13 18:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-13 7:25 Aki Niimura
2009-03-13 10:18 ` Bernd Petrovitsch
2009-03-13 17:08 ` David Miller
2009-03-13 18:38 ` Aki Niimura [this message]
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=59f1f0cb0903131138s1012ef9q94a67d212e905296@mail.gmail.com \
--to=akineko@gmail.com \
--cc=davem@davemloft.net \
--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®