Details
-
Bug
-
Resolution: Not a Bug
-
Critical
-
7.1.0
-
Untriaged
-
1
-
Yes
Description
Build: 7.1.0-1695
We use num_rec_allocs, num_rec_frees, num_rec_swapout, num_rec_swapin to calulate average resident ratio like
for index in storage_stats:
|
total_num_rec_allocs += index["Stats"]["MainStore"]["num_rec_allocs"] + \
|
index["Stats"]["BackStore"]["num_rec_allocs"]
|
total_num_rec_frees += index["Stats"]["MainStore"]["num_rec_frees"] + \
|
index["Stats"]["BackStore"]["num_rec_frees"]
|
total_num_rec_swapout += index["Stats"]["MainStore"]["num_rec_swapout"] + \
|
index["Stats"]["BackStore"]["num_rec_swapout"]
|
total_num_rec_swapin += index["Stats"]["MainStore"]["num_rec_swapin"] + \
|
index["Stats"]["BackStore"]["num_rec_swapin"]
|
|
total_recs_in_mem = total_num_rec_allocs - total_num_rec_frees
|
total_recs_on_disk = total_num_rec_swapout - total_num_rec_swapin
|
logger.info("Total Recs in Mem {}".format(total_recs_in_mem))
|
logger.info("Total Recs in Disk {}".format(total_recs_on_disk))
|
avg_rr = total_recs_in_mem / (total_recs_on_disk + total_recs_in_mem)
|
return avg_rr
|
All values are 0. Sample response attached. It was not observed with 7.1.0-1650.
Most of the test runs failed due to this
Attachments
Issue Links
- relates to
-
MB-49704 [CBM] Investigate "successful" performance test cases which display empty backups
- Closed
For Gerrit Dashboard: MB-49700 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
166116,2 | MB-49700: Account for compressed records in resident_percent | unstable | indexing | Status: MERGED | +2 | +1 |