TechStuff Classic: TechStuff Goes to RAMing Speed - podcast episode cover

TechStuff Classic: TechStuff Goes to RAMing Speed

Dec 14, 201844 min
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

What is RAM? Why do computers need RAM? How is RAM different from ROM? In this episode, Jonathan and Chris take a closer look at the nuts and bolts of RAM.

Learn more about your ad-choices at https://www.iheartpodcastnetwork.com

See omnystudio.com/listener for privacy information.

Transcript

Speaker 1

Get in touch with technology with tech Stuff from how stuff works dot com. Be there and welcome to tech Stuff. I'm your host job in Strickland. I'm an executive producer and I love all things tech. And today it's time for another classic episode of tech Stuff. We are going all the way back to January second, two thousand twelve, and we're going to learn about random access memory in an episode we called tech Stuff goes to raming speed. Chris Palette and I decided to demystify the concept. How

did we do? Well, let's find out. Today we're gonna be talking about memory, computer memory specifically. Yeah, and uh, well, you had a lot of people request over over the length of tech Stuff. Really the entire time we've been doing this, we have a lot of people ask us to do a podcast about RAM and to kind of talk about what RAM is, why you need it, and what does it do and how does it work? Which is funny because we kept not doing it because we thought we already had it. Turns out not so much.

I did a search for the word RAM in our archives and uh saw a lot of programs but not RAM. And I even search for memory and the only memory thing we've done is we've talked about hard drives, which hard The relationship between hard drives and memory is a close one. It's an important one. And Uh, in fact, if we did not have RAM, if we if we had not developed that, and we were relying solely upon the kind of memory that you would find in a

typical hard drive, you know, the traditional hard drive. UH, computer operations would take much longer than what we're accustomed to. Yeah. As a matter of fact, I can I can actually deliver a personal commentary on that because my very first machine was an Amiga one thousand. Many people have known because I mentioned it several times in the podcast, and that first machine that I had didn't have a hard

drive on it. Um So Commodore's instructions when you first turn the machine on, you would once it it got into boot up mode, you would see a copy of the Kickstart disc. Kickstart basically loaded the operating system uh into RAM, into random access memory, and then once that happened, you could launch your workbench, which is the equivalent of the desktop in what you would see in Windows Linux

or the mac os today. Um So, you know, without that, uh, you know, when I got my first hard drive computer which was an Amigia three thousand UM. It had a forty megabyte. Yeah, you can laugh at that hard drive which would automatically load the kickstart and get everything started up for you. So it worked very much like our machines do now. But um, you know that that was That's one of those things that the hard drive takes

care of that you didn't. That you don't have to do uh now is load your operating system and all that stuff in there. There's also it's also important to note the difference between RAM and ROM. I would say read only memory or rom UM also has a lot of that baked into the chips onto your computer. There are some things that are already in your computer that

are part of the uh um the physical hardware. But and and read only memory uh that memory is at access sequentially rather than at random, which is how random access memory got its name, right, and read only memory, as the name implies, you can only read from that memory. You can't write to it. So in other words, it's unchanging. It is is static. It will always be the way it is unless you were to physically remove the chips and replace them with other chips or other circuitry, it's

always going to be the same way. And there's some devices that only have read only memory because that's all they require, and it's important to have. It's um it's a very useful type of memory. But when you're working on a project, if you only have ROM and not RAM, you would have to burn a new ROM every time you wanted to save something. To this I would be

a real pain. So, for example, if you were to look at the good old video game console market, especially if you were looking at the old cartridge based consoles, the the games, the cartridges you have that you would put plug into your console had ROMs on them. That was the game itself was a ROM. And that's why if you talk about things like the main emulator, and I know that's it's kind of like saying a t M machine, but the emulator for arcade machines UH that

you can run on certain computers. The emulator's job is to to mimic the circuitry that you would find within an arcade machine to run a specific ROM or game. So RAMS are used in devices, and in some cases are are the only thing within that device. There might be some other memory there to do things like keep track of a high score. That's a little different. But but in general, um, you know, there are certain devices that will only have ROM. RAM, however, is very important

for the way we use computers today. Think of RAM as it's a it's a temporary storage fability, yeah, for a computer. Right. So it's where you can temporarily store instructions and data so that your computers processor doesn't have to go hunting through your hard drive system in order to find the relevant information to execute a command. Um. The way I like to think about this is if you're a student, imagine that you have a textbook filled

