[infinispan-dev] [patch] Unit test to highlight potential performance and cache eviction issues in distributed mode

Manik Surtani manik at jboss.org
Wed Dec 23 20:23:10 EST 2009


Thanks for submitting this - I found the problem, and I can see how this would cause a *huge* bottleneck.  A bug in the way we use JGroups RspFilters.  :)  And a really simple fix too, which is already in trunk.

Cheers
Manik

On 21 Dec 2009, at 10:58, Manik Surtani wrote:

> Hi Juha
> 
> I saw the JIRA you created, thanks for this - I'll take a closer look this week.
> 
> Cheers
> Manik
> 
> On 17 Dec 2009, at 12:52, Juha Heljoranta wrote:
> 
>> Hi,
>> 
>> In case the my previous mail didn't get through I'd still hope to get my patch 
>> getting merged.
>> 
>> The test should highlight an issue where cache.get() "fails" by taking 15 
>> second to execute.
>> 
>> When I enable trace level logging this here is what jgroups says:
>> 14:52:36.206 [main] TRACE org.jgroups.blocks.GroupRequest - call did not 
>> execute correctly, request is [req_id=1260622341191
>> caller=nine-22069
>> entries:
>> nine-12394: sender=nine-12394, retval=null, received=false, suspected=false
>> nine-39772: sender=nine-39772, retval=SuccessfulResponse, received=true, 
>> suspected=false
>> 
>> I've tried to locate where things go wrong but failed to nail it down. I 
>> suspect that either there is some sort of race condition in infinispan or the 
>> bug is in jgroups.
>> 
>> Regards,
>> Juha Heljoranta
>> 
>> 
>> On Friday 11 December 2009 21:20:34 Juha Heljoranta wrote:
>>> Hi,
>>> 
>>> I improved the patch slightly. The tests pass now just fine (tested with
>>> trunk r1296).
>>> 
>>> Test suite will now print a warning if cache put()/get() takes longer than
>>> 2 s and fails if they take longer than 20 s. I usually see few warnings
>>> about get() taking 15 s, an issue which might warrant some investigating.
>>> 
>>> Could you apply the patch?
>>> 
>>> Regards,
>>> Juha Heljoranta
>>> 
> 
> --
> Manik Surtani
> manik at jboss.org
> Lead, Infinispan
> Lead, JBoss Cache
> http://www.infinispan.org
> http://www.jbosscache.org
> 
> 
> 
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org








More information about the infinispan-dev mailing list