Jump to content
ethraza

BigPages with the kernel [solved]

Recommended Posts

Hi!

I posted this to ask how to set bigpages in Mandriva Linux LE 2005.

Becose I think this will resolv my problem. But I'll describe my problem here, if sombody knows...

 

I have installed Mandriva LE2005 Download Edition on a Dell PowerEdge 1850 with 4GB of memory, and Oracle 9i.

 

All is ok but I cannot create a DB with the SGA greater than 1.7GB. Why? If I have 4GB of memory the max size of SGA is 2.7, dont't?

 

I get some tricks from net and applyed all but the bigpages part don't worked, so I think this maybe helps me.

 

Here is my important files or part of that files:

 

lilo.conf (kernel-smp-2.6.11.6mdk-1-1mdk - Note the bigpages option, is part of the trick that don't work.):

image=/boot/vmlinuz
       label="linux"
       root=/dev/sda5
       initrd=/boot/initrd.img
       append="acpi=ht resume=/dev/sda6 splash=silent bigpages=3100"
       vga=788
       read-only

 

sysctl.conf (This is appended to the end of the original file. The kernel.shm-use-bigpages=2 "is an unknown key" with command sysctl -p.):

kernel.shmmax=2147483648
kernel.shmmni=4096
kernel.shmall=2097152
kernel.sem=1000 32000 100 150
fs.file-max=65536
net.ipv4.ip_local_port_range=1024 65000
kernel.shm-use-bigpages=2
kernel.sem=250 32000 100 128
kernel.shmmax=3000000000

 

df (The tmpfs pointing to /dev/shm with size=3GB is part of the trick, but this worked -):

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5              43G  2,5G   38G   7% /
/dev/sda7              88G  3,3G   80G   4% /opt/oracle
none                  3,0G     0  3,0G   0% /dev/shm

 

cat /proc/meminfo (To you know my meminfo -):

MemTotal:      3369412 kB
MemFree:       3066224 kB
Buffers:         12916 kB
Cached:         172724 kB
SwapCached:          0 kB
Active:         182300 kB
Inactive:        86948 kB
HighTotal:     2490112 kB
HighFree:      2228224 kB
LowTotal:       879300 kB
LowFree:        838000 kB
SwapTotal:     5245180 kB
SwapFree:      5245180 kB
Dirty:              28 kB
Writeback:           0 kB
Mapped:         130884 kB
Slab:            19624 kB
CommitLimit:   6929884 kB
Committed_AS:   178836 kB
PageTables:       1484 kB
VmallocTotal:   114680 kB
VmallocUsed:      6520 kB
VmallocChunk:   106768 kB

 

cat cpuinfo (To you know my CPUs -):

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 1
cpu MHz         : 2793.436
cache size      : 1024 KB
physical id     : 0
siblings        : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmovpat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl cid xtpr
bogomips        : 5537.79

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 1
cpu MHz         : 2793.436
cache size      : 1024 KB
physical id     : 0
siblings        : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmovpat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl cid xtpr
bogomips        : 5586.94

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 1
cpu MHz         : 2793.436
cache size      : 1024 KB
physical id     : 3
siblings        : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmovpat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl cid xtpr
bogomips        : 5586.94

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 1
cpu MHz         : 2793.436
cache size      : 1024 KB
physical id     : 3
siblings        : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmovpat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl cid xtpr
bogomips        : 5570.56

 

I don't know wath to do anymore. :wall:

Please some good soul help me. I don't want to be forced by my boss and the DBA to use RedHat AS or SUSE. I like Mandriva. Pleaseeeeeee :help:

 

Thanx 4 n F1!

Share this post


Link to post
Share on other sites

Hehe... now I have HugeTLB on kernel, everything is configured but Oracle still unable ta see more than 1.7GB of memory!

F******

Share this post


Link to post
Share on other sites

Oracle 9i 32-Bit version have a limitation that don't let it to see more that 1.7G of memory.

They have a patch to work around this in metafile.

 

But, Oracle 10gR2 with Mandriva 2006 work great! See all my memory if I want.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...