From owner-freebsd-arm@freebsd.org Tue Sep 8 16:23:50 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 483CC9CC5A9 for ; Tue, 8 Sep 2015 16:23:50 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (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 100561F67 for ; Tue, 8 Sep 2015 16:23:49 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from john by potato.growveg.org with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1ZZLfu-0000FQ-H6 for freebsd-arm@freebsd.org; Tue, 08 Sep 2015 17:23:14 +0100 Date: Tue, 8 Sep 2015 17:23:10 +0100 From: John To: freebsd-arm@freebsd.org Subject: swap questions freebsd11/arm6 Message-ID: <20150908162309.GA929@potato.growveg.org> Reply-To: freebsd-arm@freebsd.org Mail-Followup-To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: John X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2015 16:23:50 -0000 Hello list, sorry about all my questions. I'm learning, honest. OK I found that having a swapfile after the fact, makes it not appear in top. It seemed that some of the system saw the swap at /usr/swap0 but other parts didn't use it. So in an effort to get around this, I got another spare usb stick and put swap on it. The stick is 16GB. I now get the folllowing in messages: Sep 8 15:26:34 potato kernel: warning: total configured swap (3906304 pages) exceeds maximum recommended amount (223328 pages). Sep 8 15:26:34 potato kernel: warning: increase kern.maxswzone or reduce amount of swap. Thing is, I'd quite like a huge amount of swap given the following: 1. not too concerned about speed here, as long as it's stable 2. things like svnlite choke on many writes There's not much documentation about kern.maxswzone. I put the following in /boot/loader.conf : kern.maxswzone=3906304 it still complains. Please can anyone give pointers how to fix this? thanks, -- John