BACKGROUND
In late November I got the opportunity to experiment with two Core Series V2 30GB drives. I wanted to find a solution to the stuttering and stalling problems that some users were complaining of and began to look into the problem and started to search for a solution.
I found out that Windows SteadyState was able to resolve the stuttering and stalling problems by converting random writes into sequential writes and posted a guide. However, ever since coming up with SteadyState as a solution one thing has been bugging me. During my experiments, I used one Windows XP and one Windows Vista setup. Both setups were running an almost identical software suite but the user experience was dramatically different (before applying SteadyState).
The Windows XP setup behaved as if it ran on a broken 4200rpm 1.8” HDD and no amount of tweaking could increase the performance to an acceptable level. It was only SteadyState that was able to resolve the stuttering and bring system responsiveness so that the setup really felt as if it was run on a fast SSD.
The Windows Vista setup on the other hand was quite well behaved untweaked. After just disabling the page file, Superfetch and indexing (Windows Search service), the Vista system was almost on par with the SteadyState enhanced XP installation.
Truth be told, I had expected Vista to perform worse than XP as I believed that Vista would engage in more background random writes than XP. However, my tests showed that XP was the performance dog of the two. After realizing that Vista was far superior to XP (at least on my setup), I tried to find out what the differences were that could result in such dramatic performance difference.
One answer was given by Micron. They identified that Vista was much more efficient in filling the 4kb NAND pages as compared to XP
http://www.flickr.com/photos/30013034@N00/3078710144/
Another difference I found was that Vista aligned its partitions while XP did not. Partition alignment is something that has been recommended by Microsoft for database and mail servers and has been practiced since long by system administrators.
http://www.microsoft.com/technet/pro....mspx?mfr=true
The reason for aligning a partition with the underlying disk is to increase performance. In tests, aligned partitions achieved 34% better write performance in regards to 8kbyte blocks (benchmarks are however for SQL IOs and the tested system is a SAN).
http://sqlblog.com/blogs/linchi_shea...alignment.aspx
With this information, I proceed to test partition alignment on my Windows XP setup on a Core v2 SSD. To my pleasant surprise, the partition alignment not only eliminated my stalling and stuttering problems but resulted in performance increases of approx 300% when copying many small files and folder.
[BENCHMARK #1 and #2]
http://imagecloset.com/view19/f5fca3...benchmarks.JPG
As you can see in the benchmark table, the performance increase on my system was very substantial. Although performance did not reach MFT or that of a SteadyState protected Windows volume, it still surpassed the reference 7200rpm HD by a wide margin. Performance also paralleled that of a non-Disk Protected Volume, running on disk where the system volume is Disk Protected by SteadyState.
The similarity in performance between the aligned partition and the non Disk Protected partition on a SteadyState system is interesting. In my SteadyState guide I speculated that the reason a non Disk Protected partition had so much better performance than a normal SSD volume, was because SteadyState was converting random writes into sequential writes on the system partition. This would "free" up the Core drive enough to perform random writes on other partitions without the controller stalling.
I believe that it is a similar effect here that is causing the performance increase. The partition alignment reduces the random write overhead enough for the controller to avoid stalls and thus the performance increase is not just equal to the write overhead reduced but that the controller does not enter into "stall" mode.


Reply With Quote




Bookmarks