Re: Swap size proportion

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Fri, 16 Apr 1999 18:11:13 -0400


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/