AHCI slower than IDE :-P

Corazon

Small-time geek :)
Guru
Local time
11:08 PM
Messages
1,707
Location
Fantasyland
Not a request for help, just something I wanted to share. I'm sure there's one or two opinions waiting to be heard. :)

So, I switched my SATA controller over to AHCI from IDE, since I have a new OCZ Vertex Plus 60GB SSD...enabled the registry setting for the MSAHCI driver before rebooting and everything is beautiful. Just as before.

Just as before? Not quite. LOL. See for yourself...


ATTO benchmark results - IDE mode

on_ide.png



ATTO benchmark results - AHCI mode


on_ahci.png




In AHCI, performance actually drops across the board, just slightly - except that reading large blocks gets a few MB/sec faster starting with 128KB blocks.

Hmm. I was expecting a tiny bit more. But now that I'm on AHCI I'll leave it, even if there's no actual advantage it's nice to know NCQ is enabled. :)
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom-built
OS
Windows 7 Professional SP1 32-bit
CPU
Intel Core 2 Duo E6600 2.4GHz
Motherboard
Asus PL5D2
Memory
4GB DDR2-667 (4x1GB in dual-channel config)
Graphics Card(s)
nVidia GeForce 9800 GT
Sound Card
Creative X-Fi XtremeMusic
Monitor(s) Displays
Acer P236H
Screen Resolution
1920x1200 (DVI)
Hard Drives
OCZ SSD Vertex Plus 60GB SATA (Firmware 3.55), 64MB cache
Hitachi HD321KJ SATA, 320GB, 7200rpm, 16MB cache
PSU
Antec TruePower 2.0
Case
Cooler Master Centurion
Cooling
Too many fans
Keyboard
Standard
Mouse
Microsoft wireless optical mouse
Internet Speed
AT&T U-verse (18mbit/sec)
Antivirus
Microsoft Security Essentials
Browser
Firefox
Other Info
Other devices:
Compaq CQ-60 laptop
Google Nexus 7 (2012) tablet
Nvidia SHIELD tablet (US/LTE)
Hardkernel ODROID-XU single-board computer (Samsung Exynos 5420)
Umm...Those test do not have any dependency on whether you are using IDE or AHCI the result will be the same. Also you cannot take performance results at face value when comparing. You need a threshold. You can test the same drive over and over again without changing anything and the numbers will change, fluctuate up and down every time. You need to take that into consideration when comparing results.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
No dependency? I understand that ATTO is one of the best disk benchmarks for SSDs because it can queue I/O requests and put NCQ to work that way. I do realize, though, that NCQ would have more of an effect with harddisks and their comparatively huge access times.

What you're saying suggests there would be no difference between IDE and AHCI, period. I'm sure some people would beg to differ...

And I'm well aware of fluctuations from test to test, but the conclusion remains that in my particular case, AHCI brought very little advantage.

Do you think something was wrong with my testing methodology? Or have suggestions for other benchmark apps?
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom-built
OS
Windows 7 Professional SP1 32-bit
CPU
Intel Core 2 Duo E6600 2.4GHz
Motherboard
Asus PL5D2
Memory
4GB DDR2-667 (4x1GB in dual-channel config)
Graphics Card(s)
nVidia GeForce 9800 GT
Sound Card
Creative X-Fi XtremeMusic
Monitor(s) Displays
Acer P236H
Screen Resolution
1920x1200 (DVI)
Hard Drives
OCZ SSD Vertex Plus 60GB SATA (Firmware 3.55), 64MB cache
Hitachi HD321KJ SATA, 320GB, 7200rpm, 16MB cache
PSU
Antec TruePower 2.0
Case
Cooler Master Centurion
Cooling
Too many fans
Keyboard
Standard
Mouse
Microsoft wireless optical mouse
Internet Speed
AT&T U-verse (18mbit/sec)
Antivirus
Microsoft Security Essentials
Browser
Firefox
Other Info
Other devices:
Compaq CQ-60 laptop
Google Nexus 7 (2012) tablet
Nvidia SHIELD tablet (US/LTE)
Hardkernel ODROID-XU single-board computer (Samsung Exynos 5420)
There is no performance difference to IDE or AHCI because they are only communication protocols. The actual physical SATA connection is what determines the speed. Not whether you are using IDE or AHCI. IDE and AHCI will preform the same because the SATA connection is the same speed regardless.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
FWIW
I had called Gigabyte several months ago about changing from IDE to AHCI. The tech told me they (Gigabyte) had found little speed difference between the two.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built
OS
Windows 7 Home Pro SP1 64bit
CPU
Intel Xeon E-3 1240v2
Motherboard
HP
Memory
8GB
Graphics Card(s)
NVIDIA 300
Sound Card
Onboard
Monitor(s) Displays
Hanns G 25"
Screen Resolution
1920x1080
Hard Drives
Hitachi 2GB
PSU
Seasonic 430W
Case
Antec
Cooling
Stock
Keyboard
Logitech
Mouse
Logitech
Internet Speed
5MB
My understanding is that the Trim command will not work in IDE mode so AHCI mode is best for SSD drives.

