[jboss-dev-forums] [Design of JBossCache] - Re: Lock striping broken for Second Level Cache use case

jason.greene@jboss.com do-not-reply at jboss.com
Thu Mar 19 09:44:00 EDT 2009


"manik.surtani at jboss.com" wrote : I'd hate to introduce another cfg variable that essentially does the same thing.  At the end of the day, the default is striped locks + cL of 500.  If someone switches off striped locking, they're best off re-tuning the cL as well.

I guess my point was more that the default is fine. You could also do something like segments = (concurrency level % 20)

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219476#4219476

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219476



More information about the jboss-dev-forums mailing list