Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

set up disk cache

Posted on 2010-11-18
4
Medium Priority
?
538 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 500 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:David
David earned 1000 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 17

Assisted Solution

by:Gerald Connolly
Gerald Connolly earned 500 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:David
David earned 1000 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

772 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