Jim :geek:
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built
OS
Windows 8.1 Pro w/Media Center 64bit, Windows 7 HP 64bit
CPU
Phenom II X6 1100T
Motherboard
ASUS M5A99X EVO
Memory
Crucial Balistic 8gb DDR3-1866 CL9
Graphics Card(s)
MSI R6850 Cyclone IGD5 PE
Sound Card
On Board
Monitor(s) Displays
ASUS VE258Q 25" LED with DVI-HDMI-DisplayPort
Screen Resolution
1920 x 1080
Hard Drives
Two WD Cavier Black 2TB Sata III, WD My Book Essential 2TB USB 3.0
PSU
Seasonic X650 80 Plus GOLD Modular
Case
Corsair 400R
Cooling
Antec Kuhler H2O 620, Two 120mm and four 140mm
Keyboard
Logitech K120
Mouse
Logitech Marble Mouse USB, Logitech Precision Game Pad
Internet Speed
15MB
Antivirus
Norton IS 2013, Malwarebytes Pro Beta 2
Browser
IE-11, FF-27
Other Info
APC UPS ES 750, Netgear WNR3500L Gigabit & Wireless N Router with SamKnows Test Program, Motorola SB6120 Gigabit Cable Modem. Brother HL-2170W Laser Printer, Epson V300 Scanner
There is no performance difference to IDE or AHCI because they are only communication protocols. The actual physical SATA connection is what determines the speed. Not whether you are using IDE or AHCI. IDE and AHCI will preform the same because the SATA connection is the same speed regardless.

When you put it like that, it makes perfect sense of course. Besides, I didn't expect any miracles - though I would have thought that very-small-block writes would have sped up a little, but that does differ from system to system.

Curious, though, why so many then claim that "AHCI is faster than IDE." But this is exactly why I shared my findings to invite opinions. I have no problem at all with my numbers. :)
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom-built
OS
Windows 7 Professional SP1 32-bit
CPU
Intel Core 2 Duo E6600 2.4GHz
Motherboard
Asus PL5D2
Memory
4GB DDR2-667 (4x1GB in dual-channel config)
Graphics Card(s)
nVidia GeForce 9800 GT
Sound Card
Creative X-Fi XtremeMusic
Monitor(s) Displays
Acer P236H
Screen Resolution
1920x1200 (DVI)
Hard Drives
OCZ SSD Vertex Plus 60GB SATA (Firmware 3.55), 64MB cache
Hitachi HD321KJ SATA, 320GB, 7200rpm, 16MB cache
PSU
Antec TruePower 2.0
Case
Cooler Master Centurion
Cooling
Too many fans
Keyboard
Standard
Mouse
Microsoft wireless optical mouse
Internet Speed
AT&T U-verse (18mbit/sec)
Antivirus
Microsoft Security Essentials
Browser
Firefox
Other Info
Other devices:
Compaq CQ-60 laptop
Google Nexus 7 (2012) tablet
Nvidia SHIELD tablet (US/LTE)
Hardkernel ODROID-XU single-board computer (Samsung Exynos 5420)
ATTO is one of the worst benchmarks. It uses fully compressible data (all zeros). It also does not do many threaded small reads and writes (i.e. 64 thread 4k random reads.writes), where AHCI will perform much better than IDE

Arguably the best synthetic benchmark is AS_SSD.

