From owner-freebsd-ports@freebsd.org Tue Jan 1 05:30:52 2019 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 1F229148A849 for ; Tue, 1 Jan 2019 05:30:52 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64AC772508 for ; Tue, 1 Jan 2019 05:30:38 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1geCdJ-000ORP-Fs; Tue, 01 Jan 2019 06:30:29 +0100 Date: Tue, 1 Jan 2019 06:30:29 +0100 From: Kurt Jaeger To: Lorenzo Salvadore Cc: FreeBSD Ports Subject: Re: Poudriere very slow when building in i386 jails Message-ID: <20190101053029.GK84895@home.opsec.eu> References: <20181231195011.GI84895@home.opsec.eu> <20181231211516.GJ84895@home.opsec.eu> <0IcOmQLiDHIXsW_vzCi2RBHRHl8vWpGQn9M_G6T-wm4OZKWWij8JkKol9780Ou45l4ycEqeecG-DGRL73St2EF_MmSz5rc_PL-cN_ODQ4E8=@protonmail.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0IcOmQLiDHIXsW_vzCi2RBHRHl8vWpGQn9M_G6T-wm4OZKWWij8JkKol9780Ou45l4ycEqeecG-DGRL73St2EF_MmSz5rc_PL-cN_ODQ4E8=@protonmail.ch> 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: Tue, 01 Jan 2019 05:30:52 -0000 Hi! > > 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. This is a HGST drive, spinning, no SSD. > 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 So, when it's slow during builds, it's most probably swapping. -- pi@FreeBSD.org +49 171 3101372 2 years to go !