Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
a626b69
MLN-666 | feat: stats tracker keeping memory utilization history
vitalyisaev2 Jun 9, 2022
9776ae7
MLN-666 | feat: effectiveness script pt. 1
vitalyisaev2 Jun 9, 2022
367accb
MLN-666 | feat: run allocator server in Docker
vitalyisaev2 Jun 9, 2022
3306e9a
MLN-666 | feat: exec allocator perf client in Docker
vitalyisaev2 Jun 9, 2022
c668128
MLN-666 | feat: more work on report handling
vitalyisaev2 Jun 10, 2022
c1db606
MLN-666 | feat: render single report
vitalyisaev2 Jun 10, 2022
5ec5d9f
MLN-666 | feat: delete container after use
vitalyisaev2 Jun 10, 2022
ffd5ba1
MLN-666 | feat: handle case when memlimiter is disabled
vitalyisaev2 Jun 10, 2022
56c77aa
MLN-666 | feat: list of test cases
vitalyisaev2 Jun 10, 2022
aeef96d
MLN-666 | feat: triple y axis (not operational)
vitalyisaev2 Jun 10, 2022
51bbbb2
MLN-666 | feat: double y axis
vitalyisaev2 Jun 10, 2022
9a9df65
MLN-666 | feat: make single plot more beautiful
vitalyisaev2 Jun 10, 2022
d49a860
MLN-666 | fix: stable, more or less
vitalyisaev2 Jun 10, 2022
d11ee23
MLN-666 | feat: RSS pivotal plot
vitalyisaev2 Jun 10, 2022
b8c1406
MLN-666 | refactor: minor changes
vitalyisaev2 Jun 10, 2022
f360624
MLN-666 | feat: emulate OOM for unconstrained process
Jun 14, 2022
f32ace5
MLN-666 | feat: resulting plots
Jun 14, 2022
b9a8825
Merge branch 'develop' into MLN-666
vitalyisaev2 Jun 14, 2022
0744843
MLN-666 | refactor: more small plots
Jun 14, 2022
257b300
Merge branch 'MLN-666' of github.com:newcloudtechnologies/memlimiter …
Jun 14, 2022
e9fc0bc
MLN-666 | fix: combined plots
Jun 14, 2022
305bf93
MLN-666 | fix: minor changes
Jun 14, 2022
f7f5c57
MLN-666 | fix: highlight OOM
Jun 14, 2022
623a255
MLN-666 | fix: range of numbers
vitalyisaev2 Jun 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
MLN-666 | refactor: more small plots
  • Loading branch information
Vitaly Isaev committed Jun 14, 2022
commit 0744843216f6314109603e482a4dcdac5d1d1a68
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ There are several key settings in MemLimiter [configuration](controller/nextgc/c
* `RSSLimit`
* `DangerZoneGC`
* `DangerZoneThrottling`
* `Period`
* `WindowSize`
* `Coefficient` ($K_{p}$)

You have to pick them empirically for your service. The settings must correspond to the business logic features of a particular service and to the workload expected.
Expand All @@ -95,7 +97,9 @@ Settings ranges:
* $RSS_{limit} == {1G}$
* $DangerZoneGC == 50%$
* $DangerZoneThrottling == 90%$
* $K_{p} \in {0, 1, 5, 10, 50, 100}$
* $Period == 100ms$
* $WindowSize == 20$
* $K_{p} \in \{0, 1, 5, 10, 50, 100\}$

These plots may give you some inspiration on how $K_{p}$ value affects the physical memory consumption other things being equal:

Expand All @@ -108,7 +112,7 @@ These plots may give you some inspiration on how $K_{p}$ value affects the physi

And the summary plot with RSS consumption depending on $K_{p}$ value:

![RSS](docs/rss_pivot.png)
![RSS](docs/rss.png)

The general conclusion is that:
* Disabling MemLimiter causes OOM;
Expand Down
Binary file modified docs/k_p/05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/k_p/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/k_p/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/k_p/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/k_p/50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/k_p/disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/rss.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/rss_pivot.png
Binary file not shown.
2 changes: 1 addition & 1 deletion test/allocator/analyze/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def bytes_major_formatter(x, pos):
def single_report(report: Report):
df = report.df

fig, ax = plt.subplots(figsize=(8, 6))
fig, ax = plt.subplots(figsize=(6, 4.5))
ax.set_xlim(0, 60)

ax.set_xlabel('Time, seconds')
Expand Down