Re: Memory usage [message #2594 is a reply to message #2589] |
Mon, 10 April 2006 22:04 |
eugeniopacheco
Messages: 40 Registered: November 2005
|
Member |
|
|
Hello again,
I was reading the user manual for OpenVZ and I read that the Alloc Memory is a Virtual memory, so theoretically it shouldn't have a limitation right?
Let me rephrase that... I meant that the total shouldn't have a limit, right? I noticed that the privvmpages limits this Alloc limit... Currently my vzmemcheck shows the following:
[root@t248 ~]# vzmemcheck -Av
Output values in Mbytes
veid LowMem LowMem RAM MemSwap MemSwap Alloc Alloc Alloc
util commit util util commit util commit limit
101 2.49 34.33 62.55 62.55 96.74 212.12 96.74 368.11
102 0.25 24.79 7.15 7.15 87.20 8.57 87.20 436.70
104 2.89 24.79 42.45 42.45 87.20 355.48 87.20 436.70
105 0.21 24.79 2.21 2.21 87.20 3.05 87.20 436.70
------------------------------------------------------------ -------------
Summary: 5.84 108.71 114.36 114.36 358.35 579.21 358.35 1678.21
326.00 326.00 1001.00 1001.00 1001.00 1001.00 1001.00 1001.00
[root@t248 ~]# vzmemcheck -v
Output values in %
veid LowMem LowMem RAM MemSwap MemSwap Alloc Alloc Alloc
util commit util util commit util commit limit
101 0.76 10.50 6.25 6.25 9.66 21.19 9.66 36.77
102 0.08 7.58 0.71 0.71 8.71 0.86 8.71 43.62
104 0.89 7.58 4.24 4.24 8.71 35.51 8.71 43.62
105 0.06 7.58 0.22 0.22 8.71 0.30 8.71 43.62
------------------------------------------------------------ -------------
Summary: 1.79 33.25 11.42 11.42 35.80 57.86 35.80 167.64
The question is, is the 1001.00 the maximum that should be used? I mean, take a look at the vzmemcheck -Av, it shows that the sum is actually 1678,21, but it shows underneath that number, 1001,00. But the RAM is still unused... It's only using 114,36 MB of RAM, so I can make privvmpages larger, without problems, even though it sums over the 1001,00, right?
Regards, and again thanks for all your help;)
|
|
|