5 ms·
I suppose _modern_ storage is fast, but how many servers are running on storage this modern? None of mine are and my work dev machine is still rocking a SATA 2.
by jeroenhd 6y ago
I suppose _modern_ storage is fast, but how many servers are running on storage this modern? None of mine are and my work dev machine is still rocking a SATA 2.5" SSD.
We're probably still a few years off from being able to switch to this fast I/O yet. With the new game consoles switching over to PCIe SSDs I expect the price of NVMe drives to drop over the next few years until they're cheap enough that the majority of computers are running NVMe drives.
Even with SATA drives like mine though, there's really not that much performance loss from doing IO operations. I've run my OS with 8GiB of SSD swap in active use during debugging and while the stutters are annoying and distracting, the computer didn't grind to a halt like it would with spinning rust. Storage speed has increased massively in the last five years, for the love of god fellow developers, please make use of it when you can!
That said, deferring IO until you're done still makes sense for some consumer applications because cheap laptops are still being sold with hard drives and those devices are probably the minimum requirement you'll be serving.
- rcxdude 6y agoWell, if the whole async 'I/O is the bottleneck' principle which was the refrain from a few years ago is actually true, then servers running databases should be focusing on upgrading their storage to these levels, since that's where the most bang for buck comes from in terms of performance gain is (of course now the big thing is running everything on clouds like AWS where everything is dog slow and really expensive, so perhaps it doesn't actually matter). (In fact the main reason for the API changes covered in the article is because the CPU and RAM can no longer run laps around storage).
- scribu 6y ago> how many servers are running on storage this modern? AWS allows you to provision EC2 instances with NVMe, without much fanfare. Cost is only ~20% more than SATA.
- wtallis 6y ago> I expect the price of NVMe drives to drop over the next few years until they're cheap enough that the majority of computers are running NVMe drives. Price no longer has anything to do with it. PC OEMs are simply not shipping SATA SSDs any more, and major drive vendors have started to discontinue their client (OEM) SATA SSD product lines. We're just waiting for the SATA-based PC install base to be retired.
- im3w1l 6y agoMy mobo has many more SATA slots than M.2. slots. I expect there will be hybrid systems for quite a while.
- wtallis 6y agoOne SSD is sufficient for almost all consumer systems. The only reason to want more than two SSDs is if you're re-using at least one old tiny SSD in a new machine. SATA ports will stick around in desktops only for the sake of hard drives. There may be a few niches left where using several SATA SSDs in a workstation still makes some kind of sense, and obviously not all server platforms have migrated to NVMe yet. But as far as influencing the direction and design of consumer systems, SATA SSDs have only slightly more relevance than optical disc drives.
- p1necone 6y agoDrive price doesn't scale linearly with capacity, you can save a fair bit of money sticking with multiple smaller capacity drives vs one big one.
- wtallis 6y agoDrive price per GB doesn't even scale monotonically with capacity. Right now, the best price per GB is usually on 1TB or 2TB models. And if you need more than two such devices with SSD performance, you're far outside the bounds of consumer computing and into workstation territory.
- int_19h 6y agoIt depends on what you mean by "consumer computing", really. The single largest app using up my disk space is Steam, and if I only had a single 1 Tb SSD, it'd be full by now.
- aidenn0 6y agoI have 8 SATA SSDs in my workstation; are there motherboards that could run a similar NVMe setup?