Nick Lunt wrote:
[...]
thanks for the c prog, with that I proved that swap does work.

With the system under stress here are the settings you asked for:

[r...@psl-cu ~]# sysctl -q vm.overcommit_memory
vm.overcommit_memory = 0
[r...@psl-cu ~]# sysctl -q vm.overcommit_ratio
vm.overcommit_ratio = 50

What I have noticed is when I stress the system (whilst using hugepages
and memlock ulimit) the system will never swap, I have tried with
different valued for hugepages and memlock with no luck. The only way to
get the system to swap is to:

a. turn off hugepages and memlock
b. leave hugepages on but turn off memlock, however the system soon
freezes after doing this.


Nick, I do not have a lot of experience with Oracle, but my guess is maybe your Oracle apps use mostly the hugepage memory or maybe they have not used a lot of the rest of your memory, which is up to 10G ?

When you do your stress tests, check values of Committed_AS in /proc/meminfo see if it is close to CommitLimit. I think when they are close, you can see swap usage becomes more active and then cached memory reduces quickly.

Vu

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to