Re: Understanding memory fragmentation in Linux kernel

2018-12-30 Thread Amit Agarwal
On Sun, 2018-12-30 at 22:54 -0800, Manish Katiyar wrote: > > Maybe you can try > > echo m > /proc/sysrq-trigger I will check this and see if this can provide something useful for me. Did not know about this. > > Or looking at /proc/buddyinfo I looked at buddyinfo and hence asked for more

Re: Understanding memory fragmentation in Linux kernel

2018-12-30 Thread Manish Katiyar
On Sun, Dec 30, 2018, 10:28 PM Amit Agarwal On 2018-12-31 06:22, Manish Katiyar wrote: > > > How do you know it is because of memory ? If you have sufficient RAM then > it should be able to allocate. Does you application fail with ENOMEM ? > Without knowing the error code from application it's

Listing Supported Kernel Parameters?

2018-12-30 Thread Henry C
Hi, I am looking for a command (or alike) to list all the supported kernel parameters based on my current kernel. If such command doesn't exist, it would still be great to see a complete list like this one: https://www.kernel.org/doc/html/v4.15/admin-guide/kernel-parameters.html But I can't

Re: Understanding memory fragmentation in Linux kernel

2018-12-30 Thread Amit Agarwal
On 2018-12-31 06:22, Manish Katiyar wrote: > How do you know it is because of memory ? If you have sufficient RAM then it > should be able to allocate. Does you application fail with ENOMEM ? > Without knowing the error code from application it's hard to suggest anything. There is no debugging

Re: Understanding memory fragmentation in Linux kernel

2018-12-30 Thread Manish Katiyar
On Sun, Dec 30, 2018, 10:03 PM Amit Agarwal Hi All, > > > I am trying to understand memory fragmentation and how to understand > and/or analyze the same. > > Is there some detailed documentation on pagetypeinfo and buddyinfo files > present in the proc directory? Am I looking at right files to

Understanding memory fragmentation in Linux kernel

2018-12-30 Thread Amit Agarwal
Hi All, I am trying to understand memory fragmentation and how to understand and/or analyze the same. Is there some detailed documentation on pagetypeinfo and buddyinfo files present in the proc directory? Am I looking at right files to understand if the memory is fragmented. Problem