[jira] [Commented] (CASSANDRA-5361) Enable ThreadLocal allocation in the JVM
[ https://issues.apache.org/jira/browse/CASSANDRA-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13629795#comment-13629795 ] Ahmed Bashir commented on CASSANDRA-5361: - Incidentally we've operated with this option enabled for some a few months now and have observed reduced latency as well Enable ThreadLocal allocation in the JVM Key: CASSANDRA-5361 URL: https://issues.apache.org/jira/browse/CASSANDRA-5361 Project: Cassandra Issue Type: Improvement Environment: JDK 6 Reporter: T Jake Luciani Assignee: T Jake Luciani Fix For: 1.1.11, 1.2.4 Adding -XX:+UseTLAB to cassandra-env.sh yields a ~15% read performance boost. Works with usual stress tool but also in our production. It enables thread local allocation of new objects which makes sense for SEDA based systems. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-5361) Enable ThreadLocal allocation in the JVM
[ https://issues.apache.org/jira/browse/CASSANDRA-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13609106#comment-13609106 ] T Jake Luciani commented on CASSANDRA-5361: --- committed in https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=commit;h=c5864a524e11842a75ac1d6c79ed137fadcb6c0e Enable ThreadLocal allocation in the JVM Key: CASSANDRA-5361 URL: https://issues.apache.org/jira/browse/CASSANDRA-5361 Project: Cassandra Issue Type: Improvement Environment: JDK 6 Reporter: T Jake Luciani Assignee: T Jake Luciani Fix For: 1.2.4 Adding -XX:+UseTLAB to cassandra-env.sh yields a ~15% read performance boost. Works with usual stress tool but also in our production. It enables thread local allocation of new objects which makes sense for SEDA based systems. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-5361) Enable ThreadLocal allocation in the JVM
[ https://issues.apache.org/jira/browse/CASSANDRA-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13607428#comment-13607428 ] Marcus Eriksson commented on CASSANDRA-5361: it seems +UseTLAB is on by default Enable ThreadLocal allocation in the JVM Key: CASSANDRA-5361 URL: https://issues.apache.org/jira/browse/CASSANDRA-5361 Project: Cassandra Issue Type: Improvement Environment: JDK 6 Reporter: T Jake Luciani Assignee: Ryan McGuire Fix For: 1.2.4 Adding -XX:+UseTLAB to cassandra-env.sh yields a ~15% read performance boost. Works with usual stress tool but also in our production. It enables thread local allocation of new objects which makes sense for SEDA based systems. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-5361) Enable ThreadLocal allocation in the JVM
[ https://issues.apache.org/jira/browse/CASSANDRA-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13607519#comment-13607519 ] T Jake Luciani commented on CASSANDRA-5361: --- Its default with -server which we don't set Enable ThreadLocal allocation in the JVM Key: CASSANDRA-5361 URL: https://issues.apache.org/jira/browse/CASSANDRA-5361 Project: Cassandra Issue Type: Improvement Environment: JDK 6 Reporter: T Jake Luciani Assignee: Ryan McGuire Fix For: 1.2.4 Adding -XX:+UseTLAB to cassandra-env.sh yields a ~15% read performance boost. Works with usual stress tool but also in our production. It enables thread local allocation of new objects which makes sense for SEDA based systems. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-5361) Enable ThreadLocal allocation in the JVM
[ https://issues.apache.org/jira/browse/CASSANDRA-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13608255#comment-13608255 ] Ryan McGuire commented on CASSANDRA-5361: - I've run a 4-node baseline off trunk without +UseTLAB and here is the average result: {code} stress -n 200 -o read -i 1 Averages from the middle 80% of values: interval_op_rate : 21918 interval_key_rate : 21918 latency median: 0.9 latency 95th percentile : 2.7 latency 99.9th percentile : 40.2 Total operation time : 00:01:42 END {code} With +UseTLAB I do indeed get better results: {code} Averages from the middle 80% of values: interval_op_rate : 28352 interval_key_rate : 28352 latency median: 0.7 latency 95th percentile : 1.4 latency 99.9th percentile : 22.3 Total operation time : 00:01:21 END {code} Looking at interval_op_rate, that's ~30% increase in read performance. Interestingly, I see more variation in the interval_op_rate with UseTLAB - the first run I ran was much closer to the baseline at 23065. I never saw that much variation without UseTLAB, but I never did see a value that was below the baseline average, so I see it as a benefit to turn it on even though it's less consistent. Write performance did not noticeably change. Enable ThreadLocal allocation in the JVM Key: CASSANDRA-5361 URL: https://issues.apache.org/jira/browse/CASSANDRA-5361 Project: Cassandra Issue Type: Improvement Environment: JDK 6 Reporter: T Jake Luciani Assignee: Ryan McGuire Fix For: 1.2.4 Adding -XX:+UseTLAB to cassandra-env.sh yields a ~15% read performance boost. Works with usual stress tool but also in our production. It enables thread local allocation of new objects which makes sense for SEDA based systems. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-5361) Enable ThreadLocal allocation in the JVM
[ https://issues.apache.org/jira/browse/CASSANDRA-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13608490#comment-13608490 ] Jonathan Ellis commented on CASSANDRA-5361: --- Ship it! Enable ThreadLocal allocation in the JVM Key: CASSANDRA-5361 URL: https://issues.apache.org/jira/browse/CASSANDRA-5361 Project: Cassandra Issue Type: Improvement Environment: JDK 6 Reporter: T Jake Luciani Assignee: T Jake Luciani Fix For: 1.2.4 Adding -XX:+UseTLAB to cassandra-env.sh yields a ~15% read performance boost. Works with usual stress tool but also in our production. It enables thread local allocation of new objects which makes sense for SEDA based systems. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-5361) Enable ThreadLocal allocation in the JVM
[ https://issues.apache.org/jira/browse/CASSANDRA-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13606769#comment-13606769 ] Ryan McGuire commented on CASSANDRA-5361: - Assigning to myself for testing. Enable ThreadLocal allocation in the JVM Key: CASSANDRA-5361 URL: https://issues.apache.org/jira/browse/CASSANDRA-5361 Project: Cassandra Issue Type: Improvement Environment: JDK 6 Reporter: T Jake Luciani Assignee: Ryan McGuire Fix For: 1.2.4 Adding -XX:+UseTLAB to cassandra-env.sh yields a ~15% read performance boost. Works with usual stress tool but also in our production. It enables thread local allocation of new objects which makes sense for SEDA based systems. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira