[PATCH] makedumpfile: turn off mmap for free page scan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(2013/05/22 15:57), Atsushi Kumagai wrote:
> On Wed, 15 May 2013 13:43:59 -0500
> Cliff Wickman <cpw at sgi.com> wrote:
>
>> From: Cliff Wickman <cpw at sgi.com>
>>
>> Because addresses of each successive page structure are often descending
>> it is much faster to use read()'s, so set off info->flag_usemmap
>> while doing exclude_free_page().
>>
>> Signed-off-by: Cliff Wickman <cpw at sgi.com>
>
> Sounds good.
> BTW, do you have a speed measurement like your another patch ?
>

Also how about keeping mmap mode and reducing mapping size temporarily 
to 4KiB?

>> I find this to speed the scan of page structures for a 1TB system from
>> 60sec to 30sec.

I don't know which this measured time indicates. Only free pages 
filtering or free pages filtering plus unnecessary pages filtering?

-- 
Thanks.
HATAYAMA, Daisuke




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux