Not giving anyone much to go on with that question. Not listing any hardware specifics, or previous configurations. Give an example of what you expect, or sample of what you have seen do what you expected etc...
So excluding any application or OS configuration issues lets talk strictly hardware.
So for starters run "top" and watch your stats...
If you see you're using close to 80% cpu usage consistently, get a faster cpu.
If you see you're using close to 80% ram consistently. Buy more ram.
Depending on the size of the database/hard drive usage ("df -h"), it could be a hard drive throughput issue, possibly configuring a raid for the hard drives.
Depending on number of network connections to the machine make sure you have a gigabit ethernet.
So without anything more specific, thats about as specific as an answer can get.