From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4BC8C43387 for ; Mon, 31 Dec 2018 06:28:49 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8C7A620B1F for ; Mon, 31 Dec 2018 06:28:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8C7A620B1F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amit-agarwal.co.in Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1gdr4C-0007Ru-6u; Mon, 31 Dec 2018 01:28:48 -0500 Received: from aka.amit-agarwal.co.in ([69.164.195.168]) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1gdr4A-0007Rn-Aw for kernelnewbies@kernelnewbies.org; Mon, 31 Dec 2018 01:28:46 -0500 Received: by aka.amit-agarwal.co.in (Postfix, from userid 33) id 8F80BC85F; Mon, 31 Dec 2018 11:58:45 +0530 (IST) To: Manish Katiyar Subject: Re: Understanding memory fragmentation in Linux kernel X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Date: Mon, 31 Dec 2018 06:28:45 +0000 From: Amit Agarwal Organization: Individual In-Reply-To: References: <2ef41c8f111a94eaaa6082f6168a56fd@amit-agarwal.co.in> Message-ID: <5ac059b588692de67b6eeede673ae5b2@amit-agarwal.co.in> X-Sender: amit@amit-agarwal.co.in User-Agent: Roundcube Webmail/1.2-beta Cc: kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6025599147195214959==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============6025599147195214959== Content-Type: multipart/alternative; boundary="=_49193c957e314c6c1383f8470c0c4cf3" --=_49193c957e314c6c1383f8470c0c4cf3 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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 enabled on site and there is nothing we can do now to enable it and it is happening in only one site. But from whatever logs I have, it is failing in calloc. 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 understand and why). -- Thanks, -aka --=_49193c957e314c6c1383f8470c0c4cf3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

On 2018-12-31 06:22, Manish Katiyar wrote:


How do you know it is because of memory ? If you have suf= ficient RAM then it should be able to allocate. Does you application fail w= ith ENOMEM ?
Without knowing the error code from application it's hard= to suggest anything.
 
There is no debugging enabled on site and there is nothing we can do n= ow to enable it and it is happening in only one site. But from whatever log= s I have, it is failing in calloc.
 
I am not requesting help in resolving the issue with application (I wi= ll be able to debug that), but only need help in understanding the memory f= ragmentation part. ( I gave details of original problem so that I can expla= in what I am trying to understand and why).
 
 
--
Thanks,
-aka
--=_49193c957e314c6c1383f8470c0c4cf3-- --===============6025599147195214959== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============6025599147195214959==--