RE: FreeBSD polling mode - count 'lost' packets?

From: Don Bowman (don_at_sandvine.com)
Date: 03/08/04

  • Next message: Adrian: "Best IDE RAID5 solution for FreeBSD 5.2 ?"
    To: 'Karl Pielorz' <kpielorz@tdx.co.uk>, freebsd-isp@freebsd.org
    Date: Mon, 8 Mar 2004 10:17:32 -0500 
    
    

    From: Karl Pielorz [mailto:kpielorz@tdx.co.uk]
    > Hi All,
    >
    > We've been running a number of FreeBSD boxes with high packet
    > throughputs
    > using polling mode.
    >
    > This seems to work great (gets rid of 90k odd interrupts a second).
    >
    > Is there any easy way of finding out how many packets are
    > being 'dropped'
    > in this system? (We use em Intel Pro 1000TX cards) - as
    > obviously, there is
    > a finite limit to the number of packets the system can push -
    > is there any
    > mechanism, or flag, or anything that will warn you if by the time the
    > drivers get to poll the card, it's overflowed/lost packets?
    >
    > Thanks,

    netstat -i will tell you these things, look for ifInErrors, ifOutErrors.
    sysctl kern.polling will indicate if you can't poll fast enough.

    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Adrian: "Best IDE RAID5 solution for FreeBSD 5.2 ?"

    Relevant Pages

    • Re: Proposed 6.2 em RELEASE patch
      ... I made a quick diagram of the test setup that should make it more clear ... With one stream of packets being blasted across, the box is dropping some packets even on its OOB management interface. ... Only with polling am I able to continue to work on the box via the OOB interface while one and even 2 streams of UDP packets are blasting across. ... To measure how many packets are dropped I was looking at making a modified netreceive to count the packets it gets so I can test to see if polling mode will be adequate for my needs. ...
      (freebsd-net)
    • Re: Proposed 6.2 em RELEASE patch
      ... I made a quick diagram of the test setup that should make it more clear ... With one stream of packets being blasted across, the box is dropping some packets even on its OOB management interface. ... Only with polling am I able to continue to work on the box via the OOB interface while one and even 2 streams of UDP packets are blasting across. ... To measure how many packets are dropped I was looking at making a modified netreceive to count the packets it gets so I can test to see if polling mode will be adequate for my needs. ...
      (freebsd-stable)