performance modifications

Petri Helenius pete at he.iki.fi
Fri Mar 11 00:30:28 PST 2005


Claus Guttesen wrote:

>>  I'm wondering if anyone on the list has a good
>>source for the major sysctl
>>settings and/or kernel settings that can be modified
>>in order to bring up the
>>performance level on a FreeBSD 5.3 machine that is
>>used with apache under heavy
>>load.  
>>
>>I've done all the common stuff:
>>
>>recompiled the kernel and stripped out unused
>>drivers
>>    
>>
>
>Did you try
>
>options         ACCEPT_FILTER_DATA
>options         ACCEPT_FILTER_HTTP
>
>in your kernel? These options makes FreeBSD do the
>3way-handshake rather than apache.
>
>  
>
Does this need any modifications to apache? (installed from the port)

Pete

>The usual
>
>KeepAlive Off
>
>in /usr/local/etc/apache/httpd.conf and
>
>MaxClients xyz
>
>in same file. Max-clients is computed by 'avail. ram /
>size of one process', where you need to leave some
>room for kernel, buffers etc. in avail. ram.
>
>regards
>Claus
>
>_______________________________________________
>freebsd-performance at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-performance
>To unsubscribe, send any mail to "freebsd-performance-unsubscribe at freebsd.org"
>  
>



More information about the freebsd-performance mailing list