95 points · by DamnInteresting · 3y ago · 105 comments
Before even the first microcontroller they were doing this!
The 8087 used physically different transistor sizes[0] to read a voltage level that "stored" two bits inside four threshold regions. MLC/TLC/QLC/PLC use a single transistor but charge the gate to a different "analog" voltage that is between 2^n threshold regions - MLC has four (two bits), TLC has eight (three bits), QLC has 16 (four bits), and PLC has 32 (five bits).
[0]: https://www.righto.com/2018/09/two-bits-per-transistor-high-...
But.. you do all the time. pretty much all the time these binary states are calculated from curves, or approximations. The state isn't 1 or 0, its the set of states which make 1 or 0 depending, under error correcting codes, over-sampling, things like manchester encoding.
We're fundamentally imposing binary on a non-binary state, by making deterministic judgement calls about which side of a divide things fall on, but to do that we have to look at analogue qualities.
I like to imagine people who work in VLSI smile at this statement, but at some level its analogue everywhere. It's higher-states which get to act like its binary, but they map to an analogue signal substrate.
2. It appears to not be analog.
>An energy barrier is created at the points where the bridges meet the device contacts, and the height of this barrier can be controlled which changes the electrical resistance of the overall material. That in turn is what encodes the data.
That seems to indicate they can have a base-n encoding where n is what they can practically achieve with the barrier/bridge layering scheme.
Both the audio and video are FM encoded.
(Yea, 30 minutes per side is long for an LP, more like 20-22 minutes is typical, but hey, it's analog. To a point you could increase playing time by deceasing volume.
The most extreme case of this I'm aware of is "90 minutes with Aurthur Felder and the Boston Pops", which what it says it is... the first side alone is a hair over 47 minutes).
We would already have something similar with SSD and many more bits/levels per site if voltages were precise and stable over time and number of overwrites.
An interesting use would be for storing 1-dimensional data. In effect the errors would be minor and not randomized/scattered as it would be for digital encodings.
The data rate from a noisy channel or storage can be derived from Shannon-hartley theorem.
This is why the old analogue phones could only do 56k for example.
I mean... maybe we should?
All radio waves, such as 802.11, are fundamentally analog data. And then they are converted back into digital with incredible QAM-encoding levels. If you think QLC 4-bits per Flash-cell is big, wait till you see 256-QAM (aka: 8-bits per 802.11 timeslice), or more.
I believe I saw some spec for some fiber-optic cable that is 32768-QAM (aka: 15-bits per timeslice).
--------
Then again, Flash (and other memory) are composed of individual cells. True-analog signals like radio-waves are truly analog, so maybe its not quite the same.
But maybe we should think of things like tape or hard-drives as an analog signal. Or maybe not, who knows? I'm not actually a storage specialist so I don't really know. (Nor am I really in communications, lol).
Well-engineered systems have "noise immunity" meaning that the thresholds are well above the noise floor, making the likelihood of an error negligible.
If you hang an oscilloscope probe on a "digital" signal, such as the data lines on a memory chip, it might look like a frightening mess, but so long as the rules are obeyed, data transfer occurs faithfully.
In a true analog medium, there's no way that the receiver can make out precisely what was sent, and two receivers will get different information.
Well-engineered systems also expect noise and compensate with error detection/correction.
Also the article is just describing memristor memory isn't it? Intel's been shipping Optane memristor based memory (which they deny, but others are skeptical of the denial) for years, so clearly I'm missing something.
https://en.wikipedia.org/wiki/3D_XPoint
https://www.theregister.com/2022/07/29/intel_optane_memory_d...
If they can get it to encode binary data more densely than existing systems, with acceptable speed/reliability/cost? Yes, of course they would.
So you can store more information in each memory location resulting in higher density.
Analog isn't really the issue here as there would be some kind of multiplexing/demultiplexing encoding or device to interface with it. It would still be discrete and have defined levels. as the technology advances you may be able to define more levels in the same bandwidth space thus creating "more" storage by greater efficiency of the spectrum.
And, does anyone want more than 0 and 1? If it's faster and has largest capacities, with equally feasible manufacturing, then yes.
I imagine at some point in the abstractions it'll get a compat layer. Also, I could be wrong about MLC NAND but I thought it still stored 0/1 and just had more bits stored per cell through stacking.
So each cell stores either three pieces of binary or one piece of octal. It's the same thing.
I didn't know term had fallen out of popularity.
These things were all the rage up till about 10 years ago. “The 4th fundamental missing electrical circuit component”: resistor, inductor, capacitor, and.. memristor. We were supposed to build hardware neural nets the size of human brains with these things, and get petabytes of storage in unheard-of densities. What happened?
We could have three states - "high voltage", "medium voltage" and "low voltage" - but the advantage of having exactly two is that it makes it harder to mistake one state for another (e.g. if voltage fluctuates within a specific range). If the measurement range for each datum is (0, 100), you can decide that anything below 50 is "low voltage" and anything below 100 is "high voltage". You can also do the same thing with (0,33), <33,66), <66,100), but that requires assuming more precise tools throughout the entire pipeline. When we talk about bits getting flipped (the entire reason that checksums exist in wire protocols), that's the reason: the medium conducting the signal is imprecise, and sometimes the reading is off.
Traditionally, this represents a tradeoff between density and fidelity. If your system has high enough fidelity, you can take advantage of the additional precision and distinguish between more states, representing additional information.
If your system has 8 states (0,8.3), <8.3, 16.6)... etc., you can look at this as an octal system, or you can think of it as a binary system in which a read/write error affects an entire byte, rather than a single bit.
At the end of the day, this is a question of signal processing - binary representation is a convenient abstraction that allows us to understand the way that we're interpreting the signals we're reading, but it's fundamentally an arbitrary choice.
I worked at an embedded startup when SD cards started switching to MLC and we saw a really notable decrease in storage reliability. We ended up sourcing special SD cards that were flashed with embedded controller firmware restoring them to single level cell functionality. Your storage space is divided by 2^n going from n levels of voltage per cell back to SLC, but we saw greatly increased data integrity.
Yes, I'm explaining it with high and low voltage because that's an easy example to wrap your head around if you haven't thought about signal processing or hardware engineering before.
Yes.
> It's none other than planned obsolescence.
What makes you say this?
Even products that are built for a long lifetime of heavy use only sometimes need to drop down to MLC. Most servers and basically any consumer devices are fine with TLC.
Lack of SLC is not making drives die early.
Even on those 4-5 bit devices, the impact on performance tends to be a bigger deal than the impact on endurance. And there's no great push to get people onto those drives. TLC drives get most of the attention.
it's not that bad, it's divided by log2(n).
It’s not arbitrary, it’s an engineering choice. It’s just easier to design binary circuits.
"With the advent of mass-produced binary components for computers, ternary computers have diminished in significance. However, Donald Knuth argues that they will be brought back into development in the future to take advantage of ternary logic's elegance and efficiency."
(Wikpedia article on ternary computer(s), https://en.wikipedia.org/wiki/Ternary_computer, Donald Knuth's observation is found in The Art of Computer Programming.)
You can even expand it to whether a 'neuron' is firing (1) or not (0). What causes the firing does not matter, may it be digital or analog, discrete or continuous.
You want to represent more than two states? Use multiple 1s or 0s, and you can still use the model.
Use something else? Now you have to create your own model where you can map your states and state changes, along with all mathematics associated.
You can no longer compare a USB 'byte' with this new model 'byte'. What even is a 'byte' in your new model? It's like comparing apples and oranges.
It usually all depends on how accurately you can measure your states, often limited by the signal-to-noise ratio. When is a 0 really a 0 (signal) and not a 1 (noise).
A good example is telecommunications, where the data is sent over an electromagnetic wave (analog, continuous). In the past you could only identify between 32 states, but now due to better sensors you can identify 2048 states, increasing your data density by 64x. Same goes for HDD and SD card storage.
What on earth does this mean? Looks like a typically non-random crystal to me:
https://en.wikipedia.org/wiki/Hafnium(IV)_oxide
The actual article is open access, but rather dense:
https://www.science.org/doi/10.1126/sciadv.adg1946
It seems they used amorphous hafnium oxide:
> To create this amorphous nanocomposite, we added Ba to hafnium oxide during the single-step thin film deposition, and because of its simplicity of compositional control, we used pulsed laser deposition (PLD) to deposit the films. The PLD target had a Ba:Hf cation ratio of 1:2, which exceeds the solubility limit of dopants (with large atomic radii) in (crystalline) hafnium oxide, so that the formation of a second (amorphous) phase could be expected (22).
Is that what the article means? Because it also then talks about adding barium on top of this, whereas you don't even get the amorphous phase without barium.
Anyway, the paper also explains the deal with the Barium "bridges", which the authors call columns, fairly clearly (but it's too long to copy here).
Other observations:
- The authors seem to be very proud of producing this device mostly using "industry-compatible" processes, which i think means stuff you could do in a conventional chip fab, and where they don't, they have a story about how they could. This seems to contrast with other experiments in this field where the techniques would be very difficult to export from the lab.
- Switching time seems to be > ~100 ns. Maybe that can be optimised a lot. And i don't know what that translates to in terms of latency at bus level. But that time is ~100x SRAM, ~30x DRAM, ~10x some of these other wacky high-speed storage technologies, but ~1000x less than flash. Could have those numbers highly mixed up, so correct me if i'm wrong.
- There is some chat about "neuromorphic" functionality, where storage works like neurons. I won't go into the details but this sounds like a fad that is probably getting semiconductor researchers nice big grants, and will go absolutely nowhere.
I don't get it.
abs(3-e) < abs(2-e)
This kinda reads like someone who doesn't know how storage works. Storage is rarely encoded as "one and zero" in the form you see it, say, in a hex editor. In fact that's what's it decoded to. Storage schemes vary, to limit run length, add error correction, and in some cases includes analog states like the ones described in the article, to make more efficient use of charge and material state.
This is trivial, because actually the smallest unit you work with in a computer is not a bit, but a byte. And often in fact a word, which is typically 16 bytes (64 bits), or 64 bytes (512 bits) the size of a cache line, or even 4096 bytes, the size of a typical memory page or disk sector. So we have plenty of leeway to comfortably encode these larger units however we wish, and the rest can stay as-is.
It's not enough to make a proof of concept of your MRAM, FRAM, or whatnot. If you want it to catch on you have to also come up with a way to quickly start making say, 16GB modules competitive with modern DDR5.
That's tough.