out of swap space??
Thomas Hoberg
tmh at prosun.first.gmd.de
Wed May 8 03:01:03 AEST 1991
In article <455 at jgaltstl.UUCP>, terry at jgaltstl.UUCP (terry linhardt) writes:
|> In article <1991Apr24.123035.4193 at virtech.uucp>, cpcahil at virtech.uucp (Conor P. Cahill) writes:
|> > aed at netcom.COM (Andrew Davidson) writes:
|> >
|> > >HOW BIG SHOULD MY SWAP BE? I have 8megs of ram
|> >
|> > My general rule of thumb is 2x your memory (or 16mb for your system). Of
|> >
|> I've often wondered where the recommendation that 2 - 3x real memory should
|> be made available to swap comes from? Wouldn't this depend upon
|> whether or not the system is swapping at all? For instance, let's
|> say you have 48 meg of memory, and no swapping. Does this mean
|> I should tie up 100 - 150 meg of disk space for swap? Also, isn't
|> there less need for swap space with paging systems?
Nowadays when people talk about swapping, most of the time they really mean
paging. If I had to work with a machine that was swapping X-Servers and Clients,
I'd ask for twice may salary to make up for the mental abuse.
|>
|> I would like to see some thoughts on the validity of these
|> rule-of-thumb recommendations. Not saying they are wrong, but would
|> like to know the justification behind them.
I'd say that the 2-3x ratio is from the old days when the average mini had 1MB
RAM and the disk to memory access ratio wan't quite as bad as it is now. Now if
it comes to the point where running processes steal pages from each others active
sets, you might as well switch it off. Today's rule of thumb is "it depends..."
It depends on the CPU, disk speed, main memory, number of users, types of
applications run, locality of reference, the day of the week and the mood of the
operator. I personally use 100-150% of what I have in main memory for swap space.
I don't make it less, because I want the system dumps to fit onto it. If the
paging is percetible, I add more RAM.
|>
|> --
|> |---------------------------------------------------------------------|
|> | Terry Linhardt The Lafayette Group uunet!jgaltstl!terry |
|> |---------------------------------------------------------------------|
--
----
Thomas M. Hoberg | UUCP: tmh at bigfoot.first.gmd.de or tmh%gmdtub at tub.UUCP
c/o GMD Berlin | ...!unido!tub!gmdtub!tmh (Europe) or
D-1000 Berlin 12 | ...!unido!tub!tmh
Hardenbergplatz 2 | ...!pyramid!tub!tmh (World)
Germany | BITNET: tmh%DB0TUI6.BITNET at DB0TUI11 or
+49-30-254 99 160 | tmh at tub.BITNET
More information about the Comp.unix.sysv386
mailing list