Besides, from what I see of your posting, it looks like AHCI is slightly better :confused:
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built (GeneO industries)/Model 4
OS
Windows 10 Pro. EFI boot partition, full EFI boot
CPU
i7 4770k 4.4GHz (44-44-43-43 turbo) @ 1.248V
Motherboard
ASUS Maximus VI Hero
Memory
16GB (8GBx2) @2200 MHz G.skill Sniper 10-11-10-30-1, 1.6V
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Onboard SupremeFX Audio
Monitor(s) Displays
NEC Spectraview 2490WUXi-SV
Screen Resolution
1920 x 1200
Hard Drives
Samsung 850 Pro 256GB (OS), Samsung 2x 128GB 840 Pro SSD in RAID0, 3x WD Blue 6Gb/s 1TB RAID0, WD 2TB Black external USB 3.0, 2TB WD20EARS Green external USB 3.0, 2x 500GB Seagate and 1 750 GB external USB, 1x 350GB external USB3
PSU
Seasonic X-850 (2012 KM3 model)
Case
Fractal Design Define R4
Cooling
NH-D14, NF-F12, NF-A15; NF-P14, NF-P12,NF-A14, S12A PWM
Keyboard
Cooler Master Storm Quickfire Rapid - Brown
Mouse
Logitech G602
Internet Speed
126.4 Mb/s down, 24.3 Mb/s up
Other Info
USB 3.0 x8 , SATA III x8, eSATA, USB 2.0 x6. Samsung DVD R/W drive.

WEI: CPU 7.8, Memory 7.9, Graphics 7.9, Disk 7.9
Hmm.

I'll try AS-SSD again, then, but I had the impression ATTO was widely regarded as the best. Ahwell :)

Not sure what compressible data would have to do with anything, unless you're thinking Sandforce controllers and their built-in compression. My SSD uses an Indilink Martini controller.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom-built
OS
Windows 7 Professional SP1 32-bit
CPU
Intel Core 2 Duo E6600 2.4GHz
Motherboard
Asus PL5D2
Memory
4GB DDR2-667 (4x1GB in dual-channel config)
Graphics Card(s)
nVidia GeForce 9800 GT
Sound Card
Creative X-Fi XtremeMusic
Monitor(s) Displays
Acer P236H
Screen Resolution
1920x1200 (DVI)
Hard Drives
OCZ SSD Vertex Plus 60GB SATA (Firmware 3.55), 64MB cache
Hitachi HD321KJ SATA, 320GB, 7200rpm, 16MB cache
PSU
Antec TruePower 2.0
Case
Cooler Master Centurion
Cooling
Too many fans
Keyboard
Standard
Mouse
Microsoft wireless optical mouse
Internet Speed
AT&T U-verse (18mbit/sec)
Antivirus
Microsoft Security Essentials
Browser
Firefox
Other Info
Other devices:
Compaq CQ-60 laptop
Google Nexus 7 (2012) tablet
Nvidia SHIELD tablet (US/LTE)
Hardkernel ODROID-XU single-board computer (Samsung Exynos 5420)
Hmm.

I'll try AS-SSD again, then, but I had the impression ATTO was widely regarded as the best. Ahwell :)

Not sure what compressible data would have to do with anything, unless you're thinking Sandforce controllers and their built-in compression. My SSD uses an Indilink Martini controller.

Only by vendors whose drives do compression so their rates look higher LOL
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built (GeneO industries)/Model 4
OS
Windows 10 Pro. EFI boot partition, full EFI boot
CPU
i7 4770k 4.4GHz (44-44-43-43 turbo) @ 1.248V
Motherboard
ASUS Maximus VI Hero
Memory
16GB (8GBx2) @2200 MHz G.skill Sniper 10-11-10-30-1, 1.6V
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Onboard SupremeFX Audio
Monitor(s) Displays
NEC Spectraview 2490WUXi-SV
Screen Resolution
1920 x 1200
Hard Drives
Samsung 850 Pro 256GB (OS), Samsung 2x 128GB 840 Pro SSD in RAID0, 3x WD Blue 6Gb/s 1TB RAID0, WD 2TB Black external USB 3.0, 2TB WD20EARS Green external USB 3.0, 2x 500GB Seagate and 1 750 GB external USB, 1x 350GB external USB3
PSU
Seasonic X-850 (2012 KM3 model)
Case
Fractal Design Define R4
Cooling
NH-D14, NF-F12, NF-A15; NF-P14, NF-P12,NF-A14, S12A PWM
Keyboard
Cooler Master Storm Quickfire Rapid - Brown
Mouse
Logitech G602
Internet Speed
126.4 Mb/s down, 24.3 Mb/s up
Other Info
USB 3.0 x8 , SATA III x8, eSATA, USB 2.0 x6. Samsung DVD R/W drive.

