Project Home
Project Home
Trackers
Trackers
Documents
Documents
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 - UDP receive space i.MX6 processor io-pkt-v4-hc QNX 6.5.0: (2 Items)
   
UDP receive space i.MX6 processor io-pkt-v4-hc QNX 6.5.0  
Hello,

I am having issues with high UDP traffic with (smallest)64 byte ethernet packets at rates of 5/10Mbps.
Netstat show high dropped UDP "dropped due to full socket buffers" count
I am unable to set UDP recv space ( sysctl -w ) above 65536 as it leads to network stack corruption and everything stops
 working. Are there other options to set UDP receive space size in QNX? 

# sysctl -a | grep udp
net.inet.udp.checksum = 1
net.inet.udp.sendspace = 9216
net.inet.udp.recvspace = 65536
net.inet.udp.do_loopback_cksum = 0


udp:
        1571877 datagrams received
        0 with incomplete header
        0 with bad data length field
        0 with bad checksum
        4 dropped due to no socket
        313 broadcast/multicast datagrams dropped due to no socket
        542557 dropped due to full socket buffers
        1029003 delivered
        8 PCB hash misses
        8 datagrams output
Re: UDP receive space i.MX6 processor io-pkt-v4-hc QNX 6.5.0  
On a sabrelite, I was able to set udp receive size after I set the kernel size.  ie:

sysctl -w kern.sbmax=1000000
sysctl -w net.inet.udp.recvspace=500000