Brock Noland has posted comments on this change.

Change subject: [tests] fix test which fails with two cpus and document other 
dependencies
......................................................................


Patch Set 6:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/4446/6//COMMIT_MSG
Commit Message:

PS6, Line 17: 2) the fact that capacity of SharedLRUCache is higher than the 
capacity
            : configured if the configured capacity is not divisible by the the 
number
            : of CPUs.
            : 
            : For example, the capacity is set here:
            : 
            :   FLAGS_codegen_cache_capacity = 10;
            : 
            : However, if the capacity is not perfectly divisible by the number 
of CPUs,
            : actual capacity is slightly higher.
            : 
            : CPU 2 => Capacity 10, 5/shard
            : CPU 4 => Capacity 12, 3/shard
            : CPU 8 => Capacity 16, 2/shard
            : 
            : Due to this calculation:
            : 
            : const size_t per_shard = (capacity + (num_shards - 1)) / 
num_shards;
> I appreciate the detailed explanation here, but I'm having a hard time unde
Shoot, my explanation as subpar. I will update, but in each of those examples 
the configured capacity is 10, but the actual capacity is 10, 12, 16.

More details coming.


-- 
To view, visit http://gerrit.cloudera.org:8080/4446
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I81b70f63923078d449f6541a61b292517e49877d
Gerrit-PatchSet: 6
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Brock Noland <br...@phdata.io>
Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Brock Noland <br...@phdata.io>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>
Gerrit-Reviewer: Will Berkeley <wdberke...@gmail.com>
Gerrit-HasComments: Yes

Reply via email to