Virtual Memory Flashcards

(20 cards)

1
Q

What is the purpose of virtual memory in Windows?

A

To allow more applications to run than physical RAM alone can support.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the paging file in Windows?

A

A file on the disk drive where inactive data from RAM is moved to free up physical memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does Windows handle running out of physical RAM?

A

It swaps inactive data from RAM to the paging file on the hard drive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What happens when an application that was swapped out becomes active again?

A

Windows swaps it back into physical RAM, possibly swapping out other inactive data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why can’t applications run effectively directly from the paging file?

A

Hard drives transfer data much slower than RAM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is disk thrashing?

A

A condition where the CPU constantly swaps data between RAM and the paging file, slowing down the system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you tell if disk thrashing is happening?

A

Constant hard drive activity and very slow application performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can you fix disk thrashing?

A

Close unnecessary applications or add more physical RAM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Where do you manage virtual memory settings in Windows?

A

Windows Settings > System > About > Advanced System Settings > Performance Settings > Virtual Memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the default settings for virtual memory in Windows?

A

Windows automatically manages the paging file size.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When should you manually set a paging file size?

A

When running memory-intensive applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the general rule for paging file size?

A

Initial size = 1.5× RAM, Maximum size = 3× RAM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is logical segmentation in virtual memory management?

A

Assigning virtual addresses to applications, hiding their physical RAM locations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a page fault?

A

When an application that was paged out needs to be loaded back into RAM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How can moving the paging file improve system performance?

A

By placing it on a separate drive from the system drive or spreading it across multiple drives.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How is the paging file used in system crashes?

A

It can store a memory dump file to help diagnose the crash cause.

17
Q

When moving the paging file, what should you consider?

A

The speed and workload of the drive you move it to.

18
Q

What are key symptoms of a system suffering from inadequate RAM?

A

High disk usage, slow application performance, and poor response time.

19
Q

What happens if the system has very little RAM?

A

The paging file might need to be 2× or more the size of the physical RAM.

20
Q

What happens if a system has lots of RAM installed?

A

A large paging file may not be necessary.