Questions tagged [paging]

Paging is a memory management method. It is also often described as swapping.

When a computer needs to access data from main memory that information needs to be present in main memory. This is not a problem when there is unused memory.

However if the memory is (mostly) full then the OS has a few choices:

  1. Abort with an out of memory message.
  2. Swap out some process (All of it).
  3. Page out single memory pages. These are likely part of an active program but can be reloaded when they are next accessed (either from the volume it was paged out to, or if unchanged, reloaded from disk).

This last process is called paging.

62 questions
22
votes
4 answers

Why does Linux use a swap partition when the kernel supports paging/virtual memory anyway?

As far as I understand paging and swapping, they're completely different concepts. While swapping means, that a process is either completely in physical memory or on the hard drive, with paging parts of a process can be in physical memory and other…
JohnnyFromBF
  • 5,068
9
votes
4 answers

Is DIMM to USB convertor available?

I have a 512MiB DDR2 SODIMM SDRAM lying about, after upgrading my brother's notebook's to 2GiB. Seeing that it is not being used, and it hardly has any value on the market, I'd love it if I can use it for placing page files. Since Windows Vista/7…
syockit
  • 781
7
votes
1 answer

VMWare Player slows down computer after exit

After exiting VMWare player, my main OS (Windows 7) lags and slows down tremendously. The HDD is seeking excessively. I see that the issue is that it's swapping tons of pages rapidly. This lasts for about 5-10 minutes. I followed the instructions…
Jack
  • 3,001
5
votes
1 answer

Swaping, Paging, Segmentation, and Virtual memory on x86 PM architecture

Well, this may seem a common or already asked question but after searching various books, online tutorials and even here on SU, I am still puzzled at how these four beasts work together on a x86 protected mode system. What is the correct terminology…
4
votes
1 answer

windows 7 slow (paging a lot) after closing VMware

I am using Windows 7 with 4GB of memory, and am running VMWare with 2GB of memory. Every time I shutdown the VM, for some stupid (or overly smart) reasons, there is a lot of paging going on, and I simply can't do anything useful for about 3-5…
Lydon Ch
  • 6,289
3
votes
1 answer

Do virtual machines need a paging file?

I have read this, which has confused me a little: Virtual Machines require physical not virtual memory so you do not need to count the memory allocated to your VM's when calculating your paging file size. Does this mean a VM will only use physical…
topcat
  • 258
2
votes
1 answer

Pagefile usage fluctuating with zero paging I/O

I fired up the Performance Monitor and noticed that the % Usage on the 4GB pagefile fluctuates between 4-10% while the computer is sitting "idle." (I calculate that to be approx. ~160-400MB.) Memory usage is sitting steady around 8GB. The system has…
user73728
2
votes
1 answer

How to know the size of page frame used by my OS?

How to know the size of page frame used by my OS ? This could be useful for some optimizations when I code. (Allocate big buffer that fit in a page frame for example). Page frame is determined by the operating system ? Mine is Windows 7 (but…
user17208
  • 23
  • 1
  • 3
2
votes
0 answers

Random freezing caused by khugepaged?

I have a fairly beefy Arch Linux computer, kernel 3.7.7-1-ARCH. However, recently it's been having random freeze ups. Never common, but it'd freeze for a good 15 seconds where no program is responsive. Sometimes the mouse freezes with it and the…
Earlz
  • 4,564
2
votes
0 answers

How big is PATA throughput on original Macbook Air (Rev A)?

I still have one of the original Macbook Air's that I use sometimes. It's got 2Gb of RAM and whenever it's filling up and starts paging, the whole things becomes barely responsive. I've heard SSD's make paging much faster and I'd like to try putting…
dfo
  • 133
2
votes
1 answer

How to make a swappable in-memory block device in Linux without tmpfs?

One can make a ramdisk in Linux by modprobe brd rd_nr=1 rd_size=$SizeInKB (creates uncompressed /dev/ram0) or by modprobe zram && echo $SizeInBytes >| /sys/block/zram0/disksize (creates compressed /dev/zram0). These types of ramdisk are both unable…
Juergen
  • 666
2
votes
2 answers

Why 32-bit Windows can maximum have 16TB Page File?

According to Microsoft, the page file sizes of 64-bit and 32-bit Windows are 256TB and 16TB respectively. In 64-bit, the virtual address looks like this: With 4 levels of 9-bit memory mapping fields and 12-bit offset within page, 64-bit Windows can…
2
votes
3 answers

What is my recommended total paging file size?

I don t know how to set my paging file size. While google says the initial should be 1.5 of my RAM and maximum should be double, Windows says my recommended "total paging size for all drives" is 1939 MB I have 2 GB of RAM and I don t know how…
Hosa
  • 105
2
votes
1 answer

Paging file and swap partition on a Ubuntu/Windows 7 dual boot

I'm planning hard drive partitions for my new laptop and I had a curious idea: Can the same partition be used to house both the paging file (windows) and the swap space (linux)? The reasoning behind the question is that both the paging file and…
Kliyo
  • 21
2
votes
1 answer

Can we decrease page swapping?

Possible Duplicates: Windows Swap (Page File): Enable or Disable? Can we decrease page swapping? My system has a 5GB RAM. And my paging file size is 2GB Even though I have many RAM, page-swapping still occurs. But I don't want to that. I know how…
Benjamin
  • 2,399
1
2 3 4 5