with facts, will say physics. It's a physics textbook, all right, And you've got a test coming up, and you've created a crib sheet for you to study from, and the crib sheet has bulleted points on it about the major things you're going to be covering in your next physics test. That crib sheet is kind of like RAM in the sense that you can make little notes, you can erase stuff, you can replace things, and it has a good instruction set for you to work from. Now, occasionally you might

come across a problem. Let's say you're working on some homework that's going to prepare you for this test. And you've got your crib sheet in front of you, and you're working on your homework question, and you realize that the information that you need is not on the crib sheet. It's just doesn't go that deep. So you have to go to the textbook to refer to the right section to learn the stuff you need in order to answer

that question. That's kind of like your computer. Your CPU is going to refer back to the memory to see if the information it needs is there, and if it's if the information goes beyond that little memory, if it's something that has to actually access the hard drive, it will go to the hard drive. Same sort of idea. Yeah, And UM, I would just like to note that when I said that ROM could only be access sequentially, that's wrong. I was actually thinking of serial access memory or SAM. Right.

I apologize for that. Yeah, I haven't had enough coffee this morning apparently, But yeah, serial access memory is UH is another form of memory that's not used nearly as often today as it used to be. But back when we had tape drives, UM, you know, you used to have to go all the way through the tape until you got to the part where it had the information you needed letter than accessing it. It's just the same

as if he's had a cassette tape. Right. If you had an old cassette tape with music on it and you wanted to listen to a specific song, you had to fast forward or play through the tape until you got to the song you wanted, and then you could listen to it. You couldn't just jump right to the song.

For our younger listeners, this might seem like a completely foreign concept, but yes, uh, lots of us used to listen to cassette tapes and if you were really lucky, you had like the eight track tapes where your options were even more limited in order to to navigate to the next song. Yes, but ROM doesn't necessarily work that way, so I apologize for that. But random axis memory there, there's certain there are different kinds of it. One of

the most common is dynamic RAM. Yeah, that's that's probably the most versions of that are probably the most common used in computers today. Yeah, and uh, And the way that random axis memory, dynamic random access memory is is arranged is that you can imagine a grid, right, and the columns there are columns, and there are rows, and where these intersect you have memory cells. Now, a memory cell, the most basic memory cell is essentially a transistor and

a capacitor, and the capacitor can hold a charge. If the capacitor is holding a charge, the memory cell is registering as a one. If the capacitor is not holding a charge, it's registering as a zero. The transistor access a switch that allows the various things. It allows the computer to be a to read those particular cells and also to recharge those cells. Because here's the thing about capacitors, they do drain. Yeah, they can hold a charge. There.

They're sort of like a battery, though they are not identical, so don't assume that that's the same thing, but there they fulfill similar functions. Capacitors usually release their energy in a burst as opposed to over a prolonged time. But yeah, the capacitors the the energy drains from the capastors, so they have to be recharged regularly and rapidly in order for them to maintain that charge and hold onto what we call a state, the state of that memory cell.

So the state is either a one or a zero. If it's a one, the computer has to continually send energy to that UH cell in order for it to maintain a one until the memory needs to be written over, in which case it might be a one again or it might be a zero. It all depends on what

the information is. And you've got the like I said, you've got columns and you've got rows, and uh, the way the computer works, it has all these different little UM components to it that will detect what the current state is of all those different memory cells in order to be able to uh to to pull the right information. And in fact, the computer keeps a record of which memory you sell it needs to go to because you can think of the intersection of that column in that

row as an address. Yeah, if you think about it as a piece of graph paper. Yeah, kind of the computer just basically keeps track of, uh, you know, where each item is in that memory. Yeah. If you think of the columns is like things like A, B, C, D, E, F. You know, sort of like think of it kind of like a game of battleship. That's exactly what I was thinking. Yeah,

you got that. You've got the columns that are maybe A through Z, and then you have one through twenty six as the rose and you want to look at a four, well, then you know exactly where to go to to pull up that information. You don't have to you don't have to go through the entire ce quence of memory cells in order to get that information. That's a very simplistic way of saying what is happening with

this dynamic random access memory. One of the disadvantages here, though, is that having to refresh that memory constantly means that you're essentially slowing down the memory. UM, which is you know a problem. It's it's something that that requires a lot of energy. It requires uh that you're constant constantly refreshing it and slows down your memory. Now, um, having more memory and your computer is a good thing. UM. You remember when we talked about thirty two bit and

