cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Yaskevich (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-7594) Disruptor Thrift server worker thread pool not adjustable
Date Thu, 04 Sep 2014 21:05:24 GMT


Pavel Yaskevich updated CASSANDRA-7594:
    Attachment: thrift-server-0.3.7-SNAPSHOT.jar

[~philipthompson] I've re-uploaded the jar with would properly shutdown invocation pool, because
it turns out that Disruptor doesn't do it on WorkerPool drainAndHalt. Please give it a try,
this should be the last thing. Thank you!

> Disruptor Thrift server worker thread pool not adjustable
> ---------------------------------------------------------
>                 Key: CASSANDRA-7594
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Rick Branson
>            Assignee: Pavel Yaskevich
>             Fix For: 2.0.11
>         Attachments: CASSANDRA-7594.patch, disruptor-thrift-server-0.3.6-SNAPSHOT.jar,
jstack.txt, thrift-server-0.3.7-SNAPSHOT.jar
> For the THsHaDisruptorServer, there may not be enough threads to run blocking StorageProxy
methods. The current number of worker threads is hardcoded at 2 per selector, so 2 * numAvailableProcessors(),
or 64 threads on a 16-core hyperthreaded machine. StorageProxy methods block these threads,
so this puts an upper bound on the throughput if hsha is enabled. If operations take 10ms
on average, the node can only handle a maximum of 6,400 operations per second. This is a regression
from hsha on 1.2.x, where the thread pool was tunable using rpc_min_threads and rpc_max_threads.

This message was sent by Atlassian JIRA

View raw message