OpenVZ Forum


Home » Mailing lists » Users » Difference in privvmpages accounting between 2.6.8 and 2.6.9-023stab040.1
Difference in privvmpages accounting between 2.6.8 and 2.6.9-023stab040.1 [message #10633] Sun, 25 February 2007 06:13 Go to next message
Ligesh is currently offline  Ligesh
Messages: 11
Registered: January 2007
Junior Member
Hi,

There seems to be almost double the privvmpages usage displayed in 2.6.9 compared to the same vps running on 2.6.8. Is this change documented somewhere? These are the figures I get:

barebones centos-4 vps on 2.6.8 kernel shows privvmpages as (amounts to about 18MB)
privvmpages 4545 7262 11520 11520 0
dcachesize 78057 81774 2147483646 2147483646 0

the _same_ vps running on 2.6.9 shows (amounts to 40MB, more than double)
privvmpages 9491 10752 11520 11520 0
dcachesize 0 0 2147483646 2147483646 0

From the above, should I assume that now privvmpages includes dcachesize too?

Thanks.
Re: Difference in privvmpages accounting between 2.6.8 and 2.6.9-023stab040.1 [message #10660 is a reply to message #10633] Mon, 26 February 2007 09:58 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

can you, please, specify what particular kernels have you used in your
experiments?

Thank you,
Vasily

Ligesh wrote:
> Hi,
>
> There seems to be almost double the privvmpages usage displayed in 2.6.9 compared to the same vps running on 2.6.8. Is this change documented somewhere? These are the figures I get:
>
> barebones centos-4 vps on 2.6.8 kernel shows privvmpages as (amounts to about 18MB)
> privvmpages 4545 7262 11520 11520 0
> dcachesize 78057 81774 2147483646 2147483646 0
>
> the _same_ vps running on 2.6.9 shows (amounts to 40MB, more than double)
> privvmpages 9491 10752 11520 11520 0
> dcachesize 0 0 2147483646 2147483646 0
>
> From the above, should I assume that now privvmpages includes dcachesize too?
>
> Thanks.
>
Re: Difference in privvmpages accounting between 2.6.8 and 2.6.9-023stab040.1 [message #10681 is a reply to message #10660] Mon, 26 February 2007 14:06 Go to previous messageGo to next message
Ligesh is currently offline  Ligesh
Messages: 11
Registered: January 2007
Junior Member
On Mon, Feb 26, 2007 at 12:58:16PM +0300, Vasily Tarasov wrote:
> Hello,
>
> can you, please, specify what particular kernels have you used in your
> experiments?
>
> Thank you,
> Vasily
>

2.6.8-022stab078.10
2.6.9-023stab040.1

By adding the actual vsizes as shown by ps, it seems the higher values shown by the current kernel is the actual usage, while the 2.6.8 seems to be wrong. Anyway, some clarification would be great.

Thanks.
Re: Difference in privvmpages accounting between 2.6.8 and 2.6.9-023stab040.1 [message #10807 is a reply to message #10681] Sat, 03 March 2007 07:23 Go to previous messageGo to next message
Ligesh is currently offline  Ligesh
Messages: 11
Registered: January 2007
Junior Member
On Mon, Feb 26, 2007 at 07:45:20PM +0530, Ligesh wrote:
> On Mon, Feb 26, 2007 at 12:58:16PM +0300, Vasily Tarasov wrote:
> > Hello,
> >
> > can you, please, specify what particular kernels have you used in your
> > experiments?
> >
> > Thank you,
> > Vasily
> >
>
> 2.6.8-022stab078.10
> 2.6.9-023stab040.1
>
> By adding the actual vsizes as shown by ps, it seems the higher values shown by the current kernel is the actual usage, while the 2.6.8 seems to be wrong. Anyway, some clarification would be great.
>
> Thanks.

Hi folks,

On 2.6.9-023stab037.3-smp also, the memory is showing half that of shown by 2.6.9-023stab040.1. Could anyone please help me out here. This is completely disorienting actually. Which kernel should I trust?

Thanks.
Re: Re: Difference in privvmpages accounting between 2.6.8 and 2.6.9-023stab040.1 [message #10825 is a reply to message #10807] Mon, 05 March 2007 09:51 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Ligesh,

I answered in the bug:
http://bugzilla.openvz.org/show_bug.cgi?id=484

Both kernels are correct. This is due to execschield which creates some
interesting mappings on its behalf. Investigating the reasons of it.
To turn this 2.6.9 behaviour off boot the kernel with noexec=off

Thanks,
Kirill


> On Mon, Feb 26, 2007 at 07:45:20PM +0530, Ligesh wrote:
>
>>On Mon, Feb 26, 2007 at 12:58:16PM +0300, Vasily Tarasov wrote:
>>
>>>Hello,
>>>
>>>can you, please, specify what particular kernels have you used in your
>>>experiments?
>>>
>>>Thank you,
>>>Vasily
>>>
>>
>>2.6.8-022stab078.10
>>2.6.9-023stab040.1
>>
>> By adding the actual vsizes as shown by ps, it seems the higher values shown by the current kernel is the actual usage, while the 2.6.8 seems to be wrong. Anyway, some clarification would be great.
>>
>> Thanks.
>
>
> Hi folks,
>
> On 2.6.9-023stab037.3-smp also, the memory is showing half that of shown by 2.6.9-023stab040.1. Could anyone please help me out here. This is completely disorienting actually. Which kernel should I trust?
>
> Thanks.
>
>
>
>
Re: Difference in privvmpages accounting between 2.6.8 and 2.6.9-023stab040.1 [message #10826 is a reply to message #10825] Mon, 05 March 2007 10:13 Go to previous message
Ligesh is currently offline  Ligesh
Messages: 11
Registered: January 2007
Junior Member
On Mon, Mar 05, 2007 at 01:03:59PM +0300, Kirill Korotaev wrote:
> Ligesh,
>
> I answered in the bug:
> http://bugzilla.openvz.org/show_bug.cgi?id=484
>
> Both kernels are correct. This is due to execschield which creates some
> interesting mappings on its behalf. Investigating the reasons of it.
> To turn this 2.6.9 behaviour off boot the kernel with noexec=off
>

Yeah, It works fine with noexec=off. It did create some confusion for some time, resulting in some minor altercation between vps hosting providers and their customers on the question of memory usage (accusations of fraud etc :-).

Thanks.
Previous Topic: Unable to open pty
Next Topic: openvz issues.
Goto Forum:
  


Current Time: Thu Oct 31 21:17:29 GMT 2024

Total time taken to generate the page: 0.04325 seconds