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

ramkrishna.s.vasudevan commented on HBASE-17738:
------------------------------------------------

I don know why we should be complicating this further. Where ever round off is 
going to yield something above > (x.5) this floor will make it to the lower 
value. Else all other cases it will be same as we do round off.
The final thread creating few more threads IMHO is not going to affect much and 
I think again adding minumum buffers to be created etc are all more overhead. 
In test cases like this we can even just create all the buffers with a single 
threads as they are all very small. 

> BucketCache startup is slow
> ---------------------------
>
>                 Key: HBASE-17738
>                 URL: https://issues.apache.org/jira/browse/HBASE-17738
>             Project: HBase
>          Issue Type: Sub-task
>          Components: BucketCache
>    Affects Versions: 2.0.0
>            Reporter: stack
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0, 2.0.0-alpha-2
>
>         Attachments: HBASE-17738_10.patch, HBASE-17738_2.patch, 
> HBASE-17738_2.patch, HBASE-17738_3.patch, HBASE-17738_4.patch, 
> HBASE-17738_5_withoutUnsafe.patch, HBASE-17738_6_withoutUnsafe.patch, 
> HBASE-17738_8.patch, HBASE-17738_9.patch, HBASE-17738_log.patch, 
> HBASE-17738.patch
>
>
> If you set bucketcache size at 64G say and then start hbase, it takes a long 
> time. Can we do the allocations in parallel and not inline with the server 
> startup?
> Related, prefetching on a bucketcache is slow. Speed it up.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to