From owner-freebsd-ports@freebsd.org Mon Dec 31 22:03:05 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E272141B88C for ; Mon, 31 Dec 2018 22:03:05 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Received: from mail1.protonmail.ch (mail1.protonmail.ch [185.70.40.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.protonmail.ch", Issuer "QuoVadis Global SSL ICA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C936487024 for ; Mon, 31 Dec 2018 22:03:04 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Date: Mon, 31 Dec 2018 22:02:55 +0000 To: FreeBSD Ports From: Lorenzo Salvadore Reply-To: Lorenzo Salvadore Subject: Re: Poudriere very slow when building in i386 jails Message-ID: <0IcOmQLiDHIXsW_vzCi2RBHRHl8vWpGQn9M_G6T-wm4OZKWWij8JkKol9780Ou45l4ycEqeecG-DGRL73St2EF_MmSz5rc_PL-cN_ODQ4E8=@protonmail.ch> In-Reply-To: <20181231211516.GJ84895@home.opsec.eu> References: <20181231195011.GI84895@home.opsec.eu> <20181231211516.GJ84895@home.opsec.eu> Feedback-ID: X6az_D2smWSR8MT5MHqXnWF0upxehDyHia7Id1cbayHNBUkRu3CIeusDsZHiivIIjmaKB1_OofpALrRUYjNz3w==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Rspamd-Queue-Id: C936487024 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 22:03:05 -0000 > 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 syste= m 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 =09512 =09# sectorsize =09320072933376=09# mediasize in bytes (298G) =09625142448 =09# mediasize in sectors =094096 =09# stripesize =090 =09# stripeoffset =09620181 =09# Cylinders according to firmware. =0916 =09# Heads according to firmware. =0963 =09# Sectors according to firmware. =09HGST HTS545032A7E680=09# Disk descr. =09TMA45DZG06UX8R=09# Disk ident. =09No =09# TRIM/UNMAP support =095400 =09# Rotation rate in RPM =09Not_Zoned =09# 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.