From: Przemek Klosowski <przemek@rrdjazz.nist.gov>
Subject: Re: bogus swap space rule-of-thumb (was Re: UDB ( adding
Date: Mon, 14 Apr 1997 12:19:50 -0400 [thread overview]
Message-ID: <199704141619.MAA28007@rrdjazz.nist.gov> (raw)
>> For Linux/x86 twice the memsize is recommended for swap. I believe that
>> this is generally assumed to be valid for axp as well, but I doubt if
>> anyone ever investigated this.
>
>The problem with this sort of rule of thumb is that..
You are right of course. BUT, as you said, it's just a "rule of thumb"
Nobody else knows how much memory you are going to need for your purposes.
I wonder if anyone has seen any work being done for Linux to use a
"dynamic" swap of any useful kind? Soem OS's have implemeted this, to
Two comments: first, the disk access is still at most 5MB/sec for many
people, so if you put in 100MB swap, it takes at least 20 seconds to
actually use it (in other words if you truly use it, you are in trouble).
Secondly, it is possible to swap to a file, and turn on swapping on the fly:
dd if=/dev/zero of=/tmp/swapfile bs=1k count=5000 (create a 50MB file)
/sbin/mkswap /tmp/swapfile 5000
/sbin/swapon /tmp/swapfile
It is slower than swapping to a partition, but it's great in a pinch. I now
routinely set up 40MB swap regardless of the memory size (just to avoid getting
in a bind because 2MB of memory was missing), and rely on temp swap for short
term solution, and SIMM swap for long term :^)
przemek klosowski <przemek@nist.gov> (301) 975-6249
NIST Center for Neutron Research (bldg. 235), E111
National Institute of Standards and Technology
Gaithersburg, MD 20899, USA
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-04-14 16:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-14 16:19 Przemek Klosowski [this message]
1997-04-14 17:02 ` bogus swap space rule-of-thumb (was Re: UDB ( adding memory )) Andreas Kostyrka
[not found] <19970413095731.450.qmail@brouhaha.com>
1997-04-13 18:12 ` bogus swap space rule-of-thumb (was Re: UDB ( adding Maurice W. Hilarius
1997-04-13 19:02 ` Michal Jaegermann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox