Re: performance modifications

From: Petri Helenius (pete_at_he.iki.fi)
Date: 03/11/05

  • Next message: Claus Guttesen: "Re: performance modifications"
    Date: Fri, 11 Mar 2005 10:30:36 +0200
    To: Claus Guttesen <cguttesen@yahoo.dk>
    
    

    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@freebsd.org mailing list
    >http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    >To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"
    >
    >

    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"


  • Next message: Claus Guttesen: "Re: performance modifications"

    Relevant Pages

    • Re: FreeBSD 7 on old SMP server?
      ... Apache seems to have less latency> responding to gets also. ... I'm just running a 7b3 kernel at the moment,> I'm going to have to repartition with a lot more swap space to be able> to build a 7 world > but even with this setup, 7 + ULE is a win for me. ... Are you saying you run FreeBSD 7 on an 80386machine? ... I've now got a Cyrix 486DrX-2 66 installed in place of my Am386DX-40, which supports CMPXCHG as well as ID'ing as a 486 so I don't need to do any tweaking to stay running. ...
      (freebsd-stable)
    • Re: how to install samba and windows xp ?
      ... the question and the freebsd mails. ... >licence so I got rid of windows server and Installed ... >I installed the default package of apache, ... >and also i cant share my internet conection. ...
      (freebsd-newbies)
    • Re: (Another) simple benchmark
      ... In absence of anything smarter to do, I installed WBEL 3 Linux ... Apache is a well known server-grade product, ... It shouldn't behave this badly on FreeBSD. ... FreeBSD CPU time was 100% spent, with 90%-95% spent in sys time ...
      (freebsd-current)
    • Re: (Another) simple benchmark
      ... In absence of anything smarter to do, I installed WBEL 3 Linux ... Apache is a well known server-grade product, ... It shouldn't behave this badly on FreeBSD. ... FreeBSD CPU time was 100% spent, with 90%-95% spent in sys time ...
      (freebsd-performance)
    • Re: (Another) simple benchmark
      ... while this is the default on FreeBSD I would think ... the threaded worker would be used on a lot of linux dists, since they don't have the option to easily rebuild it. ... Debian have avoided threaded apache for a long time. ... threading is still under development and you shouldn't ...
      (freebsd-performance)