Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am aware of the generic concept of swap space (in Linux). Is the same applicable for Solaris (solaris zones) too? Or is the swap concept different in solaris?

Is there any connection between swap space and locked memory?

Can somebody explain this or point me to a link where I can find better explanations. (did googling, but no luck ).

Also, I am not asking commands to allocate swap or locked memory. I am actually trying to understand the concept, so kindly guide me in that way.

share|improve this question
add comment

migrated from stackoverflow.com Jul 21 '10 at 6:55

This question came from our site for professional and enthusiast programmers.

1 Answer

Swap space is basically a way of making your computer appear to have more usable memory than is actually installed. Here is a bit of a description of how it works.

I believe that the swap system in Solaris is the same - at least same enough for our level of understanding, there may be big differences underneath. Here is how to display the swap information on a Solaris system: you will see that the output of swap -l shown gives a list partitions used as swap.

Solaris zones are completely different: they are best thought of as lightweight virtual machines, without all the baggage that normally comes with running a virtual machine.

The idea of locking memory is that you can stop your program's "memory" being swapped out of physical memory and saved to the swap file. Here is a Linuxy page describing it - again I believe that the Solaris idea is the same.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.