On Tuesday, January 22, 2013 12:26:18 PM UTC+1, Ben Noordhuis wrote: > > On Tue, Jan 22, 2013 at 10:46 AM, An dreas > <[email protected]<javascript:>> > wrote: > > Currently I need to set SO_RCVBUF way higher on dgram-sockets I use > combined > > with multicast... > > Why is that? > > If you're experiencing packet loss, you will want to verify that the > issue is really on your side. If packets get lost in transit or > discarded because of failing checksums, a larger receive buffer won't > help. >
I know this very well :) In my scenario there are several thousands of packets per second, so a bigger buffer leads to fewer drops in case of load spikes on the machine. Packetsize is nearly Ethernet-MTU. This Application runs for nearly 10 years now written in C and was regularly fine-tuned over the years, because of new possibilities like epoll, etc ... But it still needs SO_RECVBUF setted to about 512kb. Machines get faster over the time and now I can afford the speed-penalty to run it on top of node.js. I know it's not the common case, but it would help me. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
