Re: adding more ram

From: Dan Nelson (dnelson_at_allantgroup.com)
Date: 12/10/03

  • Next message: Mike Silbersack: "Re: adding more ram"
    Date: Wed, 10 Dec 2003 00:38:46 -0600
    To: nbari@unixmexico.com
    
    

    In the last episode (Dec 10), nbari@unixmexico.com said:
    > I have a server with 1GB of RAM and a swap partition of 2GB i will
    > upgrade the memory server to 2GB so my questions are:
    >
    > should i fix the swap partition to have now 4GB of space ?

    Depends. Have you ever used up that 2gb of swap? If not, you'll
    probably never consume 4gb either :) If this is a database server, or
    something similar where a few processes allocate large amounts of
    memory, you don't need much swap anyway, since if any of those
    processes actually has to swap, you end up thrashing the system as it
    tries to swap 500mb processes in and out of memory. I really can't
    think of a system that would still perform well with 2 or 3GB of
    process space in swap. At the 2gb RAM point, you usually have a system
    where any swapping == bad news.

    -- 
    	Dan Nelson
    	dnelson@allantgroup.com
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Mike Silbersack: "Re: adding more ram"

    Relevant Pages

    • Re: Heaps and Foreigners
      ... >> can ask for the memory and get a pointer to it. ... cause unfathomable deaths when swap space gets low or is exhausted. ... It's probably because there is some reserve memory to print out errors ... of RAM and disk space) and virtual swap (which is just a number managed ...
      (comp.lang.lisp)
    • Re: Is Greenspun enough?
      ... Most OSes memory map executables directly from the file system so code doesn't pollute the file cache or swap space. ...
      (comp.lang.lisp)
    • Re: [PATCH] io-controller: Add io group reference handling for request
      ... Find the io group bio belongs to. ... anonymous pages (swap) you still need the page tracking functionality ... so fair to charge the current task for the whole activity. ... is some other memory hungry application which is forcing these swap outs. ...
      (Linux-Kernel)
    • Re: [kde-linux] VM and Swap problems
      ... swap is half full the system starts removing swap until it is exactly ... Maybe one of your applications leak memory (I have a webpage ... to two times RAM. ... Unused memory will be used as disk buffers. ...
      (KDE)
    • Re: Does increasing RAM 512 MB -> 1 GB lead to better performance?
      ... I'm assuming this upgrade will give me better ... All programs I use fit in the memory. ... I hardly need swap space ... didn't count the buffers and cache. ...
      (Debian-User)