From owner-freebsd-bugs@FreeBSD.ORG Sun Feb 15 20:50:21 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F358016A4CE for ; Sun, 15 Feb 2004 20:50:20 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBA3A43D1D for ; Sun, 15 Feb 2004 20:50:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1G4oKbv018107 for ; Sun, 15 Feb 2004 20:50:20 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1G4oKcp018106; Sun, 15 Feb 2004 20:50:20 -0800 (PST) (envelope-from gnats) Date: Sun, 15 Feb 2004 20:50:20 -0800 (PST) Message-Id: <200402160450.i1G4oKcp018106@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Colin Percival Subject: Re: misc/62611: bzip2 have problems on pentium 100 (pkg_add dont work) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Colin Percival List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 04:50:21 -0000 The following reply was made to PR misc/62611; it has been noted by GNATS. From: Colin Percival To: freebsd-gnats-submit@FreeBSD.org, torindel@wp.pl Cc: kris@obsecurity.org Subject: Re: misc/62611: bzip2 have problems on pentium 100 (pkg_add dont work) Date: Mon, 16 Feb 2004 04:41:06 +0000 Further to what Kris wrote, b(un)zip2 specifically performs horribly given insufficient memory -- it essentially performs random memory accesses (one per byte), so moving from RAM to swap will slow things down by a factor of about ten thousand. The difference between 4.9 and 5.x is probably due to the larger kernel; other user-space programs will be swapped out to accomodate bzip2, so the "free memory" is irrelevant in this case. I don't think anything can be done about this PR, except perhaps to document that 32MB RAM is a realistic minimum for running 5.x. Colin Percival