Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2001 22:54:06 +0100
From:      Roelof Osinga <roelof@eboa.com>
To:        Daniel Frazier <dfrazier@magpage.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: kernel optimizations for an smp mail server...
Message-ID:  <3A982D7E.93D4AB79@eboa.com>
References:  <3A96A568.66EBF9FE@magpage.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Frazier wrote:
> 
> ...
> Now, I've set up plenty of workstations, a few firewalls and web
> servers, but never an mail server.  We have a fairly small user base,
> only about 10,000 users.  Can anyone suggest some kernal and/or system
> optimizations I should make?  I'm sure the main one would be maxusers,
> but other than kern.maxproc I'm not sure what else that affects.
> Would MAXUSERS = 256 be appropriate?  Anything else I need to tweak?
> Thanks.

It's what I've done. Not that that is much of a recommendation, mind ;).
I mean, Ted knows *way* more than I; as you can see by the riddles he
speaks in <g,d&r>.

With 256 defined your max. opened files will become something like
16K. Your mileage with that will vary. So you'll need to monitor
a bit see how it goes. Whoopsy, just noticed I'd bumped it to 512. Ah
well.

Other things I've messed with are NMBCLUSTERS, set to 8192 for now.
As well as the DFLDSIZ, set to 128*... If that was such a good idea
I don't know yet. Time will tell.

But like Ted pointed out, anything depends on everything. So the
more you know the less you can say. Which is why I can give simple
answers ;).

Roelof

-- 
eboaź (ingenieursburo Office Automation)     web. http://eboa.com/

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A982D7E.93D4AB79>