Hi,
Although the differences are noticeable, I think it's very hard for a Java based app
to be able to compete on memory consumption with a C app, because the latter provides
memory management capabilities that do not exist in Java.
Having said that however, we're currently working on some data stress testing with the
aim to reduce memory consumption in Infinispan servers.
One question about your test, I assume that each key is being modified once, correct?
Cheers,
On Mar 10, 2011, at 5:28 AM, Nguyễn Hồng Nhựt wrote:
Hi Infinispan Devs,
I used memcached all time. I am research Infinispan and make a compare with memcached.
I have just make a memory test between memcached and infinispan to choose which one
better(best memory saved).
I run Infinispan from command line: ./startServer.sh -r memcached -p 4567 ( I am fresh
download and run it with no custom any config file)
and also memcached from command line: /usr/bin/memcached -m 1024 -u nobody -p 11211 -l
127.0.0.1
with testcase 10000 key and every key has value is byte array with length= 1024
Infinispan : => memory: 58MB
Memcached: => memory: 14MB
with testcase 500000 key and every key has value is byte array with length= 1024
Infinispan : => memory: 920MB
Memcached: => memory: 565MB
In Infinispan, any config param familiar with memory cost? and how i can reduce this
cost?
thanks and best regards.
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache