The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 RE: Optimizing FreeBSD
Author: rich 
Date:   25-08-00 03:40

Good point. Out of frustration, I was unclear. But I really haven't been able to find any tuning info, so in some ways it was a general request. Just strange when my local technical bookstore has 20 RedHat books, 6 different distros,and not a single FreeBSD book. Neither {Net|Open}BSD for that matter.

I have a bunch of machines running FreeBSD that I'm using for webservers. I'd like to be able to tune the kernel for stuff for teh net. I know maxusers is a pretty big knob to change. It even says that, you're better off tuning things individually. But what?
NMBCLUSTERS. Everything says to tune that, but what algorithm? what should it be for a heavy webserver. How do I find out in user level what NMBCLUSTERS is, and if I have a starvation problem? This is in the undocumented section of LINT kernel config file.
NSFBUFS. I don't think this applies to me, Apache doesn't use sendfile() in the code. But what else does? Should I tune?
The PQ_[CACHE] values in LINT. What does that do? It mentions "option for VM subsystem", that's it. It appears to optimize some cache for small medium or large cache. Which cache? How do I determine my size?
NBUF, totally undocumented in LINT. What's it do?

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Optimizing FreeBSD   new
rich 23-08-00 22:35 
 RE: Optimizing FreeBSD   new
Dan Langille 24-08-00 08:41 
 RE: Optimizing FreeBSD   new
rich 25-08-00 03:40 
 RE: Optimizing FreeBSD   new
elliot 27-08-00 12:01 
 RE: Optimizing FreeBSD   new
Dan Langille 27-08-00 13:03 

 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum