Showing posts with label Benchmarks. Show all posts
Showing posts with label Benchmarks. Show all posts

Thursday, February 18, 2010

OverClocker benchmark misses the obvious

OverClockers.com has published a series of benchmark results for six defrag programs. Unfortunately the benchmark measurement program they used is HDTune, a program that measures hard drive performamce.
What's wrong with that? It reads raw sectors, not fragmented files. In fact, the manual for the Pro version says that if you want to do the write tests you should use an un-formatted, un-partitioned disk, in order to avoid accidental data loss.
I hate to be one of those "I told you so" critics, and I feel even worse that I have been unable to do any benchmarking on my FRAGG machine for the last month because of hassles with the SARS eFiling web site. Hopefully that will come right by the end of the month and I can publish some more meaningful benchmarks.

Thursday, February 04, 2010

Sahara Sands ... time is running out

Sahara Computers may understand brand marketing, but they have no idea about customers. They sponsor South African cricket, and put Graham Smith's face next to a picture of their laptops. But when I phoned to get a simple answer to a simple question, I got put through 5 times before I gave up in disgust. Sahara may have a machine called the "Sands", but I'm beginning to visualize an hourglass rather than the Sahara desert. Does that mean it gets clogged with dust?
My trusty FRAGG testing machine is a Sahara. I bought it last year and apart from an iffy CD drive (It doesn't always read the CD) and a mouse with Parkinson's disease, all has been well. These are minor problems, and the machine has performed flawlessly in all tests and benchmarks. I just use a different mouse.
This year I decided to get a cheap desktop machine for a friend who wants to write blogs. The ZAPS and RebelTech online stores don't list Sahara machines for some reason, so I decided to look on Sahara's own web site.
Ouch! I was first presented with one of those crappy time wasting flash main pages, which is great for the Director's ego, but doesn't help the customer one bit. Eventually I found a "back to school offer" page, which looked promising. What? No USB ports? No network connector? Do they really want me to connect to the internet using a dial-up modem? (click on the top picture for all the specifications provided) I figured this must be an error on the web page, along with the typo for "Back to schook", so on Monday I phoned the expensive 0861 number, and spoke to a "support" person who had no idea what machine I was referring to. They would put me though to sales.
The switchboard put me through to dealer sales. "Are you a dealer?" No, I'm a customer. "Oh, we can't help you". Back to the switchboard. Transfer again. "Are you a dealer?" No, I'm a C-U-S-T-O-M-E-R. Worried sound on the other end. "That line is busy." So I ask for the name of a dealer in my area, feeling like a drug addict. I get given the contact number for a computer store in Melville.
I visit the store on Wednesday to find they don't stock the "Sahara Sands" model. They quote me on a slightly different configuration. I decide to shop around, after being handed a Matrix Warehouse pamphlet at a traffic light on my way to the store. I also visit a few other computer stores.
Deciding that my blood pressure isn't up to another round on the Sahara switchboard, I write to their sales department, and cc it to their "General Company Information/Contact" address. The response I get back is:
I do apologize for the inconvenience you were caused when calling Sahara. Please can you let me know who you spoke to so that I can enquire with them
As for the information you requested. Please email me your contact details so that I may call you.
Best regards
Shane Woodward
Business Development Unit : Sahara Computers 011 542 1166.
Wonderful! They are more interested in finding out who I spoke to than what I want to buy. After all, they don't sell to customers, so why help them? I prod a bit harder, asking them to answer the questions. On Thursday I get the answers, in red below:
"I am a simple consumer who wants to know:
"a) What is the recommended retail price of these products? There is no set RRP
"b) Where is the closest store to where I live (Northcliff/Cresta/Linden in Johannesburg) that has these computers in stock. Most of the large chain stores stock our machines, Ok Furniture, Joshua Doore, Russels, Electric Express, Morkels and Price and pride.
"c) I was told by a computer shop that the Windows 7 Starter Edition expires after 60 days. Is this true or FUD? This is not true, it is a full version.
"d) Do the computers have USB ports. How many? Yes, all modern computers have USB Ports, these models both have 4 at the back and 2 in front
"e) Does the computer have a network connector? Yes, both models
"f) How much extra do I have to pay to upgrade from 1024MB RAM to 2048MB RAM? This you would have to discuss with the store, they can give you a price.
"I have no idea why it should be so difficult for me to get answers to these questions."
This worries me. They sell the computer through furniture stores whose main line of business is finance: they sell furniture and appliances to people who can't afford to pay cash so they get them to pay much more using "easy terms". These are not sophisticated buyers, so they are probably buying the computer for their children in the hopes of giving them a better education. They could easily end up paying R8,000 to R10,000 for the computer, because they wouldn't know better. Yet Sahara won't tell me what the RRP is, allowing the retailers to rip off the public with the collusion of the distributor. This is Africa.
I will probably have to spend some time on the weekend traipsing from store to store, speaking to idiot sales staff with blank expressions who won't know what I am talking about. I am really looking forward to this. Maybe I'll just buy a different make from someone who knows what a computer is, and can identify a C-U-S-T-O-M-E-R when he walks in the door.
Update: One other point of interest: they bundle Kaspersky AV with a one month subscription, when they could include the free offerings from Microsoft or AVG. Did Kaspersky pay them to do this? Or don't they know about the free products? After all, they include all the Windows Live software.
Update 2018: Sahara Computers has closed doors after their owners were implicated in massive theft, fraud and government corruption on a grand scale.

Wednesday, December 30, 2009

The 2009 Defrag Shootout: Abort, Retry, Fail?

Users old enough to have used DOS will remember how it used to have an error message where the choices were: "Abort, Retry, Fail?" Right now the 2009 Defrag Shootout is definitely in the "Fail" category.
Why is it that I continually underestimate the complexity of testing and benchmarking defrag software? It took months to get the machine set up with Windows XP, Windows Vista 32 and finally 64 bit. It took longer to figure out which tests would work and which were useless. Just when I got all that figured out, Windows 7 was launched. Oh, and did I mention that I needed a RAM upgrade and my wife had a major operation?
Also, work has a pesky habit of getting in the way too. Ah well. So at this stage I have test results for the Windows Disk Defragmenter and PerfectDisk 10, and a half-written review of PD10. Not exactly a "shootout", is it? So, dear readers, I am abandoning the 2009 Defrag Shootout with less than 2 days to go.
But all is not lost. I am setting up my trusty FRAGG computer with Windows 7 32-bit, and will also do the same for Windows 7 64-bit. I am also registering a web site devoted specifically to the Defrag Shootout, because the results are tricky to find and compare on this blog. More details will follow. Of course this requires a lot more work, but it just has to be done. I will announce more as the information becomes clearer.

Monday, June 08, 2009

How long does it take to reboot your PC?

I am always amused by "benchmarks" that measure how long it takes to shut down or start up a PC. Think about it: how do you accurately measure the time it takes to shut down a PC? With a stopwatch? You certainly can't do it with software, since the software won't be running when the shutdown is complete.
Similarly, how do you know when a PC has finished starting up? How do you know what time it was switched on? As far as I know there is no counter in the processor that says how long the CPU has been running. What we do have is an accurate clock, which can provide the number of seconds and milliseconds since midnight.
Enter the Reboot Timer: a free utility that notes the current time, stores it in the registry, and then reboots the machine. Because there is a shortcut to the program in the Startup menu, once the PC restarts the program can compare the current time with the stored one, and calculate a time difference. The screen shot shows that it took my laptop 2 minutes and 32.09 seconds to reboot.
Now I can use this to determine the time saving achieved by defrag programs or other software that claims to "improve" a PC's startup time. I can also use it to measure how long a boot time defrag takes.
Update Wed 10 June: PerfectDisk 10 Professional on my Vista 64-bit machine improved the average boot time of the machine by 7.3%. I have nothing to compare that to, but it is an improvement of 6 seconds. More results will follow as they become available.

Wednesday, June 03, 2009

Interim Benchmark Results

It has taken 3 weeks to arrive at these results, partly because of the time it takes to run the tests, and partly because of interruptions. Nonetheless, in the interests of full disclosure, I figured it would be best to publish the raw benchmark results before testing any of the defrag programs.
I have cycled through 3 different systems: Windows XP Professional, Windows Vista Home Basic 32-bit, and Windows Home Basic 64-bit. I have omitted the hIOmon results because I am still learning how to use this amazing software, and also I'm not sure what exactly to measure. The results of the fragmented systems are to be found in PDF printouts of an Excel spreadsheet:
Click on the links to see the PDF files, or right-click to save them. As soon as the disk image backup is completed, I will start testing PerfectDisk 10 Professional. Stand by for results in the next few weeks. You can find the current status of the tests by looking at the "current status" message in the left margin of this blog. I update it as the status changes.
Update 9 June 2009: I have included the reboot time for Vista 64, and will add in the other times as they become available.

Tuesday, March 03, 2009

Getting Results Takes Time

Who would have thought it would take an entire hour to get ten measurements on the time it takes to open a Word document? It takes time for Windows to boot, and then the software waits 200 seconds before attempting to open the file. I am using my DelayLaunch utility to wait for 200 seconds: there is a shortcut in the startup folder to launch it.
Then there is the time taken to note the result in a spreadsheet before rebooting and getting the next measurement. I allow 180 seconds (3 minutes) for Windows to boot up and settle down (?), and then wait another 20 seconds before doing a timed opening of the file.
Click on the top graphic to see more details of the result obtained. The VB program notes the time on the left, in minutes and seconds, and also seconds since midnight. Then it asks the OS to open the file, and displays the time on the right once this process has finished. Also, the opened document displays the current time, for checking purposes.
I am taking an average of only 10 results. Statistically 21 results should be used, but it just takes too long, and the FileAccessTimer program only gets 10 results, so there isn't much point in getting more. So far the results vary by ±15% which is higher than I thought it would be. That means any result could be 15% higher or 15% lower than the average of 10 results. It's quite a wide variation for what is supposed to be a repeatable sequence, but I have noticed the same variation when using FileAccessTimer to open all the files in the "Program Files" folder. Who says defrag benchmarking is an exact science? Oh well ...

Update: Friday 13th March 2009
: I have put together a "definitive" (for now) set of results and tests for Windows 5.1.2600 (i.e WinXP SP3 32-bit) and I'm in the process of getting results for Windows Disk Defragmenter. This should take a few more days.
I have also purchased a 64-bit version of Windows Vista, which has been paid for by the Google Adwords revenue for the last 9 months or so, thanks to all those who don't use IE7Pro's Ad Blocker or Firefox's AdBlock Plus. This blog is not a profit-making exercise, but a hobby.

Friday, February 27, 2009

Windows Disk Defragmenter gets the stress test

Don't expect any test results for a few days, because this is what the Windows XP Disk Defragmenter (WDD) is having to deal with: 75% full hard drive with a lot of fragmented files, both large and small, including big compressed files with lots of fragments.
The test PC has been set up to look like a home PC that hasn't seen a defrag in its life before. This isn't too far off the mark. Since WDD is supplied with WinXP, it gets to go first. Then I will move on to Vista's built-in defrag utility, and take a peek at the Windows 7 version.
There is no time limit on how long the defrag will run. The goal is better performance, since most people leave the defrag running overnight or when they are out.
Update Sunday 1 March: As I start noting the results of the benchmarks, I have coined the term "the slouch factor" to describe what happens when a hard drive gets full. We've all noticed how a Windows machine usually feels slower after a long time of use, and as the drive gets full. There is an explanation for this, best described by Robert Ferraro of DiskTrix, in the "Hard Drive Performance Theory" section of the UltimateDefrag help file.
You can see it in the graph above: data transfer rates drop from 76MB/sec down to around 40MB/sec as you move from the start of the drive to the end. When I ran my previous Defrag Shootout, I was using a drive that had two partitions, courtesy of Acer. The first (and therefore faster) partition had the OS and temporary file space, while the second had data files. It seems that Acer was being clever by doing this, because the slouch factor is caused by the position of working (or temporary) files. When there is free space near the start of the drive, the temporary files can be manipulated there, with faster seek times and data transfer rates.
As the drive fills up and is kept "tidy" by a traditional defrag program like WDD, the position of the available free space gradually moves towards the slow end of the drive, affecting the seek time and transfer rates of new and temporary files. The computer starts to slouch, hence the slouch factor.

PCMark 05 Benchmark Test Results

I digressed from the task at hand to run some tests on the PcMark 05 benchmarking program. The results are shown in order of testing. High score is best.
First, I ran the program with the initial file layout, and a minimal install. Not surprisingly the HDD score is lowest, because the drive is fragmented.
Initial setup: 4453 points. No defrag.
After Windows Disk Defrag: 4448 points. This is the recommended configuration. The hard drive has been defragmented using the standard WDD program.
After JKDefrag -a5: 4493 points. This is the best result, obtained by moving all the files to the start of the drive, leaving the rest of the drive completely open.
After JkDefrag -a 3: 4474 points. The second best result, obtained using the standard configuration adopted by JkDefrag, with a 1% open space at the start of the drive, followed by another 1% after the "program" files.
After JkDefrag -a 6: 4471 points. All the files have been moved to the slow end of the drive, with almost no performance penalty.
In theory, the last result would be the worst result if actual file performance was being measured, since all the files are in the slowest part of the drive. Conversely, it would be the best result if the trace results were being used, since the entire start of the drive would be available for reading or writing, and so it would match the reference system perfectly.
Now look at the actual performance graph of the drive, measured by HD Tune. There are some clear sectors at the beginning of the drive that run much slower. Presumably these sectors were damaged and have been swapped out for other sectors, but it is impossible to know for sure without an inspection of the drive that I don't have tools to perform.
These "glitch" sectors may account for the drop in 20 points (0.4%), but in any case the overall variation between high and low is all within a 1% range, and so could well fall within a measuring error.
My conclusion: the benchmark does not significantly determine any effects caused by file placement or fragmentation when the drive has a minimal install, i.e. just Windows XP, DirectX and the PCMark 05 software. So MaximumPC's conclusions are flawed because of the way they measured the effects of the defrag program. The PCMark benchmarks don't claim to measure the effects of fragmentation: they are designed to compare the hardware configurations of a wide variety of PCs. "The Disk Defrag Difference" was a good idea. Hopefully my tests will give a better result. We can only be patient and see what transpires.

Tuesday, February 24, 2009

Maximum Misunderstanding about Defrag Benchmarks

Last year MaximumPC wrote an article, "The Disk Defrag Difference" in which they claimed that the defrag programs that they tested were not much better than the built-in defrag program in Windows Vista.
They used the HDD benchmarks in PCMark Vantage to see whether a given defrag program would improve the PCMark score or not. Unfortunately they didn't read the fine print. I stumbled apon it by accident, so I can't criticise them too much. You have to read the PCMark05 Whitepaper quite carefully to find it. Page 17, under the heading "HDD Tests" (emphasis added):
For these tests, we use RankDisk, an application developed and copyrighted by Intel®. In our testing, we found RankDisk to be suitable for a neutral benchmark. RankDisk is used to record a trace of disk activity during usage of typical applications. These traces can then be replayed to measure the performance of disk operations for that usage.
RankDisk records disk access events using the device drivers and bypasses the file system and the operating system’s cache. This makes the measurement independent of the file system overhead or the current state of the operating system. In replaying traces, RankDisk always creates and operates on a new “dummy” file. This file is created in the same (or closest possible) physical location of the target hard disk. This allows the replaying of traces to be safe (does not destroy any existing files) and comparable across different systems. Due to the natural fragmentation of hard disks over time, they should be defragmented before running these tests.
The traces used for each test were created from real usage. The traces contain different amount of writing and reading on the disk; total ratio in the HDD test suite disk operations is 53% reads and 47% of writes.
Bear in mind that the PCMark benchmarks are written to compare different systems to one another to see which one is faster. So it makes sense for them to record a "trace" of disk activity, and then try to emulate it on various systems. But the "trace" data does not refer to files on the test system, only clusters. In other words, the original reference system may have had a system file like user.dll that was loaded from clusters 25,26 and 27. When the HDD "read" benchmark runs on my system it reads clusters 25,26 and 27, irrespective of the location of my copy of user.dll, which could be stored on clusters 127, 254 and 55 if it was fragmented.
In order to benchmark the "write" activity, the original reference system could have written data to cluster 1020, 1021 and 1022. On my system these clusters may be in use, so the benchmark program finds the "nearest" available clusters, say 1200, 1201 and 1203, and does its timing accordingly. It's the only safe way to do a "write" benchmark without corrupting the test system, so from PCMark's point of view, it's close enough.
In my example, notice that cluster 1202 is not available, and this could ruin the benchmark's measured performance, depending on the characteristics of the drive. That's why they say that the benchmark should be run on a defragmented system.
So when I run a PCMark HDD benchmark on my system, I am comparing the read speed of my hard drive to the read speed of the reference system's hard drive. Similarly, I am comparing write speeds, with the exception that the software will use available empty space on mys system, rather than the actual space used on the reference system. It's a limitation of the software, but is required for safety purposes. The benchmark results bear no resemblance to the actual location of system files on the test system, only the location of free disk space.
So in effect MaximumPC was measuring the ability of each defrag program to create free disk space where the benchmark required free space, based on the write patterns of the reference system. This is not the same as measuring the improvement in file placement and thus performance boost claimed by the defrag software.
It's incredibly difficult to measure a "performance gain" on a Windows system in any kind of objective way. I'm still not convinced I have the answer, but time will tell. Raxco have a utility called FileAccessTimer, and Diskeeper refer to readfile in some of their literature.
A package that reads all the files on a PC and times them doesn't help either, because it will read both the "fast" files and the "slow" files, so these will balance one another out. I would love to find a way of timing how long it takes to open a Word document or Excel spreadsheet, but have yet to figure out a way of doing this accurately. Maybe I'll have to write one.
Update Wednesday 10am: I realised that I can create an Excel document that displays the current time, calculated on opening. I can do much the same on an Access data file. So now I have written a very simple VB utility that displays the time and then opens a requested file:
Private Sub Form_Load()
Dim strCommand As String
strCommand = Command()
Form1.txtTimeDisplay.Caption = Format(Time(), "HH:nn:ss") _
& vbCrLf & Timer
Form1.txtFileName = Trim(strCommand)
Form1.Refresh
Call OpenThisDoc(Form1.hwnd, strCommand)
Form1.txtTimeDisplay2.Caption = Format(Time(), "HH:nn:ss") _
& vbCrLf & Timer
End Sub
Unfortuantely it is only accurate to the nearest second, so I'm not sure how useful it will end up being. Time will tell.
Update 2: It seems that Word 2007 and Excel 2007 return control back to the VB program after they have opened the file requested. This enables me to get the launch time accurate to the nearest 10th of a second. Since Access97 already has the "Timer" function built in, the accuracy is maintained there too. I am also including my SMSQ "Stress Test" program in the benchmarking mix.
Test Results: see article above, and more results collected. It turns out the results can be measured within a 15% variation, using an average of 10 measurements taken to the nearest 100th of a second.