sixty four bit systems. Um. You know, your your operating system and your computer, depending on how they work together, can address a certain amount of computer memory. UM. And uh you know with if you have if you are not taking advantage of the maximum capacity of memory or at least you know, the as much as your computer

can hold. UM. Not only is it having to uh fit whatever programs you're trying to run on top of the operating system in that amount of memory, it's also dealing with uh constantly having to refresh that memory, so it can really slow your computer down. We're gonna take a quick break to thank our sponsor, and then when we come back more about RAM. Going back to the grid really quickly. The the columns along this grid are called bit lines, the rows are called word lines, and

then the the intersection is the memory cell address. So, UH though, what when you are WIN, when you want to write information or when your computer needs to write information to your RAM in order for the CPU to be able to have access to it to make things run smoothly. First it starts sending electricity through the column area, so through the bitline UM individual bitline, and then the computer sends electricity through the appropriate wordlines the right rose.

So let's say that you you know that you're you're you're activating column D that's the one that's being UM that electricity is running through right now. And you know that Rose five, twelve, and twenty three need to have need to be activated because those memories, the memory cells at those addresses at the intersection of column D UH need to be active in order for the information to be there. The computer sends this information, the transistor allows

the capacity turns to take on that that charge. And then there's a little um sensor actually since amplifier as well, that receives the signal that says this capacitor has has a state of one, and that's what allows the computer. No, you know if it's a one or zero, and collectively all those ones and zeros give it the information it needs. Now, all of this happens in a manner of a few nanoseconds, So don't think like this is taking ages. It's it's it's billions of a second for this stuff. When I

say slow, I would put that in quotes. It's slow, right slow, like the way we feel when we put something in the microwave for a minute and we're thinking, why isn't it done yet? That kind of slow slow as relative. Yes, it's not slow as in you put something in the oven and four days later you've got turkey. Uh the I put an old boot in there. There's

a turkey. That's the way it worked, isn't it. No? Oh, I need to go home after this podcast, but at least I'll have some warm boots Uh yeah, so this this is all taking just nanoseconds for each individual transaction, no seconds the whole thing. So, but it's happening repeatedly until that memory is getting rewritten, and it's happening. You know,

it's changing rapidly because that's the nature of memory. If you're running a lot of different applications, and uh, your memory might be filling up pretty quickly with all this information. That's why the more applications you run, if you're if you're using an older machine and you're running a lot of different applications, you might feel like you're everything's kind

of sluggish. And that's why people will tell you like, oh, well, you need to close some of these applications because it's taking up space in the memory and the CPU is having to work harder to get the information it needs to act to execute your commands. So uh, you know that that's how that all plays in. That's why people say, oh, if you want a computer to go faster, you need more memory, because then you can you can actually run

more applications. That tends to be a very common problem that people run into, right They're like, my computer is so slow, and you look at it and you're like, well, you've got fifteen applications open, and three of them are pretty heavy duty, um, you know, or graphics intensive or whatever, something that's going to require a lot of processing. That would be why it's both processor speed and the amount of memory you have. The two are very much important.

And also when we talk about Moore's law, Moore's law plays into the into memory as well, because dynamic random access memory the nice thing about it is that, well two nice things about is that it's relatively inexpensive, and it's it doesn't take up a lot of physical space when you're designing memory chips. There are other types of random access memory, not just dynamic their static random access memory. And static random access memory uses uh something a logic

construction called a flip flop. Yes, not a standal I was gonna say, you're gonna oven and it comes out as chicken already know that doesn't work. Well, the static random access memory, Um yeah, I mean it one of the benefits of us now flip flops. Actually we uh you go back to the Boolean logic um reference. But basically a static RAM has the benefit of being a lot faster than dynamic RAM. Well, for one thing, what it does. Once it has a state, it will hold

that state until you tell it to change. So it doesn't it doesn't, it doesn't require to be recharged, doesn't have a capacitor that is leaking energy and has to be refilled. So so once you once you set a flip flop to one, it's going to stay a one till you tell it to be a zero. So that sounds great. Why don't we use static RAM instead of dynamic RAM for our you know, main RAM in our computers?

