1 2 3 Previous Next 35 Replies Latest reply: Nov 14, 2011 11:23 AM by André Simões RSS

    Infinispan on Jboss 510 - Low performance issue or missing conf?

    André Simões Newbie

      Hi!

       

      I successfully managed to put Infinispan running on Jboss 510 AS.

      I had followed this post.

       

      I had done some performance tests with a simple test class.


      This are the results:

       

      No cache enabled:      200 requests -> duration = 2406 ms

      Ehcache:                    200 requests -> duration = 1504 ms

      Infinispan                    200 requests -> duration = 13204 ms

       

       

      My configurations are:

      One Jboss node

       

      java -version

      java version "1.6.0_26"

      Java(TM) SE Runtime Environment (build 1.6.0_26-b03)

      Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

       

      uname -a

      Linux ubuntu 2.6.35-30-generic #59-Ubuntu SMP Tue Aug 30 19:00:03 UTC 2011 x86_64 GNU/Linux

       

      sysctl

      net.core.wmem_max=2097152

      net.core.rmem_max=52428800

       

      Jboss 510 with some jvm tune (just memory and gc)

       

      database

      Oracle 11g

       

      JPA Query

      @Cache (usage=CacheConcurrencyStrategy.TRANSACTIONAL)
      
      @NamedQueries({
        @NamedQuery(name = "TUsers.findAll", query = "select o from TUsers o"
            ,hints={@QueryHint(name="org.hibernate.cacheable", value="true")}),
      

       

      Table users only have 2 entries.

       

       

       

      Maybe I missed some confs, but why it take so long on infinispan?

        1 2 3 Previous Next