The origin implementation of --num-threads wastes a lot of time
dealing with the filtered pages. So it has a great performance degradation
when -d 31 is specified.
The new implementation is just like the following:
* The basic idea is producer producing page and consumer writing page.
hare a page_data_buf array which is
used for storing page's compressed data.
* The main thread is the consumer. It will find the next pfn and write
it into file.
* The next pfn is smallest pfn in all page_flag_buf.
Signed-off-by: Zhou Wenjian
ext pfn and write
it into file.
* The next pfn is smallest pfn in all page_flag_buf.
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 266 ++---
makedumpfile.h | 31 ---
2 files changed, 200 insertions(+), 97 deletions(-)
f-by: Minoru Usui
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 300 +++--
makedumpfile.h | 33 ---
2 files changed, 203 insertions(+), 130 deletions(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index fa0b779..d75f7f7 100644
-
fn is smallest pfn in all page_flag_buf.
Signed-off-by: Minoru Usui
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 298 +++--
makedumpfile.h | 35 ---
2 files changed, 202 insertions(+), 131 deletions(-)
diff --git a/makedumpfile.c b/mak
is the consumer. It will find the next pfn and write
it into file.
* The next pfn is smallest pfn in all page_flag_buf.
Signed-off-by: Minoru Usui
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 306 +++--
makedumpfile.h | 35
y which is
used for storing page's compressed data.
* The main thread is the consumer. It will find the next pfn and write
it into file.
* The next pfn is smallest pfn in all page_flag_buf.
Signed-off-by: Minoru Usui
Signed-off-by: Zhou Wenj
* And all producers will share a page_data_buf array which is
used for storing page's compressed data.
* The main thread is the consumer. It will find the next pfn and write
it into file.
* The next pfn is smallest pfn in all page_flag_buf.
Signed-off-by: Mi
smallest pfn in all page_flag_buf.
Signed-off-by: Minoru Usui
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 325 ++---
makedumpfile.h | 38 ---
2 files changed, 215 insertions(+), 148 deletions(-)
diff --git a/makedumpfile.c b/make
Parameter nr_cpus is used to bring up a SMP dump-capture kernel,
instead of the old parameter maxcpus. This commit update it in
Documentation/kdump/kdump.txt.
Signed-off-by: Zhou Wenjian
---
Documentation/kdump/kdump.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
SMP dump-capture kernel is useful to improve the performance of kdump in
some cases. So add the description of bringing up SMP dump-capture kernel.
Signed-off-by: Zhou Wenjian
---
Documentation/kdump/kdump.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/kdump
It will have a bad performance if the threads number is larger than
the usable cpu number. So we should remind user of it.
Signed-off-by: Zhou Wenjian
---
makedumpfile.8 | 2 ++
print_info.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/makedumpfile.8 b/makedumpfile.8
index 3b6f7e2
v1->v2: change nr_cpus to maxcpus
SMP dump-capture kernel is useful to improve the performance of kdump in
some cases. So add the description of bringing up SMP dump-capture kernel.
Signed-off-by: Zhou Wenjian
---
Documentation/kdump/kdump.txt | 6 ++
1 file changed, 6 insertions(+)
d
" - 1;
In addition, thread_num is changed to producer_num.
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 108 -
makedumpfile.h | 4 +--
2 files changed, 56 insertions(+), 56 deletions(-)
diff --git a/makedumpfile.c b/makedumpfile.c
SMP dump-capture kernel is useful to improve the performance of kdump in
some cases. So add the description of bringing up SMP dump-capture kernel.
Signed-off-by: Zhou Wenjian
---
Documentation/kdump/kdump.txt | 7 +++
1 file changed, 7 insertions(+)
diff --git a/Documentation/kdump
v2->v3: add description of nr_cpus.
v1->v2: change nr_cpus to maxcpus
nr_cpus can help to save memory. So we should remind user of it.
Signed-off-by: Zhou Wenjian
---
Documentation/kdump/kdump.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/kdump/kdump
multi-cpus support is useful to improve the performance of kdump in
some cases. So add the description of enable multi-cpus support in
dump-capture kernel.
Signed-off-by: Zhou Wenjian
---
Documentation/kdump/kdump.txt | 7 +++
1 file changed, 7 insertions(+)
diff --git a/Documentation
v3->v4: update the description of bring up SMP dump-capture kernel
v2->v3: add description of nr_cpus.
v1->v2: change nr_cpus to maxcpus
nr_cpus can help to save memory. So we should remind user of it.
Signed-off-by: Zhou Wenjian
---
Documentation/kdump/kdump.txt | 2 ++
1 file c
multi-cpu support is useful to improve the performance of kdump in
some cases. So add the description of enable multi-cpu support in
dump-capture kernel.
Signed-off-by: Zhou Wenjian
Acked-by: Baoquan He
---
Documentation/kdump/kdump.txt | 7 +++
1 file changed, 7 insertions(+)
diff --git
v4->v5: move change log to cover letter
v3->v4: update the description of bring up SMP dump-capture kernel
v2->v3: add description of nr_cpus.
v1->v2: change nr_cpus to maxcpus
Zhou Wenjian (2):
Documentation: kdump: remind user of nr_cpus
Documentation: kdump: add description of
nr_cpus can help to save memory. So we should remind user of it.
Signed-off-by: Zhou Wenjian
Acked-by: Baoquan He
---
Documentation/kdump/kdump.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt
index 88ff63d..b474060 100644
v5->v6: replace "we" with "you"
v4->v5: move change log to cover letter
v3->v4: update the description of bring up SMP dump-capture kernel
v2->v3: add description of nr_cpus.
v1->v2: change nr_cpus to maxcpus
Zhou Wenjian (2):
Documentation: kdump: remind use
nr_cpus can help to save memory. So we should remind user of it.
Signed-off-by: Zhou Wenjian
Acked-by: Baoquan He
---
Documentation/kdump/kdump.txt | 2 +++-
1 file changed, 2 insertions(+)
diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt
index 88ff63d..96da2b7
multi-cpu support is useful to improve the performance of kdump in
some cases. So add the description of enable multi-cpu support in
dump-capture kernel.
Signed-off-by: Zhou Wenjian
Acked-by: Baoquan He
---
Documentation/kdump/kdump.txt | 7 +++
1 file changed, 7 insertions(+)
diff --git
multi-cpu support is useful to improve the performance of kdump in
some cases. So add the description of enable multi-cpu support in
dump-capture kernel.
Signed-off-by: Zhou Wenjian
Acked-by: Baoquan He
---
Documentation/kdump/kdump.txt | 7 +++
1 file changed, 7 insertions(+)
diff --git
v6->v7: fix typo
v5->v6: replace "we" with "you"
v4->v5: move change log to cover letter
v3->v4: update the description of bring up SMP dump-capture kernel
v2->v3: add description of nr_cpus.
v1->v2: change nr_cpus to maxcpus
Zhou Wenjian (2):
Docume
nr_cpus can help to save memory. So we should remind user of it.
Signed-off-by: Zhou Wenjian
Acked-by: Baoquan He
---
Documentation/kdump/kdump.txt | 2 +++-
1 file changed, 2 insertions(+)
diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt
index 88ff63d..96da2b7
ernel
v2->v3: add description of nr_cpus.
v1->v2: change nr_cpus to maxcpus
Zhou Wenjian (2):
Documentation: kdump: remind user of nr_cpus
Documentation: kdump: add description of enable multi-cpus support
Documentation/kdump/kdump.t
nr_cpus can help to save memory. So we should remind user of it.
Signed-off-by: Zhou Wenjian
Acked-by: Baoquan He
Acked-by: Xunlei Pang
---
Documentation/kdump/kdump.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump
multi-cpu support is useful to improve the performance of kdump in
some cases. So add the description of enable multi-cpu support in
dump-capture kernel.
Signed-off-by: Zhou Wenjian
Acked-by: Baoquan He
Acked-by: Xunlei Pang
---
Documentation/kdump/kdump.txt | 7 +++
1 file changed, 7
multi-cpu support is useful to improve the performance of kdump in
some cases. So add the description of enable multi-cpu support in
dump-capture kernel.
Signed-off-by: Zhou Wenjian
Acked-by: Baoquan He
Acked-by: Xunlei Pang
---
Documentation/kdump/kdump.txt | 7 +++
1 file changed, 7
v5->v6: replace "we" with "you"
v4->v5: move change log to cover letter
v3->v4: update the description of bring up SMP dump-capture kernel
v2->v3: add description of nr_cpus.
v1->v2: change nr_cpus to maxcpus
Zhou Wenjian (2):
Documentation: kdump: remind user o
nr_cpus can help to save memory. So we should remind user of it.
Signed-off-by: Zhou Wenjian
Acked-by: Baoquan He
Acked-by: Xunlei Pang
---
Documentation/kdump/kdump.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt
index
sed != FALSE) {
index = (index + 1) % info->num_buffers;
}
page_data_buf[index].used = TRUE;
pthread_mutex_unlock(&info->page_data_mutex);
Then makedumpfile hangs.
This patch add a cancel point in while{}.
Signed-off-by: Zhou Wenjia
ping...
On 01/29/2018 08:54 PM, Zhou Wenjian wrote:
Currently, when multi-threads feature meets enospace error,
the main thread will call pthread_join(). However, there is one
thread doing while{} and won't stop.
pthread_mutex_lock(&info->pag
7;ll merge it into V1.6.4.
Thanks
tachibana
-Original Message-
From: kexec [mailto:kexec-boun...@lists.infradead.org] On Behalf Of Zhou Wenjian
Sent: Thursday, February 08, 2018 8:53 PM
To: kexec@lists.infradead.org
Cc: Kumagai Atsushi() ; Suzuki Keiichirou()
Subject: Re: [PATCH] ma
3-pass algorhythm
origin 6.64(3.05) 6.81(3.24) 7.51(3.93)
8.86(5.30) 10.51(6.94) 13.92(10.36)14.11(10.55)
Zhou Wenjian (5):
Add support for block
Add tools for reading and writing from block table
Add module of generating table
Add module of
set block size and generate basic information of block table
Signed-off-by: HATAYAMA Daisuke
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 86
1 files changed, 86 insertions(+), 0 deletions(-)
diff --git
The function added in this patch, is used for writing and reading value
from the char array in struct Block.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 23 +++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/makedumpfile.c
.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 23 +++
makedumpfile.h | 14 ++
2 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index b4d43d8..2feda01 100644
--- a/makedumpfile.c
+++ b
When --split is specified in cyclic mode, start_pfn and end_pfn of each dumpfile
will be calculated to make each dumpfile have the same size.
Signed-off-by: HATAYAMA Daisuke
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 109
Use --block-size to specify block size (KB)
When --split is specified in cyclic mode,block table will be
generated in get_num_dumpable_cyclic.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.8 | 16
makedumpfile.c |4
makedumpfile.h |1
Use --splitblock-size to specify splitblock size (KB)
When --split is specified in cyclic mode,splitblock table will be
generated in create_dump_bitmap().
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.8 | 16
makedumpfile.c |4
splitblock is big enough.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 23 +++
makedumpfile.h | 14 ++
2 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index b4d43d8..95d553c 100644
set block size and generate basic information of block table
Signed-off-by: HATAYAMA Daisuke
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 95 +++-
makedumpfile.h |2 +
2 files changed, 96 insertions(+), 1
When --split is specified in cyclic mode, start_pfn and end_pfn of each dumpfile
will be calculated to make each dumpfile have the same size.
Signed-off-by: HATAYAMA Daisuke
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 109
ize
adjust the position of prepare_splitblock_table and check the return
code
use --splitblock-size to specify splitblock size and modify the
print_info.c
Zhou Wenjian (5):
Add support for splitblock
Add tools for reading and writing from splitblock table
Add module
The function added in this patch, is used for writing and reading value
from the char array in struct SplitBlock.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 23 +++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a
" to indicate that it has been
modified.
The method of dealing with "kdump-compressed" format dumpfiles is
implemented
in the next patch.
Signed-of-by: Wang Xiao
Singed-of-by: Zhou Wenjian
---
makedumpfile.c | 115 ++--
1 files
From: Wang Xiao
Move the following two functions from internal function to external
function.
get_elf64_phdr(int fd, char *filename, int index, Elf64_Phdr *phdr)
get_elf32_phdr(int fd, char *filename, int index, Elf32_Phdr *phdr)
Signed-of-by: Wang Xiao
---
elf_info.c | 71 +
From: Wang Xiao
kdump-compressed:
Dump the bitmap before any page header and page data. This format use
"status" of "disk_dump_header" to indicate that it has been modified.
Signed-of-by: Wang Xiao
---
diskdump_mod.h |2 +
makedumpfile.c | 80 +
v2->v3:
remove the part of changing PT_LOAD header
add check_and_modify_headers()
Wang Xiao (3):
makedumpfile: make get_elf64_phdr()/get_elf32_phdr() public
make the incomplete dumpfile generated by ENOSPC error analyzable
implementation of dealing with kdump-compressed dumpf
From: Wang Xiao
Since the incomplete dumpfile generated by ENOSPC error can't be anylyzed
by crash utility, but sometimes this file may contain important information
and the panic problem won't be reproduced, then we came up with an idea to
modify the exist data of the incomplete dumpfile to make
From: Wang Xiao
kdump-compressed:
Dump the bitmap before any page header and page data. This format use
"status" of "disk_dump_header" to indicate that it has been modified.
Signed-of-by: Wang Xiao
---
diskdump_mod.h |2 +
makedumpfile.c | 80 +
From: Wang Xiao
Move the following two functions from internal function to external
function.
get_elf64_phdr(int fd, char *filename, int index, Elf64_Phdr *phdr)
get_elf32_phdr(int fd, char *filename, int index, Elf32_Phdr *phdr)
Signed-of-by: Wang Xiao
---
elf_info.c | 71 +
mplete dumpfile generated by ENOSPC error analyzable
implementation of dealing with kdump-compressed dumpfile with ENOSPC
error
Zhou Wenjian (1):
Fix reassemble_kdump_header()
diskdump_mod.h |2 +
elf_info.c | 71 ++--
elf_info.h |2 +
makedumpfile.c
fix it to take over incomplete flags of all dump file
Singed-of-by: Zhou Wenjian
---
makedumpfile.c | 10 --
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index 4dba83e..f072069 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
When --split is specified in cyclic mode, start_pfn and end_pfn of each dumpfile
will be calculated to make each dumpfile have the same size.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 71
1 files
splitblock is big enough.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 31 +++
makedumpfile.h | 14 ++
2 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index b4d43d8..7017943
Use --splitblock-size to specify splitblock size (KB)
When --split is specified in cyclic mode,splitblock table will be
generated in create_dump_bitmap().
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.8 | 10 ++
makedumpfile.c |4
makedumpfile.h
The function added in this patch, is used for writing and reading value
from the char array in struct SplitBlock.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 29 +
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a
set block size and generate basic information of block table
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 109 +++-
makedumpfile.h |4 ++
2 files changed, 112 insertions(+), 1 deletions(-)
diff --git a
23.56(0.00) 23.55(0.00)
8G 23.37(0.00) 23.39(0.00) 23.52(0.00) 23.53(0.00)
23.46(0.00) 23.48(0.00)
16G 23.39(0.00) 23.41(0.00) 23.85(0.00) 23.48(0.00)
23.50(0.00) 23.45(0.00)
Zhou Wenjian (5):
Add support for splitblock
Ad
00)
23.50(0.00) 23.45(0.00)
Zhou Wenjian (5):
Add support for splitblock
Add tools for reading and writing from splitblock table
Add module of generating table
Add module of calculating start_pfn and end_pfn in each dumpfile
Add support for --splitblock-size
makedumpfile.8 | 10
Use --splitblock-size to specify splitblock size (KB)
When --split is specified in cyclic mode,splitblock table will be
generated in create_dump_bitmap().
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.8 | 10 ++
makedumpfile.c |4
makedumpfile.h
set block size and generate basic information of block table
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 108 +++-
makedumpfile.h |4 ++
2 files changed, 111 insertions(+), 1 deletions(-)
diff --git a
The function added in this patch, is used for writing and reading value
from the char array in struct SplitBlock.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 29 +
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a
When --split is specified in cyclic mode, start_pfn and end_pfn of each dumpfile
will be calculated to make each dumpfile have the same size.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 71
1 files
splitblock is big enough.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 31 +++
makedumpfile.h | 14 ++
2 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index b4d43d8..7017943
When --split is specified in cyclic mode, start_pfn and end_pfn of each dumpfile
will be calculated to make each dumpfile have the same size.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 73
1 files
splitblock is big enough.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 31 +++
makedumpfile.h | 14 ++
2 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index b4d43d8..7017943
The function added in this patch, is used for writing and reading value
from the char array in struct SplitBlock.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 29 +
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a
0) 23.48(0.00)
16G 23.39(0.00) 23.41(0.00) 23.85(0.00) 23.48(0.00)
23.50(0.00) 23.45(0.00)
Zhou Wenjian (5):
Add support for splitblock
Add tools for reading and writing from splitblock table
Add module of generating table
Add module of calculating start_p
Use --splitblock-size to specify splitblock size (KB)
When --split is specified in cyclic mode,splitblock table will be
generated in create_dump_bitmap().
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.8 | 10 ++
makedumpfile.c |4
makedumpfile.h
set block size and generate basic information of block table
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
makedumpfile.c | 108 +++-
makedumpfile.h |4 ++
2 files changed, 111 insertions(+), 1 deletions(-)
diff --git a
Add description of incomplete elf and kdump-compressed dump file
in IMPLEMENTATION.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
IMPLEMENTATION | 76
1 files changed, 76 insertions(+), 0 deletions(-)
diff --git a
Add description of incomplete elf and kdump-compressed dump file
in IMPLEMENTATION.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou Wenjian
---
IMPLEMENTATION | 76
1 files changed, 76 insertions(+), 0 deletions(-)
diff --git a
Add description of elf dump file in IMPLEMENTATION.
Signed-off-by: Zhou Wenjian
---
IMPLEMENTATION | 88
1 files changed, 88 insertions(+), 0 deletions(-)
diff --git a/IMPLEMENTATION b/IMPLEMENTATION
index 2f4cfd6..0e5ad1f 100644
--- a
From: Qiao Nuohan
filter_data_buffer_parallel is used to enable filtering buffer
parallely.
Signed-off-by: Qiao Nuohan
---
erase_info.c | 29 -
erase_info.h |2 ++
2 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/erase_info.c b/erase_info.c
inde
From: Qiao Nuohan
readpage_elf_parallel is used to enable reading pages from elf format
parallelly. fd_memory should be initialize and offered to each threads
individually to avoid conflict.
Signed-off-by: Qiao Nuohan
---
makedumpfile.c | 98 +
From: Qiao Nuohan
Using this patch, it is available to use multiple threads to read
and compress pages. This parallel process will save time.
Currently, sadump and xen kdump is not supported.
Signed-off-by: Qiao Nuohan
---
makedumpfile.c | 77
This patch set implements parallel processing by means of multiple threads.
With this patch set, it is available to use multiple threads to read
and compress pages. This parallel process will save time.
This feature only supports creating dumpfile in kdump-compressed format from
vmcore in kdump-com
From: Qiao Nuohan
read_pfn_parallel is used to enable reading pages from vmcore parallely.
Current supported format is kdump-compressed and elf, mmap elf format
is also supported.
Signed-off-by: Qiao Nuohan
---
Makefile |2 ++
makedumpfile.c | 34 ++
From: Qiao Nuohan
initialize_bitmap_memory_parallel and initialize_2nd_bitmap_parallel
is used for parallel process to avoid conflict on bitmap.
Signed-off-by: Qiao Nuohan
---
makedumpfile.c | 20
makedumpfile.h | 18 ++
2 files changed, 38 insertions(+
From: Qiao Nuohan
Use several threads to read and compress pages and one thread to write
the produced pages into dumpfile. This patch is used for cyclic mode.
Signed-off-by: Qiao Nuohan
---
makedumpfile.c | 390
1 files changed, 390 ins
From: Qiao Nuohan
This patch is used to initial/free data for parallel process and
the memory limit is concerned in this function.
Signed-off-by: Qiao Nuohan
---
makedumpfile.c | 202
makedumpfile.h |1 +
2 files changed, 203 insert
From: Qiao Nuohan
Signed-off-by: Qiao Nuohan
---
makedumpfile.8 | 24
print_info.c | 16
2 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/makedumpfile.8 b/makedumpfile.8
index 9752671..5a760c8 100644
--- a/makedumpfile.8
+++ b/maked
From: Qiao Nuohan
Use several threads to read and compress pages and one thread to write
the produced pages into dumpfile. The produced pages will be stored in
a buffer, then the consumer thread will get pages from this buffer.
Signed-off-by: Qiao Nuohan
---
makedumpfile.c | 450 +
From: Qiao Nuohan
readpage_kdump_compressed_parallel is used to enable reading pages from
vmcore in kdump-compressed format parallel. fd_memory and bitmap_memory
should be initialized and offered to each thread individually to avoid
conflict.
Signed-off-by: Qiao Nuohan
---
makedumpfile.c | 13
From: Qiao Nuohan
mappage_elf_parallel is used to enable mmaping elf format to memory
parallelly. later patch will will use the mmapped memory to get data
of each page. fd_memory and mmap_cache should be initialized and offered
to each threads individually to avoid conflict.
Signed-off-by: Qiao
From: Qiao Nuohan
readpage_kdump_compressed_parallel is used to enable reading pages from
vmcore in kdump-compressed format parallel. fd_memory and bitmap_memory
should be initialized and offered to each thread individually to avoid
conflict.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou
From: Qiao Nuohan
readpage_elf_parallel is used to enable reading pages from elf format
parallelly. fd_memory should be initialize and offered to each threads
individually to avoid conflict.
Signed-off-by: Qiao Nuohan
---
makedumpfile.c | 98 +
From: Qiao Nuohan
Signed-off-by: Qiao Nuohan
---
makedumpfile.8 | 24
print_info.c | 16
2 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/makedumpfile.8 b/makedumpfile.8
index 2d38cd0..b400a14 100644
--- a/makedumpfile.8
+++ b/maked
From: Qiao Nuohan
This patch is used to initial/free data for parallel process and
the memory limit is concerned in this function.
Signed-off-by: Qiao Nuohan
---
makedumpfile.c | 202
makedumpfile.h |1 +
2 files changed, 203 insert
From: Qiao Nuohan
initialize_bitmap_memory_parallel and initialize_2nd_bitmap_parallel
is used for parallel process to avoid conflict on bitmap.
Signed-off-by: Qiao Nuohan
---
makedumpfile.c | 20
makedumpfile.h | 18 ++
2 files changed, 38 insertions(+
From: Qiao Nuohan
mappage_elf_parallel is used to enable mmaping elf format to memory
parallelly. later patch will will use the mmapped memory to get data
of each page. fd_memory and mmap_cache should be initialized and offered
to each threads individually to avoid conflict.
Signed-off-by: Qiao
From: Qiao Nuohan
read_pfn_parallel is used to enable reading pages from vmcore parallely.
Current supported format is kdump-compressed and elf, mmap elf format
is also supported.
Signed-off-by: Qiao Nuohan
---
Makefile |2 ++
makedumpfile.c | 34 ++
From: Qiao Nuohan
filter_data_buffer_parallel is used to enable filtering buffer
parallely.
Signed-off-by: Qiao Nuohan
---
erase_info.c | 29 -
erase_info.h |2 ++
2 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/erase_info.c b/erase_info.c
inde
From: Qiao Nuohan
Using this patch, it is available to use multiple threads to read
and compress pages. This parallel process will save time.
Currently, sadump and xen kdump is not supported.
Signed-off-by: Qiao Nuohan
---
makedumpfile.c | 68
From: Qiao Nuohan
Use several threads to read and compress pages and one thread to write
the produced pages into dumpfile. The produced pages will be stored in
a buffer, then the consumer thread will get pages from this buffer.
Signed-off-by: Qiao Nuohan
Signed-off-by: Zhou wenjian
1 - 100 of 231 matches
Mail list logo