Hi guys,
I keep having issues when upgrading packages directly from either quarterly or the latest repositories. So I decided to try and build ports with poudriere hoping to avoid issues like package fallout and hoping to have a stable experience in which there are no more "surprises" every time I issue "pkg upgrade".
After several days of building I am at my last package (chromium) which has been building for over 24 hours and is at about 70% (by what I can see in the chromium log).
My 16g swap space kept filling up and I had to relaunch the poudriere build command many times. I then disabled TMPFS and the poudriere build stopped failing, swap doesn't fill up any more but, as stated above, chromium alone has been building for over 24 hours (I actually think I might have "hit" a timeout since the Ctrl + T reports build/timeout).
In other threads on this forum I noticed that many report building many packages (chromium, firefox, libreoffice ecc.) in a reasonable amount of time (1 to 2 days) with what seemed to be lower specs than the ones I am currently using: Intel i5-10600, 16g memory, 16g swap, ssd drive. Could you please help me identify what I could do to better the situation? Even 2 days of build time would be acceptable for me but 5 or more days I think would just be too much for me.
I read somewhere on reddit that for TMPFS I should have 10g ram per core, does that mean that since I have 6 cores (12 threads) I should have 60g ram for TMPFS? If I reduce PARALLEL_JOBS to the actual number of physical cores (I think 6 in my case with the i5-10600) would that mean I would need less ram? Since ram is probably the cheapest upgrade I could do, would investing in extra ram (64g) make an important difference? I also read on the forum about someone that reduced the amount of PARALLEL_JOBS and added extra swap space.
Any feedback would be much appreciated. (Sorry in advance if I don't manage to respond in a timely manner since it's not too easy for me during the day. It's currently 1am in italy
).
CPU specs:
Current settings in poudriere.conf:
poudriere bulk command:
I keep having issues when upgrading packages directly from either quarterly or the latest repositories. So I decided to try and build ports with poudriere hoping to avoid issues like package fallout and hoping to have a stable experience in which there are no more "surprises" every time I issue "pkg upgrade".
After several days of building I am at my last package (chromium) which has been building for over 24 hours and is at about 70% (by what I can see in the chromium log).
My 16g swap space kept filling up and I had to relaunch the poudriere build command many times. I then disabled TMPFS and the poudriere build stopped failing, swap doesn't fill up any more but, as stated above, chromium alone has been building for over 24 hours (I actually think I might have "hit" a timeout since the Ctrl + T reports build/timeout).
In other threads on this forum I noticed that many report building many packages (chromium, firefox, libreoffice ecc.) in a reasonable amount of time (1 to 2 days) with what seemed to be lower specs than the ones I am currently using: Intel i5-10600, 16g memory, 16g swap, ssd drive. Could you please help me identify what I could do to better the situation? Even 2 days of build time would be acceptable for me but 5 or more days I think would just be too much for me.
I read somewhere on reddit that for TMPFS I should have 10g ram per core, does that mean that since I have 6 cores (12 threads) I should have 60g ram for TMPFS? If I reduce PARALLEL_JOBS to the actual number of physical cores (I think 6 in my case with the i5-10600) would that mean I would need less ram? Since ram is probably the cheapest upgrade I could do, would investing in extra ram (64g) make an important difference? I also read on the forum about someone that reduced the amount of PARALLEL_JOBS and added extra swap space.
Any feedback would be much appreciated. (Sorry in advance if I don't manage to respond in a timely manner since it's not too easy for me during the day. It's currently 1am in italy

CPU specs:
Code:
aaron@homebsd ~ % sysctl hw.model hw.machine hw.ncpu
hw.model: Intel(R) Core(TM) i5-10600 CPU @ 3.30GHz
hw.machine: amd64
hw.ncpu: 12
aaron@homebsd ~ %
Current settings in poudriere.conf:
Code:
aaron@homebsd ~ % egrep -v '^$|^#' /usr/local/etc/poudriere.conf
ZPOOL=zroot
FREEBSD_HOST=_PROTO_://_CHANGE_THIS_
RESOLV_CONF=/etc/resolv.conf
BASEFS=/usr/local/poudriere
USE_PORTLINT=no
USE_TMPFS=no
DISTFILES_CACHE=/usr/ports/distfiles
CCACHE_DIR=/var/cache/ccache
aaron@homebsd ~ %
poudriere bulk command:
Code:
aaron@homebsd ~ % cat /zroot/poudriere/bulk.sh
poudriere bulk -j 13amd64 -p local -f $1
aaron@homebsd ~ %