RE: Extermeley large PageTables over 500G on kernel 2.6.32.49(SLES11 SP1)

From: Eric Dumazet
Date: Wed Jan 11 2012 - 06:19:49 EST


Le mercredi 11 janvier 2012 Ã 11:52 +0100, Borzenkov, Andrey a Ãcrit :

> Colleagues responsible for Oracle are reconfiguring it now.
>

OK. Since your hardware supports 1GB hugepages, you might try to use
them as well. Not sure if your kernel is recent enough...

cat /proc/cmdline
ro root=LABEL=/ hugepagesz=1GB hugepages=512

> > If not, its normal to eat so much memory for page tables
> >
> > grep VmPTE /proc/*/status
> >
> >
>
> Forgive my ignorance. I thought that
>
> 1. PTE is 8 bytes per page, which is 4K which gives 2K per 1M of memory
> 2. All processes sharing the same shared memory share the same page table

It depends how oracle maps its SGA.

It probably uses a method disallowing page table sharing.

Anyway, hugetables for this kind of workload is a must.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/