RE: [Users] vzmemcheck
This is a old email from a wrong adress Zo ignore it With regards Steffan Van: users-boun...@openvz.org [mailto:users-boun...@openvz.org] Namens Tik Klik Internetdiensten Verzonden: donderdag 9 december 2010 13:52 Aan: users@openvz.org Onderwerp: [Users] vzmemcheck Hello All, New to the list, loving openvz But having trouble finding out the right settings for the containers Can someone tell me if im in trouble or everything looks fine vzcpucheck -v VEIDCPUUNITS - 0 1000 1 1 7 1 8 1 13 1 15 1 23 1 3 1 5 1 2 1 9 1 Current CPU utilization: 101000 Power of the node: 1809010 vzmemcheck -v Output values in % veidLowMem LowMem RAM MemSwap MemSwap Alloc Alloc Alloc util commitutilutil commitutil commit limit 9 1.44 45.791.130.97 10.772.163.42 20.15 5 3.14 45.793.062.62 10.775.30 10.77 20.15 3 3.96 45.793.082.64 10.775.06 10.77 20.15 232.04 45.792.311.98 10.773.60 10.77 20.15 152.69 45.793.452.95 10.775.25 10.77 20.15 132.68 45.792.181.87 10.774.47 10.77 20.15 8 3.33 45.794.213.60 10.775.91 10.77 20.15 7 2.29 45.791.901.62 10.773.55 10.77 20.15 2 2.41 45.793.392.90 10.774.72 10.99 20.15 1 1.98 45.791.641.40 10.772.78 10.77 20.15 - Summary: 25.96 457.95 26.34 22.55 107.69 42.80 100.57 201.49 The hw node hs 24 Gb memory, expendable to 96G 2 E5520 @ 2.27GHz quadcore processes How do i read this: 25.96 % in use But overclocked for 457.95 % ? With regards Steffan ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] vzmemcheck
Thanks Peter, Is it possible to get a example config from you, just to see what you have setup ? Steffan Van: users-boun...@openvz.org [mailto:users-boun...@openvz.org] Namens Peter Senna Tschudin Verzonden: donderdag 9 december 2010 20:39 Aan: users@openvz.org Onderwerp: Re: [Users] vzmemcheck Hey Steffan, OpenVZ allows you to control separately both allocated and consumed memory. Not all allocated memory will be used. So OpenVZ will allow you to allocate more memory than you host has: RAM + SWAP but the user land apps of your VEs will not be able to use it. On my setups... I set vmguarpages barrier to minimum amount of RAM that I want that the VE is able to allocate. OpenVZ guarantees this. I set privvmpages barrier to the maximum amount of RAM that I want that the VE is able to allocate. I set privvmpages limit to a value higher than barrier, like 5%~25% more. OpenVZ does not guarantees that the extra amount of RAM will be allocable. Then I set oomguarpages to same value of privvmpages limit. This isn't the best scenario for RAM utilization but ensures low incidence of processes being killed by kernel due out of memory condition. Hope that it helps, Peter On Thu, Dec 9, 2010 at 11:35 AM, Steffan gene...@ziggo.nl wrote: Hello All, New to the list, loving openvz But having trouble finding out the right settings for the containers Can someone tell me if im in trouble or everything looks fine vzcpucheck -v VEIDCPUUNITS - 0 1000 1 1 7 1 8 1 13 1 15 1 23 1 3 1 5 1 2 1 9 1 Current CPU utilization: 101000 Power of the node: 1809010 vzmemcheck -v Output values in % veidLowMem LowMem RAM MemSwap MemSwap Alloc Alloc Alloc util commitutilutil commitutil commit limit 9 1.44 45.791.130.97 10.772.163.42 20.15 5 3.14 45.793.062.62 10.775.30 10.77 20.15 3 3.96 45.793.082.64 10.775.06 10.77 20.15 232.04 45.792.311.98 10.773.60 10.77 20.15 152.69 45.793.452.95 10.775.25 10.77 20.15 132.68 45.792.181.87 10.774.47 10.77 20.15 8 3.33 45.794.213.60 10.775.91 10.77 20.15 7 2.29 45.791.901.62 10.773.55 10.77 20.15 2 2.41 45.793.392.90 10.774.72 10.99 20.15 1 1.98 45.791.641.40 10.772.78 10.77 20.15 - Summary: 25.96 457.95 26.34 22.55 107.69 42.80 100.57 201.49 The hw node hs 24 Gb memory, expendable to 96G 2 E5520 @ 2.27GHz quadcore processes How do i read this: 25.96 % in use But overclocked for 457.95 % ? With regards Steffan ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users -- Peter Senna Tschudin peter.se...@gmail.com gpg id: 48274C36 ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] vzmemcheck
Hi, I only have access to testing environments right now but these are commands I use: Guaranteed allocable memory: 2048MB Debian:/ # vzctl set 35 --vmguarpages 2048M:unlimited --save Not Guaranteed total allocable memory: 3072MB (barrier) Safety gap over not guaranteed allocable memory = 3072 * 125% = 3840M ( limit) Debian:/ # vzctl set 35 --privvmpages 3072M:3840M --save Out of memory guarantee. No processes will be killed if the VE consumes less than: 3840M Debian:/ # vzctl set 35 --oomguarpages 3840M:unlimited --save Kernel Space memory: barrier 50M limit 55M. Debian:/ # vzctl set 35 --kmemsize 50M:55M --save Note that this is not an efficient way of consuming RAM. It may be necessary to adjust the gap between barrier and limit of privvmpages. Peter On Fri, Dec 10, 2010 at 6:18 AM, Steffan gene...@ziggo.nl wrote: Thanks Peter, Is it possible to get a example config from you, just to see what you have setup ? Steffan *Van:* users-boun...@openvz.org [mailto:users-boun...@openvz.org] *Namens *Peter Senna Tschudin *Verzonden:* donderdag 9 december 2010 20:39 *Aan:* users@openvz.org *Onderwerp:* Re: [Users] vzmemcheck Hey Steffan, OpenVZ allows you to control separately both allocated and consumed memory. Not all allocated memory will be used. So OpenVZ will allow you to allocate more memory than you host has: RAM + SWAP but the user land apps of your VEs will not be able to use it. On my setups... I set vmguarpages barrier to minimum amount of RAM that I want that the VE is able to allocate. OpenVZ guarantees this. I set privvmpages barrier to the maximum amount of RAM that I want that the VE is able to allocate. I set privvmpages limit to a value higher than barrier, like 5%~25% more. OpenVZ does not guarantees that the extra amount of RAM will be allocable. Then I set oomguarpages to same value of privvmpages limit. This isn't the best scenario for RAM utilization but ensures low incidence of processes being killed by kernel due out of memory condition. Hope that it helps, Peter On Thu, Dec 9, 2010 at 11:35 AM, Steffan gene...@ziggo.nl wrote: Hello All, New to the list, loving openvz But having trouble finding out the right settings for the containers Can someone tell me if im in trouble or everything looks fine vzcpucheck -v VEIDCPUUNITS - 0 1000 1 1 7 1 8 1 13 1 15 1 23 1 3 1 5 1 2 1 9 1 Current CPU utilization: 101000 Power of the node: 1809010 vzmemcheck -v Output values in % veidLowMem LowMem RAM MemSwap MemSwap Alloc Alloc Alloc util commitutilutil commitutil commit limit 9 1.44 45.791.130.97 10.772.163.42 20.15 5 3.14 45.793.062.62 10.775.30 10.77 20.15 3 3.96 45.793.082.64 10.775.06 10.77 20.15 232.04 45.792.311.98 10.773.60 10.77 20.15 152.69 45.793.452.95 10.775.25 10.77 20.15 132.68 45.792.181.87 10.774.47 10.77 20.15 8 3.33 45.794.213.60 10.775.91 10.77 20.15 7 2.29 45.791.901.62 10.773.55 10.77 20.15 2 2.41 45.793.392.90 10.774.72 10.99 20.15 1 1.98 45.791.641.40 10.772.78 10.77 20.15 - Summary: 25.96 457.95 26.34 22.55 107.69 42.80 100.57 201.49 The hw node hs 24 Gb memory, expendable to 96G 2 E5520 @ 2.27GHz quadcore processes How do i read this: 25.96 % in use But overclocked for 457.95 % ? With regards Steffan ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users -- Peter Senna Tschudin peter.se...@gmail.com gpg id: 48274C36 ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users -- Peter Senna Tschudin peter.se...@gmail.com gpg id: 48274C36 ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] vzmemcheck
That means you are committing 457.95% of your memory, basically you have allocated quadruple the amount of ram that you have. Best Regards, Nick Rose On Thu, Dec 9, 2010 at 8:35 AM, Steffan gene...@ziggo.nl wrote: Hello All, New to the list, loving openvz But having trouble finding out the right settings for the containers Can someone tell me if im in trouble or everything looks fine vzcpucheck -v VEID CPUUNITS - 0 1000 1 1 7 1 8 1 13 1 15 1 23 1 3 1 5 1 2 1 9 1 Current CPU utilization: 101000 Power of the node: 1809010 vzmemcheck -v Output values in % veid LowMem LowMem RAM MemSwap MemSwap Alloc Alloc Alloc util commit util util commit util commit limit 9 1.44 45.79 1.13 0.97 10.77 2.16 3.42 20.15 5 3.14 45.79 3.06 2.62 10.77 5.30 10.77 20.15 3 3.96 45.79 3.08 2.64 10.77 5.06 10.77 20.15 23 2.04 45.79 2.31 1.98 10.77 3.60 10.77 20.15 15 2.69 45.79 3.45 2.95 10.77 5.25 10.77 20.15 13 2.68 45.79 2.18 1.87 10.77 4.47 10.77 20.15 8 3.33 45.79 4.21 3.60 10.77 5.91 10.77 20.15 7 2.29 45.79 1.90 1.62 10.77 3.55 10.77 20.15 2 2.41 45.79 3.39 2.90 10.77 4.72 10.99 20.15 1 1.98 45.79 1.64 1.40 10.77 2.78 10.77 20.15 - Summary: 25.96 457.95 26.34 22.55 107.69 42.80 100.57 201.49 The hw node hs 24 Gb memory, expendable to 96G 2 E5520 @ 2.27GHz quadcore processes How do i read this: 25.96 % in use But overclocked for 457.95 % ? With regards Steffan ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] vzmemcheck
Hey Steffan, OpenVZ allows you to control separately both allocated and consumed memory. Not all allocated memory will be used. So OpenVZ will allow you to allocate more memory than you host has: RAM + SWAP but the user land apps of your VEs will not be able to use it. On my setups... I set vmguarpages barrier to minimum amount of RAM that I want that the VE is able to allocate. OpenVZ guarantees this. I set privvmpages barrier to the maximum amount of RAM that I want that the VE is able to allocate. I set privvmpages limit to a value higher than barrier, like 5%~25% more. OpenVZ does not guarantees that the extra amount of RAM will be allocable. Then I set oomguarpages to same value of privvmpages limit. This isn't the best scenario for RAM utilization but ensures low incidence of processes being killed by kernel due out of memory condition. Hope that it helps, Peter On Thu, Dec 9, 2010 at 11:35 AM, Steffan gene...@ziggo.nl wrote: Hello All, New to the list, loving openvz But having trouble finding out the right settings for the containers Can someone tell me if im in trouble or everything looks fine vzcpucheck -v VEIDCPUUNITS - 0 1000 1 1 7 1 8 1 13 1 15 1 23 1 3 1 5 1 2 1 9 1 Current CPU utilization: 101000 Power of the node: 1809010 vzmemcheck -v Output values in % veidLowMem LowMem RAM MemSwap MemSwap Alloc Alloc Alloc util commitutilutil commitutil commit limit 9 1.44 45.791.130.97 10.772.163.42 20.15 5 3.14 45.793.062.62 10.775.30 10.77 20.15 3 3.96 45.793.082.64 10.775.06 10.77 20.15 232.04 45.792.311.98 10.773.60 10.77 20.15 152.69 45.793.452.95 10.775.25 10.77 20.15 132.68 45.792.181.87 10.774.47 10.77 20.15 8 3.33 45.794.213.60 10.775.91 10.77 20.15 7 2.29 45.791.901.62 10.773.55 10.77 20.15 2 2.41 45.793.392.90 10.774.72 10.99 20.15 1 1.98 45.791.641.40 10.772.78 10.77 20.15 - Summary: 25.96 457.95 26.34 22.55 107.69 42.80 100.57 201.49 The hw node hs 24 Gb memory, expendable to 96G 2 E5520 @ 2.27GHz quadcore processes How do i read this: 25.96 % in use But overclocked for 457.95 % ? With regards Steffan ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users -- Peter Senna Tschudin peter.se...@gmail.com gpg id: 48274C36 ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users