Re: Understanding memory fragmentation in Linux kernel

2019-01-13 Thread Richard Siegfried
On 31/12/2018 07:28, Amit Agarwal wrote: > I am not requesting help in resolving the issue with application (I will > be able to debug that), but only need help in understanding the memory > fragmentation part. ( I gave details of original problem so that I can > explain what I am trying to

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

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