Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.
-
LEE Sau Dan #1
Re: Swap partition
>>>>> "Sanglo" == Sanglo Lee <leesl@cbnu.edu> writes:
Sanglo> Today, I installed a redhat 7.3 version on the machine
Sanglo> which has 4giga ram. Do I still need to make a swap
Sanglo> partition?
No. Only machines with insufficient RAM to handle all processes NEED
the swap space. With 4GB of RAM, it's hard to make the system run out
of RAM even if you use KDE/Gnome and editing large photos with GIMP.
However, I'd still 1GB of swap space and use 'tmpfs' for /tmp.
Sanglo> If I disabled a swap partition is it hurt the
Sanglo> performance or gain more speedup?
No, basically. Swap is not there for speed gains. It's there to
handle the situation where the system doesn't have enough RAM to
fulfill the needs of all processes.
Of course, with some swap space, the OS may swap out some inactive
processes to spare out the precious RAM for disk-caching. That can
gain some performance.
--
Lee Sau Dan +Z05biGVm-(Big5) ~{@nJX6X~}(HZ)
E-mail: [email]danlee@informatik.uni-freiburg.de[/email]
Home page: [url]http://www.informatik.uni-freiburg.de/~danlee[/url]
LEE Sau Dan Guest
-
swap 3 or more images
I have an html file (x.html) that has text and a table with an image. In this table there's going to be BACK and NEXT buttons so I can change the... -
I need help with my swap images!
Someone please help. The swap images I created work fine on roll over and the link is working, but once I return to the page with the swap image the... -
Swap image also swap link
Hi, I have a system set up where I have 5 thumbnails and when you roll-over one of the five it makes the large image above change to the... -
Swap Shockwave?
ok what i want to do is swap a shockwave with another using lingo when u click on a thumbnail to the side.. ive tryed using url, and also swaping... -
can 1 linux swap partition be used by 2 distros?
Hi, I was wondering if I install gentoo and debian linux on a computer, can both of them use the same swap partition or do I have to setup 2... -
Rajiv Gangadharan #2
Re: Swap partition
<<No. Only machines with insufficient RAM to handle all processes NEED
the swap space. With 4GB of RAM, it's hard to make the system run out
of RAM even if you use KDE/Gnome and editing large photos with GIMP.
However, I'd still 1GB of swap space and use 'tmpfs' for /tmp.>>
This, running without swap if there is enough RAM is true for OSs like
SunOS. The memory managment for Linux IMHO is as follows, When every a
process is paged out, it is paged out to Swap. Only processes currently
executing is kept in swap. If I dont allocate swap to a machine, then the
processes cannot be swaped out. They will be retained in main memory to the
point that new processes will not be able to start.
Rajiv Gangadharan Guest



Reply With Quote

