3

I've been told that it takes about 200 clock cycles to read from memorym, and somewhere around 1,000,000 clock cycles to read from HDD.

Does anybody know what the comparable number of clock cycles would be to read from SSD?

1 Answer 1

3

Those are arbitrary numbers that professors in college state to show how heavy IO code might not be worth wasting time optimizing as it's dependent on the drive speed anyway. Compare the transfer speed of a SSD and a regular Hard Drive. Divide your clock cycle figure that you have by the amount of times the SSD is faster than the Hard Drive. There you go, that's your new "clock cycle" amount. It's still large.

It has more to do with the interface. For instance SSD over SATA, and SSD over PCI-E is a huge difference.

2
  • 1
    I don't think you can simply go by transfer speed because the SSD won't have to deal with rotational latency or seek time. BTW, this discussion did in fact come up in a Computer Architecture course.
    – Jared
    Jan 14, 2010 at 4:02
  • @Jared: he's saying there's a good measure of arbitrariness in the "average" numbers your question quotes; with that in mind, using the transfer speed comparison would allow you to calculate a reasonable guesstimate for the SSD's clock-cycle-access-time. for hard, real-world clock-cycle access numbers you can't lump the categories together like that; you have to consider & test specific products. if you want to compare guesses, compare guesses; if you want real numbers, go collect some data. Jan 14, 2010 at 6:06

You must log in to answer this question.

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