[ https://issues.apache.org/jira/browse/CASSANDRA-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970253#action_12970253 ]
Peter Schuller commented on CASSANDRA-1470: ------------------------------------------- Oh, and one more thing: Just to bring it up again since we're back to direct i/o vs. posix_fadvise(): Be aware that posix_fadvise() is not truly portable in practice even though it's POSIX. We have already established that DONTNEED is the only one implemented on Linux. On FreeBSD it doesn't seem to exist at all. Googling indicates it might exist in Solaris (but I have no idea to what extent or how it is implemented without checking thorougly). This is not necessarily a great argument against it, as long as the use of it is optional and Cassandra still runs without it, but at least something to not loose sight of. What about Windows, anyone? > 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.7.1 > > Attachments: 1470-v2.txt, 1470.txt, CASSANDRA-1470-for-0.6.patch, > CASSANDRA-1470-v10-for-0.7.patch, CASSANDRA-1470-v11-for-0.7.patch, > CASSANDRA-1470-v12-0.7.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-v9-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.