[cod] Swap Memory

Steven Hartland killing at multiplay.co.uk
Mon Sep 27 12:55:51 EDT 2004


This entirely depends on the OS. Different OS's allocate swap in different ways.
i.e. FreeBSD only allocates swap as it runs out of physical memory where
as Irix allocates as much swap to a process as it does memory.
Hence on our FreeBSD servers we set swap to just 40Mb as if a game server
starts swapping its dead in the water ( lag city ). But if we where running on
Irix we would set to 1.5 * the amount of memory. I don't know for sure how
the current Linux kernels allocate swap tbh so I cant give you a concrete
answer but its easy enough to find out, just on your server and see what
swap is in use. If its minimal i.e. a few Mb at most it is more than likely
using the same model as FreeBSD and its safe to allocate a very minimal
amount of disk as swap. If it closely mirrors the used memory then 1.5 -> 2.5
* the amount of physical memory is usually the mark iirc.

Note: Most OS's will get is a mess if they do run out of memory and swap
so if always keep an eye on this.

    Steve / K
  ----- Original Message ----- 
  From: Jay Vasallo 
  To: cod at icculus.org 
  Sent: Monday, September 27, 2004 7:45 PM
  Subject: [cod] Swap Memory


  Hiy Steve,

  Swap memory. My friend said that  the way we set our installs - we should  keep swap memory off. Can you explain any pros and cons without taking up too much time cause I know these are one of the things that may not be related to these forums..


  Jay Vasallo
  Clanwarz Network
  Office: 1-314-495-4840
  Fax: 1-618-277-3244
  www.clanwarz.net


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster at multiplay.co.uk.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20040927/b64594ad/attachment.htm>


More information about the Cod mailing list