cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-14466) Enable Direct I/O
Date Thu, 07 Jun 2018 17:14:00 GMT


Robert Stupp commented on CASSANDRA-14466:

[~mulugetam], let's wait with a patch for review until CASSANDRA-9608 is actually in or nearly
ready. For C* 4.0, we'd need a solution that works with both Java 8 _and_ 11 - i.e. works
as now for Java 8 and can use direct-I/O w/ Java 11 (see the recent discussion on the dev-ML).
I think, a multi-release-JAR is probably the easiest way forward and I have something lying
around but not yet ready - but the final solution obviously depends on whether reflection
or separate classes for 8 + 11 are easier to implement.

> Enable Direct I/O 
> ------------------
>                 Key: CASSANDRA-14466
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Local Write-Read Paths
>            Reporter: Mulugeta Mammo
>            Priority: Major
>         Attachments: direct_io.patch
> Hi,
> JDK 10 introduced a new API for Direct IO that enables applications to bypass the file
system cache and potentially improve performance. Details of this feature can be found at
> This patch uses the JDK 10 API to enable Direct IO for the Cassandra read path. By default,
we have disabled this feature; but it can be enabled using a  new configuration parameter,
enable_direct_io_for_read_path. We have conducted a Cassandra read-only stress test and measured
a throughput gain of up to 60% on flash drives.
> The patch requires JDK 10 Cassandra Support - 
> Please review the patch and let us know your feedback.
> Thanks,
> [^direct_io.patch]

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message