lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <59f1f0cb0903131138s1012ef9q94a67d212e905296@mail.gmail.com>
Date:	Fri, 13 Mar 2009 11:38:14 -0700
From:	Aki Niimura <akineko@...il.com>
To:	David Miller <davem@...emloft.net>, linux-kernel@...r.kernel.org
Subject: Re: Network throughput (localhost)

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@...emloft.net> wrote:
> From: Aki Niimura <akineko@...il.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.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