Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2021 14:32:36 -0700
From:      Mark Millard via freebsd-ports <freebsd-ports@freebsd.org>
To:        freebsd-ports@freebsd.org
Subject:   FYI: poudriere-devel, USE_TMPFS=all (for example), and tmpfs memory use for inactive builders
Message-ID:  <40A1A502-D8FF-4E41-9D17-62BCD4DDF098@yahoo.com>
References:  <40A1A502-D8FF-4E41-9D17-62BCD4DDF098.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The following is from during a www/chromium build attempt after the
perquisites have built --so only builder 1 is active. (The context
happens to be ZFS in case that matters.)

# df -m | grep "^tmpfs " | sort | more
. . .
tmpfs                                                               =
519369    78 519290     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/08/usr/local
tmpfs                                                               =
519776   486 519290     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/05/usr/local
tmpfs                                                               =
519848   557 519290     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/06/usr/local
tmpfs                                                               =
519866   575 519290     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/09/usr/local
tmpfs                                                               =
519965   675 519290     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/04/usr/local
tmpfs                                                               =
520206   915 519290     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/03/usr/local
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/10
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/11
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/12
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/13
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/14
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/15
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/16
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/17
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/18
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/19
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/20
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/21
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/22
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/23
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/24
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/25
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/26
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/27
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/28
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/29
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/30
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/31
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/32
tmpfs                                                               =
520374  1083 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/ref
tmpfs                                                               =
520379  1088 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/06
tmpfs                                                               =
520379  1088 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/09
tmpfs                                                               =
520380  1089 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/07
tmpfs                                                               =
520384  1093 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/02
tmpfs                                                               =
520386  1095 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/05
tmpfs                                                               =
520388  1097 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/03
tmpfs                                                               =
520396  1105 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/04
tmpfs                                                               =
520638  1347 519290     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/07/usr/local
tmpfs                                                               =
520657  1366 519290     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/02/usr/local
tmpfs                                                               =
521481  2190 519291     0%    =
/usr/local/poudriere/data/.m/main-amd64-default/08
tmpfs                                                               =
523458  4168 519290     1%    =
/usr/local/poudriere/data/.m/main-amd64-default/01/usr/local
tmpfs                                                               =
532255 12964 519291     2%    =
/usr/local/poudriere/data/.m/main-amd64-default/01

It appears that the inactive tmpfs's for the inactive builders and and
their /usr/local/ 's keep memory in use. For example the 2+ GiBytes for
08/ and the long list of 1+ GiByte tmpfs's (smaller than 2 GiBytes in
the above).

Similar sizable totals happen for "wrkdir" being included (but not using
all). (This context had 32 FreeBSD "cpus" and, so, 32 builders.)

Knowing this might help folks set up more reasonable configuration
settings as far as resource management goes. (So would knowing that
various large ports end up with 20+ GiBytes in just their wrkdir .)

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40A1A502-D8FF-4E41-9D17-62BCD4DDF098>