lkml.org 
[lkml]   [2008]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG]:2.6.25-rc7 memory leak with hugepages.


Ingo Molnar wrote:
> * Gurudas Pai <gurudas.pai@oracle.com> wrote:
>
>> Hi,
>>
>> On 2.6.25-rc7 allocate hugepages and run a fio test with following
>> jobfile,
>
> could you try x86.git/latest:
>
> http://people.redhat.com/mingo/x86.git/README
>
> it has a fix that could fix such a leak.
>
> Ingo

Applied latest two patches and re-ran the test,

hugetlb: fix potential livelock in return_unused_surplus_hugepages()
hugetlb: indicate surplus huge page counts in per-node meminfo

Still same result,

>cat /proc/meminfo | grep Huge
HugePages_Total: 1000
HugePages_Free: 551
HugePages_Rsvd: 1
HugePages_Surp: 0
Hugepagesize: 2048 kB

>echo 0 > /proc/sys/vm/nr_hugepages
>cat /proc/meminfo | grep Huge
HugePages_Total: 450
HugePages_Free: 1
HugePages_Rsvd: 1
HugePages_Surp: 450
Hugepagesize: 2048 kB



Thanks,
-Guru


\
 
 \ /
  Last update: 2008-03-27 11:29    [W:0.056 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site