Re: device polling takes more CPU hits??

From: James (haesu_at_towardex.com)
Date: 07/26/04

  • Next message: Charlie Schluting: "Re: spoofed MAC on a dhcp interface"
    Date: Mon, 26 Jul 2004 11:01:03 -0400
    To: Don Bowman <don@sandvine.com>
    
    

    Hi Don,

    > I would post the output of 'sysctl kern.polling', its likely
    > some of the tuning there is insufficient.
    > What do you have HZ set to (sysctl kern.clockrate)? I would
    > probably have it set to ~1000.
    > You will want 'machdep.cpu_idle_hlt=1'.

    Thanks for quick reply. Here is the sysctl output with polling turned on.

    -J

    root@r2.bos# sysctl kern.clockrate
    kern.clockrate: { hz = 4000, tick = 250, tickadj = 1, profhz = 1024, stathz = 128 }
            
    root@r2.bos# sysctl kern.polling
    kern.polling.burst: 150
    kern.polling.each_burst: 5
    kern.polling.burst_max: 150
    kern.polling.idle_poll: 1
    kern.polling.poll_in_trap: 1
    kern.polling.user_frac: 50
    kern.polling.reg_frac: 20
    kern.polling.short_ticks: 4909
    kern.polling.lost_polls: 11464
    kern.polling.pending_polls: 0
    kern.polling.residual_burst: 0
    kern.polling.handlers: 1
    kern.polling.enable: 1
    kern.polling.phase: 0
    kern.polling.suspect: 10249
    kern.polling.stalled: 3
                                                                                    root@r2.bos# sysctl machdep.cpu_idle_hlt
    machdep.cpu_idle_hlt: 1

    -- 
    James Jun                                            TowardEX Technologies, Inc.
    Technical Lead                        Network Design, Consulting, IT Outsourcing
    james@towardex.com                  Boston-based Colocation & Bandwidth Services
    cell: 1(978)-394-2867           web: http://www.towardex.com , noc: www.twdx.net
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Charlie Schluting: "Re: spoofed MAC on a dhcp interface"

    Relevant Pages

    • SV: sysctl documentation
      ... According to the manual page of sysctl - the best place to find the ... handbook might also help you (the "tuning" sections). ... Ämne: sysctl documentation ... To unsubscribe, ...
      (freebsd-questions)
    • Re: SYN Attacks - how i cant stop it
      ... "sysctl: unknown oid...." ... Then use stateful inspection and dynamic rules for the ... > rest of the wall. ... To unsubscribe, ...
      (FreeBSD-Security)
    • Re: SYN Attacks - how i cant stop it
      ... "sysctl: unknown oid...." ... Then use stateful inspection and dynamic rules for the ... > rest of the wall. ... To unsubscribe, ...
      (freebsd-questions)
    • RE: kswapd issue
      ... What I was missing earlier was "did not run sysctl -p" after changing ... damage you may sustain as a result of any virus in this e-mail. ... Infosys reserves the right to monitor and review the content ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)
    • Re: Problem Tuning Maxsockets
      ... > I am trying to alter the number of maxsockets allocated from the default ... > operation via sysctl I'm informed the oid is read ... To unsubscribe, ...
      (freebsd-questions)