Hi Shilpa, #define ENOBUFS 105 /* No buffer space available */ By any chance are you hitting this issue ? On Wed, Jul 13, 2016 at 9:30 PM, <kernelnewbies-request@kernelnewbies.org> wrote:
Send Kernelnewbies mailing list submissions to kernelnewbies@kernelnewbies.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies or, via email, send a message with subject or body 'help' to kernelnewbies-request@kernelnewbies.org
You can reach the person managing the list at kernelnewbies-owner@kernelnewbies.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Kernelnewbies digest..."
Today's Topics:
1. Re: Memory pages not released by the filesystem after a truncate (Houssem Daoud) 2. Re: Memory pages not released by the filesystem after a truncate (Houssem Daoud) 3. OS Error: 105 (Shilpa Yellapragada) 4. Re: OS Error: 105 (Rami Rosen)
----------------------------------------------------------------------
Message: 1 Date: Tue, 12 Jul 2016 17:12:31 -0400 From: Houssem Daoud <houssem.daoud@polymtl.ca> Subject: Re: Memory pages not released by the filesystem after a truncate To: Mulyadi Santosa <mulyadi.santosa@gmail.com> Cc: kernelnewbies <kernelnewbies@kernelnewbies.org> Message-ID: <ffed6472-b7d5-64d4-3cda-e187b36d583b@polymtl.ca> Content-Type: text/plain; charset="windows-1252"
The situation is the following: Filesystem anonymous pages are consuming all the available memory and only 100 MB is left to the system.
The network driver, which allocates memory objects for Jumbo frames, needs more than 100 MB to run correctly. If a burst of networks packets arrive together, the available memory is fully consumed and the new packets start to be dropped.
This situation wouldn't happen if the "useless" pages of the filesystem were released just after the truncate operation.
What is the point of keeping truncated pages in memory ? Is that a choice made by the kernel developers or there is something wrong in the filesystem implementation ?
On 16-07-06 12:29 PM, Mulyadi Santosa wrote:
Hi
Trying to help here: You said you wanna do atomic allocation. But then you said you want to allocate around ~100 MB contiguous memory region.
IIRC, if you want to do atomic allocation, usually it can not be that big. I am not sure how large, but surely not reaching 100 MB. For that size, I think you should rely on vmalloc.
But, for clarification, maybe you should also post your full content of /proc/buddyinfo and /proc/meminfo
-- regards,
Mulyadi Santosa Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com <http://the-hydra.blogspot.com> training: mulyaditraining.blogspot.com <http://mulyaditraining.blogspot.com>
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies