3 ms·
I suspect that Apple is already out to completely redefine the Memory Hierarchy. In the process Dropbox will get squished or redefined out of existence. I was
by stcredzero 16y ago
I suspect that Apple is already out to completely redefine the Memory Hierarchy. In the process Dropbox will get squished or redefined out of existence.
I was thinking today: If persistent Flash memory has RAM-like characteristics, why are we still treating it like it's a spinning disk? Laptops and mobile devices should have a completely different memory hierarchy:
- Registers
- L1 and L2 cache
- Main Memory
- Persistent Memory
- Cloud Memory
The 1st three are also what we have today, but the last two are completely new. Persistent Flash stores are faster but more expensive than spinning magnetic platter. Cloud Memory is vaster and omnipresent, but much slower and less reliable than the hard drive. Together, they can fill in each other's weaknesses and create something vastly more useful than the old spinning hard drive.
Apple is moving in this direction with their new Macbook Airs, which have taken the first step by taking the MLC Flash chips out of the pointless metal box and placed them on a form factor somewhat like a DIMM. They have moved even further with the iPhone/iPod Touch/iPad. Here, we have computers as powerful as workstations of the mid-1990s, but there is almost no notion of a Disk Drive. Instead, files are organized primarily by the Apps that create and manage them.
My prediction is that Apple is moving toward a world (at least for the average user) where there are only Apps and your data magically takes care of itself.
EDIT: Does anyone else also realize that a big reason our lengthy boot-up procedure even exists is because we had to have a spinning disk? Now that we have RAM-like stuff that's cheap enough to use in spinning-disk quantities, we don't really need the kinds of boot-up procedures we have now.
- neilc 16y agoIf persistent Flash memory has RAM-like characteristics, why are we still treating it like it's a spinning disk? I'm not sure we are (other than low-level details like how the kernel does I/O scheduling and filesystem implementation details). RAM is transient; SSDs and magnetic disk are both persistent. Hence, both SSDs and magnetic disk can serve as stable storage. SSDs and HDs have different performance characteristics, but I'm not so sure that a radical rethinking of the storage hierarchy is actually called for. a big reason our lengthy boot-up procedure even exists is because we had to have a spinning disk Offhand, I would guess that a big reason for lengthy bootups is the time required to probe, detect and configure hardware (plus latency stuff like BIOS init). An intelligent OS will be able to arrange the disk I/O that needs to be done on startup so it is mostly sequential; SSDs and HDs are not significantly different with respect to sequential read performance.
- stcredzero 16y agoRAM is transient; SSDs and magnetic disk are both persistent. Wow, somehow I missed this fact after 30 years of programming! both SSDs and magnetic disk can serve as stable storage Yes, but sometimes a quantitative difference can result in a qualitative one. (Like branching and merging and using historical information in Git. The fact that you can do this so quickly from the local Git repository means you can use it in ways that wouldn't be practical in something like Subversion.) Offhand, I would guess that a big reason for lengthy bootups is the time required to probe, detect and configure hardware Why doesn't this apply to hibernating laptops? (Or for that matter, the iPad?) In this day and age, to we always have to turn the power 100% off on a regular basis? Also, there are experimental OS like EROS, where there is no boot-up, only a reactivation of certain facilities like network cards. The lengthy boot-up process is now living on a set of cultural expectations. There is no longer a technical reason for its existing.
- neilc 16y agoWow, somehow I missed this fact after 30 years of programming! Yay for sarcasm. My point is that changing the performance characteristics of the lower levels of the storage hierarchy does not necessarily mean we need to make radical changes. The lengthy boot-up process is now living on a set of cultural expectations. There is no longer a technical reason for its existing. Maybe so; my point was just that I don't see how SSDs vs. magnetic disk fundamentally effect the boot-up process. Hibernation vs. power-off is orthogonal to the type of storage used.
- stcredzero 16y agoSSD can also have lower power requirements. Combine SSD with the cloud, and you can have something which can respond faster to the typical user while eliminating any thoughts about storage size and backups. If you just treat the Flash as RAM, with volatile RAM as a very large L3 cache, the notion of hard drive can just disappear. Everything just becomes orthogonally persistent. I'm guessing this is a troll. Most programmers I talk to in person just get this without so much exposition.