13

I recently got some U server price quotes and some of them include BBWC:

  • What exactly does it do?
  • Is it just for RAID configurations?
  • If there is a power malfunction, isn't the data loss inevitable?
  • Are there any performance improvements from it (assuming the server will mostly do sequential reads and sequential writes)?
  • What affected your decision when you faced the option to buy one?

3 Answers 3

17

What exactly does it do? The excerpt from this Compaq document explains it well:

Power interruptions, even for brief moments, result in the loss of data which was being written to or read from storage... Power interruptions can have terminal effects on data which is in the process of being written and is temporarily residing in cache. This data does not yet exist in the storage environment and has been offloaded from the server.
Therefore, loss of power to the cache means any data stored in the cache is lost forever.
If, however, the cache has a power source independent of the external IT environment, the data in the cache can be maintained for a short period of time, allowing the recovery of that data and the protection of the integrity of business critical information. Battery backing of cache serves this function of an independent, though temporary, power source. Battery-backed cache will normally retain the integrity of the data in the cache for a period of several days, depending on the capacity of the batteries at the time of the failure.

Is it just for RAID configurations? Anything doing write caching can have BBWC, RAID controllers and SAN's cover most of these.

If there is a power malfunction, isn't the data loss inevitable? It's more likely to occur if you have write caching enabled & no battery backup. It's a strong recommendation that if there's no battery backup that write caching is disabled.

Are there any performance improvements from it (assuming the server will mostly do sequential reads and sequential writes)? Write caching is there for performance, what it basically means is when writes are flushed to disk, the disk controller returns to the OS stating that the writes have been committed, when they're still actually in cache & can be written later on.

What affected your decision when you faced the option to buy one? It's a standard option for any professional RAID or SAN on the market, Write caching & battery backup go hand-in-hand & is a must, especially if your system is for a database. Write caching without battery backup is dangerous & an outage can leave a database in an un-recoverable state.

5

The Battery backed write cache saves the cache for a period of time, after a machine's power goes. It's for any RAID controller, since most will do some kind of write caching, whether you're using JBOD, or RAID. If there's a power malfuction, you may eventually lose data. But for short power losses, it'll save your data so it's well worth the cost.

1
  • This is essentially correct, if you want to use write caching then the BBWC is usually a good investment. Sep 14, 2009 at 11:42
3

(Normal) RAID needs some sort of battery backed write cache to deal with the write hole. During the middle of a write, between when you first start writing and when you finish, that particular raid stripe is invalid -- the parity doesn't match. If you shut the system off right then you potentially lose more data than you would lose without RAID at all.

Aside from that, the point of a BBWC is to get the performance benefits of write caching without increasing the amount of data you lose to a power failure beyond if you didn't have a write cache at all.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .