tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: re(4) mpsafe
On Sun, 16 Apr 2017, Jared McNeill wrote:
Hi folks --
In a (failed) attempt to get more performance out of re(4) on NetBSD/arm,
I've made some changes to re(4) to support NET_MPSAFE. I'm not too familiar
with code in this area, so I thought I'd post it for feedback:
http://www.invisible.ca/tmp/re-mpsafe.patch
I've updated the patch with Roy's feedback plus changes to how interrupt
mitigation works on 8168 based boards.
With these changes I'm now starting to see reasonable numbers from the
8111G in the NVIDIA Jetson TK1 board:
tegra# ./iperf3.sh
Connecting to host 169.254.188.175, port 5201
...
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.01 sec 771 MBytes 647 Mbits/sec 0 sender
[ 4] 0.00-10.01 sec 771 MBytes 647 Mbits/sec receiver
tegra# ./iperf3.sh -R
Connecting to host 169.254.188.175, port 5201
Reverse mode, remote host 169.254.188.175 is sending
...
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 991 MBytes 831 Mbits/sec 2149 sender
[ 4] 0.00-10.00 sec 990 MBytes 830 Mbits/sec receiver
Cheers,
Jared
Home |
Main Index |
Thread Index |
Old Index