From: Matthias Urlichs (urlichs@smurf.sub.org)
Date: 02/14/93


From: urlichs@smurf.sub.org (Matthias Urlichs)
Subject: Re: bug: In kernel or in screen?
Date: 14 Feb 1993 14:11:10 +0100

In comp.os.linux, article <1993Feb14.095312.4591@klaava.Helsinki.FI>,
  wirzeniu@klaava.Helsinki.FI (Lars Wirzenius) writes:
> jbii@HDFS1.acd.com ( John O. Bell II ) writes:
> >Try increasing your swap space to 32 Mb. As a rule, it helps to have twice
> >as much swap space as you have RAM on board.
>
> No it doesn't. Increasing swap space doesn't help a squat if you
> aren't already using all or most of what you already have.
>
> The rule is
> RAM + swap space >= total memory you need at any one time
>
That's the correct rule under Linux. Some other Unix systems behave
differently.

NB: Problem: "ps axu" (the /proc ps) says:
USER PID %CPU %MEM SIZE RSS TT STAT START TIME COMMAND
root 60 0.0 0.0 168 0 ? S 06:19 0:00 (xterm)
root 61 0.0 5.7 296 384 ? S 06:19 0:01 /usr/X386/bin/xterm

which seems to mean that the first xterm is swapped out (or something like
that).

But how do I get it swapped back in? Simply pulling the appropriate xterm
window to the front did nothing. "kill -ALRM" resulted in a TCP packet storm
between the Linux box and my X server; unfortunately I couldn't look at the
IP packets. Fred, when will that NET+Streams rewrite be available? :-/

-- 
Unhappiness is the state which occurs in the human when wants and desires
are not fulfilled.
                        -- Spock, "I, Mudd," stardate 4513.3
-- 
Matthias Urlichs  --  urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de   /(o\
Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- Germany  --  +49-721-9612521     \o)/