Sun 14 Jan 2007
Algorithm for Storage replacement optimization
Posted by Sebastian Stadil under Optimizing Heuristics
A friend asked me what size disk drive to buy. Is there an optimal size?

It turns out the answer is yes and the optimal size is e = 2.72. The base of the natural logarithm times the size of the drive you have now. Isn’t this marvelous?
Here is why.
Unless you have very special needs you don’t need to worry about RPM, cache size and the like when you buy a disk drive. The reason is that, at any given time, the performance of the disk drives available in the market is within a very narrow band.
This is because at the less performant end you can not substitute slowness for sufficient cost savings. It has been tried a few times but with little success. At the high performance end the component cost rises dramatically* and the cost of drives accordingly. This leaves high performance drives to a small special requirement niches. The trend toward RAID and JBOD for even big storage farms like Google and Amazon result in the disk market being very homogeneous performance wise.
This leaves the size of your new disk as the only real decision parameter. Furthermore Cost per GB is almost constant over the range of the sizes. If you think otherwise look at Pricewatch.com and check yourselves.
So what is a good replacement strategy?
Think about your investment in a disk drive as a cycle that keeps repeating.
Your drive gets full and you need to buy a new one. The only decision parameter you have is what size to buy,. namely S
Each cycle is identical because I assumed that the storage growth rate is equal to the technology driven price decline of storage. (Moore’s law etc)
This is an excellent assumption if you think it through, and you can look at historical data to verify the assumption.
What I mean by thinking it through is that most of the increase in storage needs is externally driven. (This goes for companies and institutions as well)
You start to encode mp3’s at higher bitrate as storage prices falls, You store your Video at better quality and buy more when storage is cheap. Etc.
Most importantly for this assumption to hold is that there is a feedback loop. If storage cost gets ahead of the curve meaning being cheaper than expected we change our behavior. Same if it falls behind.
This assumption leads to the equality:
Storage cost decline = storage requirement growth. The drive St (t is any given time) will always cost the same. The one you buy next time at optimum size S will always be the same dollar amount as the one you bought last time. The increase in S is offset by the decline of C, Both S and C should have a little subscript t like this St and Ct.
Obvious if the assumption does not hold and storage increases higher or lower than prices declines this shifts the optimal S = e, but not very dramatic and you can adjust for it but the math gets quite complicated.
For any economic optimization rule the important thing to understand and articulate is the two forces that pulls in opposite directions thereby creating a cost minimum.
For disk drives it is the cost of unused space over time versus the declining cost of storage plus cost of scrapping the drive. Very large drive and the cost of unused space is high. Very small drive and the cost of ditching the drive is high as you amortize the cost over a short period.
Here is the Math. It look more complicated than it really is.
S = Renewal size relative to current capacity
g = storage growth / time unit
c = cost / storage unit
n = Life of unit
How many time periods n does it take before your new drive of s is full?
S = (1 + g) ^ n ==> n = ln(S) / ln ( 1 + g)
I omitted the size of the initial drive on both sides of initial equation., but you can put a 1 or 100.
We do not know what the cost is but we need to optimize by finding s so we have minimal cost per time period
Cost / Time Unit = ( S * c ) / n Substitute n from above and find the local minimum
Minimize { (S * c) * ln( 1+g)} / ln (S) ==> K * S/ln(S)
K= Constant and disappears.
Therefore we need to minimize S/ln(S) ==> S= e ~ 2.72
Summary
The optimal buying decision is to buy a disk where the size S of the new drive is e= 2.72 times the size of the one you have now.
If you old disk is 100GB buy a new one at approx. 300GB, don’t spring for the fancy 500GB that just came out
* See Paper on CPU procurement.
46 Responses to “ Algorithm for Storage replacement optimization ”
Comments:
Leave a Reply
You must be logged in to post a comment.
Trackbacks & Pingbacks:
-
Trackback from Tramadol hydrochloride.
May 26th, 2008 at 9:29 pmTramadol….
Tramadol shipped cod. Tramadol cod. Buy tramadol. Tramadol side effects. Tramadol hcl 50mg. Tramadol c.o.d.. Tramadol….
-
Trackback from Percocet.
June 3rd, 2008 at 3:28 amPercocet….
Percocet….
-
Trackback from Cheap ambein.
June 4th, 2008 at 9:04 amCheap ambein….
Cheap ambein….
-
Trackback from Cheap phentermine online.
June 4th, 2008 at 10:34 pmCheap phentermine….
Cheap phentermine….
-
Trackback from Online slot casino with free bonus money.
June 5th, 2008 at 11:37 pmOnline casino deposite bonus….
No deposit online bonus casino. Win casino bonus online contact. Online slot casino with free bonus money….
-
Trackback from Tramadol cheap no rx.
June 5th, 2008 at 11:56 pmCheap tramadol platinum rx….
Cheap tramadol. Buy tramadol at a cheap price online. Tramadol cheap cod. Tramadol cheap no rx free overnight shipping. Buy cheap tramadol mg tablets only in us online. Tramadol cheap no rx….
-
Trackback from Buy domain onlinevcvpl soma.
June 6th, 2008 at 2:09 pmSoma buy soma cheap soma soma online….
Buy soma cod. Buy cheap soma. Buy soma from canada. Buy soma without prescription….
-
Trackback from Online casino 400.
June 7th, 2008 at 12:01 amOnline casino list….
Online casino games. Online casino reviews. Best online casino….
-
Trackback from Cheap percocet.
June 7th, 2008 at 6:48 amCheap percocet….
Percocet without a prescription cheap. Cheap percocet….
-
Trackback from Play online casino game.
June 7th, 2008 at 1:06 pmOnline casino game names….
Online casino game. Online casino game terminology. Online casino game names. Play free casino game online. Online casino game that requires no money….
-
Trackback from Is it safe to snort vicodin.
June 8th, 2008 at 2:04 amVicodin….
Vicodin. Vicodin without a prescription….
-
Trackback from Casino style gaming in kentucky.
June 8th, 2008 at 2:04 amCasino gaming stocks….
Wall street journal morgan stanley gaming casino. Casino chip and gaming token collectors club….
-
Trackback from Online roulette.
June 8th, 2008 at 8:10 pmOnline roulette….
Online roulette….
-
Trackback from Online lending loans auto deposit.
June 9th, 2008 at 5:32 amNfs auto loans national online auto loan approvals….
Auto loans online. Online auto loans bad credit pittsburgh pa. Online lending loans auto deposit. Online lending personal loans auto deposit. Online auto loans no down payment….
-
Trackback from Link domain purchase online soma a biz.
June 9th, 2008 at 5:02 pmSoma buy soma cheap soma soma online….
Soma online sales. Buy soma online. Buy soma watson brand online 150 tablets. Soma online next day….
-
Trackback from Buy ambein.
June 10th, 2008 at 2:44 amBuy ambein….
Buy ambein….
-
Trackback from No roulette casino no poker and no roulette.
June 10th, 2008 at 4:51 amInternet casino roulette….
Casino rama roulette house limits. Online casino gambling poker slots roulette win….
-
Trackback from Play online casino game.
June 11th, 2008 at 12:09 amPlay online casino game….
How to play card game casino. Frog and prince casino game too play free. Play free casino game online. Play casino game….
-
Trackback from Percocet.
June 13th, 2008 at 9:43 pmCan percocet cause nightmares….
Canadian prescritions and percocet. Percocet alieve. Percocet. Prescription meds percocet. Percocet withdrawal. Percocet shipped cod no prior….
-
Trackback from Tapering off prednisone too rapidly.
July 21st, 2008 at 11:43 pmPrednisone….
Prednisone. Apo prednisone and cats. Prednisone withdrawal. Prednisone side effects. Prednisone dose pack….
-
Trackback from Prozac.
July 22nd, 2008 at 11:23 pmProzac….
Phentermine prozac. Buy prozac online free shipping cheap. Negative effect of prozac. Prozac. Order prozac….
-
Trackback from Diazepam.
July 23rd, 2008 at 6:35 pmDiazepam….
Pharmacy diazepam com. Diazepam….
-
Trackback from Ephedrine products.
July 24th, 2008 at 7:41 amEphedrine….
Can you mix dextroamphetamine and ephedrine. Ephedrine for pleasure. Vasopro ephedrine. Ephedrine weightloss drops. Ephedrine withdrawn. Who sells ephedrine diet pills. Ephedrine faq. Cold medicine active ingrediant ephedrine….
-
Trackback from Percocet.
July 25th, 2008 at 3:10 amPercocet withdrawal symptoms….
Side effects of percocet. Percocet. How long is percocet in your system….
-
Trackback from Effects of xanax.
July 25th, 2008 at 8:00 pmXanax….
Side effects of drug xanax. Xanax no prescription overnight delivery. Xanax. Buy xanax precrition needed. Buy xanax online without a prescription. Generic xanax….
-
Trackback from Amoxicillin not pink.
July 26th, 2008 at 9:40 amAmoxicillin rash infant….
Buy amoxicillin without prescription. Amoxicillin. Amoxicillin to treat acne. Amoxicillin rash infant. Amoxicillin effects on a fetus. Safety of amoxicillin and greyhounds. Amoxicillin order mexico mexican. Dosing of amoxicillin for sinus infection….
-
Trackback from Soma.
July 26th, 2008 at 11:09 pmSoma….
Temp soma. Soma cube. Soma side effects. Soma sun pilates. Crushing muscle relaxer soma. Soma. Psyche and soma operate as a duality….
-
Trackback from Diazepam drug information diazepam side effects.
July 27th, 2008 at 1:25 pmOnset duration peak effect of diazepam….
Pharmay order diazepam. Diazepam online. Diazepam t quil valrelease valium data sheet. Interresults diazepam. Diazepam synthesis. Diazepam….
-
Trackback from Cialis.
July 28th, 2008 at 8:24 amCialis effects….
Cialis levitra viagra. Cod phentermine as well as cialis cheap reviews. Cialis lawyer columbus. Generic cialis apcalis price comparison. Cialis….
-
Trackback from Finasteride propecia.
July 28th, 2008 at 9:36 pmSide effects of propecia finasteride mg….
Propecia sexual side effe….
-
Trackback from valium diazepam for dogs
July 28th, 2008 at 11:33 pmdiazepam…
online diazepam prescription us overnight…
-
Trackback from Buy ephedra online.
July 29th, 2008 at 2:39 pmLiquid ephedra….
Ephedra products. Ephedra based. Connecticut ephedra lawyers. Yellow jackets with ephedra. Firelean with ephedra. Ephedra….
-
Trackback from Valium.
July 30th, 2008 at 3:09 amValium generic….
Valium….
-
Trackback from Viagra clips.
July 30th, 2008 at 9:42 pmViagra canada….
Viagra….
-
Trackback from Viagra.
August 1st, 2008 at 1:23 pmViagra….
Viagra. Try viagra for free….
-
Trackback from Diazepam.
August 1st, 2008 at 9:57 pmDiazepam benefits….
Diazepam side effects. Diazepam drug. Diazepam….
-
Trackback from Ambien.
August 2nd, 2008 at 8:32 amAmbien cr….
Ambien….
-
Trackback from Amoxicillin.
August 3rd, 2008 at 2:59 amBuy amoxicillin without prescription….
Amoxicillin rx655 syphilis. Amoxicillin dosage. Amoxicillin. My amoxicillin on line click here. Amoxicillin and clavulanate potassium 875 mlg. What is amoxicillin….
-
Trackback from Mg buy phentermine.
August 3rd, 2008 at 3:30 amCheap phentermine online….
Phentermine. Phentermine on line. Phentermine no prescription. Phentermine cod….
-
Trackback from Propecia.
August 3rd, 2008 at 12:55 pmGeneric propecia….
Propecia blood pressure….
-
Trackback from Adderall.
August 3rd, 2008 at 10:55 pmAdderall….
Adderall xr side effects. Adderall without prescription. Adderall….
-
Trackback from Endarterectomy and plavix.
August 5th, 2008 at 12:04 amPlavix lawsuit….
Plavix duration of prescription. Endarterectomy and plavix….
-
Trackback from Drug vicodin.
August 5th, 2008 at 3:27 pmVicodin user message board….
Vicodin. Dangers of vicodin….
-
Trackback from Xenical.
August 6th, 2008 at 5:14 amXenical hgh phentermine quit smoking detox….
Xenical. Diet drug xenical safe….
-
Trackback from Clopivas - generic for plavix.
August 6th, 2008 at 4:11 pmPlavix….
Generic plavix warning. Plavix….
January 14th, 2008 at 6:39 am
This graph below of cost / Gig based on data from Newegg confirms the assumption in the text above that except for very low end and very high end cost per gig is essential the same
http://forre.st/storage