Learning HOW we can tuning PostgreSQL database server on FreeBSD (any version)

start from tuning FreeBSD system performance ( please view http://www.postgresql.org/idocs/inde...resources.html ) and another way to tuning PostgreSQL Performance on FreeBSD ...