75 points · by LinuxBender · 3y ago · 72 comments
I see you have discovered The Register. Welcome!
As the article points out, these drives consume up to ~10W under load. That's actually a lot of power for something with very, very little thermal mass - around 10 grams, and a heat capacity of around 400J/KgC is common for PCBs and chips. 0.4J/gC means that for just one second under full load, if the heat is generated evenly across the entire device, it will heat up 2.5 degrees C. Assuming no cooling, that's 24 seconds until it hits is thermal throttling point.
From the article:
> The amount of activity taking place on the gumstick-sized M.2 form factor means higher temps not only for the storage controller, but for the NAND flash itself.
> NAND, Tanguy explains, is happiest within a relatively narrow temperature band. "NAND flash actually likes to be 'hot' in that 60° to 70° [celcius] range in order to program a cell because when it's that hot, those electrons can move a little bit easier," he explained.
> Go a little too hot — say 80°C — and things become problematic, however. At these temps, you risk the SSD's built-in safety mechanisms forcibly powering down the system to prevent damage. However, before this happens users are likely to see the performance of their drives plummet, as the SSD's controller throttles itself to prevent data loss.
FYI, Tanguy according to his linkedin is the principle product engineer for Micron.
1) MLC/TLC/QLC work more like 4/8/16-tone grayscale e-paper than flash: e.g. 0x10 = (1,0,1,0), that’s “4 level/bits per cell”. And it’s not a single pulse of 0x10 voltage into a memory cell, more like repetitive pulses from 0b1111 to enough millivolts below 0b1011. Readout is probably more complicated, let alone lifecycle management. Those businesses might be more involved than it’s worth filesystem researchers time.
2) It was often said, at least years ago, that the considerable fraction of heat in NVMe SSDs comes from PCIe serialization/deserialization(SerDes), rather than payload data processing or NAND programming.
If both of above are true, maybe it’s PCIe that should be replaced, with something more like the original PCI?
If you have any experience with high performance networking equipment, you know that pure switching fabric ASICs generates a lot of heat on its own. Hell, even a dumb 5-port gigabit ethernet switch generates a surprising amount of heat, they are always warm to the touch.
I really doubt that handling the FTL layer on the controller adds that much extra power draw. A dumb PCIE <-> NAND switching ASIC will also have cooling problems.
Could ask the same thing about all the extra silicon in GPUs that adds hardware acceleration for video encoding/decoding.
Shoveling IOPS into a bus is an easily parallelizable problem, while NAND-flash memory has a very high theoretical floor on its capacitance. Any good engineer would optimize the CPU part up to the point where it's only a bit worse than the flash, and stop there because there isn't much gain on going further.
If that's the case, you will see the CPU being the bottleneck on your device, but it's actually the memory that constrains the design.
That is, unless the CPU comes from some off the shelve design that can't be changed due to volume constraints. But I don't think SSDs have that kind of low volume.
Most SSDs (with exceptions like Samsung's) simply use SiliconMotion's IP (https://www.siliconmotion.com/products/client/detail) for their controllers.
> But I don't think SSDs have that kind of low volume.
If a custom design adds a cent or two to the BOM then it doesn't matter, but when you need to verify that the changes works as intented and that the data isn't corrupted (beyond specifications) that's a lot of cents to be saved. Plus, SiliconMotion can request to TSMC to fabricate it at a lower cost per unit (because there is only one pattern to manufacture) than to customise the controllers for each drive.
Speaking about SSD controllers in general: they do use off-the-shelf ARM CPU core designs (eg. Cortex-R series), but those are usually the least important IP blocks in the chip. The ARM CPU cores are mostly handling the control plane rather than the data plane, and the latter is what is performance-critical and power-hungry when pushing many GB/s.
Overall the AT(X) form factor, with extension cards slotting in at a 90° angle, just doesn't work all that well for efficient heat removal. DHE takes away I/O slot space and requires high static pressures (so high fan RPMs), it works for headless servers, but that's about it. The old-fashioned way of a backplane and orthogonal airflow does work much better for stuff like this; but it also requires a card cage and is not very flexible in terms of card dimensions. The one saving grace of ATX is that cards and their cooling solutions can grow in length and height, GPUs are much taller than a normal full-height card, and many are much longer than a full-length card is supposed to be as well.
To give an example of this, here’s a server from a huge cloud provider for a brand new AMD 7700 on an ATX board.
Those 90° angles make for horrible airflow.
But yeah, most servers have risers that flip the cards to be parallel to the board.
Or are you speculating.
I sure wasn't happy paying extra just to have a different board layout with mostly the same components.
Well, there's IPMI at least. Still not worth the price tag.
and if it IS a real life thing because you have some special use case, you use a case with good airflow.
I do wonder if we have hit law of diminishing return. With Games optimised for System on PS5 and Xbox's DirectStorage, developer are already showing 80-95% of load time are spent on CPU already.
10Ws for such a device if I did the math right is around a 2.5C/sec rise in device temperature.
The positioning can also be pretty iffy, mine have one next to CPU, another just under GPU (no chance getting fan there) and those are the "fast" (directly connected to CPU) ones!
The another 2 slots are again under GPU (one filled with wifi/bt card), and only last 2 are far away from other hot components and get its own heatsink. but those are not directly connected to CPU
I think that the bigger question is whether 25W can be phisically supplied to the drives by contemporary motherboards. What is the power limit for the m.2 ports?
> "NAND flash actually likes to be 'hot' in that 60° to 70° [celcius] range in order to program a cell because when it's that hot, those electrons can move a little bit easier," he explained. ... Go a little too hot — say 80°C — and things become problematic
New one on me :) I did not know NAND liked to be hot, if true does not bode well for laptops for over-clockers.
To me, the end result seems to be, yes and no, up to you. But I still prefer HDD anyway, I am very old school.
on a heat note: a spinning rustdisk also uses quite a bit of watt, every time, all the time. Powerwise the high W ssd's are still less power hungry over time.
Regardless, some people drive an old, dangerous, slow, gas-guzzling car - and maintain it at great expense - just because they prefer it. Aesthetic and sentimental appeal is highly personal and knows no bounds.
Really they're good for bulk storage. And that's it. For use in primary compute they're really great if you want to slow everything down.
You seem to have studied it quite well, or perhaps find that ad-hominems make for the best arguments!
But I guess the other commenters point might be valid if you run a datacenter in a blast chiller