[infinispan-dev] Query integration tests performance and JGroups

Gustavo Fernandes gustavonalle at gmail.com
Wed Jun 11 04:52:03 EDT 2014


Hi,

While investigating some CI failures in query (timeouts), I've narrowed
down the issue to the Jgroups protocol stack being used. 
Running a 'mvn clean install' in the query/ module takes about 6min
(when timeout does not happen). If I run instead: 

mvn -Dtest.protocol.jgroups=udp clean install

Time goes down to around 50s. Recent changes in core's jgoups-tcp.xml
for the tests were the removal of the loopback=true and the modification
of the bundler_type, but they don't seem to affect the outcome.

FYI, taking a single test and stripping down from it everything but the
cluster formation and data population (5 objects) leads to the cpu
hotspot below, and it takes almost 1 minute  

I'd be happy to change the query tests to udp, but first would like to
hear your thoughts about this issue

Gustavo


+----------------------------------------------------------------------------------+------------------+--------------------+
|                                       Name                                       |    Time (ms)     |  Invocation Count  |
+----------------------------------------------------------------------------------+------------------+--------------------+
|  +---java.net.SocketInputStream.read(byte[], int, int, int)                      |  101,742  100 %  |             4,564  |
|    |                                                                             |                  |                    |
|    +---java.net.SocketInputStream.read(byte[], int, int)                         |                  |                    |
|      |                                                                           |                  |                    |
|      +---java.io.BufferedInputStream.fill()                                      |                  |                    |
|        |                                                                         |                  |                    |
|        +---java.io.BufferedInputStream.read()                                    |                  |                    |
|          |                                                                       |                  |                    |
|          +---java.io.DataInputStream.readInt()                                   |                  |                    |
|            |                                                                     |                  |                    |
|            +---org.jgroups.blocks.TCPConnectionMap$TCPConnection$Receiver.run()  |                  |                    |
|              |                                                                   |                  |                    |
|              +---java.lang.Thread.run()                                          |                  |                    |
+----------------------------------------------------------------------------------+------------------+--------------------+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20140611/905c230d/attachment-0001.html 


More information about the infinispan-dev mailing list