Re: program runs almost twice as slow on 2 CPU machine when 1 CPU



"anton bassov" <soviet_bloke@xxxxxxxxxxx> wrote in message news:1165360492.928427.276470@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Once interrupt can get raised at any time, regardless of the
thread that currently runs on the target CPU, they cannot affect CPU
load, as far as system management tools are concerned.

Extremely apologise for jumping into this discussion, but
how then the Process Explorer displays time percentage
for interrupts and dpc ?


In fact, there are not that many drivers that actually deal with
interrupts - only port and miniport drivers do it. All other drivers
just submit their requests, and pass them down the stack. They run at
IRQL < DPC level most of the time,

This also looks as overstatement. Even if a driver does not
handle interrupts, it nevertheless can do a lot of work at dispatch,
just because this is simple (WDM, USB and so on)

Regards,
--PA


.



Relevant Pages

  • Re: program runs almost twice as slow on 2 CPU machine when 1 CPU
    ... thread that currently runs on the target CPU, ... interrupts - only port and miniport drivers do it. ... The example I thought about is an USB miniport... ...
    (microsoft.public.win32.programmer.kernel)
  • Re: 2.6.27-rc6 xen soft lockup
    ... device interrupts are bound to vcpu 0 and there's nothing much else to ... During the time of the lockup the cpu load, as measured with cacti, was about 4% ... So I would say mostly idle ... # Device Drivers ...
    (Linux-Kernel)
  • Re: [RFC][PATCH 2/2] PM: Rework handling of interrupts during suspend-resume
    ... not generate an irq. ... Subject: PM: Rework handling of interrupts during suspend-resume ... Introduce two helper functions allowing us to prevent device drivers ... suspend and resume. ...
    (Linux-Kernel)
  • Re: [PATCH RFC] Debug handling of early spurious interrupts
    ... quiescing the underlying devices should suffice but not all drivers ... Thus drivers ought to be able to handle ... interrupts coming in as soon as the interrupt handler is registered. ... all - it is new functionality which is unrelated to kernel development. ...
    (Linux-Kernel)
  • Re: [Info required] PC Architecture
    ... The south bridge has the PCI controller and various other ... "BIOS" is just a software program, executed on the CPU as any other, ... everything is done by its device drivers and the BIOS is almost never ... interrupts to CPU/software ...
    (freebsd-hackers)