LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-08-2009, 07:01 PM   #1
princessshieh
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
Chaning kernel.shmmax value after more physical memory is added


Hi,

This is my first post.

Below is my system architect:

2.6.9-78.0.13.ELsmp #1 SMP Wed Jan 7 17:45:52 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

We had an Oracle Database Server with 16G of RAM. We encountered performance issue, so we added additional 16G or RAM.

Please let me know how large can I set kernel.shmmax value to in the /etc/sysctl.conf file.

Oracle doc. suggested to set it to half of the physical memory. But I would like to know whether it can set to a larger value so that I can increase Oracle SGA_MAX_SIZE to boost my DB performance.

Thank you in advance for your advice.

princessshieh
 
Old 09-08-2009, 07:08 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
http://www.idevelopment.info/data/Or.../LINUX_8.shtml

You should find that the above link, particularly Chapter 3, answers your question

If there's anything you don't understand after reviewing that section, feel free to ask for more detail.

Cheers!
Sasha

PS - Welcome to LinuxQuestions!
 
Old 09-09-2009, 05:21 PM   #3
princessshieh
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Sasha,

Thanks for your reply.

The link provided herein did not answer my question.

Basically I like to know what value I can set shmmax given the fact that there are total of 32G physical memory on my system. I have two Oracle instances on that box. I allocated 15 G for one of the instances, but only 500M for the 2nd one. That leaves some physical memory unused, I guess.

Since I have total of 32G, I feel like that I should be able to allocate more SGA to my first instance. But I am not sure how much I can set it to? If I increase SGA, then, I should change shmmax kernel parameter as well, right.

Thanks,

Karin
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCIe dma-able memory location in physical memory for Intel Nehalem / Tylersburg arch robvoo Linux - Kernel 4 07-31-2009 06:21 AM
parameter SHMMAX (largest shared memory segment) too small or insufficient swap space barkaline Fedora 1 07-29-2009 12:31 PM
How to access Physical memory not mapped in kernel sbc Programming 0 02-09-2009 09:13 AM
how kernel process is loaded in the physical memory.. Kesavaraj Linux - Software 1 07-23-2008 08:53 AM
Physical memory request to Linux Kernel tanmay.anjaria Linux - Newbie 2 02-06-2008 11:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration