绝想首页

NonBlockingHashMap vs ConcurrentHashMap

张洁jy4qg5 [感悟] 2013-03-26 03:41:52 星期二 晴天 查看:150 回复:0 发消息给作者
  1. As fast as java.util.HashTable for single threads
  2. As fast as ConcurrentHashMap for < 32 cpus and >95% read rates
  3. Faster for higher write rates than ConcurrentHashMap.  (2x to 8x faster, depending)
  4. Faster for more CPUs.  Much faster if not striping ConcurrentHashMap enough (easily 100x faster)
  5. Scales linearly for all read/write rates at least up 750 cpus.  Tested on 4-way X86, Niagra, 32-way UltraSparc2, 384-way Azul Vega1 and a 768-way Azul Vega2.
顶一下(32 写日记 1234154 236904
上一篇:失而复得下一篇:受不了了.....
分享排行

 

 

留住已经逝去的峥嵘岁月 记住曾经绽现的万种风情 在记忆即将淡漠的时候 来把这些重新回味

Copyright (C) 2008-2014 www.juexiang.com, All Rights Reserved.

京ICP备2023001011号-3   京公网安备11010802011908号

客服QQ 1017160561 违法和不良信息举报电话 13148464312 邮箱 1017160561@qq.com