RE: device polling takes more CPU hits??

From: Don Bowman (don_at_sandvine.com)
Date: 07/26/04

  • Next message: James: "Re: device polling takes more CPU hits??"
    To: 'Marko Zec' <zec@tel.fer.hr>, freebsd-net@freebsd.org
    Date: Mon, 26 Jul 2004 16:07:20 -0400
    
    

    From: Marko Zec [mailto:zec@tel.fer.hr]
    > On Monday 26 July 2004 17:35, Don Bowman wrote:
    > > > root@r2.bos# sysctl machdep.cpu_idle_hlt
    > > > machdep.cpu_idle_hlt: 1
    >
    >
    > At least on -STABLE, machdep.cpu_idle_hlt setting is ignored
    > / irrelevant when
    > both kern.polling.enable and kern.polling.idle_poll are set.
    >

    Hmm, this is more interesting.
    Since you are SMP, and using POLLING, i assume you did
    like me and commented out the !POLLING in SMP #error statement.
    You definitely want the halt on idle. The polling in idle
    doesn't work anyway, so try disabling it.

    James, not sure if you saw the rest of my email with
    my params:

    > kern.polling.burst: 1000
    > kern.polling.each_burst: 80
    > kern.polling.burst_max: 1000
    > kern.polling.idle_poll: 0
    > kern.polling.poll_in_trap: 0
    > kern.polling.user_frac: 5
    > kern.polling.reg_frac: 120
    > kern.polling.short_ticks: 29
    > kern.polling.lost_polls: 55004
    > kern.polling.pending_polls: 0
    > kern.polling.residual_burst: 0
    > kern.polling.handlers: 4
    > kern.polling.enable: 1
    > kern.polling.phase: 0
    > kern.polling.suspect: 50690
    > kern.polling.stalled: 25

    _______________________________________________
    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: James: "Re: device polling takes more CPU hits??"

    Relevant Pages

    • Re: panic: lock (sleep mutex) inp not locked
      ... > got this panic today on an SMP system. ... > Crashdump and debug kernel are available for further investigation. ... I successfully used polling on my SMP machine a while back, ... #ifdef causing polling build to fail on SMP is removed. ...
      (freebsd-stable)
    • Re: DEVICE_POLLING with SMP
      ... |SMP> kernel? ... |boost,> or if I turn polling on I get another 10-15% boost. ...
      (freebsd-net)
    • Re: decreasing interrupt CPU load
      ... > question suggests why it is disabled for SMP. ... It seems that polling ... > particular cpu? ...
      (freebsd-performance)
    • Re: Poor NFS server performance in 6.0 with SMP and mpsafenet=1
      ... >> I'm seeing incredibly poor performance when serving files from an SMP ... >> experimenting and have discovered that either removing SMP from the ... I'll have a play with both ULE and POLLING to see what ...
      (freebsd-current)
    • Re: DEVICE_POLLING with SMP
      ... > Has anyone made any headway with getting pollingto work with a SMP ... > idle_loop to make sure only one CPU gets into the polling code at once. ... > I've got a case where enabling SMP gives me a 20-30% performance boost, ... | NetSysAdm at campus dot utcluj dot ro ...
      (freebsd-net)

  • Quantcast