On MovieTome: Top Ten: Most Bizarre Twilight Merch
BNET Business Network:
BNET
TechRepublic
ZDNet

September 16th, 2008

Your capacity will vary

Posted by Robin Harris @ 10:23 pm

Categories: Disk drives, RAM

Tags: Disk, Capacity, Desk Capacity, Robin Harris

By an increasing amount
Why is your storage capacity always less, sometimes a lot less, then what you see advertised on the box? There is only one rule: you will never get the capacity the vendor advertises.

Storage vendors don’t mean to be lying. They just have a world view that you and your OS don’t happen to share. In their minds their numbers are justifiable.

The disk problem
The major cause of disk drive capacity shrinkage is the difference between how disk drives measure capacity and how your computer measures capacity.

Memory, like the RAM, is measured in powers of two. A gigabyte of RAM is really 1,073,741,824 bytes of capacity.

Disk capacity is measured in powers of 10. Thus any gigabyte of disk capacity is one billion bytes.

Your computer measures hard disk capacity in a power of two. Thus 1 million bytes of disk becomes 977 kilobytes and you just lost 2.3% of your apparent capacity.

As disk drives get bigger the problem gets worse. Here’s a table comparing binary powers to decimal powers:

binary vs decimal compared

Officially, disk vendors have the standards bodies on their side: a MB is officially defined as 1,000,000 bytes. What the memory vendors should use are the binary prefixes kibi, mibi, gibi and the like. The bi stands for binary. Who knows, someday it might catch on.

But even most computer publications stick to the old, unofficial definitions that we all use. The disk drive vendors should switch from decimal to binary prefixes because that is how operating systems measure drive capacity.

And as the table above shows the problem is only getting worse as disk capacities grow.

The array problem
Disk arrays have a different problem: raw capacity vs protected capacity. Raw capacity is simply the sum - in decimal - of the capacity of the disk drives in the array. A 4 drive array with 1 TB drives has a 4 TB raw capacity.

But unless you use RAID 0 striping, which doesn’t protect your data - lose 1 drive and all your data goes away - your usable capacity will be less. Far less.

With a 4 drive RAID array - like one I recently tried to test - RAID 5 will give you 3 drives worth of capacity, saving 1 drive for parity data. BTW, I wouldn’t use such a configuration with 1 TB SATA drives: you have a 25% chance of losing data during a rebuild.

Much more reliable is a mirrored configuration. With a 4 drive array mirroring would give you 2 TB of protected capacity - only 50% or your raw capacity. But your data is much safer mirrored.

Array capacity arguments are common among enterprise array vendors - and if you were paying $5/GB raw you might be more interested in the usable capacity too. With 100’s of TB in a single array, even small percentage differences start looking big.

The Storage Bits take
There’s only 1 good strategy for dealing with storage capacity: have more storage than you need. Most enterprises run with 2-3x the capacity they need - mostly for performance reasons - but the extra comes in handy for end-of-quarter capacity spikes or slower than expected capital approval cycles.

Home users should keep 10-20% of their disk unfilled. Windows and Mac OS X are virtual memory operating systems, which means they use disk space to substitute for DRAM when main memory fills up. Without enough spare capacity the virtual memory system can’t do its job efficiently and your system slows down.

The good news: disk capacity is cheap and rapidly getting cheaper. 25 years ago disk cost $25,000 per gigabyte. Today it is less than $0.25 per gig. Fill ‘er up!

Comments welcome, of course.

Robin HarrisRobin Harris has been messing with computers for over 30 years and selling and marketing data storage for over 20 in companies large and small. See his full profile and disclosure of his industry affiliations.


Email Robin Harris

Subscribe to Storage Bits via Email alerts or RSS.

  • Talkback
  • Most Recent of 25 Talkback(s)
You took the words right outta my mouth....
...or off of my keyboard. Same goes for frgough. Where are YOUR blogs, ye and frgough? If you both are so damned knowledgeable, why are you hanging around here with us unwashed?

It's a sim... (Read the rest)
Posted by: MGP2 Posted on: 09/20/08  (Edited: 09/20/08 @ 01:50) You are currently: a Guest | | Terms of Use
If your SMART is working, you should not lose data.  CobraA1 | 09/17/08
Not so SMART  thewelshboy | 09/17/08
Totally different discussion.  CobraA1 | 09/17/08
Totally confused discussion  thewelshboy | 09/17/08
Incorrect  R HarrisZDNet Moderator | 09/17/08
re: incorrect  CobraA1 | 09/17/08
Yes, the drive will report it . . .  R HarrisZDNet Moderator | 09/18/08
hours of ten?  russguill | 09/17/08
A "wordo"  R HarrisZDNet Moderator | 09/17/08
and I have a bridge I would like to sell you  rcpr@... | 09/17/08
Arrgh!!  frgough | 09/17/08
Note the word "apparent" in the sentence  R HarrisZDNet Moderator | 09/17/08
Sorry, not buying it  frgough | 09/17/08
Irresponsible commenting...  thewelshboy | 09/17/08
Robin Harris is a renowned and highly respected blogger?  ye | 09/17/08
Pot Kettle Black  gtdavies33@... | 09/17/08
I don't care what his background is. He has clearly demonstrated...  ye | 09/18/08
'ye' of little faith..  thewelshboy | 09/18/08
You took the words right outta my mouth....  MGP2 | 09/20/08
I beg to differ...  IMHOYAAAH | 09/17/08
No need to beg  potomac79 | 09/17/08
RAID  pctech326 | 09/17/08
There are more pressing problems with disks  terry flores | 09/17/08
Slack  Anton Philidor | 09/17/08
(duplicate entry, deleted)  CobraA1 | 09/17/08

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

Click Here
advertisement

Recent Entries

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

  • Smart Tech Expert advice on innovations in healthcare and the green technologies that make it happen. Find out more
  • Smart Business Discussion and advice on management issues that revolve around making your world smarter and more useful. More Smart Advice
  • Smart People The best and worst moves in the management and strategy trenches. Learn More