Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2017 17:29:14 -0500
From:      Mark Linimon <linimon@lonesome.com>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        Grzegorz Junka <list1@gjunka.com>, freebsd-ports@freebsd.org
Subject:   Re: portmaster, portupgrade, etc
Message-ID:  <20171004222914.GA7908@lonesome.com>
In-Reply-To: <20171004212225.GA26638@troutmask.apl.washington.edu>
References:  <20171004161649.GA51883@mail.michaelwlucas.com> <20171004171518.GA22519@troutmask.apl.washington.edu> <CAOjFWZ6Nvuwd6YfnGZoMgMnRY9BkJkYwSw8Cz-_Z_t_AuUOHFA@mail.gmail.com> <20171004181413.GA51148@troutmask.apl.washington.edu> <81df6e05-136a-0037-9dba-a7499b7820da@m5p.com> <20171004194025.GA10412@troutmask.apl.washington.edu> <e05bfb2e-23a1-039e-e63a-7041c9700366@gjunka.com> <20171004212225.GA26638@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Please understand that I'm not trying to be obstinate,
I'm trying to understand.

Background: years ago I managed the cluster of i386 blades
that we used in package building.  933MHz and 512MB IIRC.
So I am familiar with constraint problems.

On Wed, Oct 04, 2017 at 02:22:25PM -0700, Steve Kargl wrote:
> Can't find info on whether jails can be avoided.

I have not checked the code but IIRC, no.  I thought jails
had low memory overhead, though.

> If you only have 1 Gb of memory and 5-10 GB diskspace,
> then using poudriere with zfs and jails is a nonstarter.

For point of comparison, with those constraints, I do not
understand how modern llvms can build at all.

What happens if you use the manual approach on this same
system?  e.g.

  cd /usr/ports/devel/llvm40
  mkdir -p /usr/ports/packages
  make && make package
  pkg install /usr/ports/packages/llvm<whatever>.txz

Do you still run out of resources?

In that case, there's not much that can be done.  The
compilers, the office suites, and certain math packages
are huge beasts.  However you try to build them won't
matter.

I would think having a copy of the llvm workfiles in a jail
is going to be equivalent to having them in /tmp?

I must be missing something.

mcl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171004222914.GA7908>