Re: Memory Management

From: Neil Horman
Date: Thu Jul 21 2005 - 08:12:41 EST


On Thu, Jul 21, 2005 at 09:34:14AM -0300, Márcio Oliveira wrote:
> Arjan van de Ven wrote:
>
> >On Wed, 2005-07-20 at 11:23 -0300, Márcio Oliveira wrote:
> >
> >
> >>Arjan van de Ven wrote:
> >>
> >>
> >>
> >>>I'm sure RH support will be able to help you with that; I doubt many
> >>>other people care about an ancient kernel like that, and a vendor one to
> >>>boot.
> >>>
> >>>(Also I assume you are using the -hugemem kernel as the documentation
> >>>recommends you to do)
> >>>
> >>>
> >>>
> >>>
> >>>
> >>Arjan,
> >>
> >> I'd like to know/understand more about memory management on Linux
> >>Kernel and I belive this concept is applyable to the Red Hat Linux Kernel.
> >>
> >>
> >
> >Only on the highest of levels. The RHEL3 kernel has a VM that resembles
> >almost no other linux kernel in many many ways.
> >
> >
> >
> >
> >> I have some doubts about the ZONE divison (DMA, NORMAL, HIGHMEM),
> >>Shared Memory utilization, HugeTLB feature and OOM with large memory and
> >>the kernel management of memory on SMP machines. I believe these
> >>features are common to the Linux kernel in general(Red Hat, Debian,
> >>SuSe, kernel.org), right?
> >>
> >>
> >
> >nope. These things are very much different between the kernels you
> >mention.
> >
> >What do you want to use the knowledge for? Fixing the VM? Tuning your
> >server? The goal of your question determines what kind of answer you
> >want to your questions....
> >
> >
> It's about tunning the VM parameters...
>
> That's my first question on list:
>
> "Is HugeTBL proc memory parameters only to hugetlbfs "filesystem" or are
> these parameters affect ramfs, shm and tmpfs too?
>
> What is the basic difference between ramfs, hugetlbfs, shm and tmpfs to
> the memory management / process VLM utilization?
>
> thanks,
>
http://people.redhat.com/nhorman/papers/rhel3_vm.pdf
I wrote this with norm awhile back. It may help you out.
Regards
Neil

> Márcio."
> -
> 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/

--
/***************************************************
*Neil Horman
*Software Engineer
*Red Hat, Inc.
*nhorman@xxxxxxxxxx
*gpg keyid: 1024D / 0x92A74FA1
*http://pgp.mit.edu
***************************************************/
-
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/