Failsafe IDE hard drive caches

MadRat

Lifer
Oct 14, 1999
11,924
259
126
The reason that hard drives don't use larger caches is because of the risk of losing data if power suddenly shuts down. We all remember the fiasco when Windows OS's powered off the machines before cache dumps; alot of data was being lost and OS's corrupted. The newer ATA133 standard has alot of headroom for huge data caches since the mechanical speeds of the hard drives are so far behind the capabilities of the median. What would it take to make a cache on an IDE hard drive that would be safe from sudden powerloss?

I'm thinking a solid state media solution would be efficient, although transfer rates lag behind hard drive performance.

Trying to use a battery to power the drive until cache has been dumped would be a tricky solution.

Trying to use a battery to power the cache until power is restored is a risky solution.

What ideas do you have?
 

Agent004

Senior member
Mar 22, 2001
492
0
0
Turn a small area of hard driver space into sram, then it wouldn't lose the data when it powers down. But that will expensive though. OR make sure you save the data before it powers off.
 

Peter

Elite Member
Oct 15, 1999
9,640
1
0
... or put large capacitors on the drive so it can writeback on surprise poweroff.

The only true solution: Use an operating system that doesn't do that. On a surprise mains power loss you're screwed anyway since any OS does its own buffering in main system RAM as well.

regards, Peter
 

Mark R

Diamond Member
Oct 9, 1999
8,513
14
81
I suspect the best solution would be to use solid state media, e.g. Flash - with a back up capacitor which will keep the cache RAM and the flash energized for long enough to transfer the contents of the cache into the flash RAM.

This really is only a quick fix rather than a true solution - what IDE really needs to support is an option to disable write-behind cache strategies, such as is found as standard on SCSI drives. Many SCSI drives are shipped with this function disabled so that writes go straight to the media before the drive confirms the write. However, in terms of building a reliable system this is only one part of the problem.

The same problem occurs in the OS and some high reliability OSs therefore allow the user to disable software based write-behind caching.

Some server grade SCSI cards contain battery backed cache RAM, to allow the OS to commit data to 'disk' as quickly as possible, while still protecting the data in the event of unexpected power failure
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |