Re: decreasing interrupt CPU load

From: Lucas Holt (luke_at_foolishgames.com)
Date: 10/21/04

  • Next message: Sean Chittenden: "Re: CPU utilisation cap?"
    Date: Thu, 21 Oct 2004 09:56:43 -0400
    To: Jason Stone <freebsd-performance@dfmm.org>
    
    

    On Oct 20, 2004, at 4:34 PM, Jason Stone wrote:

    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    >
    > I read somewhere that there wasn't a specific reason for not allowing
    > device polling and smp to be used at the same time, and that it was
    > fairly
    > safe to remove the #ifdef SMP/#error block in sys/kern/kern_poll.c and
    > compile in both smp and device polling.
    >
    > I haven't done this in a production environment, but I've done it on my
    > smp desktop box, and it seems to work okay.
    >
    >
    > -Jason
    >

    If you look at http://info.iet.unipi.it/~luigi/polling, the last Q & A
    question suggests why it is disabled for SMP. It seems that polling
    only runs on one thread whereas an smp box might handle concurrently
    interupts from different devices.

    Can the scheduler move the thread to another cpu or is it locked on a
    particular cpu?

    Lucas Holt
    Luke@FoolishGames.com
    ________________________________________________________
    FoolishGames.com (Jewel Fan Site)
    JustJournal.com (Free blogging)

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


  • Next message: Sean Chittenden: "Re: CPU utilisation cap?"

    Relevant Pages

    • Re: decreasing interrupt CPU load
      ... > aware that device polling is available only for single CPU kernels, ... > is, not in SMP mode? ... device polling and smp to be used at the same time, ...
      (freebsd-performance)
    • Re: decreasing interrupt CPU load
      ... > aware that device polling is available only for single CPU kernels, ... > is, not in SMP mode? ... device polling and smp to be used at the same time, ...
      (freebsd-performance)
    • Re: decreasing interrupt CPU load
      ... Steven Hartland wrote: ... >> Since you mentioned earlier that you run this on an SMP system, ... >> you aware that device polling is available only for single CPU ... >> kernels, that is, not in SMP mode? ...
      (freebsd-performance)
    • Re: 2.6.{26.2,27-rc} oops on virtualbox
      ... ACPI: PM-Timer IO Port: 0x4008 ... SMP: Allowing 1 CPUs, 0 hotplug CPUs ... PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 ... CPU: Trace cache: 12K uops, ...
      (Linux-Kernel)
    • Re: 2.6.{26.2,27-rc} oops on virtualbox
      ... ACPI: PM-Timer IO Port: 0x4008 ... SMP: Allowing 1 CPUs, 0 hotplug CPUs ... PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 ... CPU: Trace cache: 12K uops, ...
      (Linux-Kernel)