Commit 0aa01a9
Fio (et al.) postprocessing performance improvements
This change modifies the support in BenchPostprocess.pm to expect
timeseries data in the workload hash to be a hash of hashes, using the
timestamp as the key instead of an array of hashes. This ensures that
each timestamp is unique, and it makes each timestamp's data accessible
in constant-time rather than requiring a linear (O(n^2)) search. For
large datasets, this results in a dramatic improvement in execution time
for producing the aggregate results.
Also:
* Do not re-write fio job file in post-process only mode
* Address code formatting and other code quality issues
* Tweak agent/tool-scripts/postprocess unit test script
* Limit the number of lines in result.json for fio tests
* Remove the reference-result symlink from the process-iteration-samples-0 gold
* Add unit test for post-process only with no directory
* Add a test which stresses fio-postprocess performance
Co-authored-by: Peter Portante <[email protected]>1 parent 97d8021 commit 0aa01a9
File tree
98 files changed
+7572939
-1031
lines changed- agent
- bench-scripts
- postprocess
- tests
- pbench-fio
- pbench-trafficgen
- tool-scripts/postprocess
- gold
- fio-0/result/reference-result
- csv
- fio-1
- result/reference-result
- csv
- process-iteration-samples-0
- uperf-0
- uperf-1
- uperf-2
- uperf-3
- samples/fio-1/result/reference-result
- clients/localhost
- tools-default/localhost/.screen.d
- default-iostat
- default-mpstat
- default-perf
- default-pidstat
- default-proc-interrupts
- default-proc-vmstat
- default-sar
- default-turbostat
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
98 files changed
+7572939
-1031
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | | - | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
14 | 22 | | |
15 | 23 | | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
| 456 | + | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
567 | | - | |
568 | | - | |
569 | 567 | | |
570 | 568 | | |
571 | 569 | | |
| |||
809 | 807 | | |
810 | 808 | | |
811 | 809 | | |
812 | | - | |
813 | | - | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
814 | 821 | | |
815 | 822 | | |
816 | 823 | | |
| |||
824 | 831 | | |
825 | 832 | | |
826 | 833 | | |
827 | | - | |
828 | | - | |
829 | | - | |
830 | | - | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
831 | 838 | | |
| 839 | + | |
832 | 840 | | |
833 | 841 | | |
| 842 | + | |
834 | 843 | | |
835 | 844 | | |
836 | | - | |
837 | 845 | | |
838 | 846 | | |
839 | 847 | | |
| |||
847 | 855 | | |
848 | 856 | | |
849 | 857 | | |
850 | | - | |
| 858 | + | |
851 | 859 | | |
852 | 860 | | |
853 | 861 | | |
| |||
859 | 867 | | |
860 | 868 | | |
861 | 869 | | |
862 | | - | |
| 870 | + | |
863 | 871 | | |
864 | 872 | | |
865 | 873 | | |
| |||
0 commit comments