You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2020/06/19 00:50:00 UTC
[jira] [Commented] (CASSANDRA-15884) Add a startup check to detect
if LZ4 uses java rather than native implementation
[ https://issues.apache.org/jira/browse/CASSANDRA-15884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17140079#comment-17140079 ]
David Capwell commented on CASSANDRA-15884:
-------------------------------------------
testing was down manually by making sure the glibc on the host was older than the one compiled against lz4-java. When profiled saw that the Unsafe java implementation was used, but when the host glibc is new enough then Jni is used.
> Add a startup check to detect if LZ4 uses java rather than native implementation
> --------------------------------------------------------------------------------
>
> Key: CASSANDRA-15884
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15884
> Project: Cassandra
> Issue Type: Improvement
> Components: Dependencies
> Reporter: David Capwell
> Assignee: David Capwell
> Priority: Normal
>
> In some environments the native implementation can’t link with glibc and silently falls back to java; this hurts performance. To help warn the operators, we should add a startup check to detect this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org