Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 00:21:39 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        Devin Butterfield <dbutter@wireless.net>
Cc:        Alfred Perlstein <bright@rush.net>, Rajappa Iyer <rsi@panix.com>, <hackers@FreeBSD.ORG>
Subject:   Re: Sysadmin article
Message-ID:  <20010615001400.L23791-100000@achilles.silby.com>
In-Reply-To: <01061422021000.39234@dbm.wireless.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 14 Jun 2001, Devin Butterfield wrote:

> So why doesn't FreeBSD ship with a "tuned" configuration? Just curious...
> --
> Regards, Devin.

Why?  Because you haven't sent in the changes which would implement it
yet. :)

Rather than a tuned configuration, what would be useful is a script that
would evaluate a system and give tuning hints.  This might be simple for
someone familiar with shell scripting or perl.  It could do something
like:

<check if filesystems are mounted with softupdates>
"You could increase filesystem performance greatly by enabling
softupdates.  See the tunefs manpage."

<check on max used mbufs>
"Your system seems to be using a large number of mbufs; you should
increase the maximum allowed.  See the mbuf manpage."

"Are you using a UPS?"
Yes
"You may wish to enable ide write caching to increase performance.  See
the ata manpage for the tradeoffs involved."

"How many connections will this server experience at one time?"
5000
"MAXUSERS is set too low for 5000, please change to X and recompile"

"How many connections per process?"
2000
"Maxfiles is too low, please change X to Y."

The list could go on and on.  While these are all sysctls and kernel
options known all to well to some of us, they could take a long time to
track down for people new to FreeBSD.

Matt's performance manpage covers a lot of this, but is probably not as
easy to digest as an interactive script.

Anyone have some free time?  :)

Mike "Silby" Silbersack


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010615001400.L23791-100000>