Re: Slow networkperformance in current?

From: Vince <jhary_at_unsane.co.uk>
Date: Fri, 20 Jul 2007 09:08:45 +0100
Ståle Kristoffersen wrote:
> On 2007-07-18 at 13:47, Pyun YongHyeon wrote:
>>  > I'm not sure it's directly related with re(4) but try overhauled re(4).
>>  > http://people.freebsd.org/~yongari/re.HEAD.patch
>>  > It seems that you also have PCIe based NIC. Try MSI patch for re(4)
>>  > in addition to above one.
> 
>> Oops, here is MSI patch.
>> http://people.freebsd.org/~yongari/re.msi.patch
> 
> For anyone else wanting to test those patches the url was wrong, the
> correct ones seems to be:
> http://people.freebsd.org/~yongari/re/re.msi.patch
> and
> http://people.freebsd.org/~yongari/re/re.HEAD.patch
> 
> I applied them, recompiled and rebooted.
> 
> Not much change. Over the network:
> [  3]  0.0-10.0 sec    432 MBytes    362 Mbits/sec
> and to localhost:
> [  3]  0.0-10.1 sec    125 MBytes    104 Mbits/sec
> 

Silly as it might seem when did you last recompile the iperf port? I was
about to post a me too post yesterday, until I updated my system to use
the latest sched_ule at which point iperf froze my system completely,
recompiling the port fixed the freeze and the <100Mbit/sec on localhost.
I think it was compiled against the wrong threading library (been a
while since i last recompiled it.)

However i am seeing a gradual increase of speed the more i run it,
caching of some type i assume.
(jhary_at_prawn)$iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[  4] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 51930
[  4]  0.0-10.5 sec  1002 MBytes    798 Mbits/sec
[  5] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 59561
[  5]  0.0-10.0 sec  1.87 GBytes  1.61 Gbits/sec
[  4] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 55966
[  4]  0.0-10.1 sec  2.07 GBytes  1.77 Gbits/sec
[  5] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 59935
[  5]  0.0-10.0 sec  2.07 GBytes  1.78 Gbits/sec
[  4] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 57795


Vince
Received on Fri Jul 20 2007 - 06:08:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC