From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 16 00:26:02 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D0811065673; Fri, 16 Jul 2010 00:26:02 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9CFB78FC08; Fri, 16 Jul 2010 00:26:01 +0000 (UTC) Received: by qyk7 with SMTP id 7so384319qyk.13 for ; Thu, 15 Jul 2010 17:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=DxlY2GGh2nir/zrFASXWrTQobmUF7MHb3UKqO0XMoUg=; b=TABix2h3a4zitfhV5P34ya32MIGHIHKpJ+mEPPzWNc7X+Y78iubILIqEutD4ETCH3w GUowpehnNThc07MyNMLmnGmG01eujee2MkVgv+tK9ST5J7iAjkmoEngDBFIIC9ZDk+4H JiLTnDUEjus88HVDNgtB5WarMzGs0Web4/utA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=vALSod/jKOlqY6MfQlSB0dbTDx5oYhocqDO+XybvAbnMP4x+Jnjc2x+cE9/TfvtY5w XblV+LTl4MNWfNgcoB33ivjEL9Wa40G935wCGr/V3bejz6mCKIXqqBc9tRmjyIL0fDVh kAQqTf5zbFfganxsb/tYbd/T2wmZSdkuGxKrc= MIME-Version: 1.0 Received: by 10.224.45.77 with SMTP id d13mr267015qaf.39.1279239960683; Thu, 15 Jul 2010 17:26:00 -0700 (PDT) Sender: asmrookie@gmail.com Received: by 10.229.248.12 with HTTP; Thu, 15 Jul 2010 17:26:00 -0700 (PDT) In-Reply-To: References: <20100714090454.1177b96b@ernst.jennejohn.org> Date: Fri, 16 Jul 2010 02:26:00 +0200 X-Google-Sender-Auth: zJ_CgKXqci6217ICagfREffHcrk Message-ID: From: Attilio Rao To: alc@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Ivan Voras Subject: Re: disk I/O, VFS hirunningspace X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2010 00:26:02 -0000 2010/7/15 Alan Cox : > On Thu, Jul 15, 2010 at 8:01 AM, Ivan Voras wrote: > >> On 07/14/10 18:27, Jerry Toung wrote: >> > On Wed, Jul 14, 2010 at 12:04 AM, Gary Jennejohn >> > wrote: >> > >> >> >> >> >> >> Rather than commenting out the code try setting the sysctl >> >> vfs.hirunningspace to various powers-of-two. =C2=A0Default seems to b= e >> >> 1MB. =C2=A0I just changed it on the command line as a test to 2MB. >> >> >> >> You can do this in /etc/sysctl.conf. >> >> >> >> >> > thank you all, that did it. The settings that Matt recommended are giv= ing >> > the same numbers >> >> Any objections to raising the defaults to 8 MB / 1 MB in HEAD? >> >> >> > Keep in mind that we still run on some fairly small systems with limited = I/O > capabilities, e.g., a typical arm platform. =C2=A0More generally, with th= e range > of systems that FreeBSD runs on today, any particular choice of constants= is > going to perform poorly for someone. =C2=A0If nothing else, making these = sysctls > a function of the buffer cache size is probably better than any particula= r > constants. What about making a MD sysctl? Attilio --=20 Peace can only be achieved by understanding - A. Einstein