[infinispan-dev] Using Dummy VS JBossTM for running tests

Mark Little mlittle at redhat.com
Fri Feb 25 09:39:52 EST 2011


It's a configuration option. In the manuals :-)

Mark.


On 22 Feb 2011, at 16:39, Mircea Markus wrote:

> Good point. how can I disable the optimisation within TM? 
> On 22 Feb 2011, at 16:37, Jonathan Halliday wrote:
>> That's actually going to change your test semantics slightly. You may want to run in both optimized and non-optimized modes to ensure full coverage - some code paths may not get exercised in one or the other case.
>> 
>> On 02/22/2011 03:03 PM, Mircea Markus wrote:
>>> Hi,
>>> 
>>> I've just run core's test suite with JBossTM and DummyTM.
>>> The duration on my local machine are:
>>> With dummy TM:  5:46.800s
>>> With JBossTM:      5:23.671s
>>> 
>>> A explanation for JBossTM over performing  DummyTM in spite keeping a tx log on the disk (which dummyTm doesn't) is the fact that it has 2PC optimisations for situations where only one resource is registered. In other words if there is only one cache participating in the transaction (most of our tests are like that) there won't be 2RPC but only one.
>>> Shall we use JBossTM as default TM for running local tests ?
>>> 
>>> Cheers,
>>> Mircea
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>> 
>> 
>> -- 
>> Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom.
>> Registered in UK and Wales under Company Registration No. 3798903 Directors: Michael Cunningham (USA), Charlie Peters (USA), Matt Parsons (USA) and Brendan Lane (Ireland).
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

---
Mark Little
mlittle at redhat.com

JBoss, by Red Hat
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903 Directors: Michael Cunningham (USA), Charlie Peters (USA), Matt Parsons (USA) and Brendan Lane (Ireland).







More information about the infinispan-dev mailing list