[ 
https://issues.apache.org/jira/browse/CASSANDRA-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Yaskevich updated CASSANDRA-1470:
---------------------------------------

    Attachment: CASSANDRA-1470-v8-for-0.7.patch

Thanks, Jake!

3). I wasn't working on the write support for direct mode, it requires a 
separate ticket as it was agreed in the previous comments. arrayOffset() throws 
UnsupportedOperationException for me on linux (Debian with 1.6.0_0 openJDK), 
it's an optional operation the same as .array() is, so I have reworked your 
code and everything is working now.

4). Fixed it

5). Don't want to start a holy-war here, it just fills more natural and 
readable for me to use "this.", I haven't seen anywhere that it's forbidden (it 
is optional though). So if you want me to remove those "this.", I will - 
without any problem.

Don't think it should have a significantly better performance on the small 
files comparing to ordinary BRAF but as I have tested and seen that it has 
better performance of the large files, try to create file with 10000 column 
family create/drop statements and run it using CLI and compare old and new, you 
will see the difference :)


> 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
>            Assignee: Pavel Yaskevich
>             Fix For: 0.6.9
>
>         Attachments: 1470-v2.txt, 1470.txt, CASSANDRA-1470-for-0.6.patch, 
> CASSANDRA-1470-v2.patch, 
> CASSANDRA-1470-v3-0.7-with-LastErrorException-support.patch, 
> CASSANDRA-1470-v4-for-0.7.patch, CASSANDRA-1470-v5-for-0.7.patch, 
> CASSANDRA-1470-v6-for-0.7.patch, CASSANDRA-1470-v7-for-0.7.patch, 
> CASSANDRA-1470-v8-for-0.7.patch, CASSANDRA-1470.patch, 
> use.DirectIORandomAccessFile.for.commitlog.against.1022235.patch
>
>
> 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