Re: www/chromium will not build on a host w/ 8 CPU and 16G mem
Date: Fri, 18 Aug 2023 06:05:41 UTC
El día miércoles, agosto 16, 2023 a las 03:34:03p. m. +0200, Matthias Apitz escribió: > Thanks for all the hints I got so far. I started already the build with > MAKE_JOBS_UNSAFE=yes. It's running now for some 8 hours and has built > 32% (as the log says). So it will need some 16 hours more... After 1,5 days I stopped this again and set the following kernel values. With these the port www/chromium build fine in 14:27 hours and without any swap/page problems. #!/bin/sh # # kernel values to apply for running poudriere on my build host # Dell R210 with 8x 3.30GHz CPU and 15.8 GB memory; applied and # tested for building the port www/chromium (build time 14:27h) # # values found in: # https://lists.freebsd.org/archives/freebsd-questions/2022-February/000666.html# publishes by tech-lists <tech-lists_at_zyxst.net> in reply to # Kevin Oberman <rkoberman_at_gmail.com>, see full thread there; # # August, 2023 sysctl vfs.read_max=128 sysctl vfs.aio.max_buf_aio=8192 sysctl vfs.aio.max_aio_queue_per_proc=65536 sysctl vfs.aio.max_aio_per_proc=8192 sysctl vfs.aio.max_aio_queue=65536 sysctl vm.pageout_oom_seq=120 sysctl vm.pfault_oom_attempts=-1 # the default values are: # # vfs.read_max: 64 # vfs.aio.max_buf_aio: 16 # vfs.aio.max_aio_queue_per_proc: 256 # vfs.aio.max_aio_per_proc: 32 # vfs.aio.max_aio_queue: 1024 # vm.pageout_oom_seq: 12 # vm.pfault_oom_attempts: 3 -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub