lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <op.vtxg3jzl3l0zgt@mnazarewicz-glaptop>
Date:	Thu, 14 Apr 2011 14:31:57 +0200
From:	"Michal Nazarewicz" <mina86@...a86.com>
To:	Américo Wang <xiyou.wangcong@...il.com>,
	"Pintu Agarwal" <pintu_agarwal@...oo.com>
Cc:	"Andrew Morton" <akpm@...ux-foundation.org>,
	"Eric Dumazet" <eric.dumazet@...il.com>,
	"Changli Gao" <xiaosuo@...il.com>, "Jiri Slaby" <jslaby@...e.cz>,
	azurIt <azurit@...ox.sk>, linux-kernel@...r.kernel.org,
	linux-mm@...ck.org, linux-fsdevel@...r.kernel.org,
	"Jiri Slaby" <jirislaby@...il.com>
Subject: Re: Regarding memory fragmentation using malloc....

On Thu, 14 Apr 2011 14:24:56 +0200, Pintu Agarwal  
<pintu_agarwal@...oo.com> wrote:

> Sorry. There was a small typo in my last sentence (mitigating not  
> *migitating* memory fragmentation)
> That means how can I measure the memory fragmentation either from user  
> space or from kernel space.
> Is there a way to measure the amount of memory fragmentation in linux?

I'm still not entirely sure what you need.  You may try to measure
fragmentation by the number of low order pages -- the more low order
pages compared to high order pages the bigger the fragmentation.

As of how to mitigate...  There's memory compaction.  There's some
optimisations in buddy system.  I'm probably not the best person to
ask anyway.

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michal "mina86" Nazarewicz    (o o)
ooo +-----<email/xmpp: mnazarewicz@...gle.com>-----ooO--(_)--Ooo--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