>Would you please give me some suggestions to investigate the problem, >does Memcached require more heap size from client application than >when we don't apply Memcached?
If I were you I would try performing some kind of benchmark on the java code (your app code and the memcached client you are using), probably with some test cases isolating the code that manages cache. Some JVM's accept a parameter that outputs cpu usage (-Xperf on Open JDK) and can be useful as a first try. There are lots of performance tools available for java and it's a good thing to use them. Best regards, Gonzalo On Fri, Sep 23, 2011 at 3:52 AM, thibd <[email protected]> wrote: > Dear all, > > When I apply XMemcached on my J2EE web application the CPU usage is > higher (about 90~100%) in compare with old source code. The tps > (transaction per second) indicator is also lower than it was before > with old source code. > This is the specs of my Web Server: > - Tomcat server 5.5 > - RAM: 2.0 GB > - Processor: Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz 2.93GHz > - LAN speed: 100 Mbps > > Would you please give me some suggestions to investigate the problem, > does Memcached require more heap size from client application than > when we don't apply Memcached? > > Thank you.
