You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "yuqi (JIRA)" <ji...@apache.org> on 2017/03/15 08:02:41 UTC

[jira] [Comment Edited] (CASSANDRA-13326) Support unaligned memory access for AArch64

    [ https://issues.apache.org/jira/browse/CASSANDRA-13326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15925688#comment-15925688 ] 

yuqi edited comment on CASSANDRA-13326 at 3/15/17 8:02 AM:
-----------------------------------------------------------

We are trying to enable Cassandra on AArch64 and found that: 
1.Cassandra uses JNA 4.0.0 which doesn't come with native AArch64 support.
2.Cassandra  uses Snappy Compress Library version 1.1.1.7 which was released in 2014 and has no aarch64 support. 
So ' snappy-java-1.1.1.7.jar' and 'jna-4.0.0.jar' are built on AArch64 host and replaced on path '$CASSANDRA_SRC/lib'. It makes cassadra work on AArch64.

But this patch just enable aarch64 unaligned memory access. It doesn't affect the execution of cassandra.
We will take more tests on AArch64 for cassandra in the future. It's a nice beginning of cassandra enablement on AArch64, which is our focus on.



was (Author: yuqilinaro):
We are trying to run Cassandra on AArch64 and found that: 
1.Cassandra uses JNA 4.0.0 which doesn't come with native AArch64 support.
2.Cassandra  uses Snappy Compress Library version 1.1.1.7 which was released in 2014 and has no aarch64 support. 
So ' snappy-java-1.1.1.7.jar' and 'jna-4.0.0.jar' are built on AArch64 host and replaced on path '$CASSANDRA_SRC/lib'. It makes cassadra work on AArch64.

But this patch just enable aarch64 unaligned memory access. It doesn't affect the execution of cassandra.
We will take more tests on AArch64 for cassandra in the future. It's a nice beginning of cassandra enablement on AArch64, which is our focus on.


>  Support unaligned memory access for AArch64 
> ---------------------------------------------
>
>                 Key: CASSANDRA-13326
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13326
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Observability, Testing
>         Environment: ARM Cortex-A57@2.1GHz (Hisilicon Taishan/ Cavium ThunderX)
> Ubuntu 16.04.1 LTS 
>            Reporter: yuqi
>            Priority: Minor
>             Fix For: 3.10
>
>         Attachments: 13326-3.10.txt
>
>
> ARMv8 (AArch64)  supports unaligned memory access. The patch will enable it and will improve performance on AArch64



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)