2009/10/6 Joe Hansen <joe.hansen...@gmail.com>:
> Andre, you are right. Memory is cheap. However, the machine has 8GB of
> memory already. I am thinking that it should be sufficient.

You might wish to dedicate more of that 8 Gbyte to Java, though.  It
depends on the performance characteristics of your application - looks
to me like MySQL is grabbing a load of your RAM for its cache.  top
(or similar) would confirm that overall usage, and I assume MySQL has
some performance monitoring available that'll tell you the
effectiveness of its caches.  If you're *just* tipping into using
swap, it's almost certainly the case that MySQL is grabbing memory
that would otherwise be called "free".

This may well be the best use for the RAM, but there's a possibility
that more RAM dedicated to Java would improve your performance
overall.  I'm not willing to make that guess without data on the
effectiveness of MySQL's cache, though :-).

- Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to