upgrade from up-to-date FreeBSD 11.1-RELEASE-p10 to FreeBSD 11.2-BETA2 takes forever ...
It took several hours ro fetch 45000+ (!) patches, then several hours to install them and now several hours to finish the installation after the reboot ... and this is on a SSD drive ... imagine the same process on CLASS 4 SD card with Raspberry Pi 2 ... ages.
IMHO current 'patches' approach is good for security updates (from p8 to p9 for example) but its not suited for large upgrades like major version change.
IMHO HardenedBSD approach is better here (and magnitudes faster) with fetching the whole new image and merging the differences.
If it would be me I would left current 'patches method' for minor updated (between pX versions) and would import the HardenedBSD 'way' for major upgrades like from 11.1-RELEASE to 11.2-RELEASE.
I can confirm this behaviour. Trying to upgrade from 11.2-RELEASE to 12.0-RELEASE takes around 9 hours on a system with a SD card as disk and a poor network 3G link.
If the network link have issues when the upgrade is in "Fetching xxx patchs", the whole process of upgrade crash and, at that point, it have been started up around 6 hours ago. Starting up it again begins at the beggining, it doesn't have any swich to start when it fails.
The solution recomended by Vermaden looks reasonable.
Phase 2, which i believe is the world update, takes forever... well 2 hours on a 4 month old high end machine. 1GB network.
I don't have time to debug at the moment. I used to be able to run make build-world faster. Did someone add a debug sleep to one of the processes somewhere and forgot to remove?
This is painful.
I did a little more research on an offline machine. The decompression is extremely slow on several files. This seems to be the largest impact on the installation.
still slow in 13.0
Somehow related, I have reported an idea to add freebsd-update and pkg-static autiomation download: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257247 :-)