O'Reilly logo

Solaris™ Operating Environment Boot Camp by Dominic Butler, David Rhodes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Swapping and Paging

To understand swap, we'll look at it in relation to the rest of the memory management mechanism system (i.e., virtual memory and paging). The reason for this is that they are all tied to each other quite tightly.

Solaris uses a virtual memory model that is made up from the total amount of physical memory installed on the system and the amount of swap space that has been defined. For example, if we had 4 GB of physical memory and created a swap area of 10 GB, this would provide us with 14 GB of virtual memory.

Paging

Whenever a program runs it is first allocated an amount of memory. The program code is split into chunks by the kernel; each of these is known as a “page.” The kernel also loads a few of these pages into the memory ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required