Disabling virtual memory causes perf counter problems

D

Dom

Hi,

I'm running into problems with XP embedded (but the issue occurs in all
versions of XP) when disabling virtual memory. It appears that CPU and
Memory performance counters are no longer accessible on the system, via
perfos, pdh or WMI.
Perfos.dll has been disabled in the registry:

HKLM\SYSTEM\CurrentControlSet\Services\PerfOS\Performance\Disable
Performance Counters = 1.

These counters worked fine on Win2K and NT4 with VM disabled.
Doing a quick search reveals that other people are seeing the problem too:

http://groups.google.co.uk/groups?q...=off&[email protected]&rnum=1

The general consensus is its a bug in XP that is causing the counters in
perfos to crash, so the service dies and XP disables it

If I enable virtual memory the problem goes away, however this is not a
satisfactory solution for various reasons.

Anyone seen this before, or know if MS is working on a fix for it? I can't
see a mention of it on MSDN.

Thanks,

Dom
 
A

Alex Nichol

Dom said:
I'm running into problems with XP embedded (but the issue occurs in all
versions of XP) when disabling virtual memory. It appears that CPU and
Memory performance counters are no longer accessible on the system, via
perfos, pdh or WMI.

DO NOT disable Virtual memory. Apart from certain specific needs for
repair, it is always a bad thing to do.
 
P

Plato

Alex said:
DO NOT disable Virtual memory. Apart from certain specific needs for
repair, it is always a bad thing to do.

But I read on ZDnet that is was a cool way to speed up my PC?

[g]
 
A

Alex Nichol

Plato said:
But I read on ZDnet that is was a cool way to speed up my PC?

Seeing things advised there strikes me as an *excellent* reason not to
do them :)
 
A

Alexander Grigoriev

Because it seems to be a bug (and valid problem for the XP Embedded), you
need to contact the support services. Since it's MS problem, you won't be
charged and may get a hotfix.
 
K

Ken Gardner

Seeing things advised there strikes me as an *excellent* reason not to
do them :)

Your experience mostly matches mine, but I'm new to this particular
newsgroup. Why do they get so many things wrong, in your opinion?

TIA
Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top