There's a couple of mysql tuning threads at threadsdev that should help. They are put together in a sort of tutorial form.