NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ure0: Questionable Performance
> I'll look around for an adapter using axen(4) - they seem relatively
> inexpensive.
>
To close out this thread, I received an adapter using axen(4). I also enabled tso4.
With the following sysctl's set, I see a remarkable improvement over what I had with ure(4), though not quite to what you reported. Still, this is a step in the right direction.
# TCP/IP stack
# automatic network buffers resize
net.inet.tcp.recvbuf_auto=1
net.inet.tcp.sendbuf_auto=1
# 16MB buffers upper limit
net.inet.tcp.sendbuf_max=16777216
net.inet.tcp.recvbuf_max=16777216
# socket buffer sizes
kern.sbmax=8388608
matthew@snoopy ~> iperf3 -c 192.168.1.131
Connecting to host 192.168.1.131, port 5201
[ 5] local 192.168.1.121 port 64525 connected to 192.168.1.131 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 39.0 MBytes 327 Mbits/sec 0 38.2 KBytes
[ 5] 1.00-2.01 sec 40.1 MBytes 333 Mbits/sec 0 74.9 KBytes
[ 5] 2.01-3.01 sec 39.6 MBytes 332 Mbits/sec 0 1.41 KBytes
[ 5] 3.01-4.01 sec 39.6 MBytes 332 Mbits/sec 0 32.5 KBytes
[ 5] 4.01-5.01 sec 39.2 MBytes 329 Mbits/sec 0 32.5 KBytes
[ 5] 5.01-6.01 sec 39.4 MBytes 330 Mbits/sec 0 133 KBytes
[ 5] 6.01-7.01 sec 39.6 MBytes 332 Mbits/sec 0 130 KBytes
[ 5] 7.01-8.01 sec 39.9 MBytes 334 Mbits/sec 0 139 KBytes
[ 5] 8.01-9.01 sec 39.5 MBytes 331 Mbits/sec 0 60.8 KBytes
[ 5] 9.01-10.01 sec 39.9 MBytes 334 Mbits/sec 0 15.6 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.01 sec 396 MBytes 332 Mbits/sec 0 sender
[ 5] 0.00-10.21 sec 395 MBytes 324 Mbits/sec receiver
To clarify, even with the above settings, ure(4) performance was same as before..
Are there any sysctl knobs foiks have tuned / changed from default values ?
--
matthewd%fastmail.us@localhost
Home |
Main Index |
Thread Index |
Old Index