Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Update dstat options so timestamp to be the first column#2653

Merged
NateBrady23 merged 1 commit intoTechEmpower:masterfrom
zloster:dstat-minor
Apr 5, 2017
Merged

Update dstat options so timestamp to be the first column#2653
NateBrady23 merged 1 commit intoTechEmpower:masterfrom
zloster:dstat-minor

Conversation

@zloster
Copy link
Copy Markdown
Contributor

@zloster zloster commented Apr 2, 2017

Instead of the data about 4 cores imagine the data about 80 cores * 6 columns per core; I didn't bother to check which is the actual number of the timestamp column):

zloster@box:~/sources/FrameworkBenchmarks/toolset$ dstat -afT
Terminal width too small, trimming output.
-------cpu0-usage--------------cpu1-usage--------------cpu2-usage--------------cpu3-usage------ --dsk/sda-----dsk/sdb-- ---paging-->
usr sys idl wai hiq siq:usr sys idl wai hiq siq:usr sys idl wai hiq siq:usr sys idl wai hiq siq| read  writ: read  writ|  in   out >
  1   5  93   1   0   0:  1   4  94   1   0   0:  4   6  89   1   0   2:  4   6  89   1   0   0| 376k  383k: 181B    0 |  34B   90B>
  3   2  91   4   0   0:  0   0 100   0   0   0:  0   2  98   0   0   0:  2   1  97   0   0   0| 212k  744k:   0     0 |   0     0 >
  0   1  66  33   0   0:  0   0  92   8   0   0:  5   1  93   0   0   1:  2   1  96   0   0   1| 164k 3484k:   0     0 |   0     0 >
  0   0 100   0   0   0:  0   0 100   0   0   0: 12   2  85   0   0   1:  2   1  96   1   0   0| 144k 8192B:   0     0 |   0     0 >^C

We will get this in the stats file:

zloster@box:~/sources/FrameworkBenchmarks/toolset$ dstat -Taf
Terminal width too small, trimming output.
--epoch--- -------cpu0-usage--------------cpu1-usage--------------cpu2-usage--------------cpu3-usage------ --dsk/sda-----dsk/sdb-->
  epoch   |usr sys idl wai hiq siq:usr sys idl wai hiq siq:usr sys idl wai hiq siq:usr sys idl wai hiq siq| read  writ: read  writ>
1491155592|  1   5  93   1   0   0:  1   4  94   1   0   0:  4   6  89   1   0   2:  4   6  89   1   0   0| 376k  383k: 181B    0 >
1491155593|  0   0 100   0   0   0:  0   0  95   5   0   0:  3   1  95   0   0   1:  4   0  96   0   0   0|  56k  132k:   0     0 >
1491155594|  0   0 100   0   0   0:  0   0 100   0   0   0:  5   2  93   0   0   0:  1   2  97   0   0   0|  40k    0 :   0     0 >
1491155595|  0   0 100   0   0   0:  1   7  92   0   0   0:  4   2  92   0   0   2:  5   1  94   0   0   0| 220k    0 :   0     0 >^C

IMO this relates with #2358. There will not be separate statistics per test type, but is should be easier to check for which testcase is the data (we know the durations from the wrk client log).

@mention-bot
Copy link
Copy Markdown

Thanks @zloster for contributing to The Framework Benchmarks! @knewmanTE, @msmith-techempower, @cjnething, @zane-techempower, @michaelhixson, @nbrady-techempower, @kppullin, @MalcolmEvershed, @methane and @pfalls-techempower, code you've worked on has been modified. If you have the chance, please review. If you wish to unsubscribe from these notices, please open a Pull Request with the commit message [ci skip] and your github name added to the userBlacklist array in the .mention-bot file.

@zloster
Copy link
Copy Markdown
Contributor Author

zloster commented Apr 4, 2017

Here only the rails db update tests (3 variants) have failed: https://travis-ci.org/TechEmpower/FrameworkBenchmarks/jobs/217837922#L9900
Maybe a restart of this failed build?

@NateBrady23
Copy link
Copy Markdown
Member

ping @michaelhixson & @msmith-techempower - Want to check with you guys before changing anything that affects logging/output

@michaelhixson
Copy link
Copy Markdown
Contributor

LGTM

@NateBrady23 NateBrady23 merged commit cee6ff0 into TechEmpower:master Apr 5, 2017
@zloster zloster deleted the dstat-minor branch April 6, 2017 06:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants