[
https://issues.apache.org/jira/browse/CASSANDRA-14466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18040775#comment-18040775
]
Yuqi Yan commented on CASSANDRA-14466:
--------------------------------------
+1 on we should add support for direct IO for compaction reads (and maybe other
places)
Recently trying to understand the memory pressure sources for Cassandra, and I
think reading everything through buffered IO could be one of the contributors.
For compaction reads I don't see strong reason that records should be loaded
into page cache and later be evicted.
Haven't looked into the patch yet but I'll spend some time to look around the
linked tickets here
> Enable Direct I/O
> ------------------
>
> Key: CASSANDRA-14466
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14466
> Project: Apache Cassandra
> Issue Type: New Feature
> Components: Legacy/Local Write-Read Paths
> Reporter: Mulugeta Mammo
> Priority: Normal
> Fix For: 5.x
>
>
> 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 [https://bugs.openjdk.java.net/browse/JDK-8164900].
> 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 -
> https://issues.apache.org/jira/browse/CASSANDRA-9608
> Please review the patch and let us know your feedback.
> Thanks,
> [^direct_io.patch]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]