News for hackers. Stuff that matters.
Re:The Evolution of Disk Storage and an Introduction to NVMe by sliken on Wednesday May 01, 2019 @02:32AM (#19795016)
My dad had a 256bit memory module on his desk. Made out of sandwich of two pieces of glass and 16 vertical and 12 horizontal wires. Each intersection had a small ferrous ring.

Around that time he was programming and early computer and you could actually hear the memory bits changing. He was excited listening to it, figuring each click was a loop. Then her heard a different sound and realized he as hearing instructions and not loops.

Re:The Evolution of Disk Storage and an Introduction to NVMe by jcoffland on Tuesday April 30, 2019 @01:33PM (#19790056)
Some really early computers stored bits in waves in mercury. A series of waves would be started at one end of a tube full of mercury and they would be read back when they arrived at the other end. The memory of course then had to be refreshed. Core memory was however much more successful.

https://en.m.wikipedia.org/wiki/Delay_line_memory

Re:The Evolution of Disk Storage and an Introduction to NVMe by agumonkey on Tuesday April 30, 2019 @03:02PM (#19790857)
Same idea was used between satellite and ground, wave was used as a memory that could be reused when back to station.
Re:The Evolution of Disk Storage and an Introduction to NVMe by winrid on Tuesday April 30, 2019 @03:41PM (#19791175)
Holy crap that's so cool. Thanks for that info.
Re:The Evolution of Disk Storage and an Introduction to NVMe by agumonkey on Tuesday April 30, 2019 @03:46PM (#19791238)
Some teacher that worked for the french ministry in the 80s told us that. It makes sense but I never found data on it. I'm not 100% sure it was done because he was a bit of a big mouth but at the same time he was in the field for decades so..
Re:The Evolution of Disk Storage and an Introduction to NVMe by winrid on Tuesday April 30, 2019 @06:07PM (#19792501)
ah yeah I haven't found anything. Still a cool idea, however I'd imagine you'd have issues with data loss.
Re:The Evolution of Disk Storage and an Introduction to NVMe by Avery3R on Tuesday April 30, 2019 @04:22PM (#19791561)
An example of delay line memory using a wire that vibrates: https://www.youtube.com/watch?v=2BIx2x-Q2fE
Re:The Evolution of Disk Storage and an Introduction to NVMe by spectramax on Tuesday April 30, 2019 @11:02AM (#19788540)
I am surprised the article doesn't talk about Optane technology: https://en.wikipedia.org/wiki/3D_XPoint
Re:The Evolution of Disk Storage and an Introduction to NVMe by Nursie on Tuesday April 30, 2019 @12:05PM (#19789155)
Is Optane really 'all that' compared to other PCIe storage?

I know that Intel are positioning it as some sort of system accelerator, and I know it does tend to score well in comparisons... but not "This is in a completely different category" well, AFAICT.

What's special about it compared to, for instance, Samsung's NVMe offerings?

Re:The Evolution of Disk Storage and an Introduction to NVMe by synack on Tuesday April 30, 2019 @12:45PM (#19789561)
Optane is persistent and bit-addressable, with mean latency under 1 microsecond, which is an order of magnitude faster than other SSDs.

I don't think the market has figured out the right use case for Optane yet. The majority of desktop applications won't benefit from lower latency IOPS and it's too expensive to use for general purpose storage on servers. It does make sense for constant write or seek-heavy applications like database journals, but most databases are optimized for doing bulk sequential reads/writes and won't take advantage of Optane's bit addressable storage.

Intel's recently started shipping Optane DIMM modules that act like slow, cheap, high density RAM. This is an interesting option as it allows in-memory databases to be atomically persistent without having to add any code.

Re:The Evolution of Disk Storage and an Introduction to NVMe by wtallis on Tuesday April 30, 2019 @01:02PM (#19789730)
> This is an interesting option as it allows in-memory databases to be atomically persistent without having to add any code.

It isn't quite that simple. To start with, you need either a cache line flush or cache line writeback instruction to get you data out to persistent storage. And the Optane DIMMs currently are used in one of two modes: as transparent expansion of DRAM or as separately addressed and managed storage. In the DRAM-like mode, the system's actual DRAM is used as a cache, and the Optane storage does not persist across reboots. In the storage mode, you need extra code to access it, though you can treat it as simply a block device instead of using special-purpose persistent memory programming interfaces.

Re:The Evolution of Disk Storage and an Introduction to NVMe by aseipp on Tuesday April 30, 2019 @01:16PM (#19789884)
You do need code changes for Optane DIMMs, if you treat them as what they are, which is non-volatile memory. That simply requires a new programming model and also a new performance model, since Optane is "almost as fast as RAM" but has other aspects like the fact read/write performance is asymmetric and the bandwidth specs are different from both DRAM and NVMe.

Intel's PMDK for example gives you the ability to have transactions for committing changes to "memory", "fat pointers" that can be persisted and reloaded (even at different addresses) later on, etc. Under the hood the library is "just" writing the bits out and managing the cache line flushes or whatever, but you can now build these other abstractions on top, which changes how you think about your design.

You can also treat the DIMMs as a DRAM cache, or "just" as an ordinary block device, with possible filesystem-specific optimizations to greatly boost the performance (DAX, or systems like NOVA which are geared directly for persistent memory). Those modes need no code changes at all, and I imagine will be useful for many systems, even after people start developing and designing systems directly around Optane.

Re:The Evolution of Disk Storage and an Introduction to NVMe by paulmd on Tuesday April 30, 2019 @01:40PM (#19790123)
It is actually significantly faster than traditional flash-based (NVMe/SATA) SSDs for consumer workloads because flash performance falls off drastically at low queue-depths, and almost all consumer workloads have low queue-depths.

A lot of consumer applications are not really optimized around super-fast SSD storage in general. You end up with CPU bottlenecks initializing stuff and so on. So in many cases Optane is not noticeably faster than NVMe because the bottleneck moves to the CPU instead of the SSD.

The real problem is price, of course. I'd gladly replace all my flash with optane at $100/tb, but it's also an order of magnitude more expensive. Not sure if that's just an issue of economies of scale not being there or what, but I got a good deal on a 280 GB 900P (about $200) and that's enough super-fast storage for the things that really matter to me. I use 1 TB EX920s for the rest.

Re:The Evolution of Disk Storage and an Introduction to NVMe by Rafuino on Tuesday April 30, 2019 @05:59PM (#19792440)
What do you use the 280GB 900P for in front of your 1TB drives? You're right the bottleneck is often somewhere else in the system once you have modern SSDs. The 280GB 900P is ~$0.89/GB [1] and 1TB EX920 is ~$0.15/GB [2] these days, so the cost delta is not an order of magnitude (i.e. >10x).

What's funny to me is that the first consumer flash SSDs Intel released were just over 10 years ago, and they were ~$7.44/GB with only 80GB capacities [3]. Things change quickly, eh?

[1] https://www.newegg.com/Product/Product.aspx?item=N82E1682016...

[2] https://www.newegg.com/Product/Product.aspx?Item=N82E1682032...

[3] https://www.tomshardware.com/reviews/Intel-x25-m-SSD,2012-15...

Re:The Evolution of Disk Storage and an Introduction to NVMe by wmf on Tuesday April 30, 2019 @02:23PM (#19790554)
bit-addressable

We now know that it isn't. Optane NVMe drives have a granularity of 512B or 4K (not sure) and Optane DIMMs are 256B with a large read-modify-write penalty.

Re:The Evolution of Disk Storage and an Introduction to NVMe by sithadmin on Tuesday April 30, 2019 @12:13PM (#19789254)
Optane tends to crush the competition in terms of latency and random I/O, and mixed workload benchmarking. Samsung Z-NAND performs just slightly better on sequential I/O.
Re:The Evolution of Disk Storage and an Introduction to NVMe by chapium on Tuesday April 30, 2019 @12:09PM (#19789208)
Why is Optane storage always referred to as "Optane technology" (big announcer voice)?
Re:The Evolution of Disk Storage and an Introduction to NVMe by ip26 on Tuesday April 30, 2019 @01:33PM (#19790055)
They have a big marketing team. "Now with XYZ Technology" is standard marketing for jazzing up something either not actually all that radical, or too technical to explain.
Re:The Evolution of Disk Storage and an Introduction to NVMe by edoo on Tuesday April 30, 2019 @12:10PM (#19789217)
I use LVM and have enough storage that all SSD would be a little expensive so for the last few years I've been using the block caching LVM feature with mirrored NVME drives as a writeback cache to my large HDD array. It greatly increases the performance of the storage with little hassle.

If haven't played with gluster for a few years but it has a tiered storage feature so the most recently used files actually get moved onto the high speed storage medium, which depending on your workloads might be even better, assuming gluster is now performent and stable enough.

Re:The Evolution of Disk Storage and an Introduction to NVMe by ntw1103 on Thursday May 02, 2019 @08:00AM (#19806904)
I recently upgraded my laptop to a Thinkpad T470s, which supports M.2 NVMe, and M.2 Sata. I upgraded from a 500gb NVMe drive to a 1TB M.2 sata drive. Why do I say upgraded if it is slower? Well, in a laptop, power usage is hugely important, as is heat. To prevent throttling on the CPU, less heat is better. I did a lot of research, and found that the sata based M.2 drives consume less power, and generate less heat. For my purposes the sata speed is sufficient. :)
Re:The Evolution of Disk Storage and an Introduction to NVMe by brianpaul on Tuesday April 30, 2019 @12:53PM (#19789623)
FWIW, I believe Cray had an SSD option for the X-MP back in the early 80s.
Re:The Evolution of Disk Storage and an Introduction to NVMe by wolf550e on Tuesday April 30, 2019 @02:47PM (#19790742)
From the brochure, it had a few million of 64-bit words worth of RAM that was used as regular RAM ("central memory") and a lot more of ECC DRAM that was used as fast storage ("SSD"). What was the API for the SSD? Was it mapped into virtual memory as RAM, or did the ISA have I/O in,out opcodes for it with word address, or did it use the API for disk storage, or what?
Re:The Evolution of Disk Storage and an Introduction to NVMe by mechagodzilla on Tuesday April 30, 2019 @03:53PM (#19791294)
Even the Cray-1S supported it! I believe it was connected via a 128-bit wide bus operating at the system clock speed (80 MHz in the case of the Cray-1), which made it a ~10 gbit interface. From a low-level software perspective, it was connected to a pair of DMA "channels" (1 input / 1 output), and there were instructions to do bulk copies from SRAM->CHANNEL or CHANNEL->SRAM. It may have used another slower channel pair as a command interface, but I'm not sure (nor how COS or UNICOS exposed it from a higher level software perspective).
Re:The Evolution of Disk Storage and an Introduction to NVMe by theideaofcoffee on Tuesday April 30, 2019 @02:20PM (#19790532)
They sure did! It came in 256-, 512- and 1024-MB flavors, if i recall, in its own cabinet off to the side at a blazing 1000MB/s.

I don’t have a hunk of the SSD, but I have a (30lb) board of the central memory perched against my desk right now.

Re:The Evolution of Disk Storage and an Introduction to NVMe by sliken on Tuesday April 30, 2019 @11:09PM (#19794206)
Register latency is usually around 4ns (2.5-3.5 Ghz with a pipeline depth of 12-16). The article claims main memory latency is 7x more, which is around 24ns to 45ns. I tried to come up with plausible numbers that fix the 7x ratio they mention.

These days main memory latencies are more around 70-80ns (single sockets) and 80-100 ns (dual sockets).

Being off by so much does make me wonder about the accuracy of the rest of the article.

Re:The Evolution of Disk Storage and an Introduction to NVMe by 3xblah on Tuesday April 30, 2019 @10:14AM (#19788076)
Will the expression "spin up" ever fall out of usage?
Re:The Evolution of Disk Storage and an Introduction to NVMe by tyingq on Tuesday April 30, 2019 @11:12AM (#19788642)
It was in wide use for jet and turbine engines, centrifuges, gyroscopes, etc, before disk drives. I don't think it will fade away.
Re:The Evolution of Disk Storage and an Introduction to NVMe by bluedino on Tuesday April 30, 2019 @10:34AM (#19788252)
We 'spin up' virtual machines or instances now
Re:The Evolution of Disk Storage and an Introduction to NVMe by NullPrefix on Tuesday April 30, 2019 @06:43PM (#19792733)
Because once you hit the launch button your mouse cursors starts spinning.
Re:The Evolution of Disk Storage and an Introduction to NVMe by modzu on Tuesday April 30, 2019 @10:33AM (#19788235)
language is symbolic so there doesn't have to be a literal connection between the reference and referent. for example you still "boot" a computer, which comes from the concept of "bootstrapping", ie, pulling oneself up by the straps of their boots. no boots are involved.
Re:The Evolution of Disk Storage and an Introduction to NVMe by NikolaeVarius on Tuesday April 30, 2019 @10:16AM (#19788101)
Doubt it, though I don't think that I've used it in the context of SDD's recently since latency is that low.

I think colloquially, it's pretty much understood to mean "time between turning on and being useful"

Re:The Evolution of Disk Storage and an Introduction to NVMe by niccl on Tuesday April 30, 2019 @05:03PM (#19791902)
At least one of the D's in the acronym usually means Disk, and there isn't a disk in many of these. Will that ever go, do you think?
Re:The Evolution of Disk Storage and an Introduction to NVMe by jyrkesh on Tuesday April 30, 2019 @10:59AM (#19788515)
Contrary to what others said, it will likely fall out of favor the way the floppy icon faded for "Save" functionality in GUIs. It's everywhere until one day you realize you can't find it in any of the apps you use every day.
Re:The Evolution of Disk Storage and an Introduction to NVMe by vbezhenar on Tuesday April 30, 2019 @11:18AM (#19788701)
Latest Word: it's there; paint brush: check; paint.net: check; editpad: floppy. Even Intellij Idea uses floppy. Actually from a quick glance I did not find a single application which did not use floppy icon as a save pictogram.

May be it's Mac world? Apple is eager to forget old ways.

Re:The Evolution of Disk Storage and an Introduction to NVMe by SketchySeaBeast on Tuesday April 30, 2019 @11:02AM (#19788545)
Doing a quick survey of the apps on my machine, it seems like most have just forgone the button altogether. For those that still have the button, the floppy icon seems to still be there.
Re:The Evolution of Disk Storage and an Introduction to NVMe by Cthulhu_ on Tuesday April 30, 2019 @11:06AM (#19788582)
Yeah, purely from memory here but it's not that the save icon went out of fashion, but the concept of an icon bar or ribbon has gone; Microsoft's current UI standard for their native apps still has a ribbon IIRC, but I feel like that's one of the last vestiges. Using real world analogies went out the window after skeuomorphic design was no longer a thing too.

Oddly enough, for me I had trouble adjusting to the 'folder' icon (or referring to folders as folders), we grew up with the term "directory" and I never had an association with anything physical with that.