RE: [uml-devel] memory

2005-01-24 Thread Vaibhav Sharma, Noida
Thank you all for ur valuable discussion (temp dir) and suggestions related to highmem/PAE and x86_64. I have another thing to ask related to debugging...i want to check the routines which will be involved in the memory management. According to the design of UML, it has its own VM system. If

Re: [uml-devel] memory

2005-01-24 Thread Henrik Nordstrom
On Mon, 24 Jan 2005, Rob Landley wrote: Interesting. I wonder how that works? (PAE on x86 only lets you have 64G.) Thats only an limitation of the CPU support for PAE. As UML is using mmap() other limits apply and these limits is mainly set by the UML pagetable structures. But an individual

Re: [uml-devel] memory

2005-01-24 Thread Bodo Stroesser
Henrik Nordstrom wrote: On Mon, 24 Jan 2005, Rob Landley wrote: Interesting. I wonder how that works? (PAE on x86 only lets you have 64G.) Thats only an limitation of the CPU support for PAE. As UML is using mmap() other limits apply and these limits is mainly set by the UML pagetable

Re: [uml-devel] memory

2005-01-24 Thread stian
Linux needs to have one struct page for each physical mem page, which in the simple case of UML are placed in one memmap array. This array needs to be accessible permanently to the kernel, i.e. it has to be in low-mem. AFAIK, one struct page is 44 bytes in size, thus the array is about 1% of

Re: [uml-devel] memory

2005-01-24 Thread Rob Landley
On Monday 24 January 2005 03:13 am, Vaibhav Sharma, Noida wrote: According to the design of UML, it has its own VM system. If I have to check the scalability limits of the parent kernel for memory management, will UML be useful..? Jeff Dike already answered this. (He's the UML maintainer.)

Re: [uml-devel] memory

2005-01-24 Thread Bodo Stroesser
Jeff Dike wrote: [EMAIL PROTECTED] said: But that's not all, what's needed to have *support* for big memory. Linux needs to have one struct page for each physical mem page, which in the simple case of UML are placed in one memmap array. The original poster is interested in the memory scalability

Re: [uml-devel] memory

2005-01-24 Thread Blaisorblade
On Sunday 23 January 2005 10:51, Rob Landley wrote: On Sunday 23 January 2005 03:28 am, Doug Dumitru wrote: Mr. Sharma, What you are trying to do will work, but not for large amounts of memory. UML runs the client using a single user mode memory block as the entire client's core. Thus

Re: [uml-devel] memory

2005-01-24 Thread Blaisorblade
On Monday 24 January 2005 11:02, Henrik Nordstrom wrote: On Sun, 23 Jan 2005, Rob Landley wrote: The client kernel's highmem suport is unlikely to do much, I'd think. Not unless it's unmapping and remapping multiple mmaps. It does this, indeed and sadly (that's why it's so slow). (There's

Re: [uml-devel] memory

2005-01-24 Thread Blaisorblade
On Monday 24 January 2005 09:13, Vaibhav Sharma, Noida wrote: Thank you all for ur valuable discussion (temp dir) and suggestions related to highmem/PAE and x86_64. I have another thing to ask related to debugging...i want to check the routines which will be involved in the memory