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] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0903312244550.3771@ask.diku.dk>
Date:	Tue, 31 Mar 2009 22:52:19 +0200 (CEST)
From:	Jesper Dangaard Brouer <hawk@...u.dk>
To:	Eric Dumazet <dada1@...mosbay.com>
Cc:	netdev <netdev@...r.kernel.org>, Rick Jones <rick.jones2@...com>
Subject: Re: [PATCH] netfilter: finer grained nf_conn locking


On Tue, 31 Mar 2009, Eric Dumazet wrote:

>> I tried using "netperf" instead of "tbench".
>>
>> A netperf towards localhost (netperf -T 0,1 -l 120 -H localhost)
>> reveals that the Core i7 is still the fastest.
>>
>> 24218 Mbit/s  on Core i7 920
>>
>> 11684 Mbit/s  on Phenom X4
>>
>>  8181 Mbit/s  on Xeon E5420
>
> warning, because on my machine,
>
> cpu0 is on physical id 0, core 0
> cpu1 is on physical id 1, core 0
> cpu2 is on physical id 0, core 1
> cpu3 is on physical id 1, core 1
> cpu3 is on physical id 0, core 2
> cpu4 is on physical id 1, core 2
> cpu5 is on physical id 0, core 3
> cpu6 is on physical id 1, core 3
>
> So -T 0,1 might not do what you think...

Thanks a lot, I didn't know that!
(hint: cat /proc/cpuinfo | egrep -e 'processor|physical id|core id')

I sort of got a "too large" speedup on the Xeon system:

I want to use core 0 and 1 on physical CPU 0, for some strange reason CPU0 
and CPU4 is these respective cores...

netperf -T 0,4 -l 60  -H localhost
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to localhost (127.0.0.1) port 0 AF_INET : demo : cpu bind
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

  87380  16384  16384    60.00    19797.42


Hilsen
   Jesper Brouer

--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen
Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