WEI: CPU 7.8, Memory 7.9, Graphics 7.9, Disk 7.9
Actually on my system AHCI was gobs faster than IDE because, they do use different drivers. My IDE driver would not allow multithreaded reads/writes and the AHCI driver did. Speeding up the multithreaded 4k tests by /at least/ 10x.

But it is mainly about the additional features for new drives. If you had a good driver for a good sata chip in IDE mode then yes the differences would be minimal (and on a multi run test may average out to the same). But in some cases, due to using completely different drivers, the difference /can/ be night and day.
 

My Computer My Computer

Computer Manufacturer/Model Number
Scratch built
OS
Windows 7 x64 Ultimate
CPU
i7 960
Motherboard
Asus P6X58D
Memory
12 Gig Corsair Dominator
Graphics Card(s)
Nvidia 480
Sound Card
Maudio Delta 44 + breakout box
Monitor(s) Displays
Dell UltraSharp U2410 24in and Samsung 21 dual monitors
Screen Resolution
1920x1200 and 1280x1024
Hard Drives
Primary: Intel X-25M G2 160G SSD
Secondary: Segate baracuda 1.0 TB
HDs in AHCI mode.
PSU
Corasair TX850
Case
Cooler Master HAF
Cooling
Corsair H50
Keyboard
Logitech G15 + N52 game pad
Mouse
Logitech MX518
Internet Speed
15kbs down 4.5kbps up
Other Info
WEI 7.6
CPU & RAM 7.6
Graphics 7.9
Hard disk 7.7
I,ve posted this in other discussions, but since you do have a sincere question about speed variances, I'll post again.

I am giving three ATTO tests of my Patriot Pyro 60 GB SSD which I purchased for $109.xx.

This is a direct COPY of my system which was transferred from a regular HDD to the SSD. I am running WIN 7 PRO which enabled me to do the initialize and quick format of a partition which via 'disk management'.

The Built in WIN 7 disk management correctly aligns the first partion and all succeeding ones automatically for a SSD. I used my 'emergency restore' copy of acronis to simply copy my previously 'backed up' installation from the HDD to the SSD.

first, SSD as IDE no windows cache:
SATA%20III%20SSD%20IDE%20no%20cache.jpg


Second as AHCI no windows cache:

SATA%20III%20SSD%20ACHI%20no%20cache.jpg


Finally as AHCI using windows cache:

SATA%20III%20SSD%20ACHI%20using%20cache.jpg
 
Last edited:

My Computer My Computer

Computer Manufacturer/Model Number
home built
OS
WIN 7 PRO x64
CPU
AMD X6 1090T BE
Motherboard
Gigabyte GA-990FXA-UD5
Memory
16 gig Gskil
Graphics Card(s)
temp cheap card
Sound Card
onboard HD
Monitor(s) Displays
LG W2353V backlit LCD
Screen Resolution
1920 x 1080
Hard Drives
1x Patriot Pyro 60GB 550+ mbs read speed
2x WD5000AKS 500GB, 1X WD20EARS 2TB, 4x WD20EURS 3TB,
7X Seagate 1.5TB
In process of moving 1.5TB drives to 3TB drives,migrating 2X 500GB to another machine
PSU
Xpower 1080watt
Case
Antec 900,soon to be Antec 1200
Cooling
Air cool std AMD heatsink & fan, to be changed to water cool
Keyboard
i-rock KR-6820E Orange backlit
Mouse
MS optical
Internet Speed
Road Runner (Brighthouse) Lightening
Other Info
Much selective tweaking to run smoother & faster. Primary function is audio/Video capture,editing, and compression, machine is also backup for HTPC and video server.
Sweet Lord, you're already making me feel slow with my SSD. LOL. Very impressive numbers (and differences), though.

