Skip to content

Commit a6599dd

Browse files
bravindrpallavigopal
authored andcommitted
Update README.md
1 parent d0383c9 commit a6599dd

File tree

11 files changed

+278
-277
lines changed

11 files changed

+278
-277
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Intel® Memory Usage Analyzer can
2121

2222
## Requirements
2323

24-
* Linux system with sudo access
24+
* Linux system with sudo access for configuration scripts
2525
* Linux kernel version >= v4.18
2626
* zswap support
2727
* swap accounting enabled - add kernel parameter `swapaccount=1`

src/analyzer/analyze.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ def memoryanalysis(self , df):
6767
print(f'Maximum zram memory = {max_zram_used:3f} GiB')
6868
print(f'incompressible data ratio(zram)= {100 * incompressible_data_ratio:.1f}%')
6969

70-
full_total_memory_pressure = 0
7170
try:
7271
print(f'full total memory pressure = {full_total_memory_pressure} us')
7372
except ImportError:
@@ -110,10 +109,6 @@ def run(self):
110109
print(f'Total PFs (Major+Minor) = {total_pf}')
111110
print(f'Major PFs = {major_total_pf}')
112111

113-
print(f'Total Diff (difference b/w total ({total:.2f} GiB) and\
114-
cgroup_total_max({cgroup_total_max:.2f} GiB)) = {total_diff:.2f} GiB')
115-
print(f'file sum: {file_sum:.2f} GiB')
116-
117112
if "zswap_total_cpu_comp_calls" in df.columns:
118113
total_cpu_comp_calls = df.zswap_total_cpu_comp_calls.max() -\
119114
df.zswap_total_cpu_comp_calls.min()

tests/config_script/config.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ def check_requirements(self):
8282
print('[ERROR]. perf tool is not available')
8383
passed = False
8484

85+
# check python version
86+
if (sys.version_info >= (3,7)):
87+
print(f'[OK] python version >= 3.7')
88+
else:
89+
print(f'[ERROR] python version < 3.7')
90+
passed = False
91+
8592
if not passed:
8693
print('System config check failed')
8794
return 1

tests/example/README.md

Lines changed: 270 additions & 271 deletions
Large diffs are not rendered by default.
-1.92 KB
Loading
-18.4 KB
Loading
-5.67 KB
Loading
-12.1 KB
Loading
19.1 KB
Loading
1.12 KB
Loading

0 commit comments

Comments
 (0)