595 points · by justincormack · 12y ago · 292 comments
"A common analogy for a resistor is a pipe that carries water. The water itself is analogous to electrical charge, the pressure at the input of the pipe is similar to voltage, and the rate of flow of the water through the pipe is like electrical current. Just as with an electrical resistor, the flow of water through the pipe is faster if the pipe is shorter and/or it has a larger diameter. An analogy for a memristor is an interesting kind of pipe that expands or shrinks when water flows through it. If water flows through the pipe in one direction, the diameter of the pipe increases, thus enabling the water to flow faster. If water flows through the pipe in the opposite direction, the diameter of the pipe decreases, thus slowing down the flow of water. If the water pressure is turned off, the pipe will retain it most recent diameter until the water is turned back on. Thus, the pipe does not store water like a bucket (or a capacitor) – it remembers how much water flowed through it."
Source: http://www.hpl.hp.com/news/2008/apr-jun/memristor_faq.html
It is impossible to make an inductor (coil) without resistance and without capacitance. It is impossible to make a capacitor without some inductance and a little bit of leakage. It is impossible to create a resistor that does not have self-inductance or a bit of capacitance.
If you followed all that and you agree with it (because you've done some electronics) or you've heard of 'parasitic capacitors' and such, then you can see that it must somehow follow that parasitic mem-resistance must have been with us all along, but is such a small effect that we simply failed to notice it. No resistors, capacitors or coils that we normally use exhibits this effect in such a way that we adapt our designs to it to minimize it.
That's in part the reason why it took so long to manifest in a usable form, if the effect would be as devastating as resistance on powerlines, as capacitance on wiring, as induction on large capacitors then we'd have exploited it long ago.
So it's going to be something exceedingly subtle when and if it comes to market.
EDIT: on second thought, that's not the case, because the HP memristor is not a memristor in the sense of the of the original paper describing it - it has nothing to do with the magnetic flux. It can only be described with the same set of equations, so, it behaves like a memristor, but is not "actually" a memristor that completes the set [2]. That is, if I understood the video correctly (but I think I did, as the speaker himself talked about a "trick" in the beginning of the video).
[1] https://www.youtube.com/watch?v=bKGhvKyjgLY [2] http://en.wikipedia.org/wiki/Memristor#mediaviewer/File:Two-...
It seemed extremely logical to me when I heard it the first time and like everything else, in retrospect it is blindingly obvious.
I'd hate to see a memristor dropped into a circuit design and being handed the task of 'fixing' spice to produce the correct output. But by the looks of it the usefulness of individual memristors will be quite limited.
I'm not so sure about that. It's impossible to make things without unwanted series/parallel resistances because conductors/insulators aren't perfect. It's impossible to make things without parasitic capacitance because without a perfect insulator, any two points have some capacitance between them - just like how there's also a parasitic gas discharge tube if the electric field between terminals reaches the dielectric breakdown voltage of air (this is another two terminal device, it's just not linear). These are all well-known physical phenomena that we deliberately assume away when we draw simple schematic symbols on paper, and then have to add back in when they end up applying.
Constraining the domain to two-terminal AND passive AND linear devices, one will have a very small number of possibilities for equations that describe them. Good old R/C/L that we know and love, and purportedly "M". But what is THE physical process that M describes and therefore gets made interesting by?
One could create a battery-powered opamp circuit that had two external terminals and fulfilled whatever equation you dreamed up (once again up to the limit of your abstraction, in this case constrained to lower frequencies). But the existence of that equation/device doesn't imply that there has to be a low-level physical phenomenon that will let you directly implement it.
Every time I try to read about memristors, I grok the bits in isolation, but mostly come away confused. C and L have state as well, and would also make great computer memory but for those nasty parasitic effects. From the wikipedia page: researchers everywhere are working on memristors, yet memristance was documented 200 years ago, yet the creator is arguing that the definition applies to phase change ram? I almost feel it's the "Cloud" of device physics research.
If we're going to use 'ordinary' memory devices anyway then the whole exercise is moot.
What exactly drives 'M' is the billion dollar (and probably many billions of dollars) question...
It's more like the cold fusion of semiconductors, but apparently they have something. I'll hold off any judgment until they do their unveiling, but this had better be good and not yet another promise.
Maybe a nit, but I don't believe that is technically correct. Parasitic capacitance (and inductance) exist between any two objects because the electric (and magnetic) field extend from a charge (or current) to infinity. These fields store energy, even in perfect vacuum. The lumped circuit model of stored electric energy is capacitance, the model of stored magnetic energy is inductance so anything physical which carries charge or current will have capacitance or inductance (will store finite energy). An insulating material (dielectric) in a capacitor can increase the energy storage (by the sqrt of the dielectric constant of the material) but non-ideal materials are not necessary for the "parasitic" effect to occur.
http://en.wikipedia.org/wiki/Memristor#mediaviewer/File:Two-...
The scales fell from my eyes. Now the electronics math makes sense - Memristor was the missing puzzle piece.
http://personal.strath.ac.uk/yixiang.xu/talk_HUST_2008_Chen....
edit: Assuming a Force-Current, Velocity-Voltage equivalence, I get the mechanical memristor behavior to be: dx=M.F.dt, with M being a property of the memristor(memdamper?). Or in other words, v=M.F; velocity is proportional to the force. (The dots are multiplication. Asterisks italicize the text)
Then I watched the video posted by achille [1]. If I understood the video correctly, the analogy should specify a fundamental thing: The diameter of the pipe only increases or decreases if the pressure differential is very high. You can make your water flow at low pressure without affecting the diameter in any measurable way. This should make using memristors practically much easier.
At a bottleneck, the water that gets through is moving faster, but the total volume of water going through is lower.
It's a classic EE analogy, so people tend to shorthand it. One good and thorough explanation of the full bit is here: http://science.howstuffworks.com/environmental/energy/questi...
What happens if you increase the pressure in the tank? You probably can guess that this makes more water come out of the hose. The same is true of an electrical system: Increasing the voltage will make more current flow.
Let's say you increase the diameter of the hose and all of the fittings to the tank. You probably guessed that this also makes more water come out of the hose. This is like decreasing the resistance in an electrical system, which increases the current flow.
This is incorrect because the volume of water will be the same under I3 flow (called I-cube flow: Incompressible, Inviscid and Irrotational).
Due to conservation of mass, we have
mass = density x volume = density x area x speed x time
Measuring the amount of volume for the same time with changing area, the only quantity that can change is the speed (recall that we have fixed the time and already assumed incompressible flow, hence density does not change).
So, more area means lower speed and vice versa. But the volume always is the same under stated assumptions.
Not exactly. It increases its speed when you shrink the nozzle. If you shrink the pipe and don't change the supply pressure the water will slow down.
The nozzle is special because it's a transition from high pressure (inside the pipe) to zero pressure (the world outside).
If you keep the flow rate of the water unchanged then shrinking the nozzle means the water must flow faster in order for the flow rate to remain unchanged.
But if the nozzle feeds into a high pressure part of the pipe then things just slow down.
The important part of memristors is that they can be arranged to form a crossbar latch, which acts like a transistor.
This crossbar latches are very very small, and very low power. HP plans on achieving data density of 100GB/cm^2 [1] with read write speeds approximately 100x faster then flash memory while using 1% of the energy. Also with lower energy costs, expected data density is 1 Petabyte per cm^3 (due to 3D stacked circuitry)
Basically when this technology comes of age we'll see smart phones reach the order of terabytes of storage.
Looking forward to carrying the library of congress, netflix's entire catalog, and all of openstreetmap on my phone in the next 5 years.
Some things won't grow, to be sure. Anything text-based, for example. But movies, music, pictures... would probably all explode in fidelity and thus size.
Movies can practically scale up to retina-equivalent on wall-size equivalent only. Even then not many people will want TVs bigger than they can look at without moving their eyes...
Pictures could still grow, especially the internal raw representation taken from the light capturing element, but that's likely to be down-scaled when saving to kill noise.
What else is there that really takes space? (that is not limited by the effective resolution of human senses)
You mean XML for instance?
So it'll take 1x10^4 times as long to copy the capacity.
This explains it well: http://rescomp.stanford.edu/~cheshire/rants/Latency.html?HN_...
Several new non-volatile memory technologies have achieved latency down to 100 picoseconds. This is an order of magnitude faster than the L1 cache on a CPU (SRAM).
CPU power will again becomes the bottleneck, instead of storage. We will have to build completely new CPU architectures to make us of this though.
Those features that are the only things saving modern processors from spending nearly all of their time doing nothing useful while they're waiting for data to be retrieved from main memory.
Look at a Core i7 CPU die, with the L1/L2/L3 cache circled. Understand that many of the remaining transistors are doing things like branch prediction, managing cache coherency, and prefetch and so forth.
http://i.stack.imgur.com/4Z1nU.png
Now imagine that all of those resources could be doing actual processing instead of simply caching gobs of data that already resides in main memory.That would be awesome.
Admittedly, this is not my field, so my fascination may appear to be quite naive to the well-initiated, but I find it simply intriguing that the memristor was first theorized to exist; that is, it is somewhat analogous to the Higgs boson, in that the mathematics precedes the discovery.
To my point (from the paper):
"Although no physical memristor has yet been discovered in the form of a physical device without internal power supply, the circuit-theoretic and quasi-static electromagnetic analyses presented in Sections III and IV make plausible the notion that a memristor device with a monotonically increasing φ-q curve could be invented, if not discovered accidentally."
http://en.wikipedia.org/wiki/Heinrich_Hertz#Electromagnetic_...
Titanium dioxide is better known as white paint pigment. Or sunscreen. People smear it on their skin in large quantities. It's not what you'd call scarce.
This absolutely blows my mind.
Another way of putting this: because of patents, we're in a privileged position of being the only people who are allowed to work on this problem.
So instead of the whole world rushing to make something interesting with this new tech, we get a group of people working in an ivory tower trying to come up with the perfect thing.
If we're lucky, they'll execute well and deliver a compelling product that they have monopoly power over for 10 years, or however long the patents last.
If we're not lucky, they'll bumble around like cable providers trying to develop "valuable add-ons", and the only reason they'll have any success is because no one is allowed to compete with them.
Sorry if that's overly pessimistic, but that's how this article came off to me. I guess patents do have the benefit that we are getting to hear about this development at all instead of it being a tightly-controlled trade secret. And this kind of payoff is what funds the R&D gamble to begin with. I just hope that they actually deliver reusable parts that other people can build into bigger innovations instead of trying to control the innovations themselves.
It's not like Linux / Mac OS X / Windows won't run on a computer with a huge amount of RAM and no "hard disk". Most users won't care if a 100x faster computer runs their existing stuff only 10x faster.
Also I'm not seeing how radically denser/faster storage is going to make search engine or consumer device business models tank.
And patents stack: if HP has a patent on the general idea of memristors (for example), and you get a patent on a particular way of making memristors, then no one including HP can make them your way without licensing your patent as well as HP's patent. (This is different from copyright, where if I write the first Harry Potter story and you write a derivative Harry Potter story, I just own your story.)
The ultimate idea is when you sell something complicated like a car, a share of the money gets divvied up among a bunch of people/companies who contributed to it -- sort of like selling a movie, where royalties get divvied up among a bunch of people/companies who worked on it.
So, R&D incentives: right now HP doesn't have a commercially viable way of using memristors -- they have to invent a bunch of new stuff first. If someone else invents that stuff before HP can, that person/company will share in the megacash that comes from the breakthrough.
The part that is theoretically bad for R&D is that it's literally a gamble to research a particular topic, because whoever makes a particular discovery first wins all the royalties for that discovery. If you think HP's lab is way ahead of everyone else then you might not want to sink a bunch of money into memristors, because they might be about to patent whatever technique you start researching.
On the other hand, this means you ought to sink your research money into a different angle than HP is investigating, rather than just duplicating what they're doing. Your incentive is to find the highest-payoff place to put down your R&D bets, which (we hope) is a net win for everyone.
We talk a lot about the evils of software patents, but mostly that's because the model of "make a car and pay out royalties to people who helped" doesn't seem to translate/scale to software, so the incentive systems break. If you're coming from software you have to be careful translating your intuitions back to hardware, where the incremental-invention/royalty model is more workable.
From what I have read patents disallow others from doing commercial research unless that research falls inside a narrow exception. The exception covers getting regulatory approval for a drug, or for "amusement", but not for other commercial purposes. The exception is specifically disallowed if the research can further the alleged infringer's legitimate business. See: http://en.wikipedia.org/wiki/Research_exemption
> This is different from copyright, where if I write the first Harry Potter story and you write a derivative Harry Potter story, I just own your story.
I am almost certain this is not true:
"Most countries' legal systems seek to protect both [original and derivative] works. They grant authors the right to impede or otherwise control their integrity and the author's commercial interests. Derivatives and their authors benefit in turn from the full protection of copyright without prejudicing the rights of the original work's author." -- http://en.wikipedia.org/wiki/Derivative_work
Isn't that fair since they are the company putting the R&D into it?
"The Machine isn’t on HP’s official roadmap. Fink says it could arrive as early as 2017 or take until the end of the decade. Any delivery date has to be taken with some skepticism given that HP has been hyping the memristor technology for years and failed to meet earlier self-imposed deadlines."
So, does anyone actually know whether significant new progress is being made on this project, or is this article just a win for HP's PR department and nothing more?
After a few years, the subject goes away to die in encyclopedia articles.
If you do not have a viable product after six years, the outlook is bleak ...
"Any delivery date has to be taken with some skepticism given that HP has been hyping the memristor technology for years and failed to meet earlier self-imposed deadlines."
For communicating data between programs, would you create a filesystem object that points to memory inside your program, or what?
Linux already does this. Program code is cached copy-on-write in shared memory. The fact that, say, bash has to be loaded from disk once is pretty much irrelevant. After that, the kernel's just managing pointers.
The logical structure of a filesystem is still a useful abstraction (and has been decoupled from physical constraints for a long time now).
(Yes, you'll still need to memory-map files when we have memristors. They still won't necessarily be contiguous on disk, and they still won't necessarily exist locally.)
I was hoping for a second there that somebody at HP had read about Loper OS and Stanislav Datsovskiy's ideas[1], or even about Symbolics LISP machines (great article on the frontpage today[2]), but nope, looks like they are just gonna repeat the same insanity of the past fifty years instead of actually doing something that will progress the field of computing.
But if that's the case then they'll have to think of ways to do e.g. OS upgrades - where you normally reboot to flush the old code out of RAM.
Or how will you recover if you load a bad driver end experience a blue screen? Normally you reboot to flush the bad state and start again.
Somehow I think you'll need a separate cut down immutable OS alongside the your System so that you can repair things or make updates to the main RAM/Storage space.
Or at least that's how I understand it..?
Just like IBM had at least a few interesting ideas to give Watson credibility, HP hopes its memristor work will give "The Machine" enough credibility that they won't get laughed out of the room once they parade it around the MSM.
HP has been working on the memristor since 2008. Memristors have already been produced in labs by U of Michigan: https://en.wikipedia.org/wiki/Memristor
This article seeks to give the image that this is a novel idea that investors can take advantage of. In reality, it is not.
So imagine the difference in an operating system that could retain its running image between reboots, and not have to distinguish things like stack/heap.
And could reconfigure more computing resources on the fly and back again.
It is... a very different view of computing. Exciting though.
What do you mean by this? This sounds like hibernation to me.
not have to distinguish things like stack/heap
I'm lost here too. This is a distinction that is made for purposes of program structure, not to kotow to demands of hardware.
With this system your ram would be constant. You could pull the plug on your computer any time, and everything would still be there. It would start in the exact same state it was in before the power loss, no data loss, no corruption.
I'm not sure what he means by distinguishing between stack/heap either.
It of course depends on hardware support, but it can be done even today on select platforms.
> http://www.businessweek.com/printer/articles/206401-with-the...
It's interesting to note that the brain does not have separate components for memory and computation. Every neuron computes and stores at the same time.
... and they'd still have to wait for data, knowing that modern apps love pulling data from the network.
What's also awesome is that - according to the article - HP plans on open-sourcing its custom "Machine OS"; rather refreshing coming from a company that's traditionally released its own operating systems under non-free licenses.
I'm not normally a fan of HP (aside from their printers), but seeing them go after this kind of stuff is certainly exciting.
http://www.nature.com/ncomms/journal/v4/n4/abs/ncomms2784.ht... (open access)
The physics is (unsurprisingly) rather involved and I don't have time to decipher it, but, yeah, here's the guts.
So... it's a chip.
The memristor is not a chip, but the 4th fundamental electrical component; the chip is a hybrid memory/storage chip using memristors (instead of platters or capacitors). Because of its nature it demands a pretty thorough reimagining of processing data.
Taking advantage of such systems will not be business as usual, it'll look even more foreign to us than CUDA does to a Javascript developer.
Sure, you can use an interface and use them just like a regular storage device, but until and unless you can get the cost per bit below flash it's not interesting at all.
If that was all memristors could do, it's not even clear that they would be in active development - this is a moon shot by HP (no pun intended).
It's just another type of non-volatile storage.
Memristors, the way they are hyped, promise to be orders of magnitude smaller, faster, cheaper AND less energy consuming than all of the other memories that exist. All at the same time. If time proves this all to be true, it can bring really groundbreaking changes to computing. And we all will be able to watch more funny cat videos, at a greater resolution.
It's actually really encouraging to me that a company could be doing R&D that's not going to have an immediate pay-off. That those with the finances to push technological development are looking beyond the end's of their noses for a change.
This technology has been in R&D for nearly a decade. I figure it pretty mature.
Funny, I read that the exact opposite way. If it was mature we'd be seeing products.
It's great that they decided to make it open from the start.
> Fink has assigned one team to develop the open-source Machine OS, which will assume the availability of a high-speed, constant memory store.
I have to ask: if this is open-source, where is it? Perhaps my google-fu is weak, but I can't find anything but news articles talking about "The Machine".
EDIT: Aha, found mention in some articles that it "will be made" open source. Future tense. That makes more sense.
It's just a resistor with memory. i.e. its R value can be changed by current and remembered. Wouldn't an inductor with memory in the sense that it's L is changed by voltage or current and remembered be a fifth and a capacitor with a C that is changed and remembered be sixth?
Either HP must be lying, physics must be wrong or whomever figured out this "proof" must have screwed up.
So, in theory you can't make one, but in practice you can. Something like that.
Alan Turing would say there is no difference.
The only thing is that I've never heard of fiber optics being used inside a machine, only to connect one machine to another. I imagine the principles are similar, though.
Ten years later it will fit in your pocket.