From owner-svn-src-all@freebsd.org Tue Apr 19 02:59:53 2016 Return-Path: Delivered-To: svn-src-all@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 86C54B131D2; Tue, 19 Apr 2016 02:59:53 +0000 (UTC) (envelope-from devin@shxd.cx) Received: from shxd.cx (mail.shxd.cx [64.201.244.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 72C371D56; Tue, 19 Apr 2016 02:59:53 +0000 (UTC) (envelope-from devin@shxd.cx) Received: from [64.201.244.132] (port=62519 helo=[10.0.0.105]) by shxd.cx with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1asDbj-000964-Ha; Mon, 18 Apr 2016 11:09:11 -0700 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: svn commit: r298230 - in head: lib/libstand sys/boot/common sys/boot/efi/libefi sys/boot/efi/loader sys/boot/i386/libfirewire sys/boot/i386/libi386 sys/boot/i386/loader sys/boot/mips/beri/loader sy... From: Devin Teske In-Reply-To: <57158BF3.3060605@freebsd.org> Date: Mon, 18 Apr 2016 19:59:51 -0700 Cc: Pedro Giffuni , Adrian Chadd , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" , Devin Teske Message-Id: References: <201604182309.u3IN9MC6047480@repo.freebsd.org> <57157108.6090500@freebsd.org> <84FB3FCC-4779-4ED1-B0A6-142C90D08EEF@freebsd.org> <5715848F.7020805@FreeBSD.org> <57158BF3.3060605@freebsd.org> To: Allan Jude X-Mailer: Apple Mail (2.2104) Sender: devin@shxd.cx Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2016 02:59:53 -0000 > On Apr 18, 2016, at 6:37 PM, Allan Jude wrote: >=20 > On 2016-04-18 21:32, Devin Teske wrote: >>=20 >>> On Apr 18, 2016, at 6:06 PM, Pedro Giffuni wrote: >>>=20 >>>=20 >>>=20 >>> On 04/18/16 19:30, Devin Teske wrote: >>>>=20 >>>>=20 >>>>> On Apr 18, 2016, at 4:43 PM, Allan Jude >>>> > wrote: >>>>>=20 >>>>> On 2016-04-18 19:36, Adrian Chadd wrote: >>>>>> Someone pointed out how this bloats out memory requirement in = loader. >>>>>>=20 >>>>>> Did anyone check that? >>>>>>=20 >>>>>> -adrian >>>>>>=20 >>>>>=20 >>>>> I tested down to 128mb of ram in QEMU, booted from the installer = ISO, >>>>> did the install, and booted the installed system without issue. >>>>=20 >>>> Hmm. Would be nice if we could claim success under 64MB too. >>>> If you get the chance. >>>> How low can it go? >>>=20 >>> FWIW, The code review comments state: >>>=20 >>> >>>=20 >>> BTW: as mentioned in very beginning of this project, I'm reserving = fairly large chunk of memory (64MB) for loader and using same amount for = both BIOS/UEFI variants, default in freebsd is 3MB, eventually this = should be reviewed, but currently it will affect very small setups. >>>=20 >>> >>>=20 >>> I still think it's pretty cool, thanks to everyone involved. >>>=20 >>=20 >> Does anyone know what the original memory reservation amount was = before it was upped to 64MB? >>=20 >=20 > It was 3MB >=20 Next [possibly] dumb question(s). Is it easily tunable? If not, why not? What happens when we want to bump it further in the future? --=20 Devin=