Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Huge Pages ASE15.5 memory 8g; Comand top linux show memory free 7g

4 posts in General Discussion Last posting was on 2011-03-30 15:25:44.0Z
fredy Alfaro Posted on 2011-03-28 17:10:15.0Z
Sender: 78dc.4d90be97.1804289383@sybase.com
From: fredy Alfaro
Newsgroups: sybase.public.ase.general
Subject: Huge Pages ASE15.5 memory 8g; Comand top linux show memory free 7g
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4d90c0f7.79e5.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 28 Mar 2011 09:10:15 -0800
X-Trace: forums-1-dub 1301332215 10.22.241.41 (28 Mar 2011 09:10:15 -0800)
X-Original-Trace: 28 Mar 2011 09:10:15 -0800, 10.22.241.41
Lines: 8
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.ase.general:30075
Article PK: 79307

why sybase 15.5 , linux REDHAT 5.5 send error log: Could not
allocate memory using Huge Pages. Allocated using regular
pages. For better performance, reboot the server after
configuring enough Huge Pages.
I have already configured the linux kernel but when I use
the Linux top command is showing me as free memory and does
not take sybase managed configuration is happening anyone
know?


Michael Heaney Posted on 2011-03-28 17:36:16.0Z
From: Michael Heaney <mheaney@jcvi.org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
Newsgroups: sybase.public.ase.general
Subject: Re: Huge Pages ASE15.5 memory 8g; Comand top linux show memory free 7g
References: <4d90c0f7.79e5.1681692777@sybase.com>
In-Reply-To: <4d90c0f7.79e5.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4d90c710$1@forums-1-dub>
Date: 28 Mar 2011 09:36:16 -0800
X-Trace: forums-1-dub 1301333776 10.22.241.152 (28 Mar 2011 09:36:16 -0800)
X-Original-Trace: 28 Mar 2011 09:36:16 -0800, vip152.sybase.com
Lines: 18
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.ase.general:30076
Article PK: 79304


On 3/28/2011 1:10 PM, fredy Alfaro wrote:
> why sybase 15.5 , linux REDHAT 5.5 send error log: Could not
> allocate memory using Huge Pages. Allocated using regular
> pages. For better performance, reboot the server after
> configuring enough Huge Pages.
> I have already configured the linux kernel but when I use
> the Linux top command is showing me as free memory and does
> not take sybase managed configuration is happening anyone
> know?

Can you post the output of this command:

grep Huge /proc/meminfo


Michael Heaney
JCVI


fredy Alfaro Posted on 2011-03-30 14:57:48.0Z
Sender: 78dc.4d90be97.1804289383@sybase.com
From: Fredy Alfaro
Newsgroups: sybase.public.ase.general
Subject: Re: Huge Pages ASE15.5 memory 8g; Comand top linux show memory free 7g
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4d9344ec.57fd.1681692777@sybase.com>
References: <4d90c710$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 30 Mar 2011 06:57:48 -0800
X-Trace: forums-1-dub 1301497068 10.22.241.41 (30 Mar 2011 06:57:48 -0800)
X-Original-Trace: 30 Mar 2011 06:57:48 -0800, 10.22.241.41
Lines: 51
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.ase.general:30079
Article PK: 79308


> On 3/28/2011 1:10 PM, fredy Alfaro wrote:
> > why sybase 15.5 , linux REDHAT 5.5 send error log: Could
> > not allocate memory using Huge Pages. Allocated using
> > regular pages. For better performance, reboot the server
> > after configuring enough Huge Pages.
> > I have already configured the linux kernel but when I
> > use the Linux top command is showing me as free memory
> > and does not take sybase managed configuration is
> > happening anyone know?
>
>
> Can you post the output of this command:
>
> grep Huge /proc/meminfo
>
>
> Michael Heaney
> JCVI

Hi, Michael
I have this values
MemTotal: 8174304 kB
MemFree: 3354148 kB
Buffers: 199624 kB
Cached: 4222740 kB
SwapCached: 0 kB
Active: 2479128 kB
Inactive: 2098948 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 8174304 kB
LowFree: 3354148 kB
SwapTotal: 10223608 kB
SwapFree: 10223608 kB
Dirty: 4 kB
Writeback: 0 kB
AnonPages: 128172 kB
Mapped: 92236 kB
Slab: 191236 kB
PageTables: 21192 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 14310760 kB
Committed_AS: 555716 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 267724 kB
VmallocChunk: 34359470603 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB


Michael Heaney Posted on 2011-03-30 15:25:44.0Z
From: Michael Heaney <mheaney@jcvi.org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
Newsgroups: sybase.public.ase.general
Subject: Re: Huge Pages ASE15.5 memory 8g; Comand top linux show memory free 7g
References: <4d90c710$1@forums-1-dub> <4d9344ec.57fd.1681692777@sybase.com>
In-Reply-To: <4d9344ec.57fd.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4d934b78$1@forums-1-dub>
Date: 30 Mar 2011 07:25:44 -0800
X-Trace: forums-1-dub 1301498744 10.22.241.152 (30 Mar 2011 07:25:44 -0800)
X-Original-Trace: 30 Mar 2011 07:25:44 -0800, vip152.sybase.com
Lines: 77
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.ase.general:30080
Article PK: 79310

It doesn't appear as if you've configured your server to use
huge pages - otherwise the HugePagesTotal value would be non-zero.

Unhappily, Sybase's documentation on huge pages is perfunctory
and woefully out of date. When I configured huge pages on
my own system, I had to rely on an Oracle-related site to
get the necessary info, in particular this page:

http://www.pythian.com/news/1326/performance-tuning-hugepages-in-linux/

You'll almost certainly have to do some fine-tuning after
your first attempt to set huge pages, to get your
HugePages_Free as low as possible after your Sybase server
has grabbed its allotment. And on one of my servers, I
found that I had to reboot the entire machine after
shutting down Sybase, otherwise the huge pages would not
get freed for the next Sybase restart.


Michael Heaney
JCVI

On 3/30/2011 10:57 AM, Fredy Alfaro wrote:
>> On 3/28/2011 1:10 PM, fredy Alfaro wrote:
>>> why sybase 15.5 , linux REDHAT 5.5 send error log: Could
>>> not allocate memory using Huge Pages. Allocated using
>>> regular pages. For better performance, reboot the server
>>> after configuring enough Huge Pages.
>>> I have already configured the linux kernel but when I
>>> use the Linux top command is showing me as free memory
>>> and does not take sybase managed configuration is
>>> happening anyone know?
>>
>>
>> Can you post the output of this command:
>>
>> grep Huge /proc/meminfo
>>
>>
>> Michael Heaney
>> JCVI
>
> Hi, Michael
> I have this values
> MemTotal: 8174304 kB
> MemFree: 3354148 kB
> Buffers: 199624 kB
> Cached: 4222740 kB
> SwapCached: 0 kB
> Active: 2479128 kB
> Inactive: 2098948 kB
> HighTotal: 0 kB
> HighFree: 0 kB
> LowTotal: 8174304 kB
> LowFree: 3354148 kB
> SwapTotal: 10223608 kB
> SwapFree: 10223608 kB
> Dirty: 4 kB
> Writeback: 0 kB
> AnonPages: 128172 kB
> Mapped: 92236 kB
> Slab: 191236 kB
> PageTables: 21192 kB
> NFS_Unstable: 0 kB
> Bounce: 0 kB
> CommitLimit: 14310760 kB
> Committed_AS: 555716 kB
> VmallocTotal: 34359738367 kB
> VmallocUsed: 267724 kB
> VmallocChunk: 34359470603 kB
> HugePages_Total: 0
> HugePages_Free: 0
> HugePages_Rsvd: 0
> Hugepagesize: 2048 kB