You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Will Berkeley (Code Review)" <ge...@cloudera.org> on 2018/09/11 17:39:32 UTC
[kudu-CR] [docs] Add basic advice on setting block cache size
Will Berkeley has uploaded this change for review. ( http://gerrit.cloudera.org:8080/11420
Change subject: [docs] Add basic advice on setting block cache size
......................................................................
[docs] Add basic advice on setting block cache size
This adds a short section to the troubleshooting guide about improving
the block cache size. It's fuzzy since the effectiveness of the cache
and the efficacy of enlarging it are so workload dependent (e.g.
consider a workload doing full table scans vs. one mostly re-scanning
a small range checking for updates), but I tried to provide a starting
point for users to evaluate their cache size since we've totally lacked
any advice on that up to this point.
I also added information about the change due to release in 1.8 that
servers won't start when the block cache capacity is set too large
relative to the memory limit.
Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
---
M docs/troubleshooting.adoc
1 file changed, 72 insertions(+), 5 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/20/11420/1
--
To view, visit http://gerrit.cloudera.org:8080/11420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Gerrit-Change-Number: 11420
Gerrit-PatchSet: 1
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
[kudu-CR] [docs] Add basic advice on setting block cache size
Posted by "Andrew Wong (Code Review)" <ge...@cloudera.org>.
Andrew Wong has posted comments on this change. ( http://gerrit.cloudera.org:8080/11420 )
Change subject: [docs] Add basic advice on setting block cache size
......................................................................
Patch Set 2:
(3 comments)
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc
File docs/troubleshooting.adoc:
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@557
PS1, Line 557: metrics
> Oops. Tangentially, why comment as a question if you know the text is wrong
I was confused about whether there was some other endpoint I didn't know about :)
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@602
PS1, Line 602: Kudu expected to read from cache but which weren't found in the cache. If a
> Looking at how the metrics behave on my local cluster, loading a block fres
Ah, I misinterpreted the above definition of `block_cache_misses_caching` as "the number of blocks Kudu expected to read from cache because it put it there, but which weren't found" i.e. those that were evicted from the cache that we maybe shouldn't have evicted.
Maybe reword the above definition to just "the number of blocks that Kudu tried to read from the cache but weren't found" or something?
http://gerrit.cloudera.org:8080/#/c/11420/2/docs/troubleshooting.adoc
File docs/troubleshooting.adoc:
http://gerrit.cloudera.org:8080/#/c/11420/2/docs/troubleshooting.adoc@596
PS2, Line 596: on a tablet server
Doesn't the same guidance apply to the masters as well? Though I guess it's not as important given how little activity there is on the masters.
--
To view, visit http://gerrit.cloudera.org:8080/11420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Gerrit-Change-Number: 11420
Gerrit-PatchSet: 2
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Thu, 13 Sep 2018 18:34:12 +0000
Gerrit-HasComments: Yes
[kudu-CR] [docs] Add basic advice on setting block cache size
Posted by "Will Berkeley (Code Review)" <ge...@cloudera.org>.
Hello Alexey Serbin, Attila Bukor, Kudu Jenkins, Andrew Wong, Adar Dembo,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/11420
to look at the new patch set (#3).
Change subject: [docs] Add basic advice on setting block cache size
......................................................................
[docs] Add basic advice on setting block cache size
This adds a short section to the troubleshooting guide about improving
the performance of the block cache. It's fuzzy since the
effectiveness of the cache and the efficacy of enlarging it are so
workload dependent (e.g. consider a workload doing full table scans vs.
one mostly re-scanning a small range checking for updates), but I tried
to provide a starting point for users to evaluate their cache size since
we've totally lacked any advice on that up to this point.
I also added information about the change due to release in 1.8 that
servers won't start when the block cache capacity is set too large
relative to the memory limit.
Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
---
M docs/troubleshooting.adoc
1 file changed, 78 insertions(+), 9 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/20/11420/3
--
To view, visit http://gerrit.cloudera.org:8080/11420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Gerrit-Change-Number: 11420
Gerrit-PatchSet: 3
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
[kudu-CR] [docs] Add basic advice on setting block cache size
Posted by "Andrew Wong (Code Review)" <ge...@cloudera.org>.
Andrew Wong has posted comments on this change. ( http://gerrit.cloudera.org:8080/11420 )
Change subject: [docs] Add basic advice on setting block cache size
......................................................................
Patch Set 3: Code-Review+2
(1 comment)
http://gerrit.cloudera.org:8080/#/c/11420/3/docs/troubleshooting.adoc
File docs/troubleshooting.adoc:
http://gerrit.cloudera.org:8080/#/c/11420/3/docs/troubleshooting.adoc@607
PS3, Line 607: necessary
nit: recommended?
--
To view, visit http://gerrit.cloudera.org:8080/11420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Gerrit-Change-Number: 11420
Gerrit-PatchSet: 3
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Mon, 17 Sep 2018 17:40:13 +0000
Gerrit-HasComments: Yes
[kudu-CR] [docs] Add basic advice on setting block cache size
Posted by "Will Berkeley (Code Review)" <ge...@cloudera.org>.
Will Berkeley has posted comments on this change. ( http://gerrit.cloudera.org:8080/11420 )
Change subject: [docs] Add basic advice on setting block cache size
......................................................................
Patch Set 2:
(5 comments)
http://gerrit.cloudera.org:8080/#/c/11420/1//COMMIT_MSG
Commit Message:
http://gerrit.cloudera.org:8080/#/c/11420/1//COMMIT_MSG@11
PS1, Line 11: are so
: workload dependent (e.g. consider a workload doing full table scans vs.
: one mostly re-scanning a small rang
> I was just letting you know. To the extent that it affects this patch...you
(thumbsup)
http://gerrit.cloudera.org:8080/#/c/11420/2//COMMIT_MSG
Commit Message:
http://gerrit.cloudera.org:8080/#/c/11420/2//COMMIT_MSG@10
PS2, Line 10: the performance of the block cache size
> This still doesn't make sense; what is the "performance of the block cache
Oops.
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc
File docs/troubleshooting.adoc:
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@557
PS1, Line 557: metrics
> I was confused about whether there was some other endpoint I didn't know ab
(thumbsup)
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@602
PS1, Line 602: Kudu expected to read from cache but which weren't found in the cache. If a
> Ah, I misinterpreted the above definition of `block_cache_misses_caching` a
:/ That's the correct interpretation...we just expect to find every block in the cache always unless the cache is off, I think :). Maybe that would change, but phrased this way the docs are relatively future-proofed, even if the part about checking eviction vs insertion numbers becomes redundant.
http://gerrit.cloudera.org:8080/#/c/11420/2/docs/troubleshooting.adoc
File docs/troubleshooting.adoc:
http://gerrit.cloudera.org:8080/#/c/11420/2/docs/troubleshooting.adoc@596
PS2, Line 596: on a tablet server
> Doesn't the same guidance apply to the masters as well? Though I guess it's
It sure does, but if you are struggling with cache performance on your masters you are in a realm of Kudu scalability where we don't know how to help you.
--
To view, visit http://gerrit.cloudera.org:8080/11420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Gerrit-Change-Number: 11420
Gerrit-PatchSet: 2
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Thu, 13 Sep 2018 18:56:35 +0000
Gerrit-HasComments: Yes
[kudu-CR] [docs] Add basic advice on setting block cache size
Posted by "Will Berkeley (Code Review)" <ge...@cloudera.org>.
Hello Alexey Serbin, Attila Bukor, Kudu Jenkins, Andrew Wong, Adar Dembo,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/11420
to look at the new patch set (#2).
Change subject: [docs] Add basic advice on setting block cache size
......................................................................
[docs] Add basic advice on setting block cache size
This adds a short section to the troubleshooting guide about improving
the performance of the block cache size. It's fuzzy since the
effectiveness of the cache and the efficacy of enlarging it are so
workload dependent (e.g. consider a workload doing full table scans vs.
one mostly re-scanning a small range checking for updates), but I tried
to provide a starting point for users to evaluate their cache size since
we've totally lacked any advice on that up to this point.
I also added information about the change due to release in 1.8 that
servers won't start when the block cache capacity is set too large
relative to the memory limit.
Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
---
M docs/troubleshooting.adoc
1 file changed, 78 insertions(+), 9 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/20/11420/2
--
To view, visit http://gerrit.cloudera.org:8080/11420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Gerrit-Change-Number: 11420
Gerrit-PatchSet: 2
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
[kudu-CR] [docs] Add basic advice on setting block cache size
Posted by "Will Berkeley (Code Review)" <ge...@cloudera.org>.
Will Berkeley has posted comments on this change. ( http://gerrit.cloudera.org:8080/11420 )
Change subject: [docs] Add basic advice on setting block cache size
......................................................................
Patch Set 2:
(8 comments)
http://gerrit.cloudera.org:8080/#/c/11420/1//COMMIT_MSG
Commit Message:
http://gerrit.cloudera.org:8080/#/c/11420/1//COMMIT_MSG@9
PS1, Line 9: improving
> Nit: "improving" is an odd choice here, since the subject is "the block cac
Done
http://gerrit.cloudera.org:8080/#/c/11420/1//COMMIT_MSG@11
PS1, Line 11: are so
: workload dependent (e.g. consider a workload doing full table scans vs.
: one mostly re-scanning a small rang
> Worth noting that the scanner API has a SetCacheBlocks() method to control
In the commit message, in the docs, or you are just letting me know? (Thanks, btw, I knew we didn't cache blocks when doing a checksum but I didn't know we had an scanner API for the same thing.)
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc
File docs/troubleshooting.adoc:
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@538
PS1, Line 538: _cache_capacity_mb` above the memory pressure
> Hrm, at first glance I read this as either:
I removed this clause and joined the first part of this sentence to the second instead.
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@542
PS1, Line 542: re threshold is recommended. With the defaults, thi
> Nit: clearer as "`--memory_pressure_percentage` of `--memory_limit_hard_byt
Done (but I also rewrote the surrounding text a little)
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@543
PS1, Line 543: `--block_cache_capacity_mb` should not exceed 30% of
: `--memory_limit_hard_bytes`. On Ku
> Nit: wouldn't it be clearer to use "block cache capacity" and "memory hard
No, I think this is clearest when referring the concrete values of the gflags. I rewrote the text before this sentence a little, which may have helped.
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@557
PS1, Line 557: metrics
> metrics?
Oops. Tangentially, why comment as a question if you know the text is wrong?
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@596
PS1, Line 596: first wait until
> Won't block_cache_usage be 100% of block_cache_capacity_mb given enough upt
Right, and we don't want users to extrapolate steady-state cache behavior from that case. I rewrote the section to emphasize users should look at the cache once the server has been running for a while, when it's expected that the cache is full.
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@602
PS1, Line 602: Kudu expected to read from cache but which weren't found in the cache. If a
> I'm trying to think of a case where this isn't true, but the above is true.
Looking at how the metrics behave on my local cluster, loading a block fresh counts as a miss, so the initial load of N blocks counts as N misses. Ergo we need to see evictions to confirm there is churn because pure miss numbers aren't sufficient.
--
To view, visit http://gerrit.cloudera.org:8080/11420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Gerrit-Change-Number: 11420
Gerrit-PatchSet: 2
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Thu, 13 Sep 2018 18:01:59 +0000
Gerrit-HasComments: Yes
[kudu-CR] [docs] Add basic advice on setting block cache size
Posted by "Will Berkeley (Code Review)" <ge...@cloudera.org>.
Will Berkeley has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/11420 )
Change subject: [docs] Add basic advice on setting block cache size
......................................................................
[docs] Add basic advice on setting block cache size
This adds a short section to the troubleshooting guide about improving
the performance of the block cache. It's fuzzy since the
effectiveness of the cache and the efficacy of enlarging it are so
workload dependent (e.g. consider a workload doing full table scans vs.
one mostly re-scanning a small range checking for updates), but I tried
to provide a starting point for users to evaluate their cache size since
we've totally lacked any advice on that up to this point.
I also added information about the change due to release in 1.8 that
servers won't start when the block cache capacity is set too large
relative to the memory limit.
Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Reviewed-on: http://gerrit.cloudera.org:8080/11420
Reviewed-by: Adar Dembo <ad...@cloudera.com>
Tested-by: Kudu Jenkins
Reviewed-by: Andrew Wong <aw...@cloudera.com>
---
M docs/troubleshooting.adoc
1 file changed, 78 insertions(+), 9 deletions(-)
Approvals:
Adar Dembo: Looks good to me, but someone else must approve
Kudu Jenkins: Verified
Andrew Wong: Looks good to me, approved
--
To view, visit http://gerrit.cloudera.org:8080/11420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Gerrit-Change-Number: 11420
Gerrit-PatchSet: 4
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
[kudu-CR] [docs] Add basic advice on setting block cache size
Posted by "Will Berkeley (Code Review)" <ge...@cloudera.org>.
Will Berkeley has posted comments on this change. ( http://gerrit.cloudera.org:8080/11420 )
Change subject: [docs] Add basic advice on setting block cache size
......................................................................
Patch Set 3:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/11420/3/docs/troubleshooting.adoc
File docs/troubleshooting.adoc:
http://gerrit.cloudera.org:8080/#/c/11420/3/docs/troubleshooting.adoc@607
PS3, Line 607: necessary
> nit: recommended?
No, I want the stronger word here.
--
To view, visit http://gerrit.cloudera.org:8080/11420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Gerrit-Change-Number: 11420
Gerrit-PatchSet: 3
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Mon, 17 Sep 2018 17:41:24 +0000
Gerrit-HasComments: Yes
[kudu-CR] [docs] Add basic advice on setting block cache size
Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has posted comments on this change. ( http://gerrit.cloudera.org:8080/11420 )
Change subject: [docs] Add basic advice on setting block cache size
......................................................................
Patch Set 1:
(5 comments)
http://gerrit.cloudera.org:8080/#/c/11420/1//COMMIT_MSG
Commit Message:
http://gerrit.cloudera.org:8080/#/c/11420/1//COMMIT_MSG@9
PS1, Line 9: improving
Nit: "improving" is an odd choice here, since the subject is "the block cache size" rather than "the performance of the block cache".
http://gerrit.cloudera.org:8080/#/c/11420/1//COMMIT_MSG@11
PS1, Line 11: e.g.
: consider a workload doing full table scans vs. one mostly re-scanning
: a small range checking for updates)
Worth noting that the scanner API has a SetCacheBlocks() method to control whether an individual scan's resulting blocks are cached in the block cache or not.
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc
File docs/troubleshooting.adoc:
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@542
PS1, Line 542: the memory pressure percentage times the hard limit
Nit: clearer as "`--memory_pressure_percentage` of `--memory_limit_hard_bytes`", to better connect to the previous sentence?
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@543
PS1, Line 543: With the defaults, this means the `--block_cache_capacity_mb` should not exceed
: 30% of `--memory_limit_hard_bytes`
Nit: wouldn't it be clearer to use "block cache capacity" and "memory hard limit" respectively in this sentence, since you're referring to tangible concepts and not to gflags?
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@596
PS1, Line 596: block_cache_usage`
Won't block_cache_usage be 100% of block_cache_capacity_mb given enough uptime? Meaning, the only case where it won't be the same value is a freshly started tserver with a cold cache.
--
To view, visit http://gerrit.cloudera.org:8080/11420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Gerrit-Change-Number: 11420
Gerrit-PatchSet: 1
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Comment-Date: Wed, 12 Sep 2018 21:00:31 +0000
Gerrit-HasComments: Yes
[kudu-CR] [docs] Add basic advice on setting block cache size
Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has posted comments on this change. ( http://gerrit.cloudera.org:8080/11420 )
Change subject: [docs] Add basic advice on setting block cache size
......................................................................
Patch Set 3: Code-Review+1
--
To view, visit http://gerrit.cloudera.org:8080/11420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Gerrit-Change-Number: 11420
Gerrit-PatchSet: 3
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Thu, 13 Sep 2018 19:03:31 +0000
Gerrit-HasComments: No
[kudu-CR] [docs] Add basic advice on setting block cache size
Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has posted comments on this change. ( http://gerrit.cloudera.org:8080/11420 )
Change subject: [docs] Add basic advice on setting block cache size
......................................................................
Patch Set 2:
(2 comments)
http://gerrit.cloudera.org:8080/#/c/11420/1//COMMIT_MSG
Commit Message:
http://gerrit.cloudera.org:8080/#/c/11420/1//COMMIT_MSG@11
PS1, Line 11: are so
: workload dependent (e.g. consider a workload doing full table scans vs.
: one mostly re-scanning a small rang
> In the commit message, in the docs, or you are just letting me know? (Thank
I was just letting you know. To the extent that it affects this patch...you could argue that a well-written full table scan will NOT cache blocks and thus have no effect on the block cache. But that's not a given, and I don't even know if Impala uses that API.
http://gerrit.cloudera.org:8080/#/c/11420/2//COMMIT_MSG
Commit Message:
http://gerrit.cloudera.org:8080/#/c/11420/2//COMMIT_MSG@10
PS2, Line 10: the performance of the block cache size
This still doesn't make sense; what is the "performance of the block cache size"? Did you mean "the performance of the block cache"?
--
To view, visit http://gerrit.cloudera.org:8080/11420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Gerrit-Change-Number: 11420
Gerrit-PatchSet: 2
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Thu, 13 Sep 2018 18:47:07 +0000
Gerrit-HasComments: Yes
[kudu-CR] [docs] Add basic advice on setting block cache size
Posted by "Andrew Wong (Code Review)" <ge...@cloudera.org>.
Andrew Wong has posted comments on this change. ( http://gerrit.cloudera.org:8080/11420 )
Change subject: [docs] Add basic advice on setting block cache size
......................................................................
Patch Set 1:
(3 comments)
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc
File docs/troubleshooting.adoc:
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@538
PS1, Line 538: as a percentage of `--memory_limit_hard_bytes`
Hrm, at first glance I read this as either:
- the block cache shouldn't be larger than 1% of --memory_limit_hard_bytes, or
- there is some percentage of --memory_limit_hard_bytes at which setting the block cache size would be bad
Since this is clarified below, maybe just, "(see below)"?
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@557
PS1, Line 557: metricz
metrics?
http://gerrit.cloudera.org:8080/#/c/11420/1/docs/troubleshooting.adoc@602
PS1, Line 602: `block_cache_evictions` metric is significant compared to `block_cache_inserts`
I'm trying to think of a case where this isn't true, but the above is true. I.e. where there isn't a lot of churn in the block cache and it's near capacity, but there are a lot of cache misses. That shouldn't happen, right?
--
To view, visit http://gerrit.cloudera.org:8080/11420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idc7411c38b6fcc8694509ec89c32e2fe74e6c0db
Gerrit-Change-Number: 11420
Gerrit-PatchSet: 1
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Comment-Date: Wed, 12 Sep 2018 18:33:56 +0000
Gerrit-HasComments: Yes