masayuki2009 commented on PR #7830:
URL: https://github.com/apache/nuttx/pull/7830#issuecomment-1345697873

   >@masayuki2009 san, please try the latest update, I changed the update 
strategy for RX index, which can fix the UDP issue, and also I did the related 
test of iperf UDP/TCP, it seems that everything works as expected
   
   @anchao 
   
   `qemu-armv8a:netnsh` seems OK but `qemu-armv8a:netnsh_smp` has a problem.
   
   ```
   + /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 [7:100]
   
   NuttShell (NSH) NuttX-10.4.0
   nsh> uname -a
   NuttX  10.4.0 a13c876080 Dec 12 2022 09:02:59 arm64 qemu-armv8a
   nsh> ps
     PID GROUP CPU PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK  
 USED  FILLED COMMAND
       0     0   0   0 FIFO     Kthread N-- Assigned           00000000 008144 
001040  12.7%  CPU0 IDLE
       1     1   1   0 FIFO     Kthread N-- Running            00000000 008144 
000320   3.9%  CPU1 IDLE
       2     2   2   0 FIFO     Kthread N-- Running            00000000 008144 
000320   3.9%  CPU2 IDLE
       3     3   3   0 FIFO     Kthread N-- Running            00000000 008144 
000080   0.9%  CPU3 IDLE
       4     4 --- 192 RR       Kthread --- Waiting  Semaphore 00000000 008096 
000496   6.1%  hpwork 0x402d55d0
       5     5 --- 100 RR       Kthread --- Waiting  Semaphore 00000000 008096 
000528   6.5%  lpwork 0x402d5600
       6     6   0 100 RR       Task    --- Running            00000000 008112 
002480  30.5%  nsh_main
       7     7 --- 100 RR       Task    --- Waiting  Semaphore 00000010 008112 
001216  14.9%  telnetd
   nsh> iperf -s -i 1 -t 5
          IP: 10.0.2.15
   
    mode=tcp-server sip=10.0.2.15:5001,dip=0.0.0.0:5001, interval=1, time=5
   accept: 10.0.2.2,53800
   
              Interval         Transfer         Bandwidth
   
      0.00-   1.01 sec      36500 Bytes     inf Mbits/sec
      1.01-   2.02 sec      59860 Bytes     inf Mbits/sec
      2.02-   3.03 sec      59860 Bytes     nan Mbits/sec
      3.03-   4.04 sec      59860 Bytes     nan Mbits/sec
      4.04-   5.05 sec     109729 Bytes     inf Mbits/sec
      0.00-   5.05 sec     109729 Bytes    0.17 Mbits/sec
   iperf exit
   ```


-- 
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-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to