cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <>
Subject [jira] Updated: (CASSANDRA-1099) make CFS.flushWriter_ size configurable
Date Fri, 28 May 2010 21:05:38 GMT


Brandon Williams updated CASSANDRA-1099:

    Attachment: 1099.txt

Updated patch which comments out the config, which will default the number of writer threads
to the number of data directories.

> make CFS.flushWriter_ size configurable
> ---------------------------------------
>                 Key: CASSANDRA-1099
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Brandon Williams
>            Priority: Minor
>             Fix For: 0.7
>         Attachments: 1099.txt
> For small heaps (including our out-of-the-box 1G) we want to allow reducing this from
the automatic (1 + 2 * DatabaseDescriptor.getAllDataFileLocations().length); having 3 memtables
in the queue, plus another being written, is over 200MB which is a significant amount of data
for the GC to chew through (see CASSANDRA-1014).
> For large heaps, we might also want to allow *increasing* this value, to accommodate
load spikes better.
> Unfortunately making this configurable at runtime does not appear to be an option due
to the lack of a setCapacity method on any of the BlockingQueue classes.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message