
UNSOLVED
PERC Write Caching option and it's interaction with OS level Drive Caching
I have a question regarding how the the PERC RAID controllers settings for Drive Caching (Enable Write Caching, Write-Back, Write-Through,etc.) Interact with Windows 2008 R2 OS settings of "Drive Caching."
This is from DELL PERC H700 and H800 Technical Guide:
The write cache policy of a virtual disk determines how the controller handles writes to that virtual disk. Write-Back and Write-Through are the two write cache policies and can be set on virtual disks individually.
All RAID volumes will be presented as Write-Through (WT) to the operating system (Windows and Linux) independent of the actual write cache policy of the virtual disk. The PERC cards manage the data in cache independently of the operating system or any applications. You can use OpenManage or the BIOS configuration utility to view and manage virtual disk cache settings.
In Write-Through caching, the controller sends a data-transfer completion signal to the host system when the disk subsystem has received all the data in a transaction. In Write-Back caching, the controller sends a data transfer completion signal to the host when the controller cache has received all the data in a transaction. The controller then writes the cached data to the storage device in the background.
The risk of using Write-Back cache is that the cached data can be lost if there is a power failure before it is written to the storage device. This risk is mitigated by using a BBU on PERC H700 or H800 cards. Write-Back caching has a performance advantage over Write-Through caching. The default cache setting for virtual disks is Write-Back caching. Certain data patterns and configurations perform better with a Write-Through cache policy.
Write-Back caching is used under all conditions in which the battery is present and in good condition.
Write-Through caching is used under all conditions in which the battery is missing or in a low-charge state. Low-charge state is when the battery is not capable of maintaining data for at least 24 hours in the case of a power loss.
Write-Back mode is available when the user selects Force WB with no battery. When Forced Write-Back mode is selected, the virtual disk is in Write-Back mode even if the battery is not present. It is recommended that you use power backup system when forcing Write-Back to ensure there is no loss of data if the system suddenly loses power.
My question is this:
What is affected when you have Write-Caching enabled on the Perc, but also have "Enable write caching on the device" checked in Disk Management>disk properties>Policies Tab of Windows Server 2008. The note above says "PERC cards manage the data in cache independetly of the operating system or any applications". Does this mean it renders any OS write caching settings useless? Or is it just saying that it does not have any interaction with any write-cache settings in the OS?
Is there another level of write caching that goes on at the OS level when this is checked? If Write-Back caching is enabled at the PERC level, and Write-caching policy checked at the OS level, is there a preformance hit because the process is repeated twice on every data transaction?
Bottom line, I'm just curious how these two settings interact with each other, and if we should/shoudn't have both settings checked if we want to enable Write-Back caching.
Responses (0)
Solutions (0)
