Re: sbwait state for loaded Apache server

From: Lamont Lucas (lamont_at_cluepon.com)
Date: 07/22/03

  • Next message: Sean Chittenden: "Re: Tuning for PostGreSQL Database"
    Date: Tue, 22 Jul 2003 11:46:07 -0700
    To: Michael Conlen <meconlen@obfuscated.net>
    
    

    On Tue, Jul 22, 2003 at 12:49:08PM -0400, Michael Conlen wrote:
    > I'm working with an Apache webserver running 1400 apache processes and
    > the system pusing somewhere in the area of 50-60Mbit/sec sustained. The
    > system seems to top out around 60Mbit/sec and I see some minor
    > degradation of server response times.

    I did a lan only test of an apache install on a stock 4.8-stable
    box recently. With no extra tuning being done to the network
    stack or similar, I maxed out at about 60Mbit/sec originally,
    but after recompiling the kernel with:

    options ACCEPT_FILTER_DATA
    options ACCEPT_FILTER_HTTP
    options NMBCLUSTERS=32768

    and recompiling apache with HARD_SERVER_LIMIT=2048, SO_ACCEPTFILTER
    and BUFFERED_LOGS, I pushed that to 83Mbit/s and an average of 1310
    requests per second (using our actual website data and replaying
    a day's worth of logs in fast forward) (oh, and apache 1.3.27)

    The machine in question is a dual cpu 2.4ghz SuperMicro 6013P-8
    with 2 gigs of ram. I turned hyperthreading off earlier but when
    I get around to doing real tuning in earnest I'll experiment with
    it off and on.

    Oh, and when you make /usr/ports/www/apache13, set the env
    variable WITH_APACHE_PERF_TUNING and a higher hard server limit.

    So my highly unscientific advice to you is to check out the
    ACCEPT_FILTER options and recompile apache to take advantage of them.

    -- 
     - Lamont
    "I am not an atomic playboy."
    _______________________________________________
    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: Sean Chittenden: "Re: Tuning for PostGreSQL Database"

    Relevant Pages

    • Re: Lisp and Web Programming
      ... > To add a module like mod_lisp you don't have to recompile Apache. ... Common Lisp based CGIs are fast and smart, ... just do with CGIs only most of the time, and when I need state (and I ...
      (comp.lang.lisp)
    • Re: Lisp and Web Programming
      ... >>>recompile Apache just to write a web application in Common Lisp. ... is an excuse for the hack: those programs are deadly slow to start. ...
      (comp.lang.lisp)
    • Re: Lisp and Web Programming
      ... >>Apache is just one particular web server implemented in C for posix ... >>recompile Apache just to write a web application in Common Lisp. ... Just compile the module and add ...
      (comp.lang.lisp)
    • Re: large file support in apache
      ... den 30.07.2005 schrieb d l um 12:35: ... > have to recompile apache or use experiemental apache 2.1 ...
      (Fedora)