fseal, thanks for the insight into driver/controller differences (which I suspected all along). I do wonder, though...currently I'm using the standard MSAHCI driver included in Windows 7. Since my motherboard has an Intel chipset/SATA controller, would I gain any noticeable advantage by installing the latest Intel storage drivers instead?
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom-built
OS
Windows 7 Professional SP1 32-bit
CPU
Intel Core 2 Duo E6600 2.4GHz
Motherboard
Asus PL5D2
Memory
4GB DDR2-667 (4x1GB in dual-channel config)
Graphics Card(s)
nVidia GeForce 9800 GT
Sound Card
Creative X-Fi XtremeMusic
Monitor(s) Displays
Acer P236H
Screen Resolution
1920x1200 (DVI)
Hard Drives
OCZ SSD Vertex Plus 60GB SATA (Firmware 3.55), 64MB cache
Hitachi HD321KJ SATA, 320GB, 7200rpm, 16MB cache
PSU
Antec TruePower 2.0
Case
Cooler Master Centurion
Cooling
Too many fans
Keyboard
Standard
Mouse
Microsoft wireless optical mouse
Internet Speed
AT&T U-verse (18mbit/sec)
Antivirus
Microsoft Security Essentials
Browser
Firefox
Other Info
Other devices:
Compaq CQ-60 laptop
Google Nexus 7 (2012) tablet
Nvidia SHIELD tablet (US/LTE)
Hardkernel ODROID-XU single-board computer (Samsung Exynos 5420)
Whats is that "using windows cache" option?
 

My Computer My Computer

Computer type
PC/Desktop
OS
Microsoft Windows 10 Professional / Windows 7 Professional
CPU
Intel i5-3570
Motherboard
Lenovo Mahobay
Memory
16GB DDR3
Graphics Card(s)
AMD Radeon HD 7850 2GB
Sound Card
(1) Realtek HD Audio (2) AMD HD Audio
Monitor(s) Displays
LG LS192WS
Screen Resolution
1440 x 900 @ 32bit color
Hard Drives
(1) SUV300S37A/120G (2) ST3500413AS SATA Disk Device AHCI mode enabled.
PSU
Corsair HX620
Case
Thermaltake V4 Black Edition
Cooling
Cooler Master Hyper 212 + Artic Silver 5 on CPU/GPU
Keyboard
Dell SK-8115
Mouse
Razer Copperhead with MAPED mat (awesome!)
Internet Speed
100 Mbps up/down
Browser
Chrome
That is the regular windows read and write cache. To get an exact representation of how a hard drive physically works, benchmarks are normally run with both the read and write cache disabled which forces the drive to do only actual physical reads/writes to the hard drive or SSD.

In the case of ATTO this accomplished by clicking on the direct I/O box in the atto control panel to enable or disable the windows cache during the test.

The reason for presenting the caches figures is that there has been several people asking how much difference it makes by enabling the write cache on the hard drives.

I was simply trying to present as much info as possible for others to consider in regards to the advantages of using the regular windows cache. Even though SSDs are very fast they still can not match the speed of regular on board Randon Access Memory (RAM) and if one is repeatedly reading the same blocks from memory, their entire system can be sped up by enlarging the cache if it currently is not large enough to keep the repeat reads in RAM.

In some older early versions of windows, it was also possible to enable/disable the read cache but that function is no longer available. The most one can do regarding the 'read' cache is to modify the vcache setting to change the amount of memory to dedicate to the cache.
 
Last edited:

My Computer My Computer

Computer Manufacturer/Model Number
home built
OS
WIN 7 PRO x64
CPU
AMD X6 1090T BE
Motherboard
Gigabyte GA-990FXA-UD5
Memory
16 gig Gskil
Graphics Card(s)
temp cheap card
Sound Card
onboard HD
Monitor(s) Displays
LG W2353V backlit LCD
Screen Resolution
1920 x 1080
Hard Drives
1x Patriot Pyro 60GB 550+ mbs read speed
2x WD5000AKS 500GB, 1X WD20EARS 2TB, 4x WD20EURS 3TB,
7X Seagate 1.5TB
In process of moving 1.5TB drives to 3TB drives,migrating 2X 500GB to another machine
PSU
Xpower 1080watt
Case
Antec 900,soon to be Antec 1200
Cooling
Air cool std AMD heatsink & fan, to be changed to water cool
Keyboard
i-rock KR-6820E Orange backlit
Mouse
MS optical
Internet Speed
Road Runner (Brighthouse) Lightening
Other Info
Much selective tweaking to run smoother & faster. Primary function is audio/Video capture,editing, and compression, machine is also backup for HTPC and video server.
DG I think you are confusing two things. There is the operating system file cache, which resides in RAM, and there is write cache which is on-board the disk drive itself. These are two different beasts. Directio bypasses the operating system file cache and has nothing to do with the SSD write cache. Atto does have another option to bypass the drive's write cache, called "Force Write Access". The reason your the scores skyrocket with the directio unchecked is because yo are basically transferring to/from RAM, not the SSD.

Enabling the device write cache is generally not a good idea since on a power fail a file could get corrupted because it had not been completely written out to the disk even though the operating system thinks it has (part of it was in the write cache and lost during the power fail). The default for write cache is off for Windows 7 for this reason. Generally, SSDs have little to no write cache anyway.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built (GeneO industries)/Model 4
OS
Windows 10 Pro. EFI boot partition, full EFI boot
CPU
i7 4770k 4.4GHz (44-44-43-43 turbo) @ 1.248V
Motherboard
ASUS Maximus VI Hero
Memory
16GB (8GBx2) @2200 MHz G.skill Sniper 10-11-10-30-1, 1.6V
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Onboard SupremeFX Audio
Monitor(s) Displays
NEC Spectraview 2490WUXi-SV
Screen Resolution
1920 x 1200
Hard Drives
Samsung 850 Pro 256GB (OS), Samsung 2x 128GB 840 Pro SSD in RAID0, 3x WD Blue 6Gb/s 1TB RAID0, WD 2TB Black external USB 3.0, 2TB WD20EARS Green external USB 3.0, 2x 500GB Seagate and 1 750 GB external USB, 1x 350GB external USB3
PSU
Seasonic X-850 (2012 KM3 model)
Case
Fractal Design Define R4
Cooling
NH-D14, NF-F12, NF-A15; NF-P14, NF-P12,NF-A14, S12A PWM
Keyboard
Cooler Master Storm Quickfire Rapid - Brown
Mouse
Logitech G602
Internet Speed
126.4 Mb/s down, 24.3 Mb/s up
Other Info
USB 3.0 x8 , SATA III x8, eSATA, USB 2.0 x6. Samsung DVD R/W drive.

WEI: CPU 7.8, Memory 7.9, Graphics 7.9, Disk 7.9
Windows does have both read and write caches, actually a SINGLE cache used for both purposes.

Due to the lack of on board cache on the early hard drives, the addition of the windows cache greatly improved first read speed and later write speed as well.

Hard disk drive manufacturers began adding their own on board cache to their drives once they saw how much windows cache helped..

Various manufacturers then began marketing hard drive controllers which contained on board memory to further improve windows performance. The additional cache on the controller GREATLY improved performance. I used to own such a controller whch I used on my early DOS and OS/2 machines. Even today some controllers have their own onboard cache to help them achieve their own best performance.

There was a fairly large demand for a caching controller from the people who's hard drives didn't have the onboard cache. It was much cheaper to add a cached controller which could handle multiple hard drives than to buy multiple additional hard drives with the onboard cache.

ATTO doesn't disable the physical hard drives' on board cache or any controller cache if present, it only bypasses the windows/system cache while it is doing the benchmarking. This is confirmed by the following snipette from ATTO regarding the 'direct IO' function.

'Direct I/O (test option)
If this option is checked, file I/O on the test drive is performed with no system buffering or caching. Combine this option with Overlapped I/O for maximum asynchronous performance.'

The system buffering or cache mentioned above IS the normal windows caching that I was talking about.

The reason for NOT disabling the hard drive's onboard cache during benchmarking is that if that cache was disabled, then any benchmark results would not accurately reflect the hard drive's performance under normal operating conditions.
 

My Computer My Computer

Computer Manufacturer/Model Number
home built
OS
WIN 7 PRO x64
CPU
AMD X6 1090T BE
Motherboard
Gigabyte GA-990FXA-UD5
Memory
16 gig Gskil
Graphics Card(s)
temp cheap card
Sound Card
onboard HD
Monitor(s) Displays
LG W2353V backlit LCD
Screen Resolution
1920 x 1080
Hard Drives
1x Patriot Pyro 60GB 550+ mbs read speed
2x WD5000AKS 500GB, 1X WD20EARS 2TB, 4x WD20EURS 3TB,
7X Seagate 1.5TB
In process of moving 1.5TB drives to 3TB drives,migrating 2X 500GB to another machine
PSU
Xpower 1080watt
Case
Antec 900,soon to be Antec 1200
Cooling
Air cool std AMD heatsink & fan, to be changed to water cool
Keyboard
i-rock KR-6820E Orange backlit
Mouse
MS optical
Internet Speed
Road Runner (Brighthouse) Lightening
Other Info
Much selective tweaking to run smoother & faster. Primary function is audio/Video capture,editing, and compression, machine is also backup for HTPC and video server.
Windows does have both read and write caches, actually a SINGLE cache used for both purposes.


