RFR: 8284950: CgroupV1 detection code should consider memory.swappiness

xpbob duke at openjdk.java.net
Mon May 16 02:16:51 UTC 2022


On Wed, 20 Apr 2022 06:53:39 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> set memory.swappiness to 0,swap space will not be used 
>> determine the value of memory.swappiness
>> https://www.kernel.org/doc/Documentation/cgroup-v1/memory.txt
>> 
>> 
>>     Memory Limit: 50.00M
>>     Memory Soft Limit: Unlimited
>>     Memory & Swap Limit: 100.00M
>>     Maximum Processes Limit: 4194305 
>> 
>> =>
>> 
>>     Memory Limit: 50.00M
>>     Memory Soft Limit: Unlimited
>>     Memory & Swap Limit: 50.00M
>>     Maximum Processes Limit: 4194305
>
> I changed the [JBS issue](https://bugs.openjdk.java.net/browse/JDK-8284900) summary to "CgroupV1 detection code should consider memory.swappiness"

@iklam , are you also fine with the latest change? Thanks.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8285


More information about the core-libs-dev mailing list