Do you know if you're processor bound, memory bound or bound by something else (like disk activity)?
The
top utility might give you some hints as to what's going on but there is a utility (you may already have it) that graphically displays CPU(s) use, number of processes, disk activity, network activity, memory and swap activity along with some optional displays.
GKrellM (see
http://members.dslextreme.com/users/...m/gkrellm.html is pretty handy for helping you find problems. You start it up and let it sit there on your desktop and watch what's going on when you start your application.
On the other hand, 2G is a little on the light side; try increasing your RAM to at least 4G and, better, 8G. What the heck, memory's cheap enough, eh?
Give
gkrellm a try.
Hope this helps some.