Go Back   DriverHeaven > Forums > Software / Tools > Windows Vista Forum
Register Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old Feb 11, 2008, 01:57 PM   #1 (permalink)
YAYitsAndrew
Your Inner Child
 
YAYitsAndrew's Avatar
 
Join Date: Oct 2004
Location: NJ
Posts: 2,404
YAYitsAndrew will become famous soon enough
System Specs

SATA disk advanced performance?

Tons of sites tell you you can speed up vista if you're using a ups backup by turning on the disk read/write caching. I was wondering if anyone had any benchmarks on the feature? How long does it delay the reads and writes, how much hard drive improvement do you see using it?
YAYitsAndrew is online now   Reply With Quote
Old Feb 11, 2008, 02:44 PM   #2 (permalink)
ChaosMinionX
Intoxicated Overclocker
 
ChaosMinionX's Avatar
 
Join Date: Nov 2006
Location: New York
Posts: 2,055
ChaosMinionX is a glorious beacon of lightChaosMinionX is a glorious beacon of lightChaosMinionX is a glorious beacon of lightChaosMinionX is a glorious beacon of lightChaosMinionX is a glorious beacon of lightChaosMinionX is a glorious beacon of light
System Specs

I believe this feature is only available when running drives as IDE in the BIOS, if you select SATA you need to install SATA drivers, most these days on new boards (if intel) use Intel Matrix, which by default turns on all the advanced features.

Also there is a chance for data loss if power is lost while the information is still cached.
ChaosMinionX is offline   Reply With Quote
Old Feb 11, 2008, 03:01 PM   #3 (permalink)
Zelig
Mars
 
Join Date: Jun 2003
Location: Canada
Posts: 2,879
Zelig will become famous soon enoughZelig will become famous soon enough
System Specs

Quote:
Originally Posted by ChaosMinionX View Post
I believe this feature is only available when running drives as IDE in the BIOS, if you select SATA you need to install SATA drivers, most these days on new boards (if intel) use Intel Matrix, which by default turns on all the advanced features.
I see the option selectable for both my SATA drives and my SATA RAID arary.

Quote:
Originally Posted by YAYitsAndrew View Post
Tons of sites tell you you can speed up vista if you're using a ups backup by turning on the disk read/write caching. I was wondering if anyone had any benchmarks on the feature? How long does it delay the reads and writes, how much hard drive improvement do you see using it?
I don't notice any performance difference with it enabled/disabled. Disk performance benchmarks like hdtach don't show any difference, I haven't tried any I/O benchmarks.

I've got a UPS, so I leave it turned on, FWIW.
__________________
--
Zelig is offline   Reply With Quote
Old Feb 11, 2008, 03:36 PM   #4 (permalink)
YAYitsAndrew
Your Inner Child
 
YAYitsAndrew's Avatar
 
Join Date: Oct 2004
Location: NJ
Posts: 2,404
YAYitsAndrew will become famous soon enough
System Specs

So perhaps you've got a hardware implementation of the caching feature either on your hard drive or your motherboard (my components in both these cases are over 2 years old) and when you enable it with vista, it's doing nothing for you.

I'm looking into buying a ups soon and I was hoping I could activate this for a little boost in hd speed but I was afraid it did absolutely nothing. I guess I'll have to benchmark and find out how it works for my particular setup. I wish someone would cover this with different hardware though and find out exactly what you should expect to gain from this feature.
YAYitsAndrew is online now   Reply With Quote
Old Feb 11, 2008, 06:27 PM   #5 (permalink)
mkk
Hezbollah supporter
 
mkk's Avatar
 
Join Date: Oct 2003
Location: Gefle, Sweden
Posts: 3,038
mkk will become famous soon enough
System Specs

The Enable advanced performance setting is actually a compatibility setting for software that took advantage of a bug in early versions of Windows. The bug let programs believe that a piece of data had been written to the physical layer of the disk when it could still in fact be processing in the drive buffer. When Microsoft later fixed that bug there was so many reports about database programs beginning to perform slowly that they had to bring the buggy behavior back in. This settings is a leftover from that period and no properly programmed software of today should retain this behavior, but very old database engines might.

Their choice of name for this setting is quite unfortunate.

The regular write caching is enabled by default and could be turned off for troubleshooting purposes.

Last edited by mkk : Feb 11, 2008 at 06:33 PM.
mkk is online now   Reply With Quote
Old Feb 12, 2008, 09:53 AM   #6 (permalink)
Judas
DH's Dormant Dragon
 
Judas's Avatar
 
Join Date: May 2002
Location: IN Rem-Dormancy
Posts: 22,741
Judas will become famous soon enoughJudas will become famous soon enough
System Specs

i've tried to enable this and run test... but after checking it and hitting apply.... even a restart doesn't enable it....

this is even in the case of using IDE HDs.... i think the setting is broken.... or it only works on older chipsets.
__________________
Quote:
On the matter of communism, and it's front organizations should not obscure the issues. ~Adolf Hitler
Our enemy is a radical network of terrorist, and every government that supports them. ~George W. Bush
An evil excists that threatens every man, woman, and child, of this great nation. We must take steps to ensure our domestic security and protect our homeland. ~George W. Bush & Adolf Hitler
Look in the mirror occasionally, unless you reflect on what has occured in the past, scale those historical moments and forgotten moments to todays current situations, you are bound, in every inconceiveable and unwanted way, to repeat that which you may have swore to never do, and never support. We must awaken, and we must do so now and in mass. ~*pm me for whom*
Judas is offline   Reply With Quote
Old Feb 12, 2008, 04:08 PM   #7 (permalink)
Zelig
Mars
 
Join Date: Jun 2003
Location: Canada
Posts: 2,879
Zelig will become famous soon enoughZelig will become famous soon enough
System Specs

Quote:
Originally Posted by mkk View Post
The Enable advanced performance setting is actually a compatibility setting for software that took advantage of a bug in early versions of Windows. The bug let programs believe that a piece of data had been written to the physical layer of the disk when it could still in fact be processing in the drive buffer. When Microsoft later fixed that bug there was so many reports about database programs beginning to perform slowly that they had to bring the buggy behavior back in. This settings is a leftover from that period and no properly programmed software of today should retain this behavior, but very old database engines might.

Their choice of name for this setting is quite unfortunate.

The regular write caching is enabled by default and could be turned off for troubleshooting purposes.
Do you have a source for this? I looked in the MS kb articles, but could only find stuff regarding Windows 2000 pre-SP3.
__________________
--
Zelig is offline   Reply With Quote
Old Feb 13, 2008, 12:39 AM   #8 (permalink)
mkk
Hezbollah supporter
 
mkk's Avatar
 
Join Date: Oct 2003
Location: Gefle, Sweden
Posts: 3,038
mkk will become famous soon enough
System Specs

Certainly.

http://www.microsoft.com/technet/tec...l/default.aspx

Quote:
Windows 3.11 introduced "32-bit file access," which was a 32-bit implementation of the low-level file I/O interface. But the implementation of the Commit function contained a bug that effectively ignored requests to flush file buffers. If you took a program that flushed its file buffers and ran it on Windows 3.11, the flush call had no effect. As a result, if you lost power at just the wrong time, you ended up with a corrupted database.

The folks working on the Windows 95 file system fixed this bug, but new bug reports started to trickle in. Somebody’s accounts payable program started running really slowly. Then somebody else’s database program did the same. What was going on?

It turned out that these programs constantly issued flush calls. The programmers noticed that flush calls were really fast on Windows 3.11, so they sprinkled them liberally throughout their program. Write a byte, flush. Write a string, flush. Since the flushes were so fast, the app could commit the data to disk after every operation with no noticeable performance degradation. But once Windows 95 fixed the bug, these programs started to run very slowly since the Commit calls were suddenly doing actual work.

Of course, if the file system team had done nothing, these programs would have continued to run slowly and users would have jumped to the conclusion that Windows 95 was the problem. "Windows 95 runs like a dog," they would tell others. On the other hand, if the file system returned to the old Windows 3.11 behavior, they would have been reintroducing a bug that could lead to those pesky "file integrity problems."

So they concluded that the solution was to leave the bug fixed but add a check-box—albeit buried in the Troubleshooting page—to return to the Windows 3.11 behavior for those people who were running programs that encountered problems due to the bug being fixed.

It turned out that history repeated itself. In Windows ServerŪ 2003, the I/O folks found a bug where requests tagged as Forced Unit Access (FUA) would lose the FUA tag and be performed as normal I/O. It was the modern-day version of ignoring flush requests! They fixed the bug but left an option to return to the old buggy behavior. The Windows Server 2003 version of this checkbox is called "Enable Advanced Performance," but now you know it really just means "Restore old buggy behavior."

Last edited by mkk : Feb 13, 2008 at 12:50 AM.
mkk is online now   Reply With Quote
Old Feb 13, 2008, 05:12 AM   #9 (permalink)
Zelig
Mars
 
Join Date: Jun 2003
Location: Canada
Posts: 2,879
Zelig will become famous soon enoughZelig will become famous soon enough
System Specs

Great, thanks.
__________________
--
Zelig is offline   Reply With Quote
Old Feb 13, 2008, 03:08 PM   #10 (permalink)
YAYitsAndrew
Your Inner Child
 
YAYitsAndrew's Avatar
 
Join Date: Oct 2004
Location: NJ
Posts: 2,404
YAYitsAndrew will become famous soon enough
System Specs

Man, they really spun that feature. Almost every vista tips guide on the net mentions how you can check that box for improved performance. Clearly no one's ever benchmarked this, and the only source of truth is an obscure tech article from Raymond Chen.

Maybe DH could get some publicity "benchmarking" this feature and highlighting the article and exposing this fake vista tip.

edit: Blogged about it Vista “Enable Advanced Performance” Benchmark at YAY! it’s Andrew!

Last edited by YAYitsAndrew : Feb 13, 2008 at 03:19 PM.
YAYitsAndrew is online now   Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
Artwork by Allan 'Zardon' Campbell, vBulletin implementation by Craig '5320' Humphreys based on original artwork by Ratchet.

All times are GMT -5. The time now is 08:04 AM. Copyright ©2008 DriverHeaven.net