Two reasons. One, it takes up more space, so you end up having problems like especially with things like mobile devices or or laptop computers, you start running into the problem of while you can only fit so much into a four in factor before he gets clunky, right right, you need more transistors for static RAM. Yeah, yeah, four to six for each flip flop. So that's and each

flip flop is is representing one memory cell. So and granted these transistors that we're talking about are on the nanoscale at this point, you know, we're talking about tiny, tiny, tiny transistors. But even so those add up if you need to have the amount of memory that you're accustomed to, so they are they take up more space, and they're

more much more expensive. So static RAM is not something you're gonna find in every single kind of device, although as you know, as the technologies improved, those prices do tend to go down, so we do see more and more of that, but dynamic RAM is still probably I would say the most popular by far. Um. There there's another potential change coming up, a new development that could really uh impact this, which we can get into in

a little bit. Okay, Yeah, I was gonna mention too though, that that's attic RAM can be found in your computer, probably because um, if you've seen a list of computer specifications, perhaps when you're shopping for a new machine and you see the cash referred to, um, your computer's cash is uh probably static ram. Yeah. A lot of CPUs have this built in, uh, A lot of the ones that use multi threading, that have multi core processors. A lot of these CPUs have their own sections of memory built

And it's not it's not your computer's RAM. It's something that's specifically part of the CPU chip set that is there to help make make those those data transfers even faster so that it makes it very efficient and for the the most commonly used commands, uh, those would be stored within the cash. So in that crib sheet example I gave, let's say that you even had a little note card next year, a crib sheet that had the four formulas you're going to use them most frequently in

that physics test, and so you've got those there. Because this way, no matter what you know, you just have to glance at the at the note card like that's that's the formula I need, and you plug it in and you make it, you make it work and whatever. The problem is. Your CPU is really really good at executing operations upon data, but it's stupid in the sense that as soon as it's as soon as it's finished

doing that, it's forgotten. There's no Yeah, it has no memory of its own other than this this cash that we're talking about. A CPU on its the very basic CPU has no memory, so it can do stuff, but as soon as the task is done, it's like a blank slate all over again. That's that's why we have to have memory in order to get this to work. If if the CPU could somehow remember on its own, then you'd have other issues like well, now needed to do something new, So how do you write over what

you had before? Do you just add to it? If you add to it, how long until you reach capacity? And you can't do anything with that CPU other than the stuff that you've already done. So you know, this is why the whole idea of the random actis memory that could be rewritten very quickly was so important because otherwise you limit the functions that your computer is capable

of doing. You know, this computer is great at adding and subtracting and dividing, and after that you can't do anything else because that's I was about to install Pacman, but darn it, I already took up all of its space with these three functions. Well, yeah, so you've got and and we're we're sort of filling out the whole computer.

So you've got your your CPU, and you've got a cash to help it remember stuff that it needs to do basic operations, right, and then you've got your your memory, your RAM, your dynamic RAM that that's over here managing the stuff that you've got going on, your word pressing, your word uh processor uh stuff, and your your graphics program, the stuff that you have brows your browser, your your email program. But you also have UH in your modern computer,

you've got your graphics processor chip. And in a lot of cases, UM, and I'm just hedging my bets here that somebody has some weird computer that doesn't have this also has its own RAM UM to help it pro specifically process graphics. UM. So that RAM in general is off limits to the rest of the machine because it's saying no, no, no no. This memory is specifically to help us render graphics on the screen so that the user can UH see everything that he or she wants

to see from the other programs. So it's not handling programs, it's handling graphics. We have we have seen some processors recently that are able to tap into the graphics processing units as well and be able to to utilize those two process particularly difficult problems or powerful, you know, time consuming problems to try and reduce the amount of time it takes to get through that application. So and in fact,

we're seeing we're seeing both sides, right. We're seeing UH CPU manufacturers get into adding in elements that specifically tackle graphics processing, and we've seen graphics processing unit manufacturers get into handling more basic processing UH functions. So the two worlds have been colliding for probably less well for for quite a quite a while, but really visibly for the

last two years. Yeah, I'm thinking specifically of Apple's Grand Central Technology, one of those things in snow Leopard that people didn't really care about, but it was actually supposed to improve the operating system, but it was mainly thinking of Intel Sandy Bridge, which had its own graphics processing

