Memory Percentage Calculations

Modified on Tue, 8 Oct at 12:57 PM

When performing memory attacks in Gremlin, there are two options, percentage based and absolute amount.


Specifying an absolute amount is self explanatory. Specifying a percentage may result in unexpectedly high memory values during experiments as Gremlin by design calculates the percentage against the sum of total memory + total swap rather than just memory.

If you would prefer to exclude swap utilization from your experiments, you will need to specify absolute amounts of memory for your attacks. 


In Linux, you can observe the total memory and swap via the free command.


In Windows, you can view the total 'Committed' memory (which is used to calculate percentages against) in the Memory portion of the 'Performance' tab in task manager.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article