Latest linux memory Weblinks:
- Re: how to get physical memory address from virtual memory address
Not true. When the respective page is swapped out, there is no physical address associated to given virtual address.- "Linux Uses Too Much Memory!" A (very) Basic Linux Memory Guide
"One thing I noticed, and it seemed a little disconcerting to me, was the maxed-out colors on my memory graph. It seemed that all my memory was all used up, and as I moused over the graph it did not show the memory usage numbers. I felt I was at a dead end. Moreover, I was pretty sure, from all appearances, that Kubuntu truly was a memory hog..."- memory issues with small Linux
comp.os.linux.misc: memory issues with small Linux- Re: how to get physical memory address from virtual memory address
Hari wrote: You have to do this in the kernel. Firstly, the page obviously has to be nailed down (unswappable). Otherwise it has no fixed physical address. When paged out, it has no address at all, and may get a different physical address each time it is paged out. You can do this using the get_user_pages() kernel function, which willSummary: someone told me that in a typical Linux configuration, ... single process can not allocate more than about 1.5GB due ... to memory layout restrictions. ...- Re: how to get physical memory address from virtual memory address
Where does the physical memory come from when you turn on virtual memory overcommits? Look at Documentation/vm/overcommit-ac counting in your kernel sources. Setting vm.overcommit_memory=1 is indeed useful in some circumstances but can lead to unpredictable process deaths.- Re: how to get physical memory address from virtual memory address
This is not a task that should be performed by the user-level process. You can't for example test the memory which is permanently mapped by kernel (which user-level process is not allowed to access). For memory diagnostics, tools specifically crafted for such tasks should be used (such as memtest86).
FREE NEWSLETTER
|
| Latest News, and Special Offers on Memory enter your name and email address here: |
|
|
|
|