Database Install/Upgrade/Opatch (MOSC)

MOSC Banner

Cannot get system to use swap when hugepages &memlock are configured.

edited Jun 18, 2009 2:21AM in Database Install/Upgrade/Opatch (MOSC) 3 commentsAnswered
  Hi

 

I've setup a test server -

 

Red Hat Enterprise Server 5.2

16 GB RAM

Oracle 10G with 5 GB SGA

6 GB of hugepages

6 GB of memlock for the oracle user

 

No matter what I change vm.swappiness or vm.pagecache to I cannot get this sever to use swap. I've got HammerOra hammering the system, RAM gets down to 80 MB free and kswapd kicks in trying to free pagecache (sometime getting upto 90% CPU and practically bringing the system to a halt) but it refuses to do any swapping.


This does not seem logical to me. I know that hugepages will not get swapped out, the SGA gets put into hugepages, fine. However I have 700 virtual users configured in HammerOra so there are a lot of connections and PGA activity but none of it ever gets swapped out.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center