element added into it. And the thing is that, uh so that so the rule that we were just talking about is is going to be shifting as time goes on, and uh processor manufacturers of all kinds are more sophisticated, the operating systems become more sophisticated and able to take advantage of these changes. Um. But that's kind of the way it works out. And I just wanted to illustrate the fact that RAM can be used to support a number of computer functions. You'll also see it in you know,

all kinds of other devices that use memory. Cameras, um cars, all kinds of technologies that use computer processing that you may or may not necessarily think of as of having computers inside, but you know they have some form of RAM in there. Chris and I have a little bit more to say about random access memory, but before we get to that, let's take another quick break to thank our sponsor. Now, of course RAM has gotten more sophisticated

itself over time too. And you do you want to talk about, uh, some of the older types or do you want to talk about the improvements you were just about to mention? Well, um, I have something leading up into the improvements. If you have, if you have information about older types of memory, I'm more than happy to hear it. I personally did not research that, so I have none of that information in front of me. Okay, alright, well, um,

I have some of it. And really this could probably get kind of dry, um, but basically, you know, as as time has gone on, you've been able to see you were talking about Moore's law, which of course says that the number of transistors on a processor chip will double in Well, originally it was two years, now in half or wait, I'm sorry, that's backwards. If Yeah, it tends to go back and forth. Between twelve months to twenty four months and eighteen to twenty four tends to

be the most frequently cited figures. So depending on any given year, you'll hear. Oh, well, it's one of the things that the Moore's law gets gets validated in retrospect, right, because you have to look back two years ago and look and see how many transistors were found on a CPU, or like we're staying here, a memory circuit. That also can apply. If you can fit twice as many transistors on the memory circuit, then that's another example of Moore's

law holding true. M Um. But yeah, basically, as far as the memory chips have gone, there's been a wave of advances over the last couple of decades in which more and more processors are are added. The way that their accesses has changed. I remember with my Amiga three thousand they used a very unusual type of memory called zips, in which the pins that you use to plug them

in were basically a zig zag. There was a pin on one side, then there was one on the other side, there was one on the other side, you know, and flipped back and forth between them. Only a very few computers used that type of technology. UM. When I got a Mac it used sims UM, which is a single inline memory module. UM. You can actually find quite a bit about the different types of memory on We referred to it in our how ram works article on how stuff Works dot com. But it's on Kingston's website and

it's UM. You know. It talks about the different types. But the single inline modules were an improvement over that the older technology, and then they came out with the dual inline memory modules UM, and they basically it's a little itty bitty card. UM. It's long, UM, but it has a series of chips soldered into it. UM and those are the memory chips, right. And the old days you actually had to install a memory chip directly into

the motherboard. Yeah, this is the this sort of predates the more i would say, the nineties and two thousands computers. This is like the eighties and the old four right. So if you want to upgrade your comp it or it actually meant opening up your computer, man, disconnecting the motherboard and then possibly um, depending on how the memory chip was designed, you might even have to do some soldering. But but get you know, install a new memory chip

so that your computer would have more memory eventually. Improvements included, uh, designing something called a memory bank where you had a port essentially that you could plug in a card that had a certain number of memory chips of a certain capacity, and then as technology improved, you could replace that card with a card that had a greater capacity. Now, keep in mind that your computer CPU would determine how much

memory your computer could actually use. There would you would reach a point where it wouldn't matter if you could buy a card with more memory, your CPU wouldn't be able to access it, and had had limitation on that.

So there were you know you that's why if you were to look at computer specs and see like, you know, upgradeable up to whatever, that's the reason why is that the CPU itself has that limitation and so um you know something, you know, the in America at least, we have this philosophy of more is better, But there's a certain point where, depending on the machine you're using, more isn't going to do you any good because your computer simply cannot use it. Yeah, and that's actually sort of

the source of Jonathan's earlier quote. UM, I mean, just the idea behind it is that you know, there's only so much you can use. Um. DEM's actually had chips on both sides of that uh circuit board, and we're able to handle more memory and more quickly. And you know,

from there we've moved UM move forward. I won't get into to all of it, but we really got into the more advanced types of memory and the two thousands when we got into UM UH, the UM dynamic RAM and that that made things a lot more And basically what they've done is, over the period of time, made the transfer of information more efficient. They've increased the number of transistors and the amount of information that could be stored on a single UH card with the RAM in it.

