On Mon, 15 Jan 2018 17:58:09 +0100, Kees Nuyt wrote:
> On Sun, 14 Jan 2018 19:19:01 -0800 (PST), danieljamessmith1979@gmail.com
> wrote:
>
>
>> Hi People.
>>
>> I have disabled the swap on the PI.
>
> That may not be a good idea.
>
> This page explains why:
> https://chrisdown.name/2018/01/02/in-defence-of-swap.html
>
>
Good description. Thanks for posting the link.
FWIW, when my T440 laptop (8GB RAM, 16GB swapspace, 64 bit Fedora 27) is
doing the sort of stuff it usually does, its memory usage must be nearly
the opposite of an RPi in terms od RAM occupied by programs vs cache
space. If I'm compiling C programs the system seems to stabilise with 1GB
of code in memory (compiler, linker, make and editor) and the remaining
7GB used as cache space. Its noticeable that the first compile of the day
is quite slow, the second is somewhat faster, and the 3rd and following
compiles are faster still and all about the same speed.
Assuming that RPi binaries for the same set of programs are about the
same size as as the X-64 ones, that implies that very much less file
caching is available in the RPi, especially in mine, an oldish 512MB
model B and compilation performance tends to support that: the second and
subsequent compiles of the day are a bit faster than the first, but the
significant speed-up shown by the T440 is never seen on the RPi.
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|