1 00:00:00,120 --> 00:00:03,160 Speaker 1: Stuff happens, just don't let it happen to your photos, music, 2 00:00:03,200 --> 00:00:06,600 Speaker 1: and documents. Protect your important files with Mosey by e 3 00:00:06,760 --> 00:00:09,840 Speaker 1: m C, the most trusted name and cloud backup. Save 4 00:00:09,920 --> 00:00:12,920 Speaker 1: ten percent today with promo code brain Stuff at Mosey 5 00:00:13,039 --> 00:00:17,000 Speaker 1: dot com. That's m o z Y dot com. Welcome 6 00:00:17,040 --> 00:00:19,880 Speaker 1: to brain Stuff from how Stuff works dot com where 7 00:00:19,920 --> 00:00:25,720 Speaker 1: smart happens him Marshall Brain with today's question, does adding 8 00:00:25,880 --> 00:00:29,360 Speaker 1: RAM to your computer make it faster? Up to a point, 9 00:00:29,480 --> 00:00:33,360 Speaker 1: adding RAM or random access memory will cause your computer 10 00:00:33,440 --> 00:00:37,279 Speaker 1: to feel faster, sometimes a lot faster. RAM is important 11 00:00:37,320 --> 00:00:41,279 Speaker 1: because of an operating system component called the virtual memory manager, 12 00:00:41,479 --> 00:00:44,600 Speaker 1: or the VMM. Here's how it works. When you run 13 00:00:44,600 --> 00:00:47,640 Speaker 1: a program like a word processor or an Internet browser 14 00:00:47,720 --> 00:00:51,519 Speaker 1: on your computer, the microprocessor in your computer pulls a 15 00:00:51,520 --> 00:00:54,360 Speaker 1: file off the hard disk and loads it into RAM. 16 00:00:54,360 --> 00:00:57,080 Speaker 1: In the case of a big program like Microsoft word 17 00:00:57,400 --> 00:01:00,600 Speaker 1: this file is huge and it needs a lot of RAM. 18 00:01:00,640 --> 00:01:03,480 Speaker 1: Then the microprocessor loads in any data files that you 19 00:01:03,480 --> 00:01:06,400 Speaker 1: want to look at as well. So a big application 20 00:01:06,480 --> 00:01:09,360 Speaker 1: could easily take a hundred megabytes of RAM or more, 21 00:01:09,800 --> 00:01:13,600 Speaker 1: and most people normally open several programs at once. Plus 22 00:01:13,640 --> 00:01:17,800 Speaker 1: the operating system itself needs RAM two everything together may 23 00:01:17,880 --> 00:01:21,000 Speaker 1: need more RAM than your machine has. Where does all 24 00:01:21,000 --> 00:01:24,200 Speaker 1: the extra RAM space come from. The extra space is 25 00:01:24,319 --> 00:01:28,160 Speaker 1: created by the virtual Memory manager. The VMM looks at 26 00:01:28,200 --> 00:01:31,120 Speaker 1: the RAM you're using and find sections of it that 27 00:01:31,160 --> 00:01:34,800 Speaker 1: are not currently being used. It puts these sections of 28 00:01:34,880 --> 00:01:37,200 Speaker 1: RAM in a place called the swap file on the 29 00:01:37,240 --> 00:01:40,920 Speaker 1: hard disk. For example, even though I have my email 30 00:01:40,959 --> 00:01:43,600 Speaker 1: program open right now, I haven't looked at email for 31 00:01:43,680 --> 00:01:46,520 Speaker 1: an hour, so the whole thing maybe sitting in a 32 00:01:46,680 --> 00:01:50,320 Speaker 1: swap file on the hard disc. That's called swapping out 33 00:01:50,400 --> 00:01:53,680 Speaker 1: the program. The next time I click on the email program, 34 00:01:53,720 --> 00:01:56,480 Speaker 1: the VMM will swap in all of its bites from 35 00:01:56,480 --> 00:01:59,320 Speaker 1: the hard disk and probably swaps something else out in 36 00:01:59,360 --> 00:02:02,840 Speaker 1: the process. Because the hard disk is slow, the act 37 00:02:02,880 --> 00:02:06,360 Speaker 1: of swapping things in and out causes a noticeable delay, 38 00:02:06,520 --> 00:02:10,120 Speaker 1: sometimes several seconds. If you have a very small amount 39 00:02:10,160 --> 00:02:13,399 Speaker 1: of RAM in your computer, then the VMM is always 40 00:02:13,440 --> 00:02:16,480 Speaker 1: swapping things in and out to get anything done. In 41 00:02:16,520 --> 00:02:19,880 Speaker 1: that case, your computer feels like it's crawling. As you 42 00:02:19,919 --> 00:02:22,200 Speaker 1: add more RAM, you get to a point where you 43 00:02:22,280 --> 00:02:24,640 Speaker 1: only notice the swapping when you need to load a 44 00:02:24,639 --> 00:02:27,560 Speaker 1: new program or change Windows. If you were to put 45 00:02:27,600 --> 00:02:30,640 Speaker 1: four gigabytes of RAM and your computer you would never 46 00:02:30,680 --> 00:02:34,320 Speaker 1: see the VMM swapping anything. That's about as fast as 47 00:02:34,360 --> 00:02:37,280 Speaker 1: things can get. If you then added more RAM, it 48 00:02:37,280 --> 00:02:41,600 Speaker 1: wouldn't have any effect. Some applications like Photoshop or a 49 00:02:41,639 --> 00:02:45,160 Speaker 1: film editing package need tons of RAM to do their job. 50 00:02:45,680 --> 00:02:47,920 Speaker 1: If you run them on a machine with two little RAM, 51 00:02:48,000 --> 00:02:51,600 Speaker 1: they swapped constantly and run very slowly. You can get 52 00:02:51,600 --> 00:02:54,920 Speaker 1: a huge speed boost by adding enough RAM to eliminate 53 00:02:54,960 --> 00:02:58,680 Speaker 1: the swapping. Programs like these may run ten to fifty 54 00:02:58,760 --> 00:03:02,640 Speaker 1: times faster once they have enough rams. Do you have 55 00:03:02,680 --> 00:03:06,400 Speaker 1: any ideas or suggestions for this podcast? If so, please 56 00:03:06,400 --> 00:03:09,120 Speaker 1: send me an email at podcast at how stuff works 57 00:03:09,160 --> 00:03:12,240 Speaker 1: dot com. For more on this and thousands of other topics, 58 00:03:12,280 --> 00:03:17,200 Speaker 1: go to how stuff works dot com. Your photos, music 59 00:03:17,240 --> 00:03:20,520 Speaker 1: and documents are irreplaceable. Protect them with Mosey by e 60 00:03:20,639 --> 00:03:23,560 Speaker 1: m C, the most trusted name and cloud backup. Back 61 00:03:23,639 --> 00:03:26,560 Speaker 1: up your files today and save ten percent with promo code. 62 00:03:26,560 --> 00:03:29,800 Speaker 1: Brain stuff at Mosey dot com m o z y 63 00:03:30,000 --> 00:03:31,000 Speaker 1: dot com