lkml.org 
[lkml]   [1999]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Swap size proportion
Date
From
Please set a valid email address.

In message <aBKR2.1816$t56.5221@sunsite.auc.dk>, "none" writes:
+-----
| What are the proportion of swap size for RAM size ?
| ex. I have 128 mb RAM, what are the best size of my partiiion/file swap ?
+--->8

There is no single answer. A very rough first approximation that works well
in many settings is 1.5 * memory size --- but the "best" value depends on
what you're doing with the system and what kind of load it gets. A dedicated
NFS server, for instance, doesn't need much (if any) swap, whereas a database
server with many users can need quite a bit of swap unless the database fits
completely in memory.

--
brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net
system administrator [WAY too many hats] allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering KF8NH
We are Linux. Resistance is an indication that you missed the point.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.086 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site