Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2022 16:34:14 +1030
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        FreeBSD-ports <freebsd-ports@freebsd.org>
Subject:   excessive port build time
Message-ID:  <0e0408d5-7a70-ef38-4122-dcac70f49733@ShaneWare.Biz>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0e0408d5-7a70-ef38-4122-dcac70f49733>