Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,878 --> 00:00:06,570
Remember that when a process runs, it
needs CPU time, but it also needs memory.
2
00:00:06,570 --> 00:00:09,818
When processes are run,
they have to take up space in memory, so
3
00:00:09,818 --> 00:00:12,420
that the computer can read and
load them quickly.
4
00:00:12,420 --> 00:00:17,240
However, compared to our hard disk drives,
memory comes in smaller quantities.
5
00:00:17,240 --> 00:00:19,917
So to give us more memory
than we physically have,
6
00:00:19,917 --> 00:00:22,320
we use something called virtual memory.
7
00:00:22,320 --> 00:00:25,874
Virtual memory is the combination
of hard drive space and
8
00:00:25,874 --> 00:00:29,217
RAM that acts like memory
that our processes can use.
9
00:00:29,217 --> 00:00:30,959
When we execute a process,
10
00:00:30,959 --> 00:00:34,458
we take the data of the program
in chunks we call pages.
11
00:00:34,458 --> 00:00:37,720
We store these pages in virtual memory.
12
00:00:37,720 --> 00:00:39,953
If we want to read and
execute these pages,
13
00:00:39,953 --> 00:00:43,040
they have to be sent to physical memory or
RAM.
14
00:00:43,040 --> 00:00:47,470
Why don't we just store the entire program
in RAM so we can execute it quickly?
15
00:00:47,470 --> 00:00:50,167
Well you could,
if it was small enough, but for
16
00:00:50,167 --> 00:00:53,080
large applications it would be wasteful.
17
00:00:53,080 --> 00:00:56,919
Have you ever worked in a word processor
and then gone to a menu don't normally use
18
00:00:56,919 --> 00:00:59,900
and noticed the application
slow down a little?
19
00:00:59,900 --> 00:01:02,660
It's because your computer
had to load the page for
20
00:01:02,660 --> 00:01:05,230
that menu from virtual memory into RAM.
21
00:01:05,230 --> 00:01:08,010
We don't use all the features
of our application at once.
22
00:01:08,010 --> 00:01:10,410
So why load it up at once?
23
00:01:10,410 --> 00:01:13,110
It's similar to cooking
a recipe from a cookbook.
24
00:01:13,110 --> 00:01:16,200
You don't need to read the whole
book just to make one recipe.
25
00:01:16,200 --> 00:01:20,060
You only need to read the pages of
the recipe you're currently using.
26
00:01:20,060 --> 00:01:23,617
When we store our virtual
memory on our hard drive,
27
00:01:23,617 --> 00:01:26,439
we call the allocated space swap space.
28
00:01:26,439 --> 00:01:29,181
When we get into practical
applications of disk partitioning,
29
00:01:29,181 --> 00:01:30,614
we'll allocate space for swap.
30
00:01:30,614 --> 00:01:33,906
The kernel takes care of all of this for
us of course.
31
00:01:33,906 --> 00:01:38,460
It handles the process of taking pages of
data and swapping them between RAM and
32
00:01:38,460 --> 00:01:39,499
virtual memory.
33
00:01:39,499 --> 00:01:42,680
But, the kernel isn't
the only hard worker around.
34
00:01:42,680 --> 00:01:44,968
You've done great getting
through the lessons so far.
35
00:01:44,968 --> 00:01:46,011
Nice work.
3151
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.