Hard disk drive manufacturers began adding their own on board cache to their drives once they saw how much windows cache helped..

Various manufacturers then began marketing hard drive controllers which contained on board memory to further improve windows performance. The additional cache on the controller GREATLY improved performance. I used to own such a controller which I used on my early DOS and OS/2 machines. Even today some controllers have their own on-board cache to help them achieve their own best performance.

The system buffering or cache mentioned above IS the normal windows caching that I was talking about.

The reason for NOT disabling the hard drive's on-board cache during benchmarking is that if that cache was disabled, then any benchmark results would not accurately reflect the hard drive's performance under normal operating conditions.

Well you did say disk write cache, not the system cache.

I am afraid even though you say a lot you do not understand the difference. The Windows 7 file cache caches files in RAM. It completely manages this cache and knows if any of it needs flushed to disk when a file is modified. When it flushes a file out of cache to disk or writes directly to disk, it expects that the data it wrote to the disk to actually be stored on the disk. When the disk driver returns from a write, the windows 7 system assumes it is on disk. This is very important to understand.

The file systems cache is there to improve performance to frequently accessed files and to be able to delay disk accesses so that they can be intelligently ordered for optimal performance. File performance for applications, even for writes, can appear enhanced as with your ATTO application. It has a completely different role than the disk's on-board buffer - it truly acts as a cache.

The on-board "write cache" on a disk drive is used to buffer data to reduce the latency of the disk. It is more properly referred to as a disk buffer, since it does not cache anything. It is truly a buffer between RAM and disk.

When a disk with a write buffer receives data from windows, it immediately returns a success to Windows once it is in the buffer, even though it is not on disk yet. At that point windows thinks it is safely on disk, but it isn't. If the power drops, then the data in the write buffer is lost and is never written to disk; even though Windows thinks it is there, it is not. This results in file corruption and is a reason you should not disable write-cache buffer flushing for a disk device unless it is backed up by a battery, like higher end raid controller's write buffer's are. Corruption like this can corrupt the whole file system, not just a file.

When write-cache buffer flushing is enabled for a disk (default), Windows, at critical points, instructs the disk drive to flush the data from the disk buffer to the disk immediately. It does this at critical points to ensure file system integrity. The best possible performance options without a battery backup is to enable "write cache" for the device, but leave write cache flushing enabled.

A disk's on-board buffer is also used as a read buffer and helps with read performance by reading ahead from the disk. The OS has no control over it (it is always enabled).

http://en.wikipedia.org/wiki/Disk_buffer#Read-ahead.2Fread-behind

If you use the AHCI driver for SATA disks, the drive can buffer writes and reads for optimal performance, but does not tell the operating system a queued write is successful until it is actually written to disk.

In short the operating system cache and disk buffer serve different purposes. The hard drive manufacturers didn't add on-board cache to emulate the operating system file cache.
 
Last edited:

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built (GeneO industries)/Model 4
OS
Windows 10 Pro. EFI boot partition, full EFI boot
CPU
i7 4770k 4.4GHz (44-44-43-43 turbo) @ 1.248V
Motherboard
ASUS Maximus VI Hero
Memory
16GB (8GBx2) @2200 MHz G.skill Sniper 10-11-10-30-1, 1.6V
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Onboard SupremeFX Audio
Monitor(s) Displays
NEC Spectraview 2490WUXi-SV
Screen Resolution
1920 x 1200
Hard Drives
Samsung 850 Pro 256GB (OS), Samsung 2x 128GB 840 Pro SSD in RAID0, 3x WD Blue 6Gb/s 1TB RAID0, WD 2TB Black external USB 3.0, 2TB WD20EARS Green external USB 3.0, 2x 500GB Seagate and 1 750 GB external USB, 1x 350GB external USB3
PSU
Seasonic X-850 (2012 KM3 model)
Case
Fractal Design Define R4
Cooling
NH-D14, NF-F12, NF-A15; NF-P14, NF-P12,NF-A14, S12A PWM
Keyboard
Cooler Master Storm Quickfire Rapid - Brown
Mouse
Logitech G602
Internet Speed
126.4 Mb/s down, 24.3 Mb/s up
Other Info
USB 3.0 x8 , SATA III x8, eSATA, USB 2.0 x6. Samsung DVD R/W drive.

