When to Upgrade Your Computer System: A Cost-Benefit Analysis