Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
Description
Brian Aker pointed out a while ago that allowing multiple threads to modify the commitlog simultaneously (reserving space for each with a CAS first, the way we do in the SlabAllocator.Region.allocate) can improve performance, since you're not bottlenecking on a single thread to do all the copying and CRC computation.
Now that we use mmap'd CommitLog segments (CASSANDRA-3411) this becomes doable.
(moved from CASSANDRA-622, which was getting a bit muddled.)
Attachments
Attachments
Issue Links
- is depended upon by
-
CASSANDRA-3930 CommitLogSegment uses RandomAccessFile which doesnt have fadvice
- Resolved
- is duplicated by
-
CASSANDRA-5911 Commit logs are not removed after nodetool flush or nodetool drain
- Resolved
- relates to
-
CASSANDRA-9533 Make batch commitlog mode easier to tune
- Resolved