[ 
https://issues.apache.org/jira/browse/CASSANDRA-8897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14487044#comment-14487044
 ] 

Stefania commented on CASSANDRA-8897:
-------------------------------------

That's a great idea, so the shared queue of slabs will be of 64Kb slices which 
are also sliced from bigger 1Mb slabs. Here though we do need to be careful 
about thread contention but it should be easy to solve with a sentinel in the 
queue or similar.

I'll use a counter and relinquish all slabs when it reaches zero or somehow I 
should be able to work out when the pool is back to full capacity by doing some 
basic book keeping.

> Remove FileCacheService, instead pooling the buffers
> ----------------------------------------------------
>
>                 Key: CASSANDRA-8897
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8897
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>            Assignee: Stefania
>             Fix For: 3.0
>
>
> After CASSANDRA-8893, a RAR will be a very lightweight object and will not 
> need caching, so we can eliminate this cache entirely. Instead we should have 
> a pool of buffers that are page-aligned.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to