I forgot to add, we are running Ubuntu 12.04, and using OpenJDK 6.
I should also explain how the CPU numbers above are calculated. The numbers are extrapolated from mpstat output, by summing everything apart from stea%l and guest% then scaling this total based on the peak CPU utilisation we typically see on an EC2 m1.small. We usually find that when our applications are using around 45% the idle CPU has dropped close to zero and steal is taking the majority of the remaining CPU presumably because the hypervisor is limiting the CPU available to our instance.
I'd expect Infinispan to take more CPU but the difference is way too high.
Mind creating a JIRA for this? https://issues.jboss.org/browse/ISPN
Also if you have some profiler snapshot at hand with thread activity would be awesome :-)
I thought it would be premature to raise a JIRA until I was sure that I have the configuration right and that my expectation that the performance should be close to memcached was reasonable. Is there anything I should change in the configuration that would potentially improve things?
I don't have profiler output at the moment, but I'll look at setting this up.
Is there anything I should change in the configuration that would potentially improve things?
the config looks good.