• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Performance Tuning 10.8 (and 10.7) for 10Gig Raw Sockets..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Performance Tuning 10.8 (and 10.7) for 10Gig Raw Sockets..
      • From: Robert Monaghan <email@hidden>
  • Prev by Date: Re: C++ class declaration in NKE
  • Next by Date: Re: Performance Tuning 10.8 (and 10.7) for 10Gig Raw Sockets..
  • Previous by thread: Fwd: Blocking / Holding data from NKE
  • Next by thread: Re: Performance Tuning 10.8 (and 10.7) for 10Gig Raw Sockets..
  • Index(es):
    • Date
    • Thread