OpenVZ Forum


Home » General » Support » Upgrading hardware (memory) re-write 0.conf for HN VE0?
icon12.gif  Upgrading hardware (memory) re-write 0.conf for HN VE0? [message #15218] Sun, 22 July 2007 22:16 Go to next message
dayid
Messages: 6
Registered: July 2007
Location: Southeast U.S.
Junior Member
I recently upgraded my dual xeon 2.4GHz machine from 2GB of RAM to 3GB. The system (as seen through meminfo/top, etc) sees all of the RAM and uses it properly.

My question is with regards to VE0, it still has limits that are all the 2GB limits. Do I need to rewrite this file with the new/proper 3GB limits to have everything function properly, or as my HN never uses that much memory should I have no concern for it?
Re: Upgrading hardware (memory) re-write 0.conf for HN VE0? [message #15219 is a reply to message #15218] Mon, 23 July 2007 03:10 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
ve0 can never have a ubc failure. the kernel sources explicitly ensure this. you may be referring to ve0's memory guarantee? if so, 2GB would be more then you need as applications should be run in the VEs. maybe paste your config so that we can see clearly.


adding more system memory will not edit any configs.



Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: Upgrading hardware (memory) re-write 0.conf for HN VE0? [message #15234 is a reply to message #15219] Mon, 23 July 2007 16:02 Go to previous message
dayid
Messages: 6
Registered: July 2007
Location: Southeast U.S.
Junior Member
I know that upgrading by itself will not edit any configurations. What I am asking is if I *SHOULD* edit 0.conf to reflect the hardware changes, since from the install point, 0.conf is set to have max-values for the entirety of the system's memory and all. As the system's memory has been increased as a whole, is there any performance/reasoning point to increasing (or not) the values in 0.conf?

I know my VE0/0.conf will never NEED 3GB of RAM, but then again, it will never need 2GB of RAM, which is what OpenVZ set it to when it was installed, so there's got to be some point or reason why it is set to be maxed out.

...and my 0.conf pretty much looks like:
value 2GB 2GB

only with full strings. That really has nothing to do with the theoretical question of whether or not it should be modified to reflect the new hardware.
Previous Topic: GRE tunnels
Next Topic: smbfs/ cifs inside VE
Goto Forum:
  


Current Time: Sun Feb 02 00:08:13 GMT 2025

Total time taken to generate the page: 0.03234 seconds