OpenVZ Forum


Home » General » Support » Allocate more RAM to a VPS
Re: Allocate more RAM to a VPS [message #37333 is a reply to message #37328] Thu, 03 September 2009 12:02 Go to previous messageGo to previous message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
1.) Are you sure the memory is sharedß In what way? Where did you read this?

IMO the memory between containers can ONLY be shared when the program/library images (files) point to the same file. Only then the Linux kernel can see that the code is the same and share the memory (this is done in Linux without virtualization). But if there are two different apach2 ELF files in different containers the Kernel can't say that these two are identical and loads both of them.

2.) No, I can't. Read my posting. Without guarantee, I would just scale the 256MB container with 2 in order to get a 512 container as described in http://wiki.openvz.org/Intermediate_UBC_configurations.

Maybe another way: 512MB = 536870912 Bytes / 4096 = 131072 Pages. Set vmguarpages to this value ans run vzcfgvalidate. Again: Without guarantee. Read the Wiki!!

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: sock_sendpage() kernel vulnerability
Next Topic: Calculating kmemsize
Goto Forum:
  


Current Time: Mon Aug 12 19:40:00 GMT 2024

Total time taken to generate the page: 0.02824 seconds