Developing When Your Computer is too Fast
dustin.github.com
Developing When Your Computer is too Fast
1–10 of 32 posts
Re: Developing When Your Computer is too Fast
#2Re: Developing When Your Computer is too Fast
#3I'm a firm believer that developers should have old hardware to test on. :)
Re: Developing When Your Computer is too Fast
#4Re: Developing When Your Computer is too Fast
#5Re: Developing When Your Computer is too Fast
#6This seems like it'll get you 80% of what you want. But it'd be useful to have an actual disk to test on as well.
Re: Developing When Your Computer is too Fast
#7Re: Developing When Your Computer is too Fast
#8Nice work. But be careful about relying entirely on something like this. There are more than just seek time differences between hard disks and SSDs: they have different internal cache behavior, different latency variances, queuing differences (depending on how the devices are configured and how you're using them) etc. This seems like it'll get you 80% of what you want. But it'd be useful to have an actual disk to tes…
I think this is a great idea, but having worked on benchmarking database structures in the past, I'd be weary of using them for any type of real benchmark.
For one, trying to model a real disk would get very complicated very fast. Say, the access time of the disk will be a function of the position on disk, so it would be unrealistic to get random delays when scanning a large chunk of contiguous data or by just having a few delays in a random-access heavy load would also be extremely unfair.
In short, trying to model complicated disk latencies is pretty hard, and usually if you are programming with some model of disk in mind, building a disk latency simulator under that same model may end up giving you a false sense of security.
For what it's worth, I'd favor getting a cheap hard disk and trying the load there instead.
Re: Developing When Your Computer is too Fast
#9And regardless of speed, it's good to test your software on a variety of systems.
Re: Developing When Your Computer is too Fast
#10Fun, but the good thing about slow computers is that they're also the cheapest; it's far more economical to just buy an old box for a couple hundred dollars (or even cheaper).
Now, I can say, ``What if this box were really slow to respond to network requests 10% of the time?'' and just do it.