Performance Tuning 10.8 (and 10.7) for 10Gig Raw Sockets..
Performance Tuning 10.8 (and 10.7) for 10Gig Raw Sockets..
- Subject: Performance Tuning 10.8 (and 10.7) for 10Gig Raw Sockets..
- From: Robert Monaghan <email@hidden>
- Date: Mon, 27 Aug 2012 13:38:57 +0200
Hi Everyone,
I am working on an application that uses a 10Gig interface to grab custom packets using a raw socket. (no flow control!)
Everything seems to be working, except that I can only get about 60% of the packets. The rest are dropped.
I have been noodling with setting the SO_RCVBUF size (via setsockopt) as well as setting net.inet.raw.datagram
and net.inet.raw.recvspace to different values.
I need to reliably receive about 3000 to 4000 packets with an MTU of 1502. So far, I have been able to tweak the computer
to get about 1800 packets (from a total of 3000) but thats about it.
What is the trick to getting the OS to not drop the remaining packets? Can I instruct the kernel to create a buffer large enough to hold these packets?
Thanks!
bob.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden