New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arc_summary.py require review to proper reflect actual value for ZoL #5526
Comments
|
p is the MRU target size, not the actual size I suggest if you are writing an agent to go directly to the arc.c source for details and get the values directly from the /proc/spl/kstat/zfs/* rather than an intermediary script such as arc_summary |
|
that's what I am doing right now, as arc_summary.py is included in current ZoL, |
13 tasks
Nasf-Fan
pushed a commit
to Nasf-Fan/zfs
that referenced
this issue
Nov 4, 2017
Use mfu_size and mru_size pulled from the arcstats kstat file to calculate the mfu and mru percentages for arc size breakdown. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed-by: AndCycle <andcycle@andcycle.idv.tw> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Closes openzfs#5526 Closes openzfs#6770
Nasf-Fan
pushed a commit
to Nasf-Fan/zfs
that referenced
this issue
Nov 6, 2017
Use mfu_size and mru_size pulled from the arcstats kstat file to calculate the mfu and mru percentages for arc size breakdown. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed-by: AndCycle <andcycle@andcycle.idv.tw> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Closes openzfs#5526 Closes openzfs#6770
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this issue
Nov 21, 2017
Use mfu_size and mru_size pulled from the arcstats kstat file to calculate the mfu and mru percentages for arc size breakdown. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed-by: AndCycle <andcycle@andcycle.idv.tw> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Closes openzfs#5526 Closes openzfs#6770
Nasf-Fan
pushed a commit
to Nasf-Fan/zfs
that referenced
this issue
Jan 29, 2018
Use mfu_size and mru_size pulled from the arcstats kstat file to calculate the mfu and mru percentages for arc size breakdown. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed-by: AndCycle <andcycle@andcycle.idv.tw> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Closes openzfs#5526 Closes openzfs#6770
Nasf-Fan
pushed a commit
to Nasf-Fan/zfs
that referenced
this issue
Feb 13, 2018
Use mfu_size and mru_size pulled from the arcstats kstat file to calculate the mfu and mru percentages for arc size breakdown. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed-by: AndCycle <andcycle@andcycle.idv.tw> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Closes openzfs#5526 Closes openzfs#6770
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this is just a note about this script,
as I am working with a munin plugin to proper present ZoL stats,
I found that arc_sumary.py is original written for FreeBSD,
and some of the arcstats it use to summarize the result is not actual value on ZoL.
for example,
pis stand for target size of MRUso it use
pasMRU size,size-pasMFU size,on ZoL we do have independent
mru_sizeandmfu_sizevalue,on my system
MRU sizeis far offpwhich result in wrong conclusion forARC Size Breakdown,so I think this script require some review.
The text was updated successfully, but these errors were encountered: