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

Jonathan Ellis commented on CASSANDRA-1470:
-------------------------------------------

It looks like O_DIRECT is the simplest solution and has the most prior art.  
Let's go that route either with a patch like Chris's or JNA.  (Peter's patch to 
CASSANDRA-1214 had a good example of integrating a C patch w/ our ant build, 
even though we took the JNA route there.)

> use direct io for compaction
> ----------------------------
>
>                 Key: CASSANDRA-1470
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1470
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>             Fix For: 0.6.6
>
>         Attachments: 1470-v2.txt, 1470.txt
>
>
> When compaction scans through a group of sstables, it forces the data in the 
> os buffer cache being used for hot reads, which can have a dramatic negative 
> effect on performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to