🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fa.netbsd.tech.kern
Article #69

Re: pbulk using tmpfs

#69
From: Taylor R Campbell
Date: Sat, 20 Apr 2013 22:18
20 lines
2500 bytes
   Date: Sat, 20 Apr 2013 23:47:59 +0200 (CEST)
   From: iMil <imil@home.imil.net>

   My question is: how will tmpfs behave? If I mount the WRKOBJDIR
   without any argument, it will "use", if I understand correctly
   the manpage, all of the available memory. Does this mean I will
   end up in a situation were the system memory will be filled by
   the build or is there some kind of smart mechanism within tmpfs
   which will "overflow" somewhere?

If you run out of RAM it will swap file data (although not metadata).
If you want to limit the amount of space in a tmpfs, of course, you
can use the -s option.

I have run pbulk builds on tmpfs on with 32 GB of RAM and 64 GB of
swap, using up to 16 pbulk slaves on the same machine (in separate
chroots), with no problem.  I don't think anything ever swapped,
either -- the amount of swap was an excessive overabundance of
caution.  I probably set a limit of 72 GB or something on the tmpfs in
which I stored the WRKOBJDIR.
Technical Details
Message-ID: <fa.qbJt8BWJHb0rQuduJvUuC025qgM@ifi.uio.no>
Path: arc1-ca.pugleaf.net!p18ni4940wiv.0!nntp.google.com!goblin3!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mail
References: <fa.e83HgwaM2kaCuuUpS6tVoQ1+1Kk@ifi.uio.no>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c6f4,786e9905c90c1180
X-Google-NewGroupId: yes
X-Google-Attributes: gidb7e13b6095,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.180.10.230 with SMTP id l6mr13029973wib.3.1366496335616;
        Sat, 20 Apr 2013 15:18:55 -0700 (PDT)
Path: arc1-ca.pugleaf.net!p18ni4940wiv.0!nntp.google.com!goblin3!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: Taylor R Campbell <campbell+netbsd-tech-kern@mumble.net>
Newsgroups: fa.netbsd.tech.kern
Subject: Re: pbulk using tmpfs
Date: Sat, 20 Apr 2013 22:18:55 UTC
Organization: Internet mailing list
Lines: 20
Sender: tech-kern-owner@NetBSD.org
Message-ID: <fa.qbJt8BWJHb0rQuduJvUuC025qgM@ifi.uio.no>
References: <fa.e83HgwaM2kaCuuUpS6tVoQ1+1Kk@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1366496335 16784 129.240.7.9 (20 Apr 2013 22:18:55 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Sat, 20 Apr 2013 22:18:55 +0000 (UTC)
User-Agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1
Cc: tech-kern@NetBSD.org, tech-pkg@NetBSD.org
To: iMil <imil@home.imil.net>
Delivered-To: tech-kern@NetBSD.org
X-Virus-Scanned: amavisd-new at NetBSD.org
In-reply-to: <alpine.NEB.2.00.1304202332220.19430@korriban.imil.net>
List-Id: tech-kern.NetBSD.org
Original-Date: Sat, 20 Apr 2013 22:18:36 +0000
Original-Message-Id: <20130420221716.93FF8604E9@jupiter.mumble.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit