Re: performance Winxp vs Linux

From: Bob Halpin (halpin_at_qwpage.com)
Date: 10/04/03


Date: Sat, 04 Oct 2003 11:02:07 -0400

Re: 'low' CPU consumption

Here's what we have observed.

A benchmark app we use executes in a given time on a new Win2K box.
(It's a busy, busy app with lots of disk I/O.) Average CPU time used
during execution was > 90%.

A new hard drive, identical to the one used above, is installed and Win
XP installed.

The benchmark app takes three times longer to execute. Average CPU time
was < 20%.

Long story short - Under XP, drivers from the motherboard driver CD had
not been installed (as they had under Win 2K.) When those drivers -
especially the "Intel Application Accelerator" was added, the benchmark
app executed in the same time as under Win 2K.

The background on this seems to be that without that driver, disk I/O
bottlenecks the system, but there is no process you can see consuming
the CPU time and the System Idle Process sits there soaking up > 90% of
the CPU.

We have had feedback from many sources that confirm this 'problem' -
many, many systems seem to be assembled, and Win installed, but
specialized drivers for the motherboard are not. I think it's fair to
say that *most* PC users would never notice the fact that their spanking
new P4 never actually allows an app to run anywhere near the speed it
could.

For more info on the Intel Application Accelerator, including a utility
to identify your chipset, try this:

        www.intel.com/support/chipsets,iaa

Hope this helps.

Bob



Relevant Pages

  • [Summary] Diagnosis fun...
    ... 2% idle time sucks, and more than likely the system is CPU bound, and can ... app depends so heavily on the kernel, ... I replaced the default Solaris 8 TimeSharing dispatch table ...
    (SunManagers)
  • Re: Timing your loops
    ... loops it updates every iteration causing cpu usage. ... And yes i do need multiple separate windows. ... However all this said if letting the app suck 100% isn't actually a bad ... all the cpu power left....mustn't be left for a rainy day after all. ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: Timing your loops
    ... Instead of taking a 'greedy' approach that uses up as much CPU time as possible unless you remember to stop it, have you considered an approach whereby you generally do nothing, but occasionally you'll render a frame? ... Providing your timer-handling code takes less than 30ms to execute, your app should go back to sleep between frames. ... After all they are running and while doing nothing are allocated all the cpu power left....mustn't be left for a rainy day after all. ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
    ... Matt Mackall wrote: ... Probably not if you use common sense, and in the context of a replacement ... Is it common sense that a heavily-threaded app should be able ... to get hugely more CPU than a well-written app? ...
    (Linux-Kernel)
  • Re: GetCurrentProcessorNumber() for XP?
    ... building a one->one mapping of APIC ID to CPU number; ... instruction executes, ... executing the appropriate cpuid instruction, ...
    (microsoft.public.win32.programmer.kernel)

Loading