And it's just it's just done. Some made some insignificant improvements over the past few years. Right. And and memory relies on something called a memory controller. Yes, that's part of what maintains like it determines UH when to write two memory cells. It also helps read the memory cells that it's it's kind of like a manager, right. But it also has to check the memory whenever it's getting information back from memory, has to check it for errors.

And depending on what kind of system you're using, you might have a memory chip with just with a built in error checking technology which is called a parody check. Yes, so checking for parody to make sure that the information

it's it's delivering is accurate. Uh. Um. There are a lot of different ways of doing this, but um one is so we talked about information in in the computer world in terms of bits and bytes, right, and a bite is eight bits, which kind of represent a unit of information, of useful information, because each bit is itself a unit of information, but in order for it to be useful for a computer, we we group them in

groups of eight uh. Standard. Now, though it wasn't when computers first were developed, there were several different competing UM. I guess you could calm standards because they were standard amongst a certain group of computers. But we kind of selled on this whole eight bit is a byte model, and with parody they there's an extra bit added on to the end. And uh that bit is it's kind of a marker, right, Yeah, it's basically used for error checking. Yeah.

So if if the uh, for example, it looks at how many of the bits within that bite are ones versus zeros. So if all of the if there are an odd number of ones in that byte, remember it's eight bits, there's an odd number, the parody bit is set to one. If it's an even number, the parody bit is set to zero. So then when the data is being processed, the totals added up again and it's checked against the parody bit. Now, if that matches, the assumption is that the that byte is correct, it's accurate,

and everything's cool. If it comes up as a conflict, then that's a message to say, dump this information because something has gone wrong. Now, the parody bit does not tell you what the information is. It just is a shorthand way of saying, all right, are there an even number of ones in this byte? Yes, well, then something's gone wrong. It doesn't tell you what the information is or why it's wrong. It just says that's not what I got when I added it up, right, So uh.

And then there's that that's called even parody. That's that particular model. That's just one way of doing it. There's also odd parody, which is kind of the same idea, except you know, if it's an odd number of ones, then it's considered a zero. If it's an even number of ones, it's considered a one. But uh. There's also the error correction code method, which goes a little bit further. This is this is so you've got parody that tells you there's a problem error correction is to try and

step in when there's a problem and fix it. Um. It uses additional bits to monitor the information that the actual information that's in the byte. So um, it's looking at the information itself, not just a summer um. And it uses pretty complicated algorithms to try and head off any problems. So there, you know, this has to be built in because occasionally things go wrong. Sometimes something doesn't trip when it's supposed to trip, and uh, your CPU

doesn't necessarily know that you. CPU is just working on what's given to it. So again, since the CPU can't remember what it did last in its last nanosecond, it's just saying, all right, I gotta execute this particular operation against this particular set of information. It doesn't know or care if it's the correct operation or information set. So you have to have that error correction in there. In some places, it's not always in the memory controller chip.

Sometimes it's part of the CPU. It's it all depends on the architecture of the computer system itself. Yeah. Now, um, it's also important to note um uh that as my uh improvements have changed, the way of of doing this has changed, and of course that probably the the type of RAM that you have in your computer, if you've got a more recent uh computer, is the aversion of the double data rate synchronous d RAM dynamic RAM or U d d R and you know d d R two d d R three um s d RAM. But

that's uh, you know, that's changing. As you were saying, their improvements being made. I know. One of the types of memory that people have been talking about is magnetic RAM, which is supposed to basically give you an instant on uh situation when you turn your computer on, because uh, it can store the information and pull it up immediately and you don't have to worry about a long boot up sequences. The RAM is getting uh populated with information, right. Yeah.

The idea here is to have something, some sort of system in place that can maintain a state without the need for uh the electrical impulse to go through and boot it up. Right. So another potential solution, although this is one that is still being developed, is the memorister. Yes, memoristers, and these are interesting things. Uh, it's kind of difficult,

it's really complicated to to get into detail. But in from a bird's eye perspective, a memorister is an electrical component all right, And if you run current through a memorister in one direction, the electrical resistance increases. If you run current through the opposite way, the resistance decreases. Now once the current stops moving through, the memorister holds onto whatever the last resistance was. So if you ran it through the first way, then the resistance has been stays

at its increased level. If you if you last ran it through the opposite way, then it's going to be at its decreased level. That that's a two bit system, right. You could assign one of those of one and the other one of zero and once you ran through that once uh, it would make it would hold on to

that information. And it takes up much less space than the typical memory transistors do, so it's smaller and it will hold on to whatever the state is until you tell it that you know you want to change by by and you tell it by running the electricity through it one way or versus the other. The computer have to remain plugged in for this to work. No, once you've once you've done it, once you've run the current through, you can turn the current off and the memorister retains

that resistance. So the only thing that has to happen is the computer has to be able to detect what the resistance is of that memorister. So once it detects what the state is, then you've got that information already there. So it could be used in various kinds of processors as well as memory. And because it's smaller, you could at least potentially cram far more memory into a smaller space than what is capable using right now through transistors. So this is this is a potential way to keep

Moore's law going. In fact, if the developments were to progress at a at a good clip, we could almost leap frog quite a bit because the potential is that it would revolutionize UH processing and memory all in a in a a fell swoop, a swell fhoop. Yeah. Now I'm not sure that the board would agree. I'm sure that they say that anything involving resistance, yeah, but yeah, it's it's an interesting idea and it's something that's was first proposed back in nineteen one, and UH and HP

Labs has been working on it diligently. UM and in fact, in two thousand and eight announced that it was developing switching mem risters. So these are these are the sort of technologies that I think are going to become far more important in the near future because again we've talked about this before about how the world is moving to mobile devices literally in some cases, but the mobile devices

are becoming increasingly important. Well, with a mobile device, you have a much more limited amount of space that you have to work within, and so something like a mem rister, which could at least at least in theory, pack much larger punch and a much smaller package. It could create the super super duper smartphones that we all want. Super smartphones are already on the horizon. Okay, well I have secret identities too. Yeah. So so RAM is pretty ubiquitous.

I mean, it's in just about anything that that computes UM. And you know, the technolog G has been fairly standard for several years now, um, you know, with minor improvements over the past decade or so, but you know, with with UH computer scientists working on improvements UH completely different technologies, hopefully they'll be able to improve that because it's it's critical to basically any type of computing that you want or need to do. UM. So it's uh, it's very basic.

I'm glad we we looked at it because it's, uh, it's vastly important to our our daily world these days. It's definitely one of the basic building blocks of of the computing age. I mean, you know, you talk about it's not as it's not as basic as say a transistor, right, it's like a level up, so it's kind of on the molecule scale as opposed to the atomic scale. Right, it relies on transistors, yea, So it's it's a little

more complex than just the basic basic building blocks. But without it, computing would not be nearly as useful as it is because it would take far more time to process operations. And even again, even if you have the fastest CPU, if it can't access memory, then all it's going to do is just be very quick when it needs to to find information on the hard drive, and then it's all dependent upon how fast the hard drive

can deliver the information to the CPU. The memory allows the CPU to skip that step and it just makes

things much faster. Now, another potential memrister thing I should say is that if you designed a hard drive out of memristers, you could in theory have your hard drive act as memory, it would be it would it could, in theory behave in a very similar fashion, which means you could potentially just incorporate RAM directly as part of what the hard drive does, and then you wouldn't need RAM anymore, which also means that you could load stuff up at at a in the blink of an eye

and it would be phenomen at all. Uh. Again, that's a potential that we may come to see one day. It's not something that you're going to see on the market. I don't know else. I haven't gone to see yes yet, so maybe hey, look at the memristor machine. And that wraps up our classic episode about random access memory. I hope you enjoyed it. Always fun to kind of look at the basics of technology, especially with my former co host Chris Palette, who was a true joy to record with.

I hope you guys enjoyed this, this glimpse down memory lane. If you guys have any suggestions for future episodes of tech Stuff, or you just want to reach out and say good job, or maybe you want to ask why can't Chris do this show instead of you? I mean, that will hurt my feelings, but I understand if you want to say that, go visit tech Stuff podcast dot com. That's the website for the show. You'll find all the

different ways to contact me there. And don't forget check out our merchandise store over at t public dot com slash tech Stuff. There to find links to t shirts, tote bags, stickers, all sorts of stuff, all with different tech Stuff designs. We got some cool ones in there. We're adding more all the time. Make sure you check that out and I'll talk to you again really soon for more on this and thousands of other topics. Is that how stuff Works dot com

Transcript source: Provided by creator in RSS feed: download file
For the best experience, listen in Metacast app for iOS or Android