Unsolved
This post is more than 5 years old
1 Message
0
1043935
difference between write back and write thru?
what is the difference between write back and write thru on the perc/2 controller.
My perc is : cache policy : Direct IO : What is the signification ?
I've an Echange server and i must have the write thru option active instead of having thewrite back ?. Is anyone know why ?
thanks for your answers.
My perc is : cache policy : Direct IO : What is the signification ?
I've an Echange server and i must have the write thru option active instead of having thewrite back ?. Is anyone know why ?
thanks for your answers.
dirkmartens
1 Message
2
August 30th, 2000 12:00
When the controller receives a write request from the host, it stores the data in its cache module, writes the data to the disk drives, then notifies the host when the write operation is complete. This process is calles write-trough caching because the data actually passes through-and is stored in- the cache memory on its way to the disk drives.
Write back caching
This caching technique improves the subsystem's response time to write requests by allowing the controller to declare the write operation 'complete' as soon as the data reaches its cache memory. The controller performs the slower operation of writing the data to the disk drives at a later time.
Good luck
Dirk Martens
Real Software Belgium
paled
1 Message
1
September 5th, 2000 00:00
IF !(using(UPS)) = TRUE
AND !(using(battery_on_RAID_controller)) = TRUE
AND power_feed_halt = TRUE
THEN file_corruption = TRUE.
If the program relies on write having completed, as the controller has indicated that the write is completed, and the system loses power with unwritten writes still in the cache, you are going to your backups.
So the question is: how good are your backup/restore/recovery procedures?
how much data can you afford to lose?
if you can't afford to lose data, go with write-through.
If you do want to use write-back (like on my workstation), use a UPS and a battery backup on the cache of the RAID controller.
hth,
Paul
cpwrtic
9 Posts
0
September 25th, 2007 18:00
Ahmad Barghouthi
2 Posts
0
December 7th, 2014 21:00
My experience, only use write back, write thru destroyed 4 of my servers, very bad options
RAJ54
60 Posts
0
September 27th, 2019 13:00
that makes no sense that write through destroyed your server.
Write back is the one that is more dangerous if you loose power and have no battery backup on the cache. Thing is write through could also loose data.
The safest is if you turn off ALL write caching and use read caching only.