Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

optimize my.cnf ?

Started by Flat-Jack, May 12, 2004, 06:16:46 PM

Previous topic - Next topic


Hi there,

(I hope, it's not too much offtopic... :))
I got a new server last days...
Now my yabbse-Forum runs a little bit faster than before, but I have about 800MB free RAM, so I want to optimize my sql-settings, to get the maximum speed!  :D
  Which buffers/variables  are important for yabbse / SMF (i will upgrade soon) ?
here a few settings: P4 has 2GB RAM, we have about 400 Users online, 25000 Topics

As newbie, I tried to increase some variables...


key_buffer = 128M
max_allowed_packet = 1M
table_cache = 1024M
sort_buffer_size = 4M
record_buffer = 4M
net_buffer_length = 8K
myisam_sort_buffer_size = 64M
thread_concurrency = 4
thread_cache_size = 20
wait_timeout = 1800


key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 8M
write_buffer = 8M

key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 8M
write_buffer = 8M


Do you have any good hints for me?
Thank you - and excuse my bad english...



Do a search on & theres lots of optimisation guides there. A lot of it is trial and error too, tweak something and see how it runs etc.

You say you are running YaBB SE, you might want to try SMF, it will perform a whole lot better.
Liverpool FC Forum with 14 million+ posts.