• 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
Re: Performance Tuning 10.8 (and 10.7) for 10Gig Raw Sockets..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Performance Tuning 10.8 (and 10.7) for 10Gig Raw Sockets..


  • Subject: Re: Performance Tuning 10.8 (and 10.7) for 10Gig Raw Sockets..
  • From: Robert Monaghan <email@hidden>
  • Date: Mon, 27 Aug 2012 13:59:01 +0200

Ok,

I just did a "fore-head" slap. I miss-calculated something. I am getting all of my packets.. :)

bob.

On Aug 27, 2012, at 1:38 PM, Robert Monaghan wrote:

> 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


 _______________________________________________
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

References: 
 >Performance Tuning 10.8 (and 10.7) for 10Gig Raw Sockets.. (From: Robert Monaghan <email@hidden>)

  • Prev by Date: Performance Tuning 10.8 (and 10.7) for 10Gig Raw Sockets..
  • Next by Date: Re: ld: warning: using ld_classic
  • Previous by thread: Performance Tuning 10.8 (and 10.7) for 10Gig Raw Sockets..
  • Next by thread: TCP Log NKE should not be used for new development
  • Index(es):
    • Date
    • Thread