Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: CPU and RAM usage

04 Nov 2009   #1
Maxheadroom

windows 7 64bit build 7600
 
 
CPU and RAM usage

is there a reason why when i run a programe like antivirus scan or adaware my cpu dosent use all of its capabilities to speed up the scanning process?
for instance with firefox, adaware scanning and what ever progs are in the back ground running my cpu usage is still at a steady 5%, why isnt that upto say 70% so the scan will be done a lot quicker?
thanks


My System SpecsSystem Spec
.
04 Nov 2009   #2
ignatzatsonic

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, 64-bit
 
 

Some scanning programs have a specific menu choice or slider where that can be controlled. I haven't used Adaware in a long time and can't recall about it. Have you checked all the configuration choices for the programs in question?

I suspect some of the problem may be due to the way the program is written and Windows internal choices as to what is most important.
My System SpecsSystem Spec
04 Nov 2009   #3
Roddy

Dual boot Win7 Home Premium and Vista Home Premium SP2
 
 

And I beleive WIN7 has much lower memory and CPU usage requirements versus Vista especially. Most anecdotal evidence suggests this. Also, whilst admitting I am not comparing apples with apples, when I boot into Vista I notice my CPU usually runs at about 40% and my memory at around 25-30% (fluctuates a bit). When I boot into WIN7 those numbers drop to about 25% and 15% respectivley.

Opening and using the same apps (Word, IE8 and Outlook) there are noticeable jumps in Vista CPU and memory usage. The jumps in WIN7, whilst still there, are nowhere near as pronounced,

I saw a graph in a Essential Guide to Windows7 magazine I picked up yesterday which highlighted the differences in Vista v WIN7 memory usage. Internal Microsoft graph, mind you, but these likewise backed up other PC magazines findings and my own observations...WIN7 is simply far better at managing these requirements.

Rgds
Rod
My System SpecsSystem Spec
.

04 Nov 2009   #4
H2SO4

Win7x64
 
 

A very good question

In addition to what others have said already, consider the possibility that the scanning procedure may not be processor or memory-bound. In other words, the bottleneck is not the processor or the amount of memory, but other factors - the disk subsystem being the most obvious.

Scanning a bunch of files for "known bad" (malware) contents involves a repetitive sequence of events:

a) decide which file to scan
b) read the file into memory
c) scan the in-memory content
d) record results
Then loop back up to (a) until done.

Those actions vary in their use of specific hardware resources. Some, such as (c), are primarily dependent on the processor and memory. The speed with which files and file fragments can be read into memory is, however, more limited by the disk horsepower.

Memory utilisation doesn't necessarily have to go very high because the same memory is reused as one file fragment is scanned, and the operation moves on to the next one.

Combine all that, and you end up with a processor that's mostly waiting for the disk subsystem to furnish the next file fragment to scan, and memory which is just being purged and reused over and over again.

Result: processor utilisation substantially lower than 100%. Memory footprint unremarkable and stable in size.
My System SpecsSystem Spec
05 Nov 2009   #5
Maxheadroom

windows 7 64bit build 7600
 
 

ahh ok so if i understand what youve said there's a bottle neck occurring where the CPU can deal with alot more than the HDD can give in a few operations, so to see an increase in CPU usage running those same apps i would need a faster HDD?
My System SpecsSystem Spec
05 Nov 2009   #6
H2SO4

Win7x64
 
 

Quote   Quote: Originally Posted by Maxheadroom View Post
ahh ok so if i understand what youve said there's a bottle neck occurring where the CPU can deal with alot more than the HDD can give in a few operations, so to see an increase in CPU usage running those same apps i would need a faster HDD?
Yes, exactly. The CPU is so fast that it only takes a small percentage of its total capabilities to process the data at the maximum speed that the other components - including the HDD - are capable of managing.

Disregarding for a minute the effect of any type of artificial self-throttling by the scanning app, which is what ignatzatsonic pointed out (and a good point too!), the combination of a faster disk and faster memory would in theory provide work for the CPU at a greater rate, leading to higher CPU utilisation.

If the CPU was "pegged" at 100% while it was doing the processing, then you could safely conclude that the CPU itself is the bottleneck, and that other system components are waiting on it to finish.

There's always a bottleneck, in every system.
My System SpecsSystem Spec
06 Nov 2009   #7
Maxheadroom

windows 7 64bit build 7600
 
 

i was thinking of overclocking my cpu when i got it but now looking at the usage and the fact that it hardly goes over 25% would i be wasting my time?
My System SpecsSystem Spec
06 Nov 2009   #8
H2SO4

Win7x64
 
 

Quote   Quote: Originally Posted by Maxheadroom View Post
i was thinking of overclocking my cpu when i got it but now looking at the usage and the fact that it hardly goes over 25% would i be wasting my time?
I'm strongly biased against overclocking because it makes the hardware potentially unreliable, and that gives me nightmares.

Having said that, a faster processor will not go to waste just because an AV scanning operation may be disk-bound rather than processor-bound. In many other types of usage scenarios, the limiting factor will be the processor.

More grunt is always a good thing.
My System SpecsSystem Spec
Reply

 CPU and RAM usage




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
CPU over usage
Hello everyone. I am using a Toshiba Satellite C660 laptop running celerom B800 1.50Ghz. I am using it for more than 2 years. 3 days ago it started showing me a really boring problem! when starting up, before anything else starts the CPU usage is already on its 100% and it remains frozen for...
Performance & Maintenance
Have high CPU usage and Memory usage
Hi. I was using my laptop a few days ago. I left to go out and came back about an hour later. I notice my CPU usage was running @ 100% & the memory @ 80%.My laptop just stopped. I went into safe mode and that is where I am currently . I have deleted almost everything I don't use(didn't...
Performance & Maintenance
Frequent unresponsiveness, 100% hardware disk usage, 0% software usage
Every 10-40 minutes, the application I'm currently working in becomes unresponsive, and after a minute or two, the window turns white, notifying me that it's not responding. This unresponsiveness quickly spreads to other open processes, rendering them frozen as well. I can still use the mouse, and...
Performance & Maintenance
100 % CPU Usage, help
Well Hi guys, This is My first post and I will just start explaining what is my problem When im browsing internet, using Chrome a little lag was there atm, and when I turn on Windows Task manager to close some process I noticed that my CPU Usage was full, I was just on google no Flash, Videos...
Performance & Maintenance
System Restore - Current usage exceeds Max Usage
In system protection, the current usage is at 405GB while max usage is defined at 279GB (30%). 1) How this can happen ? ,and 2) How can I set the Max Usage to be kept?
Backup and Restore
Windows 7 random CPU usage and high physical memory usage!!!
Ok, I am literally KILLING myself over this! I installed Windows 7 64Bit over XP around a month ago and it was so good that I recommended it to my brother who was previously on XP too. We got him a copy of the 32bit version as he has only 2gb of memory, and he installed it on his machine....
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:48.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App