mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: OBATA Noboru <noboru.obata.ar@hitachi.com>
To: lkml@oxley.org
Cc: pavel@ucw.cz, hyoshiok@miraclelinux.com, linux-kernel@vger.kernel.org
Subject: Re: Linux Kernel Dump Summit 2005
Date: Tue, 18 Oct 2005 22:47:22 +0900 (JST)	[thread overview]
Message-ID: <20051018.224722.126577332.noboru.obata.ar@hitachi.com> (raw)
In-Reply-To: <200510121002.59098.lkml@oxley.org>

On Wed, 12 Oct 2005, Felix Oxley wrote:
> 
> On Wednesday 12 October 2005 09:28, OBATA Noboru wrote:
> 
> >    CMD     | NET TIME (in seconds)          | OUTPUT SIZE (in bytes)
> >   ---------+--------------------------------+------------------------
> >    cp      |  35.94 (usr 0.23, sys 14.16)   | 2,121,438,352 (100.0%)
> >    lzf     |  54.30 (usr 35.04, sys 13.10)  | 1,959,473,330 ( 92.3%)
> >    gzip -1 | 200.36 (usr 186.84, sys 11.73) | 1,938,686,487 ( 91.3%)
> >   ---------+--------------------------------+------------------------
> >
> > Although it is too early to say lzf's compress ratio is good
> > enough, its compression speed is impressive indeed.  
> 
> As you say, the speed of lzf relative to gzip is impressive.
> 
> However if the properties of the kernel dump mean that it is not suitable for 
> compression then surely it is not efficient to spend any time on it.

Sorry, my last result was misleading.  The dumpfile used above
was the one which showed the _worst_ compression ratio.  So it
does not necessarily mean that kernel dump is not suitable for
compression.

I will retest with the normal dumpfiles.

> >And the
> > result also suggests that it is too early to give up the idea of
> > full dump with compression.
> 
> Are you sure? :-)
> If we are talking about systems with 32GB of memory then we must be taking 
> about organisations who can afford an extra 100GB of disk space just for 
> keeping their kernel dump files. 
> 
> I would expect that speed of recovery would always be the primary concern.
> Would you agree?

Well, it should depend on a user.  It seems to be a trade off
between resource-for-dump and problem-traceability.

I have a bitter experience in analyzing a partial dump.  The
dump completely lacks the PTE pages of user processes and I had
to give up analysis then.  A partial dump has a risk of failure
in analysis.

So what I'd suggest is that the level of partial dump should be
tunable by a user, when implemented as a kdump functionality.
Then, a user who want faster recovery or has a limited storage
may choose a partial dump, and a careful user who has plenty of
storage may choose a full dump.

By the way, if the speed of recovery is _really_ the primary
concern for a user, I'd suggest the user to form a cluster to
continue operation by failover.  (Then the crashed node should
have enough time to generate a full dump.)

Regards,

-- 
OBATA Noboru (noboru.obata.ar@hitachi.com)


  parent reply	other threads:[~2005-10-18 13:49 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-21 11:55 Hiro Yoshioka
2005-10-06 12:17 ` OBATA Noboru
2005-10-06 14:39   ` Hiro Yoshioka
2005-10-10  8:45   ` Pavel Machek
2005-10-12  8:28     ` OBATA Noboru
2005-10-12  9:02       ` Felix Oxley
2005-10-12  9:09         ` Pavel Machek
2005-10-12  9:56           ` Felix Oxley
2005-10-12 10:07             ` Pavel Machek
2005-10-12 18:03               ` Andy Isaacson
2005-10-12 22:34                 ` Felix Oxley
2005-10-12 11:05             ` jerome lacoste
2005-10-12 21:10               ` Felix Oxley
2005-10-18 13:47         ` OBATA Noboru [this message]
2005-10-18 14:10           ` Hugh Dickins
2005-10-19 19:00             ` Theodore Ts'o
2005-10-27  7:48               ` OBATA Noboru
2005-10-11  0:49   ` Andrew Morton
2005-10-11  4:41     ` Hiro Yoshioka
2005-10-12  8:30       ` OBATA Noboru
2005-10-13  5:49         ` Maneesh Soni
2005-10-27  7:45           ` OBATA Noboru
2005-10-13 14:28     ` Troy Heber
2005-10-17 11:19     ` Takao Indoh
2005-10-18 13:48       ` OBATA Noboru
2005-10-19  3:17         ` Takao Indoh
2005-10-27  7:45           ` OBATA Noboru
2005-10-18 14:54     ` Carsten Otte
2005-10-14  9:19 hideki.takahashi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051018.224722.126577332.noboru.obata.ar@hitachi.com \
    --to=noboru.obata.ar@hitachi.com \
    --cc=hyoshiok@miraclelinux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@oxley.org \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®