Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2010 02:26:00 +0200
From:      Attilio Rao <attilio@freebsd.org>
To:        alc@freebsd.org
Cc:        freebsd-hackers@freebsd.org, Ivan Voras <ivoras@freebsd.org>
Subject:   Re: disk I/O, VFS hirunningspace
Message-ID:  <AANLkTinlk4BVtHx08KXCsqS-2yqTYN-XuG7l6rdp_LNC@mail.gmail.com>
In-Reply-To: <AANLkTiniWXgEsrtEy3ZaL2_rQLiIMwI_Lt21EJCzqJZu@mail.gmail.com>
References:  <AANLkTinm3kFm7pF_cxoNz1Cgyd5UvnmgZzCpbjak-zzy@mail.gmail.com> <20100714090454.1177b96b@ernst.jennejohn.org> <AANLkTinhqQUYMqrtV9l0SKwi2qFmx8t88jBYRmdiU10M@mail.gmail.com> <i1n0ra$ahs$1@dough.gmane.org> <AANLkTiniWXgEsrtEy3ZaL2_rQLiIMwI_Lt21EJCzqJZu@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/7/15 Alan Cox <alan.l.cox@gmail.com>:
> On Thu, Jul 15, 2010 at 8:01 AM, Ivan Voras <ivoras@freebsd.org> wrote:
>
>> On 07/14/10 18:27, Jerry Toung wrote:
>> > On Wed, Jul 14, 2010 at 12:04 AM, Gary Jennejohn
>> > <gljennjohn@googlemail.com>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinlk4BVtHx08KXCsqS-2yqTYN-XuG7l6rdp_LNC>