Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Large SGA in Linux?

Re: Large SGA in Linux?

From: Mladen Gogala <mgogala_at_earthlink.net>
Date: Sat, 28 Aug 1999 00:04:54 -0400
Message-ID: <37C75FE6.C959AE46@earthlink.net>


Gene wrote:
>
> Anyone running Oracle 8.0.5.X on a Red Hat 6.0 box with a
> large SGA?
>
> I have a Dell server with 2gigs of RAM. If I modify the
> /usr/src/linux/include/asm/shmparam.h to set SHMMAX to
> 1gig and rebuild the kernel, changing nothing else, I can
> get a 500-600meg SGA (which is what I want). However, linux
> by default only recognizes upto 1gig of physical RAM. Therefore,
> I have changed the PAGE_OFFSET value in
> /usr/src/linux/include/asm/page.h (and the other file noted in the
> text of page.h) to 0X80000000 (the hex value of 2 gigs) to use my extra
> memory. Now, however, when I rebuilt the kernel I get all of my memory,
> but I can only allocate a shared memory segment of around 180megs.
> Anything larger than that fails.
>
> I cannot for the life of me figure out what is going wrong here.
>
> Any ideas?
>
> Thanks,
> Gene...

Did you change /usr/src/linux/arch/i386/vmlinux.lds as well? Here is the excerpt from page.h (I upgraded my kernel to 2.2.11 and I don't have any problems. My advice to you is to do the same.)

--
Mladen Gogala Received on Fri Aug 27 1999 - 23:04:54 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US