Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:complex application example (Score 1) 161

a) Your UDP buffers probably suck. OOB RedHat gives you 128K, and each packet takes up 2304 bytes of buffer space. Try 100MB, or whatever YOUR_RATE/2304 works out to.
b) Pull off the queue and buffer in RAM as fast as you can
c) Have a second thread read from RAM
d) Don't invoke scripts to process each packet, you're spinning all your time in process creation. In fact, don't use interpreted scripts at all.

Slashdot Top Deals

Marriage is the triumph of imagination over intelligence. Second marriage is the triumph of hope over experience.

Working...