[PATCH 0/3] makedumpfile: calculate the size of cyclic buffer automatically.

Atsushi Kumagai kumagai-atsushi at mxc.nes.nec.co.jp
Fri Nov 9 02:02:14 EST 2012


Hello,

I made the patch set based on v1.5.1-beta to calculate the size of cyclic 
buffer automatically.

In v1.5.0, users have to specify the buffer size depending on system memory
size with --cyclic-buffer option in order to get decent performance.

This patch set avoids the inconvenience above by choosing the lesser value
of the two below as the size of cyclic buffer automatically:

  a. the size enough for storing the 1st/2nd bitmap for the whole of vmcore
  b. 80% of free memory (as safety limit)

Additionally, this patch set remove --cyclic-buffer option because I think
it has been already unnecessary.

If there is no comments, I'll merge this patch set into v1.5.1-rc.


Thanks
Atsushi Kumagai



More information about the kexec mailing list