Re: DEVICE_POLLING with SMP

veedee_at_c7.campus.utcluj.ro
Date: 01/28/04

  • Next message: Ruslan Ermilov: "Re: Large scale NAT - problem resolved"
    Date: Wed, 28 Jan 2004 21:44:35 +0200
    To: freebsd-net@freebsd.org
    
    

    On Wed, Jan 28, 2004 at 01:25:13PM -0600, Kevin Day wrote:
    >
    > Has anyone made any headway with getting polling(4) to work with a SMP
    > kernel? Last May this was discussed on here briefly with me, Luigi and
    > Don Bowman, which seemed to indicate that the majority of what needed
    > to be fixed to make this work would be some kind of locking in
    > 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,
    > or if I turn polling on I get another 10-15% boost. I'd love to see
    > what the two together could do.

    I was just about to ask the same question. We've just received 2 Athlon MPs
    2400+ and we're about to buy a gigabit Intel PRO/1000MT Dual for one of our
    servers.

    It would be great if SMP could be combined with polling.

    -- 
    | Radu Bogdan 'veedee' Rusu
    | NetSysAdm at campus dot utcluj dot ro
    | Personal gallery at http://rbrusu.com
    | ...mirroring FreeBSD and coffee
    _______________________________________________
    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: Ruslan Ermilov: "Re: Large scale NAT - problem resolved"

    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)
    • DEVICE_POLLING with SMP
      ... Has anyone made any headway with getting pollingto work with a SMP ... Last May this was discussed on here briefly with me, Luigi and ... 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, ...
      (freebsd-net)