🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

pbulk using tmpfs

#66
From: iMil
Date: Sat, 20 Apr 2013 21:48
30 lines
2988 bytes
Hi,

I'm running bulk builds for various archs using pbulk for quite
some time now, and one of the domUs used for this is hosted by
a server with a LSI MPT Fusion Raid controller. In short, that
controller sucks, poor write performances, it is a well known
fact. In order to speed up builds, I would like to know if I
could benefit from tmpfs by mounting the WRKOBJDIR as a tmpfs
directory.

In particular, while most packages will fit into a couple of
megabytes, some of them (firefox, libreoffice, openoffice,
koffice and such) take a couple of gigabytes to get built.

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?

Thanks,

------------------------------------------------------------------
Emile "iMil" Heitor .�. <imil@{home.imil.net,NetBSD.org,gcu.info}>
                                                                 _
               | http://imil.net        | ASCII ribbon campaign ( )
               | http://www.NetBSD.org  |  - against HTML email  X
               | http://gcu.info        |              & vCards / \
Technical Details
Message-ID: <fa.e83HgwaM2kaCuuUpS6tVoQ1+1Kk@ifi.uio.no>
Path: arc1-ca.pugleaf.net!hg5ni4719wib.1!nntp.google.com!goblin2!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c6f4,786e9905c90c1180,start
X-Google-NewGroupId: yes
X-Google-Attributes: gidb7e13b6095,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
X-Received: by 10.180.11.239 with SMTP id t15mr9463640wib.5.1366494508875;
        Sat, 20 Apr 2013 14:48:28 -0700 (PDT)
Path: arc1-ca.pugleaf.net!hg5ni4719wib.1!nntp.google.com!goblin2!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: iMil <imil@home.imil.net>
Newsgroups: fa.netbsd.tech.kern
Subject: pbulk using tmpfs
Date: Sat, 20 Apr 2013 21:48:28 UTC
Organization: Internet mailing list
Lines: 31
Sender: tech-kern-owner@NetBSD.org
Message-ID: <fa.e83HgwaM2kaCuuUpS6tVoQ1+1Kk@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1366494508 14728 129.240.7.9 (20 Apr 2013 21:48:28 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Sat, 20 Apr 2013 21:48:28 +0000 (UTC)
User-Agent: Alpine 2.00 (NEB 1167 2008-08-23)
Cc: tech-pkg@NetBSD.org
To: tech-kern@NetBSD.org
Delivered-To: tech-kern@NetBSD.org
X-Virus-Scanned: amavisd-new at NetBSD.org
Authentication-Results: korriban.imil.net; sender-id=none header.from=imil@home.imil.net; spf=none smtp.mfrom=imil@home.imil.net
X-X-Sender: imil@korriban.imil.net
X-GPG-Fingerprint: 8431 79E4 A08B D1B7 0DC8  0BDF 146D C194 65B2 CD42
X-GPG-URL: http://imil.net/65B2CD42.asc
List-Id: tech-kern.NetBSD.org
Original-Date: Sat, 20 Apr 2013 23:47:59 +0200 (CEST)
Original-Message-Id: <alpine.NEB.2.00.1304202332220.19430@korriban.imil.net>
Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-15
Content-Transfer-Encoding: 8BIT