Re: performance modifications

From: Claus Guttesen (cguttesen_at_yahoo.dk)
Date: 03/11/05

  • Next message: Petri Helenius: "Re: performance modifications"
    Date: Fri, 11 Mar 2005 09:10:50 +0100 (CET)
    To: ray@redshift.com, freebsd-performance@freebsd.org
    
    

    > 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.

    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"


  • Next message: Petri Helenius: "Re: performance modifications"

    Relevant Pages

    • Re: most lightweight debian server
      ... You might want to use a different scheduler and I/O scheduler than the ... default if you use a 2.6.24 kernel. ... mentioned Apache, set up a minimal Apache, jettison unneeded modules, ... Add RAM if at all possible. ...
      (Debian-User)
    • Re: kernel panic - not syncing: VFS - unable to mount root fs on unknown-block
      ... It seems you have your kernel settings ... config and I type make oldconfig, so I don't understand why there are an ... IDE chipset, harddisk and file system. ...
      (Linux-Kernel)
    • Re: setting ulimit
      ... The kernel settings for maxfiles and maxfiles_lim is 4096. ... paramter maxfiles is not enough? ...
      (comp.unix.programmer)
    • Re: setting ulimit
      ... The kernel settings for maxfiles and maxfiles_lim is 4096. ... 1)Why do we need to set again at the console? ...
      (comp.unix.programmer)
    • settings for maxfiles kernel parameter
      ... The kernel settings for maxfiles and maxfiles_lim is 4096. ... paramter maxfiles is not enough? ...
      (comp.sys.hp.hpux)