WEI: CPU 7.8, Memory 7.9, Graphics 7.9, Disk 7.9
BTW I misspoke in a couple of posts above. I said Windows has write caching turned off by default. It is on by default. What is off by default is disabling write cache flushing.
 
Last edited:

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built (GeneO industries)/Model 4
OS
Windows 10 Pro. EFI boot partition, full EFI boot
CPU
i7 4770k 4.4GHz (44-44-43-43 turbo) @ 1.248V
Motherboard
ASUS Maximus VI Hero
Memory
16GB (8GBx2) @2200 MHz G.skill Sniper 10-11-10-30-1, 1.6V
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Onboard SupremeFX Audio
Monitor(s) Displays
NEC Spectraview 2490WUXi-SV
Screen Resolution
1920 x 1200
Hard Drives
Samsung 850 Pro 256GB (OS), Samsung 2x 128GB 840 Pro SSD in RAID0, 3x WD Blue 6Gb/s 1TB RAID0, WD 2TB Black external USB 3.0, 2TB WD20EARS Green external USB 3.0, 2x 500GB Seagate and 1 750 GB external USB, 1x 350GB external USB3
PSU
Seasonic X-850 (2012 KM3 model)
Case
Fractal Design Define R4
Cooling
NH-D14, NF-F12, NF-A15; NF-P14, NF-P12,NF-A14, S12A PWM
Keyboard
Cooler Master Storm Quickfire Rapid - Brown
Mouse
Logitech G602
Internet Speed
126.4 Mb/s down, 24.3 Mb/s up
Other Info
USB 3.0 x8 , SATA III x8, eSATA, USB 2.0 x6. Samsung DVD R/W drive.

WEI: CPU 7.8, Memory 7.9, Graphics 7.9, Disk 7.9
I fully know the difference between the 'systems' or 'windows' cache (same thing) and whatever cache may be on the hard drive.

The purpose of the orginal posting including the 'windows' or 'systems' cahe whatever you may call it is that I have seen a few postings in other threads on this message board by people asking if they should turn off the 'windows' or 'systems' cache because they thought it wasn't needed due to the SSDs being so fast.

My response was to show that yes indeed do leave the systems/windows cache turned on because it is STILL very helpful.

Obviously no manufactured 'performance test' can possibly totally accutately reflect what an INDIVIDUAL can expect from his system. At best it can only show what an 'average' user can expect while using his machine in the 'average' or most common manner, and to be truthful most power users don't use their machines in an average way due to overclocking and tweeking.

It is you who unfortunately missed what I was saying and you who intrepreted that I was referring to something other than the systems cache.

I wasn't going to mention this but for what it's worth, I have been working with mainframe computers since 1967. I have been working with PC's since before the IBM PS2 came out.

I have worked my way up through all of the computer oriented computer positions from control clerk in 1967 to systems engineer (higher than senior systems anlyst) back in 1992. I own my own consulting company, D G L Business Systems Inc, and among my many clients were Centel, Sprint, AT&T, and GTE. Companies I have worked for include CNA Insurance, International Harvester, Blue Cross/Blue Shield Association and others I can't even remember any more. I have been retired since Dec 2000.

I have built dozens of machines for friends, family and my clients as well as my clients employees.

It's not that I am confused about what I stated or why I stated it, it's simply that you misunderstood what I was trying to say.
 

My Computer My Computer

Computer Manufacturer/Model Number
home built
OS
WIN 7 PRO x64
CPU
AMD X6 1090T BE
Motherboard
Gigabyte GA-990FXA-UD5
Memory
16 gig Gskil
Graphics Card(s)
temp cheap card
Sound Card
onboard HD
Monitor(s) Displays
LG W2353V backlit LCD
Screen Resolution
1920 x 1080
Hard Drives
1x Patriot Pyro 60GB 550+ mbs read speed
2x WD5000AKS 500GB, 1X WD20EARS 2TB, 4x WD20EURS 3TB,
7X Seagate 1.5TB
In process of moving 1.5TB drives to 3TB drives,migrating 2X 500GB to another machine
PSU
Xpower 1080watt
Case
Antec 900,soon to be Antec 1200
Cooling
Air cool std AMD heatsink & fan, to be changed to water cool
Keyboard
i-rock KR-6820E Orange backlit
Mouse
MS optical
Internet Speed
Road Runner (Brighthouse) Lightening
Other Info
Much selective tweaking to run smoother & faster. Primary function is audio/Video capture,editing, and compression, machine is also backup for HTPC and video server.
Back
Top