Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2020 20:17:11 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>
Subject:   Re: svn commit: r356758 - in head/usr.sbin/bsdinstall: . scripts
Message-ID:  <798ef101-c9e5-093b-8a0c-7fd3cb9a07b1@grosbein.net>
In-Reply-To: <20200117125851.GK38096@zxy.spb.ru>
References:  <CAPjTQNHa9Um%2B0S8zMD3eeop3YSdVti0o=DSv5%2BB=455wcrq3VA@mail.gmail.com> <ed0b16af-01c8-62fe-918a-3f1f9f9dcbd8@freebsd.org> <CANCZdfpOw54MQsW4aohLn3ufgEqK8beTe_EdjYktViFubPPyzg@mail.gmail.com> <aea3e071-61bd-399d-1d1f-cce4125b2480@grosbein.net> <CAPyFy2DEC=jhQdxOLjUGs9nr%2B2n733XJfWKjTKYbAY7eubRkRQ@mail.gmail.com> <fe489e0f-f05a-8d85-6ef7-0f3bd7b6f9f4@grosbein.net> <20200117000333.GI38096@zxy.spb.ru> <3b4b4bda-75a3-3019-bc02-ecd6acacd77f@grosbein.net> <20200117112151.GJ38096@zxy.spb.ru> <0f117603-d995-b32d-68fb-36cc319d9b79@grosbein.net> <20200117125851.GK38096@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
17.01.2020 19:58, Slawa Olhovchenkov wrote:

>>>> Considering /usr/ports, /usr/src and /usr/obj and amount of RAM
>>>> needed to keep metadata in ZFS ARC
>>>
>>> /usr/ports, /usr/src and /usr/obj don't need be exist on low-RAM
>>> install -- use poudriere and release build on dedicated build host and
>>> applay binary update.
>>
>> Poudriere itself has its disadvantages. It's heavy and it's unable to produce minimal set of target packages
>> suitable for "pkg install -U *.txz" command without build-only dependencies.
> 
> Can you do it by /usr/ports way? No. And what you point?

I can and I do, with my own scripts.

>> I'd like to stick with poudriere but could not. Its supposed work-style does not worth it.
>>
>> Real Work (TM) sometimes presents the need to apply patches, so
>> /usr/src and /usr/obj may become are unavoidable.
> 
> I am do w/ dedicated builhost, produce custom build of
> base.txz/kernel.txz/kernel.CUSTOM.txz and applay binary updates w/ BE.
> What you point?

The virtual guest is stand-alone including upgrades, does not depend on build host nor its existance.

>> 1GB-RAM UFS system runs just fine with such trees being stand-alone and does not require extra build system and nor its overhead.
> 
> clang very hard to compile in 1GB RAM.

It was fine before clang-[78]. Buy nowadays, yes, I'm forced to use multiple knobs for src.conf

WITHOUT_LLVM_TARGET_ALL=
WITH_LLVM_TARGET_X86=
WITHOUT_CLANG_FULL=

And using WITH_META_MODE not cleaning obj directory.

> Anyway, my 1GB ZFS system run just fine.

During life-time of stable/10 and early stable/11 (and not so-early)
ZFS required hard tuning for 1GB i386 system to be stable because it's KVM-hog.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?798ef101-c9e5-093b-8a0c-7fd3cb9a07b1>