Re: Rust build huge memory consumption
- In reply to: Matthew Seaman : "Re: Rust build huge memory consumption"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Oct 2023 13:43:35 UTC
I'm building 2200 ports on a Dell PowerEdge r210, 16GB RAM, 34GB swap, 8 CPU; system is 1400094 and ports from git October 14; and I use for rust a single podriere job. The build time was: ... ===> Cleaning for rust-1.72.0 build of lang/rust | rust-1.72.0 ended at Sun Oct 15 03:04:41 CEST 2023 build time: 02:37:44 What really improved my overall building with poudriere (normaly 4 builders) are the following settings before building: # cat sysctls4poudriere.sh 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 With these settings I have no page faults or killed processes anymore. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub