Poudriere very slow when building in i386 jails

Lorenzo Salvadore phascolarctos at protonmail.ch
Mon Dec 31 22:03:05 UTC 2018


> Hi!
>
> > > > Am I the only poudriere user that notices very long build times on an amd64 machine in i386 jails? This does not happen always, but frequently enough to be a nuisance.
> > >
> > > Can you say more about the rest of the setup ?
> > > Filesystem type ? Type of storage ? Memory size ? Base and jail system version ?
> >
> > Filesystem is ZFS.
> > I don't understand what you mean by "type of storage": can you make an example?
>
> SSD or spinning drives ?
>
> > I have 3.6 Gb of RAM and 2 Gb of swap.
>
> Run top and check the state of ARC.
>
> I think it needs much more RAM.

I don't think it is a SSD (it has cylinders, sectors etc.).
If you can tell me a way to check it I will be glad to do it.
This is the output of diskinfo -v /dev/ada0 in case it answers the question:

/dev/ada0
	512         	# sectorsize
	320072933376	# mediasize in bytes (298G)
	625142448   	# mediasize in sectors
	4096        	# stripesize
	0           	# stripeoffset
	620181      	# Cylinders according to firmware.
	16          	# Heads according to firmware.
	63          	# Sectors according to firmware.
	HGST HTS545032A7E680	# Disk descr.
	TMA45DZG06UX8R	# Disk ident.
	No          	# TRIM/UNMAP support
	5400        	# Rotation rate in RPM
	Not_Zoned   	# Zone Mode

These are are lines of top's header (poudriere is building one of the ports I think
might be problematic):

CPU: 32.8% user,  4.8% nice,  8.3% system,  0.5% interrupt, 53.5% idle
Mem: 1200M Active, 332M Inact, 32M Laundry, 2084M Wired, 187M Free
ARC: 1122M Total, 649M MFU, 323M MRU, 1371K Anon, 16M Header, 133M Other
     401M Compressed, 1064M Uncompressed, 2.65:1 Ratio
Swap: 2048M Total, 210M Used, 1838M Free, 10% Inuse

Lorenzo Salvadore.


More information about the freebsd-ports mailing list