Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - network buffer issues: Page 1 of 22 (22 Items)
   
network buffer issues  
Hi all,

We have recently started a project based on io-pkt infrastructure,   how ever we've observed following symptoms 
regarding network stack, I'd appreciate if anyone could shed some light on where this problem might come from? (network 
stack setup/configuration or build)


============================================
#1 . ping test with bigger buffer (ping out / ping in  has same symptom ): 
 

[/]# ping -c 100 -s 4432 172.16.1.48

PING 172.16.1.48 (172.16.1.48): 4432 data bytes

4440 bytes from 172.16.1.48: icmp_seq=0 ttl=128 time=9 ms

4440 bytes from 172.16.1.48: icmp_seq=1 ttl=128 time=9 ms

4440 bytes from 172.16.1.48: icmp_seq=2 ttl=128 time=8 ms

4440 bytes from 172.16.1.48: icmp_seq=3 ttl=128 time=8 ms

4440 bytes from 172.16.1.48: icmp_seq=4 ttl=128 time=725 ms

 

----172.16.1.48 PING Statistics----

5 packets transmitted, 5 packets received, 0% packet loss

round-trip min/avg/max = 8/151/725 ms   variance = 102977 ms^2

[/]# ping -c 100 -s 4433 172.16.1.48

PING 172.16.1.48 (172.16.1.48): 4433 data bytes

 

----172.16.1.48 PING Statistics----

100 packets transmitted, 0 packets received, 100% packet loss

[/]#

 

ping test with bigger buffer is OK within LAN , not cross LAN, and same behavior happens to both wired and wireless 
interfaces (wireless interface using wpa_supplicant provided on the board to associate with AP in an open mode) , so I 
suspect that there is an buffer issue at layer that is higher than layer2 (tcp/ip possible); 
[/etc]# ifconfig

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192

        inet 127.0.0.1 netmask 0xff000000

ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500

        ssid AcmeWifi

        powersave off

        bssid 00:03:52:e0:46:f0 chan 7

        address: 00:06:80:00:a1:ed

        media: IEEE802.11 autoselect (OFDM12 mode 11g)

        status: active

        inet 192.168.10.87 netmask 0xffffff00 broadcast 192.168.10.255

en0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500

        address: 00:55:44:33:22:11

        inet 172.16.3.54 netmask 0xffff0000 broadcast 172.16.255.255

 

 

============= Ethernet interface en0 ==============

 

[/etc]# ping -s 5000 172.16.3.1

PING 172.16.3.1 (172.16.3.1): 5000 data bytes

5008 bytes from 172.16.3.1: icmp_seq=0 ttl=64 time=11 ms

5008 bytes from 172.16.3.1: icmp_seq=1 ttl=64 time=12 ms

 

----172.16.3.1 PING Statistics----

2 packets transmitted, 2 packets received, 0% packet loss

round-trip min/avg/max = 11/11/12 ms   variance = 23 ms^2

 

[/etc]# ping -s 5000 172.16.1.48

PING 172.16.1.48 (172.16.1.48): 5000 data bytes

 

----172.16.1.48 PING Statistics----

221 packets transmitted, 0 packets received, 100% packet loss

 

 

[/etc]# ping  172.16.1.48

PING 172.16.1.48 (172.16.1.48): 56 data bytes

64 bytes from 172.16.1.48: icmp_seq=0 ttl=128 time=1 ms

64 bytes from 172.16.1.48: icmp_seq=1 ttl=128 time=1 ms

 

----172.16.1.48 PING Statistics----

2 packets transmitted, 2 packets received, 0% packet loss

round-trip min/avg/max = 1/1/1 ms   variance = 0 ms^2

 

============== wireless interface  ath0 =========

 

/etc]# ifconfig en0 down

[/etc]# ifconfig

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192

        inet 127.0.0.1 netmask 0xff000000

ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500

        ssid Devicescape-Guest

        powersave off

        bssid 00:14:c2:a5:4c:41 chan 10

        address: 00:06:80:00:a1:ed

        media: IEEE802.11 autoselect (OFDM54 mode 11g)

        status: active

        inet 192.168.30.10 netmask 0xffffff00 broadcast 192.168.30.255

en0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500

        address: 00:55:44:33:22:11

        inet 172.16.3.54 netmask 0xffff0000 broadcast 172.16.255.255

[/etc]# ping...
View Full Message