On Wed, Dec 16, 2015 at 01:01:51PM -0500, Christopher Sean Hilton wrote:
I'm trying to dpb to maintain a small set of packages for a handfull of OpenBSD boxes that I run. These boxes will all be single purpose servers of some type or another. Many of them will run with limited disk space and memory on Soekris hardware. What resources do I want on my dpb/build box to make it fast?
What do you mean by, 'fast'? Our couple of build machines are both fairly standard core i5 boxes with 16 gb of RAM, and Corsair SSDs. The RAM seems to make more difference than anything else, because you can set the work directory to a ramdisk, and do the entire build without touching the disk. I wrote a short paper on tweaking the ports build system here: http://www.gotati.com/papers/customising_openbsd_ports.html
My dpb/build box is a VMWare virtual machine on a host with SSD storage. Tweaking the number of available CPU's, the memory, or the type of storage is relatively simple
It's probably best to experiment and see what works best for your workload. Much depends on the specific ports you are building, whether they will benefit most from RAM or CPU, for example. Also, be aware that some ports have a mass of unnecessary dependencies, and that tweaking this can reduce the build time substantially, especially if you are building the same packages repeatedly for some reason. -- Tati Chevron Perl and FORTRAN specialist. SWABSIT development and migration department. http://www.swabsit.com