Re: [infinispan-dev] CHM or CHMv8?

2013-04-19 Thread Radim Vansa
Do you have the numbers for JDK 7 as well? Radim - Original Message - | From: Manik Surtani msurt...@redhat.com | To: infinispan -Dev List infinispan-dev@lists.jboss.org | Sent: Friday, April 19, 2013 4:35:53 AM | Subject: [infinispan-dev] CHM or CHMv8? | | Guys, | | Based on some

Re: [infinispan-dev] CHM or CHMv8?

2013-04-19 Thread Dan Berindei
+1 to make CHMv8 the default on JDK6 and JDK7 But I'm not convinced we should make it the default for JDK8 - even though we don't know exactly what we're getting with the JDK's implementation. On Fri, Apr 19, 2013 at 5:39 AM, David M. Lloyd david.ll...@redhat.comwrote: On 04/18/2013 09:35 PM,

Re: [infinispan-dev] CHM or CHMv8?

2013-04-19 Thread Sanne Grinovero
Why not. Only doubt I'd have is that other usages of the CHM are - I guess - services registry and similar configuration tools, for which write performance is irrelevant: your test measured puts, are there drawbacks on gets or memory usage? Recently you changed all (most?) CHM creations to use a

Re: [infinispan-dev] ISPN-263 and handling partitions

2013-04-19 Thread Pedro Ruivo
On 04/18/2013 02:26 PM, Manik Surtani wrote: I presume versioning (based on Vector Clocks) is now in master, as a part of Pedro's work on total order? No, I didn't add vector clocks. ___ infinispan-dev mailing list infinispan-dev@lists.jboss.org

Re: [infinispan-dev] ISPN-263 and handling partitions

2013-04-19 Thread Pedro Ruivo
On 04/05/2013 02:53 PM, Manik Surtani wrote: 2. The SBL flips a switch in an interceptor (SplitBrainHandlerInterceptor?) which switches the node to be read-only (reject invocations that change the state of the local node) if it is in the smaller partition (newView.size oldView.size /

Re: [infinispan-dev] CHM or CHMv8?

2013-04-19 Thread Dan Berindei
Testing mixed read/write performance with capacity 10, keys 30, concurrency level 32, threads 12, read:write ratio 99:1 Container CHM Ops/s 5178894.77 Gets/s 5127105.82 Puts/s 51788.95 HitRatio 86.23 Size 177848 stdDev 60896.42 Container CHMV8 Ops/s

Re: [infinispan-dev] CHM or CHMv8?

2013-04-19 Thread Sanne Grinovero
On 19 April 2013 10:37, Dan Berindei dan.berin...@gmail.com wrote: Testing mixed read/write performance with capacity 10, keys 30, concurrency level 32, threads 12, read:write ratio 99:1 Container CHM Ops/s 5178894.77 Gets/s 5127105.82 Puts/s 51788.95 HitRatio 86.23

Re: [infinispan-dev] CHM or CHMv8?

2013-04-19 Thread Sanne Grinovero
On 19 April 2013 11:10, Dan Berindei dan.berin...@gmail.com wrote: On Fri, Apr 19, 2013 at 12:58 PM, Sanne Grinovero sa...@infinispan.org wrote: On 19 April 2013 10:37, Dan Berindei dan.berin...@gmail.com wrote: Testing mixed read/write performance with capacity 10, keys 30,

Re: [infinispan-dev] CHM or CHMv8?

2013-04-19 Thread Manik Surtani
Ok, I've created https://issues.jboss.org/browse/ISPN-3022 In fact, we should also re-implement the BoundedConcurrentHashMap - the basis for LIRS and LRU eviction algorithms - to use techniques similar to CHMv8 rather than the old segment-based approach.

Re: [infinispan-dev] CHM or CHMv8?

2013-04-19 Thread Mircea Markus
On 19 Apr 2013, at 08:47, Dan Berindei wrote: +1 to make CHMv8 the default on JDK6 and JDK7 +1 Cheers, -- Mircea Markus Infinispan lead (www.infinispan.org) ___ infinispan-dev mailing list infinispan-dev@lists.jboss.org

Re: [infinispan-dev] CHM or CHMv8?

2013-04-19 Thread Mircea Markus
On 19 Apr 2013, at 13:16, Manik Surtani wrote: https://issues.jboss.org/browse/ISPN-3022 In fact, we should also re-implement the BoundedConcurrentHashMap - the basis for LIRS and LRU eviction algorithms - to use techniques similar to CHMv8 rather than the old segment-based approach.

Re: [infinispan-dev] CHM or CHMv8?

2013-04-19 Thread David M. Lloyd
On 04/19/2013 05:17 AM, Sanne Grinovero wrote: On 19 April 2013 11:10, Dan Berindei dan.berin...@gmail.com wrote: On Fri, Apr 19, 2013 at 12:58 PM, Sanne Grinovero sa...@infinispan.org wrote: On 19 April 2013 10:37, Dan Berindei dan.berin...@gmail.com wrote: Testing mixed read/write

Re: [infinispan-dev] CHM or CHMv8?

2013-04-19 Thread David M. Lloyd
On 04/19/2013 08:22 AM, Sanne Grinovero wrote: On 19 April 2013 13:52, David M. Lloyd david.ll...@redhat.com wrote: On 04/19/2013 05:17 AM, Sanne Grinovero wrote: On 19 April 2013 11:10, Dan Berindei dan.berin...@gmail.com wrote: On Fri, Apr 19, 2013 at 12:58 PM, Sanne Grinovero