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

From: Karl Pielorz (kpielorz_at_tdx.co.uk)
Date: 03/11/04

  • Next message: Randy Jordan: "post not making it to list"
    Date: Thu, 11 Mar 2004 13:43:30 +0000
    To: Don Bowman <don@sandvine.com>, freebsd-isp@freebsd.org
    
    

    --On 08 March 2004 10:17 -0500 Don Bowman <don@sandvine.com> wrote:

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

    Hmmm, should kern.polling.suspect & kern.polling.lost_polls keep
    incrementing?

    Mine increment steadily. If you set kern.polling.enable=1 - they stay at
    zero - send a burst of traffic, and they keep incrementing steadily after
    that (about 20 or so a second).

    Even if there's no traffic at all...

    I don't seem to encounter any packet loss because of it... [This is with
    DEVICE_POLLING and HZ=1000 set in the Kernel config] - using 2 x em [Intel
    Pro-1000TX Cards both @ 100Mbit/FDX].

    -Kp

    _______________________________________________
    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: Randy Jordan: "post not making it to list"

    Relevant Pages

    • Re: A few questions...
      ... root user UID in the system, or root always have 0 and it's ... members against zero. ... getting process information from FreeBSD;)) Im pretty sure it doesnt ... So, yes, ps isn't using sysctl directly, but kvm_getprocs is... ...
      (freebsd-hackers)
    • [RFD][PATCH 1/2] sysctl: Allow a zero ctl_name in the middle of a sysctl table
      ... binary sysctl interface that completely removing the binary interface ... from the kernel will not be an option for foreseeable future, ... need to find a way to address the sysctl maintenance issues. ... An entry with zero ...
      (Linux-Kernel)
    • Re: malloc(0) returns an invalid address
      ... The bug is in useracc, ... immediately if len is zero, since it's okay to read or write zero bytes ... from any pointer. ... A workaround would be to just skip the sysctl if ...
      (freebsd-current)