forked from avocado-framework-tests/avocado-misc-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf/perf_stress_ng: add readme file
This commit introduces a README.txt file. The README provides a description of the test, outlines the steps followed during the test execution and lists the prerequisites necessary for running the test successfully. Signed-off-by: Disha Goel <[email protected]>
- Loading branch information
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Description: | ||
This test is to compare CPU load percentage from vmstat and perf | ||
command by running stress-ng in background. | ||
The test collects vmstat and perf record data with CPU load | ||
10, 50 and 80 by running it for 5 iterations. | ||
|
||
Steps followed: | ||
Run stress-ng in background with CPU load 10, 50 and 80. | ||
Run perf record to collect CPU load for 5 iterations. | ||
Run vmstat to collect CPU load for 5 iterations. | ||
Compare both results. | ||
|
||
Pre-requisite: | ||
1. Install psutil using pip | ||
# pip3 install psutil | ||
2. Install perf, gcc and stress-ng packages |