-
Notifications
You must be signed in to change notification settings - Fork 115
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
Use Rob's cool vmstat/gnuplot tooling to plot hardware utilization #302
Comments
@mikemccand to start with "text mode", just do this: start of benchy: $ nohup vmstat --active --wide --timestamp --unit M 1 > vmstat.log 2>/dev/null & end of benchy: $ pkill vmstat it should produce human readable log looking like this:
We can then add fancy graph plot to "end of benchy", but the text mode itself is a good way to start? |
also if you don't want output in your local time, set TZ variable:
if you don't want
|
OK! I did the first step, which is to run
Only 120 lines (120 seconds) for Next we need to somehow |
thanks @mikemccand! can you hook me up with these sample data files? it will be faster to make it look decent. |
Does this work? vmstat-logs.zip This is all the vmstat logs, each from building the different N indices that nightly benchy builds ... |
thank you @mikemccand, that works. crazy how idle your CPU is while doing this. |
@mikemccand see https://rmuir.org/vmstat-report/ You can grab the 3 files there to reproduce it:
Seems the hardware is not fully utilized. There is a direct correlation to the CPU usage with the number of process (=threads here). I guess you have some insane number of cores? |
Whoa, thanks @rmuir! Nice charts! Yeah, this is beast3 with 128 cores, and one of those indexing runs (the |
This makes sense. These are just a start, we can tweak/beautify later once things are working. I struggled a bit because SVG files were enormous out of box: the program is written by scientists, so SVG out of box were totally lossless and accurately representing all 20,000+ datapoints in your I had not done interpolation before so had to figure it out, I tried to add comments so you can tweak any of this if you want. |
Last night's benchy made the nice gnuplot vmstat charts! It's linked off the nightly details page, to here. Each sub-directory has the charts for building that one index, e.g. |
@mikemccand This could be whats happening. Normally, I'd expect to see some But there could be a challenge: you have 128 cpus, so if e.g. we have single cpu in iowait, we may not see it represented in the vmstat output, because it is not even 1%? |
@rmuir has some cool tooling that measures how effectively processes are using CPU/RAM/IO. Let's turn this on at least during indexing phases of nightly benchy, when we are trying to fully saturate the available hardware resources...
The text was updated successfully, but these errors were encountered: