Solved

set up disk cache

Posted on 2010-11-18
4
484 Views
Last Modified: 2012-05-10
in some articles, they say that you can set up the disk cache for read/write 50/50.
I wonder if this can be set up at the RAID software or at the Bios, or where...?

Thanks
0
Comment
Question by:jskfan
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
rsimsee earned 125 total points
ID: 34165483
Hardware disk caching is controlled by HDD controller, and if you have RAID, than you're talking about the RAID controller.  On most RAID controllers today (if it supports setting the options at all) you can either set the disk caching in the controllers BIOS accessible during the boot process, or you can use whatever RAID management software came with that particular RAID controller.

Hope this helps!
0
 
LVL 47

Assisted Solution

by:dlethe
dlethe earned 250 total points
ID: 34167440
Hardware disk caching is a standard feature in SCSI, Fibre channel, SAS, SATA, and even IDE drives as well.  In disks that speak SCSI protocol, Mode page #8 has literally a dozen flags relating to it, including the WCE bit (which stands for write cache enable).

SATA/ATA commands require the SET FEATURES command to control the enable write cache bit.

I am not aware of any BIOS that programs these bits in disk drives.   RAID controllers (some) RAID controllers set these in the disk drives as well, but this is also extremely rare.  The cache referred to by RAID controllers is typically the internal buffer RAM within the controller itself, and not the HDD.

To permanently change these settings in disk drives, you need a "Mode page editor".  I'm not aware of a freebie, and you also have to hook the disk up to a JBOD controller, (direct attach to a NON-RAID) controller to send the command, as it would be blocked by a RAID controller.

I would personally, just see if my RAID controller had such a feature and enable it ... IF you have a battery backup on the controller memory board, otherwise you risk data loss.
0
 
LVL 16

Assisted Solution

by:Gerald Connolly
Gerald Connolly earned 125 total points
ID: 34176412
Most modern RAID controllers use intelligent caching algorithims that look at the current workload and allocate the cache accordingly ie if the workload is very read intensive it will allocate on average 75% for read and only 25% for write and vice versa if the workload is write intensive, figures are for illustrive purposes only YMMV.

Are you asking this question for a reason? What problem/issue are yoy trying to solve?
0
 
LVL 47

Assisted Solution

by:dlethe
dlethe earned 250 total points
ID: 34176447
Plus there are cache buffers that the O/S reserves for each logical device (which may or may not be a physical device).

So be very specific on what you want to do, or you'll just get confused with too many options. :)
0

Featured Post

The curse of the end user strikes again      

You’ve updated all your end user’s email signatures. Hooray! But guess what? They’re playing around with the HTML, adding stupid taglines and ruining the imagery. Find out how you can save your signatures from end users today.

Join & Write a Comment

Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now