Date: Tue, 06 Jul 2010 20:17:54 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: sonjaya <son_jaya@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: tuning FB 7.2 stable for lighhttpd Message-ID: <4C338162.5070805@infracaninophile.co.uk> In-Reply-To: <555453.7555.qm@web111411.mail.gq1.yahoo.com> References: <555453.7555.qm@web111411.mail.gq1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/07/2010 09:11:04, sonjaya wrote: > I need triks to tune up FreeBSD 7.2 stable for lighhttpd+php and > mysql, i feel so slow, my enggine is IBM Xseries 3250M2 + 4 g + 250 G Start by reading tuning(7). Be aware that tuning your applications -- particularly mysql -- will almost certainly pay greater dividends than fiddling with the OS, although both are worthwhile. mysqltuner.pl is a pretty good source of hints for improving mysql performance, although it certainly isn't the last word on the subject. Think about your architecture -- strategic use of caching (eg. memcached) can make a big difference, as can use of a PHP accelerator like eAccelerator (which is really just a cache for the byte-compiled PHP code generated from your pages). Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwzgWIACgkQ8Mjk52CukIworQCfXihrvg0WarLGw4R3jH9eyN8W cKwAn0W1JPblWNOwkgC+mmsz2Huh7+hA =FXyp -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C338162.5070805>