Imre Paniti wrote: > Hi, > > I'm getting a lot of ENOBUFS while repeatingly sending over 10 bytes of > data > data from a fast rt thread (100 packets per second). I guess this makes
I wouldn't consider 100 Hz as fast. Is this the correct rate? Or is the receiver overloaded and does some MAC layer overflow signalling? > sense - no available buffers. But how does this work internally, what > happens with a que on a socket (we're using UDP, might a raw socket be > better?) when writing to it fast? I know we can increase the buffer size, > but that would only mean it fills up less fast but still fills up. So on > the > practical side of things, what can we do about this -105? > > We're using: > RTAI-3.3-CV > RTnet 0.9.3 With or without RTmac? If /wo RTmac: which NIC driver? Switched Ethernet? There are at least two error sources involved when sending out packets: first the per-socket pool of rtskbs that is charged when the outgoing frames are to be build. Later the NIC may report an overflow (EAGAIN) of its own hardware TX queue - unless you are using RTmac as flow control manager. This is true for both UDP and packet sockets. > > Thanks, Evert Lammerts /me confused: signature doesn't match mail address? Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users