From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vuwn0-0003JY-Ne for mharc-grub-devel@gnu.org; Sun, 22 Dec 2013 23:06:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vuwmq-0003JM-Nj for grub-devel@gnu.org; Sun, 22 Dec 2013 23:06:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vuwmi-0000QZ-A5 for grub-devel@gnu.org; Sun, 22 Dec 2013 23:06:36 -0500 Received: from mail-ee0-x22a.google.com ([2a00:1450:4013:c00::22a]:39463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vuwmi-0000QT-1p for grub-devel@gnu.org; Sun, 22 Dec 2013 23:06:28 -0500 Received: by mail-ee0-f42.google.com with SMTP id e53so2108697eek.29 for ; Sun, 22 Dec 2013 20:06:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=Jt0Kcl6ShwMpiRXI/4bJ8CwfuDaioi29Hd/afRA+ZoI=; b=EsQhtIhuU0bpM/r0xkm3HL/LkM33ixsuPtsjKQH8nIU4K6SY2fzDpxEZwVWZ+n7Dha gk6R6XMULPd947j3jNQUt0wrB3IEvyzgO/d0zUwCzlJsc4hXILkupTdW0dAr3eGGC5LG ULDD/FpH7jmWBJQRSCJW6vT3PXnIxmTEFGKYdNceEqpj1C3Rc5leZ5lgC0S8fT7rpUcK l3UUycQtuvA7+N3iXdeQoY7iZksdFp1rNoDTbI29TvWr5CjpZX+ZmafNsw4wkh77XW2o 9MAQnAwDMQUoD4wKhj5v400AlWEddsreQ0H246FBzFw+gUKK3rHA/yR4NxzcoxCQWtkR ylug== X-Received: by 10.15.49.193 with SMTP id j41mr18408330eew.10.1387771586756; Sun, 22 Dec 2013 20:06:26 -0800 (PST) Received: from [192.168.1.16] (85-188.196-178.cust.bluewin.ch. [178.196.188.85]) by mx.google.com with ESMTPSA id h48sm41839486eev.3.2013.12.22.20.06.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 22 Dec 2013 20:06:25 -0800 (PST) Message-ID: <52B7B6C0.6060602@gmail.com> Date: Mon, 23 Dec 2013 05:06:24 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: The development of GRUB 2 Subject: Re: [PATCH] improve boot time with standalone images References: <52B74B0F.702@gmail.com> In-Reply-To: <52B74B0F.702@gmail.com> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xsOlac46GCG0rO9APBNMRWSdqEe1rKvXX" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22a X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Dec 2013 04:06:45 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --xsOlac46GCG0rO9APBNMRWSdqEe1rKvXX Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 22.12.2013 21:26, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: > Hello, all. While testing on raspberry pi using standalone image I've > noticed that all file operations were sluggish. The culprit was tar tha= t > we use as a filesystem for memdisk which requires complete scan to find= > one file. On most systems it's a minor time penalty but on raspberry pi= > it almost halved boot time. I propose a specialised compact and fast > uncompressed read-only filesystem by storing filenames in sorted array > and using binary search. It's a pretty big change but I feel like it's > worth to be put into 2.02. > Does anybody disagree? >=20 After discussing with Leif Lindholm, it was found out that real culprit was disabled cache on U-boot port. Time to console Cached, tar: 0.5s Cached, greffs: 0.3s Uncached tar: 7.3s Uncached greffs: 4.3s On coreboot the speed-up is only 4ms --xsOlac46GCG0rO9APBNMRWSdqEe1rKvXX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlK3tsAACgkQmBXlbbo5nOvj0QD/U70ZYelYdH1pvzQbgyrqPhZs LK9z0yVmnC7ZCwNwbFAA/jkg9m1swzE2z1ajoYjVXx7oACTbJpCM1F0cbvWCHke+ =ok7x -----END PGP SIGNATURE----- --xsOlac46GCG0rO9APBNMRWSdqEe1rKvXX--