And Here I Thought buildworld/makeworld Was IO Bound

Andrew J. Caines A.J.Caines at halplant.com
Tue Feb 11 22:05:15 UTC 2014


On 02/11/2014 01:50 PM, Tim Daneliuk wrote:
> 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?

I've been using a mfs for /usr/obj and WRKDIRPREFIX for ports for years.

md  /usr/obj   mfs  rw,async,noatime,noauto,-s6g  0  0
md  /var/work  mfs  rw,async,noatime,noauto,-s2g  0  0

Makes cleanup quick and easy, too.


-- 
-Andrew J. Caines-   Unix Systems Engineer   A.J.Caines at halplant.com
FreeBSD/Linux/Solaris, Web/Mail/Proxy/...   http://halplant.com:2001/
  "Machines take me by surprise with great frequency" - Alan Turing


More information about the freebsd-stable mailing list