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 D4B1BC43387 for ; Mon, 31 Dec 2018 06:04:18 +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 997C620828 for ; Mon, 31 Dec 2018 06:04:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 997C620828 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=archiver.kernel.org@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1gdqgT-0006Yj-Fw for kernelnewbies@archiver.kernel.org; Mon, 31 Dec 2018 01:04:17 -0500 Received: from aka.amit-agarwal.co.in ([69.164.195.168]) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1gdqeg-0004KR-8x for kernelnewbies@kernelnewbies.org; Mon, 31 Dec 2018 01:02:26 -0500 Received: by aka.amit-agarwal.co.in (Postfix, from userid 33) id 12292C85F; Mon, 31 Dec 2018 11:32:25 +0530 (IST) To: kernelnewbies@kernelnewbies.org Subject: Understanding memory fragmentation in Linux kernel X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Date: Mon, 31 Dec 2018 06:02:24 +0000 From: Amit Agarwal Organization: Individual Message-ID: <2ef41c8f111a94eaaa6082f6168a56fd@amit-agarwal.co.in> X-Sender: amit@amit-agarwal.co.in User-Agent: Roundcube Webmail/1.2-beta 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="===============2336366220626056466==" Errors-To: kernelnewbies-bounces+kernelnewbies=archiver.kernel.org@kernelnewbies.org --===============2336366220626056466== Content-Type: multipart/alternative; boundary="=_3334e2f0c5b17ff984287239c9e55117" --=_3334e2f0c5b17ff984287239c9e55117 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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 Description: One of the applications does a few 200-300Mb calloc's during start-up. On one of the production servers, the application does not start up although there should be enough RAM available for application to start. I am suspecting that this is because of fragmentation and would like to confirm the same. -- Thanks, -aka --=_3334e2f0c5b17ff984287239c9e55117 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

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 i= f the memory is fragmented.


Problem Description:

One of the applications does a few 200-300Mb calloc's during start-up. O= n one of the production servers, the application does not start up although= there should be enough RAM available for application to start. I am suspec= ting that this is because of fragmentation and would like to confirm the sa= me.

--
= Thanks,
-aka
--=_3334e2f0c5b17ff984287239c9e55117-- --===============2336366220626056466== 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 --===============2336366220626056466==--