OpenVZ Forum


Home » General » Support » Swap and RAM
Swap and RAM [message #38751] Sun, 24 January 2010 13:58
stedolan is currently offline  stedolan
Messages: 1
Registered: January 2010
Junior Member
We have several CTs running on our new OpenVZ setup. One of them has substantially higher memory requirements than the rest, but less traffic. Most of this CT's allocated memory could comfortably sit in swap most of the time.

I was wondering if there was any way to give this CT a very large privvmpages, vmguarpages, etc., while ensuring that when memory is tight, its processes get swapped out rather than the processes of other CTs.

I understand that OpenVZ does memory accounting at the struct page level, so I can't allocate X amount of physpages + Y amount of swap to a CT. What I'm mainly looking for, I think, is a per-CT /proc/sys/vm/swappiness. Does anyone know if something like this exists?
 
Read Message
Previous Topic: VPN server inside a CT?
Next Topic: Kernel 2.6.31.6-162.fc12 vzgot working rh7.3 ---> fc12
Goto Forum:
  


Current Time: Thu Jul 11 17:31:50 GMT 2024

Total time taken to generate the page: 0.02278 seconds