Re: _ping_more / dropping pings
Robert Landrum <[email protected]>
| Newsgroups | gmane.comp.lang.perl.poe |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > or perhaps somewhere in between: perhaps there is an OS buffer which > holds the ICMP Echo Reply frames and unless POE pulls them out of the > buffer fast enough, the buffer will overflow and POE won't see those > responses > > This is almost certainly the issue. > i notice that sometimes i can get away with several hundred > outstanding pings at once; sometimes, not much more than thirty. i > generally run with a ceiling of twenty (20). the variability depends > on load on my box? i don't know > I believe it'll be related to MTU and the amount of other network traffic occurring at the moment the pings are sent. > this isn't a problem -- the total time it takes to ping the ~350 > addresses i'm using as my test bed right now doesn't change, > regardless of the size of my 'ping heap' > > but i'm curious. would anyone know where the overflowing buffer > lives? if in the OS, how would i look to see its size? of inside > POE, again, how would i identify its size? > > It'll be controlled by something in /proc/sys/net/ipv4/icmp*, I think...... Good luck, Rob