[PATCH] makedumpfile: keep dumpfile pages in a cache

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

 



Hello Petr,

On Tue, 28 Aug 2012 19:49:49 +0200
Petr Tesarik <ptesarik at suse.cz> wrote:

> Add a simple cache for pages read from the dumpfile.
> 
> This is a big win if we read consecutive data from one page, e.g.
> page descriptors, or even page table entries.
> 
> Note that makedumpfile now always reads a complete page. This was already
> the case with kdump-compressed and sadump formats, but makedumpfile was
> throwing most of the data away. For the kdump-compressed case, we may
> actually save a lot of decompression, too.
> 
> I tried to keep the cache small to minimize memory footprint, but it should
> be big enough to hold all pages to do 4-level paging plus some data. This
> is needed e.g. for vmalloc areas or Xen page frame table data, which are not
> contiguous in physical memory.
> 
> Signed-off-by: Petr Tesarik <ptesarik at suse.cz>

It's interesting to me. I want to know how performance will be improved
with this patch, so do you have speed measurements ?


Thanks
Atsushi Kumagai



[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