Date: Wed, 29 Mar 2023 11:44:22 +0100 From: void <void@f-m.fm> To: freebsd-arm@freebsd.org Subject: Re: git takes ages after fetching ports in the resolving deltas stage Message-ID: <ZCQWhrpP_NsuDQsb@int21h> In-Reply-To: <ZCPM16j8SD3GnsUn@int21h> References: <ZCPM16j8SD3GnsUn@int21h>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 29, 2023 at 06:29:59AM +0100, void wrote: >Hello arm@, > >Lately I'm finding that git is taking up to 10 minutes in the 'resolving deltas' >stage when fetching ports. > >I'm thinking maybe the git parameters I'm using are suboptimal. Mentioning this >here because the time taken is really apparent on relatively slow hardware >like the rpi4. This machine uses 'git -C /usr/ports fetch --ff-only -q' to >refresh the local ports tree. Should it be using something else? > >The ports tree was initially fetched with >'git clone ssh://anonssh@git.freebsd.org/ports.git' Some figures: rpi4b on stable/13-n254900-a836dce6d085 8GB ram, dev.cpu.0.freq: 2100 /tmp is a tmpfs. usb3-connected hd, zfs updating ports tree with git -C /usr/ports pull --ff-only git pull --ff-only started on Wed Mar 29 10:56:06 BST 2023 git pull --ff-only completed on Wed Mar 29 11:01:17 BST 2023 git in state of 'uwait' in top [00:01:04] Inspecting ports tree for modifications to git checkout... most of the time in uwait, then zio->i [00:08:59] Ports top-level git hash: 5f32c6225 so, 7 mins 55s from poudriere starting inspecting the ports tree to completing it. Is this expected? have only noticed the delay recently. --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZCQWhrpP_NsuDQsb>