You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/12/09 00:00:31 UTC
[GitHub] [nuttx] masayuki2009 commented on pull request #7830: qemu-armv8a/netnsh: Set iob buffer size to 1514 to improve performance
masayuki2009 commented on PR #7830:
URL: https://github.com/apache/nuttx/pull/7830#issuecomment-1343573205
@anchao
The defconfigs improve `iperf -c` but `iperf -s` does not work.
```
+ /home/ishikawa/opensource/QEMU/qemu-7.1/build/qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic -machine virt,virtualization=on,gic-version=3 -chardev stdio,id=con,mux=on -serial chardev:con -global virtio-mmio.force-legacy=false -netdev user,id=u1,hostfwd=tcp:127.0.0.1:10023-10.0.2.15:23,hostfwd=tcp:127.0.0.1:15001-10.0.2.15:5001 -device virtio-net-device,netdev=u1,bus=virtio-mmio-bus.0 -mon chardev=con,mode=readline -kernel ./nuttx
telnetd [4:100]
NuttShell (NSH) NuttX-10.4.0
nsh> uname -a
NuttX 10.4.0 ae37c9a061 Dec 9 2022 08:52:47 arm64 qemu-armv8a
nsh> ps
PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK USED FILLED COMMAND
0 0 0 FIFO Kthread N-- Ready 00000000 008144 000992 12.1% Idle Task
1 1 192 RR Kthread --- Waiting Semaphore 00000000 008096 000960 11.8% hpwork 0x402d3428
2 2 100 RR Kthread --- Waiting Semaphore 00000000 008096 000960 11.8% lpwork 0x402d3458
3 3 100 RR Task --- Running 00000000 008112 003024 37.2% nsh_main
4 4 100 RR Task --- Waiting Semaphore 00000010 008112 001616 19.9% telnetd
nsh> iperf -c 43.31.77.50
IP: 10.0.2.15
mode=tcp-client sip=10.0.2.15:5001,dip=43.31.77.50:5001, interval=3, time=30
Interval Transfer Bandwidth
0.00- 3.01 sec 78479360 Bytes 208.58 Mbits/sec
3.01- 6.02 sec 153731072 Bytes 200.00 Mbits/sec
6.02- 9.03 sec 233570304 Bytes 212.20 Mbits/sec
9.03- 12.04 sec 314228736 Bytes 214.37 Mbits/sec
12.04- 15.05 sec 390135808 Bytes 201.75 Mbits/sec
15.05- 18.06 sec 470974464 Bytes 214.85 Mbits/sec
18.06- 21.07 sec 550240256 Bytes 210.67 Mbits/sec
21.07- 24.08 sec 626622464 Bytes 203.01 Mbits/sec
24.08- 27.09 sec 703201280 Bytes 203.53 Mbits/sec
27.09- 30.10 sec 783155200 Bytes 212.50 Mbits/sec
0.00- 30.10 sec 783155200 Bytes 208.15 Mbits/sec
iperf exit
nsh> iperf -s
IP: 10.0.2.15
mode=tcp-server sip=10.0.2.15:5001,dip=0.0.0.0:5001, interval=3, time=0
accept: 10.0.2.2,59832
Interval Transfer Bandwidth
0.00- 3.01 sec 27740 Bytes 0.06 Mbits/sec
3.01- 6.02 sec 27740 Bytes 0.00 Mbits/sec
6.02- 9.03 sec 27740 Bytes 0.00 Mbits/sec
tcp server recv error, error code: 11, reason: Unknown error
iperf exit
nsh>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org