I was reading about paging and swap-space and I'm a little confused about how much space (and where) on the hard-disk is used to page out / swap-out frames. Let's think of the following scenario :
We have a single process which progressively uses newer pages in virtual memory. Each time for a new page, we allocate a frame in physical memory.
But after a while, frames in the physical memory get exhausted and we choose a victim frame to be removed from RAM.
I have the following doubts :
Does the victim frame get swapped out to the swap space or paged out to some different location (apart from swap-space) on the hard-disk?
From what I've seen, swap space is usually around 1-2x size of RAM, so does this mean a process can use only RAM + swap-space amount of memory in total? Or would it be more than that and limited by the size of virtual memory?
I'm a bit confused about PAM and PolKit. As I understand it now, PAM is a suite of libraries for authenticating users while PolKit is a layer of security on top of the DBus. Is that right?
Could someone offer me a high level overview of the differences between them?
Members
Online
191,060 members
189,114 members
23,118 members
177,302 members
181,769 members
178,090 members
67,431 members
51,212 members
186,638 members
17,974 members
GNU/Linux is a free and open source software operating system for computers. The operating system is a collection of the basic instructions that tell the electronic parts of the computer what to do and how to work. Free, Libre and open source software (FLOSS) means that everyone has the freedom to use it, see how it works, and change it.
GNU/Linux is a collaborative effort between the GNU project, formed in 1983 to develop the GNU operating system and the development team of Linux, a kernel. Initially GNU was intended to develop into an operating system of its own, but these plans were shelved somewhere along the way.
Linux is also used without GNU in embedded systems, mobile phones and appliances, often with BusyBox or other such embedded tools.
GNU/Linux Related:
Distributions:
Linux on Mobile:
Movements:
Desktop Environments:
Window Managers:
Learning:
Webcasts:
Creativity:
Other operating systems:
Don't see your community listed? Find or create a subreddit for it, and add it to the wiki when it has over 350 subscribers, and we'll add it to the sidebar.