Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
my problem is that i want to use more of the swap space instead of the physical memory...the normal operation is -- first the system uses the physical memory and once all memory is consumed, the swap space is used....i want to somehow change this default behaviour and use the swap more.
is this possible?? and how??
linux isnt like windows where u can config the swap memory and it will uses the window$ c: d: partion's linux creates a swap partion for better access insted the way it works is that when u install linux ,linux creates swap partion that doubles ur memory for example i have 256 physical memory so my swap partion is 500mb so for what i know so far ull have to create the partion's all over agian to make the swap partion bigger unless u have unused space on the hard drive wich in this case u can use parted or fdisk to recreate the swap partion. goodluck
the thing is...i want to make some applications(postfix) use swap instead of physical memory so that this memory can be utilised by other applications that really need fast memory...thats all..is this possible??
Dude - unless you're trying to reduce your system performance to be as slow as possible, you will want to let your RAM handle as much work as possible, and only use the swap as a last resort. As arrruken states, data transfer rates on a hard drive are measured in Megs per second, but in RAM they are measured in Gigs per second. With all due respect, trying to set up your system to use swap as the default memory source simply isn't a good idea.
Keep in mind that swap only comes into play when physical memory is exhausted, and the system needs to swap out the least used pages. Unless your system is operating at maximum capacity at all times, you would want RAM to do the work, not force swap to do it as the default. -- J.W.
If you're getting freaked out because of a memory monitor, don't sweat it. A large portion of your used memory is just cached stuff that's freed up when other programs need it. You shouldn't worry about swap unless you actually see your swap space being used regularly, and in large amounts.
Thanks Brane Ded,I did not understand,but you made it simple for me to understand,I had rebooted after a few day because I thought<dangerous>something was wrong because I was using so much memery,but swap has never been used,if you could explain a little more would be great,thanks david