Re: Swap partation for FC6

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

 



oldman wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gilboa Davara wrote:
  
On Mon, 2007-01-01 at 20:49 +0800, edwardspl@xxxxxxxxxx wrote:
    
Dear All,

I'm thinking the size partition of swap for FC6 :

1, WebMail System ( http://horde.org/imp, use MySQL DB Server )
2, Web, DNS, FTP, Mail /etc.

Please give comment, thanks !

PS : Actual Ram is 1GB.

      
In general, people tend to allocate twice the memory size for swap, or
in your case, 2GB.
-However-, swap should not be treated as "memory" - it should be treated
as "Backup memory repository that should save my server if there's a
-short- server load surge".
If you're  frequently hitting the swap and/or the swap usage >= memory
size, you should seriously consider adding more memory.

- GIlboa


    
I have always had a problem with this "rule of thumb"  The proper amount
of swap depends entirely on how much memory you use, rather than how
much you have.

My system had 256M of memory and I found I often maxed out on swap just
running a browser & mail client and a couple of other progs (I had 512M
swap, under the 2X ram theory)

I recently added 1GB of ram, and now I rarely use any swap! I have seen
in the monitor program  a usage figure of .8%, but since my system is
much more responsive, I don't run that program nearly as often.

Disk memory, being cheap, you should use what you need,  Unless you are
editing Video or (possibly) HUGE Jpegs, Tiffs etc 512M should be more
than plenty. You can always add more, or use a swap file that can grow
with need.

HTH
Scott
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFmUN45mBKdb7VQEcRArf3AJ9c8hYsc5ISL4SQaN3RbjV72zMbEACdGs+g
kvb32GO+V0KDyA3jtZlRqW4=
=w3s7
-----END PGP SIGNATURE-----

  
Due to using php and DB Server within 24 x 7 days...
So, I think the swap size 2GB may be ok !

Edward.

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux