excessive port build time

From: Shane Ambler <FreeBSD_at_ShaneWare.Biz>
Date: Wed, 14 Dec 2022 06:04:14 UTC
Hi,

It has just taken me several hours to build x11/nvidia-driver-470

To be fair, my zpool is over 90% and I was copying several GB of files
as well during most of the build time.

I only state what I saw so someone may think of a way to improve this.

My installworld log shows
>>> Installing everything completed on Wed Dec 14 12:48:49 ACDT 2022

The nvidia build finished at Wed 14 Dec 2022 15:42:43 ACDT

from ps aux I saw these processes starting at

14:08 - sh -c (find -P /usr/lib\011 /usr/local/lib  -type l  -name
libglx.\\*  | xargs echo)

14:47 - sh -c (find /usr/lib\011 /usr/local/lib   -name
libGLX_nvidia.a\\* -or  ...

15:34 - sh -c (find -P /usr/lib\011 /usr/local/lib  -type l  -name
libglx.\\*  | xargs echo)

One thing of note, I have an excessive number of python ports installed,
which appears to account for a large number of files to scan through

find /usr/local/lib/python3.8 -type f | wc -l
  149591

Maybe the lib search can be limited by depth or bypass folders such as
pythonXX/site-packages


-- 
FreeBSD - the place to B...Software Developing

Shane Ambler