What Really Slows Windows Down

Page 2: The New Benchmarks
By Oli on Friday, 22nd September 2006. More information. Comments.

The follow up experiment testing more software with improved benchmarks. If you want to know what applications are slowing down your machine, check out this post.

The New Benchmarks

So alongside the same boot time test with BootVis, I needed to decide on a way of testing how fast the computer was when it was all up and running. I chose the two most effected subsystems of the computer: the processor and the storage.

The CPU gets used up when an application is running, therefore I only expected this to be a limiting factor on those applications which either run all the time in the background or modify system settings. The algorithm I ran was one to find all the prime numbers between 100,000 and 200,000. Not mega-maths, just something to give me a good result in a nice range.

I expected the storage readings to be a lot more varied. These were going to be effected by the applications that monitor what you're doing on the PC, mainly anti-virus and anti-spyware  applications. A "good" (I should say: secure) anti-virus application will check every disk operation to make sure that there is no bad activity. The problem comes where doing this costs you CPU cycles and also a massive amount of disk performance. The algorithm for this test made a new file and wrote a line to it. Then it would close it (allowing any application to be notified of a change), open it back up and write an extra line; repeating that last step 10,000 times. I understand that this is not "normal usage" but the results speak for themselves.

I compiled these algorithms in C++ (so no additional framework was needed). You can also download this source code from here. If you find it, or the rest of this article useful, please make a donation for the upkeep and addition to the site. The code is covered by the Creative Commons copyright agreement that covers the rest of this site. If you need other licensing options, contact me.

#include <iostream>
#include <time.h>
#include <fstream>
using namespace std;

bool isPrime(int i) {
    for (int j=2; j<i; j++)
        if ((i%j)==0) return false;
    return true;
}

int prime() {
    time_t seconds = time (NULL);

    for (int i=100000; i<200000; i++) 
        isPrime(i);
    
    return time (NULL) - seconds;
}

int fileIO() {
    time_t seconds = time (NULL);
    ofstream myfile;
    for (int i=0; i<200000; i++) {
        myfile.open ("testing.txt", ios::app);
        myfile << "Writing this to a file.\n";
        myfile.close();
    }
    remove("testing.txt");
    return time (NULL) - seconds;
}

int main () {
    ofstream myfile;
    myfile.open ("results.txt");
    myfile << "Prime:" << prime() << "seconds\n";
    myfile << "FileIO:" << fileIO() << "seconds\n";
    myfile.close();
}

Pages

  1. Introduction
  2. The New Benchmarks
  3. Norton Internet Security 2007
  4. The Contenders
  5. Results and Conclusions
Grav

Written by Oli on Friday, 22 September 2006. Tagged with benchmarks, windows, other. Read 191369 times. If you liked it, please give it a digg.

1 to 10 of 92 < 1 2 3 4 5 6 ... 8 9 10 >
#1 /* 2 years, 11 months ago */
Glad to see that Norton straightened themselves out a little bit; however, that boot time is still way too high for me to worry about purchasing a copy of their software. I'll stick to "being careful."
#2 /* 2 years, 11 months ago */
In reference to your forthcoming article, i've found the best way to speed windows up, is to un-install xp, install 98, and play the random delete file game from back when I only had a 800mb had drive and had to squeeze windows and half-life both on it! Delete files until something breaks, when it breaks, you know for the next install you cant delete that file.. ive had it around 20ish MB before :)...

Sorry, thats completely irrelevant, but I miss the good old days! Excellent article as always sir, your results proved the rough idea I had in my head of how the security products performed. I have to speed up a lot of Norton PC's for private customers when im freelancing. Ive recently gotten rid of Mcafee Enterprise 8 and replaced it with Avast much to my happyness! For speeding up windows, as well as the service tweaks, ive found TweakNow Powerpack2006 to be relatively useful, makes enough of a difference to notice, including boot times.

Cheers dude!
#3 /* 2 years, 11 months ago */
Really great job on the "what slows windows" down. I've been recently trying to find on my own system what is causing large slow bootup times. I'm thinking that Google Desktop Sidebar / Search may be something interesting to check. ...and if you decide to check out antivirus suites, be sure to take a look at F-secure/Kasperky, recently rated as the "best" detecting antivirus and antispyware suite in its Internet Security offerings.
#4 /* 2 years, 11 months ago */
I would like to see yoru review the free Avira AntiVir PersonalEdition Classic. http://www.free-av.com/
#5 /* 2 years, 11 months ago */
Glad my computer doesn't need any of that crappy antivirus, spyware garbage...

its a Mac, and sweet as a nut.

Why do you guys put up with all that sh*t?
#6 — Author comment /* 2 years, 11 months ago */
@Jon

I don't put up with any of that shit... I still use windows, I just use Common Sense as my AV.
#7 /* 2 years, 11 months ago */
My opinion with watching Norton Internet Security over the last couple of years is that it is getting more and more bloated every release. Every release what they seem to be doing, is adding new features (which is fine by itself), but they add one or two more (new) background services in doing so every time, I am not sure how many services Norton Internet security runs on now, but it must be at least over 6 or 8 or even more, which is ridiculous really.

What I am experiencing in the real world is that a lot of people only have 256Mb of RAM and Norton Internet Security 2006 requires so much RAM that these PC's have no more physical RAM left over (even when no programs are running) and start using the swap file constantly and the PC comes to a crawl, taking Nortons off and using the XP2 firewall + AVG free edition uses much less RAM, runs less processes and the machines become much faster. Norton Internet Security 2006 appears to require at least 512Mb of RAM to prevent the swap file from being used constantly, which is far too much RAM used.

In my mind, what needs to happen with Norton Internet Security, is they need to combine a lot of the tasks into only a few services (i.e. optimize), instead of heaps of separate services/background tasks like it is now, I am sure a lot of RAM can be saved by optimizing sections of the code too. I have looked at PC's with only 256Mb of RAM running Norton Internet Security 2006, and Norton's is actually using MORE ram that Windows XP itself, which is getting ridiculous really, in my mind, Windows XP SP2 firewall + AVG free edition + Firefox to prevent spyware that comes through ActiveX holes is more than enough and doesn't require half as much RAM, but then again I primarily run Ubuntu myself.
#8 /* 2 years, 11 months ago */
Great Article, Was wondering if you could also run some tests on P2P apps, Emule/utorrent and some other media players like PowerDvd,WinDvd,Media Player Classic.

Also some other suggestions on software would be imgburn/dvddecrypter/photoshop/Kaspersky AV/Kerio Firewall/sygate/outpost

also to test it would be cool if a test was conducted which was ran before and after a defrag? That would be aswome
#9 /* 2 years, 11 months ago */
You should not do performance tests in a virtual machine. Main reason is the condition of the host machine at the given moment. You know that that VM is just another application on the system that shares cpu and IO with the main system. True performance tests are done on a real machine where all tests are run on the same restored each time image.
There is one more thing that you should have mentioned in your tests. Do all security suites have a boot time driver that starts scanning when no user mode application has started? I doubt - namely, McAfee and Microsoft both scan in user mode meaning their boot time performance degradation in theory should be 0% but it is not. Norton's driver starts at the system time which means it scans during the boot file IO intensive process. This protects the machine for worms such as FunLove that infect just when the network drivers are up and functioning among other things. I think you should set all software to have the same options and then only run your tests.
Cheers,
Mike
#10 /* 2 years, 11 months ago */
why NAV 2002 and the rest of the progs are new?
1 to 10 of 92 < 1 2 3 4 5 6 ... 8 9 10 >

Don't just sit there like a lemon! Reply!

Got something to say? Now's the time to share it with the author and everybody else that reads this posting! Lemons need not apply.

edtBOX - xHTML: yes - bbcode:no
Home | Advertise | About | Contact | Legal © Oli Warner 2001—2007 Proud 9rules member