And Here I Thought buildworld/makeworld Was IO Bound

Tim Daneliuk tundra at tundraware.com
Tue Feb 11 18:50:26 UTC 2014


On 02/11/2014 04:04 AM, Tom Evans wrote:
> On Tue, Feb 11, 2014 at 12:13 AM, Tim Daneliuk <tundra at tundraware.com> wrote:
>> On 02/10/2014 09:55 AM, Tom Evans wrote:
>>>
>>> Does poudriere buildworld on tmpfs if you have USE_TMPFS=all? That
>>> might give you an absolute baseline.
>>
>>
>> I'm not exactly sure what you're suggesting here. I think of
>> poudriere as a way to build ports trees rapidly.  Can it
>> also be used to compile arbitrary (non ports) programs?
>
> Poudriere starts by installing a base jail on which it compiles
> packages. If you ask it nicely, it will do so by checking out/updating
> a tree from SVN and compiling it. I was wondering if you had set
> USE_TMPFS=all, whether it would do that build on tmpfs.
>


As an aside here, having nothing to do with poudriere, does buildworld/kernel
even use /tmp or otherwise access tmpfs?   It seems to produce
temporary output somewhere deep in /usr/obj.   Is there a way to
get it to use tmpfs or write it's output to /tmp instead?

-- 
----------------------------------------------------------------------------
Tim Daneliuk     tundra at tundraware.com
PGP Key:         http://www.tundraware.com/PGP/



More information about the freebsd-stable mailing list