diff options
author | Atsushi Kumagai <ats-kumagai@wm.jp.nec.com> | 2015-05-11 14:25:36 +0900 |
---|---|---|
committer | Atsushi Kumagai <ats-kumagai@wm.jp.nec.com> | 2015-05-28 10:38:34 +0900 |
commit | 5c5a8b834d9602dbf4354ae726aea90df3c4e4ca (patch) | |
tree | cd7d267c10073b94a89a5948508345a67d888f8a /makedumpfile.8 | |
parent | 5fc24bf754fa6d2c0bd0f1c6f5655de371efb9d5 (diff) |
[PATCH 02/13] Add option to specify working directory for the bitmap.
Introduce the new option "--work-dir" to specify the directory
used to store the bitmap. This is the alternative to the combination
of --non-cyclic and TMPDIR.
Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
Diffstat (limited to 'makedumpfile.8')
-rw-r--r-- | makedumpfile.8 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/makedumpfile.8 b/makedumpfile.8 index 9752671..b6055d8 100644 --- a/makedumpfile.8 +++ b/makedumpfile.8 @@ -421,6 +421,19 @@ If you feel the cyclic mode is too slow, please try this mode. # makedumpfile \-\-non\-cyclic \-d 31 \-x vmlinux /proc/vmcore dumpfile .TP +\fB\-\-work\-dir\fR +Specify the working directory for the temporary bitmap file. +If this option isn't specified, the bitmap will be saved on memory. +Filtering processing has to do 2 pass scanning to fix the memory consumption, +but it can be avoided by using working directory on file system. +So if you specify this option, the filtering speed may be bit faster. + +.br +.B Example: +.br +# makedumpfile \-\-work\-dir /tmp \-d 31 \-x vmlinux /proc/vmcore dumpfile + +.TP \fB\-\-non\-mmap\fR Never use \fBmmap(2)\fR to read \fIVMCORE\fR even if it supports \fBmmap(2)\fR. Generally, reading \fIVMCORE\fR with \fBmmap(2)\fR is faster than without it, |