OpenVZ Forum


Home » General » Support » Howto config ve of ram 1GB
Re: Howto config ve of ram 1GB [message #29401 is a reply to message #24709] Sat, 12 April 2008 03:33 Go to previous messageGo to previous message
SoftDux is currently offline  SoftDux
Messages: 55
Registered: November 2007
Location: Johannesburg, South Afric...
Member
powervps wrote on Sat, 08 December 2007 03:15

I will try and get back to you but thx you very much it is very esay Laughing


what it is bedst way for create --config vps
Current CPU utilization: 1000
Power of the node: 808993

VMGUARPAGES="32768:2147483647" // 128MB Guaranteed
PRIVVMPAGES="64000:65536" // 256MB Burst

VMGUARPAGES="65536:2147483647" // 256MB Guaranteed
PRIVVMPAGES="128000:131072" // 512MB Burst

VMGUARPAGES="131072:2147483647" // 512MB Guaranteed
PRIVVMPAGES="256000:262140" // 1024MB Burst

VMGUARPAGES="262144:2147483647" // 1GB Guaranteed
PRIVVMPAGES="384000:393212" // 1,5GB Burst

Thx you for your time....





Hi powervps

Can you please explain to me how you got the figures?
I want to set a VPS with 512MB guaranteed RAM, and 1024 burst.


So, I used your example, but free -m shows me something odd:

[root@gandalf ~]# vzctl set 1001 --privvmpages=256000:262140 --save
UB limits were set successefully
Saved parameters for VE 1001
[root@gandalf ~]# vzctl set 1001 --vmguarpages=131072:2147483647 --save
UB limits were set successefully
Saved parameters for VE 1001
[root@gandalf ~]# vzctl restart 1001
Restarting VE
Stopping VE ...
VE was stopped
VE is unmounted
Starting VE ...
VE is mounted
Setting CPU units: 1000
Configure meminfo: 256000
Set hostname: vps03.softdux.com
File resolv.conf was modified
VE start in progress...
[root@gandalf ~]# vzctl exec 1001 free -m
             total       used       free     shared    buffers     cached
Mem:          1000        171        828          0          0          0
-/+ buffers/cache:        171        828
Swap:            0          0          0


Why does the total say 1000, and not 1024, or for that matter 512?
 
Read Message
Read Message icon10.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon10.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] where do I download brctl ?
Next Topic: migration?
Goto Forum:
  


Current Time: Thu Oct 02 13:53:22 GMT 2025

Total time taken to generate the page: 0.09923 seconds