Let's immediately discuss the time scale. Your computer's processor lives in nanoseconds: most CPUs can do several things in one nanosecond - mostly simple math and comparisons. To facilitate perception, suppose you are a processor and instead of nanoseconds you live and work second by second. For clarity, apply this metaphor on a single core processor.
You can keep several things in your head at the same time (register). No more than a dozen or two in your active memory, but you are able to remember any of them almost instantly. You keep important information for yourself on your desktop, whether for a couple of seconds a tear-off notebook on your desktop (L1 cache) or one of the books on the shelf (L2 cache and more) that are so well organized that you can’t get any information. more than a dozen seconds or so.
If you can not find what you are looking for - you will have to quickly look into the library on the street (RAM, that is, RAM). Fortunately, it is quite close, so you can walk a couple of houses, take a book and get back to work in just about eight and a half minutes, which is a lot, because some libraries are thousands of times larger than a typical bookstore. A bit inconvenient until you remember that the library has a free delivery service, so there’s nothing to worry about if you have something to work while waiting.
But the local library, in the main, stores only demanded books (which is quite true, because your bookshelf, workbook, and even a dozen or two facts in your head are usually composed according to the same principle). The problem is that if you want something missing there, you have to wait a little longer. How long? Well, imagine Amazon.com in the era of great geographical discoveries. They send an old wooden ship, and it can take a week, maybe a month, and often have to wait
3 years for the answer to come.
')
Welcome to the world of hard drives, where your information is extracted by the method of fast unwinding of metal plates. Many metric tons of sweat are spilled to speed up the process as much as possible, but it is difficult to carry with electrons flying through the wires.
So when someone says that solid-state drives are amazing, all because they can turn this slow, unpredictable old sailboat into a powerful ship on a steam engine. A good SSD can often make a voyage in less than a week, and sometimes in less than a day. He can also make many thousands of trips for information per year.
(If you are looking for information on different SSDs, I recommend reading
http://www.anandtech.com/tag/storage , I recently purchased OCZ Vertex 3, but there I found out that they have unresolved and quite serious bugs).
Sources of inspiration for this note:
- http://www.phy.duke.edu/~rgb/Beowulf/beowulf_book/beowulf_book/node24.html
- http://antirobotrobot.tumblr.com/post/17138289530/the-software-stack-and-latency