Re: newbie: redhat 9.0 very slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Please press enter every 70 chars or so. And please don't top post,
and trim the irrelevant quoted material. It makes it easier for everyone
else. Thanks.]

On 06:39 22 Oct 2003, sam kupar <samkupar@xxxxxxxxxxxxxxxxxx> wrote:
| when u are installing redhat9,u have to select swap size;which is
| recommended to be double the RAM.have u selected 256MB or more of swap
| size.actually i am also having the same configuration as urs and the
| things are at a good speed(with background tasks and downloading etc).

With anything modern you want RAM+swap == the maximum you're ever likely
to run at once (including this that are "up" but idle).

The "twice RAM" is simply a rule of thumb. In an ideal world you would
have more RAM than you need and never swap (well, "never page", but
let's not be picky).  In practice you'll generally have more process
memory in use than RAM available and so the overflow is stored in swap
until needed. You want enough swap to never run out of overflow area,
that's all.

At any one time you have a "working set" - the pages of programs that are
in regular use. If that's bigger than RAM your machine will spend some
time paging (exchanging the less wanted data in memory for immediately
wanted data in swap or from disc files not currently cached) instead
of actually running your programs (because the program will be stalled
waiting for its data to come back from the swap area). If your working
set needs a lot of swap that "some time" will become "a lot of time"
or even "almost all the time", which is called "thrashing".

You can always add more swap later as a "swap file" - see "man swapon".

More swap will not affect your performance at all, neither faster nor
slower. It's simply room to have more programs "up" at a time.

Cheers,
--
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Newtons 4th law:
    For every action there is an equal and opposite beaureaucratic policy.
        - Adrian Tritschler, ajft@xxxxxxxxxxxxx


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux