All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: Andrea Gelmini <andrea.gelmini@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: different oops
Date: Tue, 07 Oct 2008 12:03:05 -0400	[thread overview]
Message-ID: <1223395385.16546.124.camel@think.oraclecorp.com> (raw)
In-Reply-To: <9cdbb57f0810070804i1dfdedarc59d3d9189d621d5@mail.gmail.com>

On Tue, 2008-10-07 at 17:04 +0200, Andrea Gelmini wrote:
> 2008/10/7 Chris Mason <chris.mason@oracle.com>:
> > Btrfs does use more cpu than reiserfs will because of the checksumming,
> I don't think this is the problem. I mean, in same condition, with Reiserfs3,
> I stay between 0.85 - 1.50 load avg.
> Now I easily go from 5 - 10.
> It's hard to believe so much overhead just for CRC.
> Anyway, can I safely mount my /home disabling CRC? I read it about time before.

Yes, you can mount -o nodatasum

> 
> > and you have dm-crypt using CPU as well.  Is the system unresponsive
> > during the high load?
> not exactly. it became slugghish. so, things that was zero-wait, now
> may have seconds of delay.
> something similar a "make -j"...
> now I have doubled the space of the logical volume, and things seems
> better (now, loadavg is not going over 4, doing
> the mirrordir test).
> anyway, I have to use it almost one day, to have a clear idea.

Ok, its important to understand which parts of the FS are using so much
cpu.  It is pretty easy to tell based on the output of top (which procs
are consuming the most time).

> 
> > The load on linux is somewhat strange because it reflects both the
> > number of procs waiting on IO and the number using CPU.  Running top and
> > looking at the process states will help figure out which one is the
> > cause 'D' means IO and 'R' means CPU.
> yes.
> well, the strange things is the system is faster than before doing
> write. but looking at top (I use htop, but it doesn't matter), it
> doesn't seem something process related, but seems kernel alway busy
> doing something I can't figure out.
> 
> are there some tests I can run just to have some raw number to try to
> explain this?

Which procs are using the most time in top?

-chris



  reply	other threads:[~2008-10-07 16:03 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03 16:14 different oops Martin Bürger
2008-10-03 16:40 ` Chris Mason
2008-10-03 17:10   ` Martin Bürger
2008-10-03 19:07     ` Chris Mason
2008-10-03 17:16   ` Andrea Gelmini
2008-10-03 17:59     ` Chris Mason
2008-10-03 18:03       ` Andrea Gelmini
2008-10-03 20:22 ` Martin Bürger
2008-10-03 20:26   ` Chris Mason
2008-10-03 22:09     ` Andrea Gelmini
2008-10-04  0:15       ` Andrea Gelmini
2008-10-04  0:30         ` Chris Mason
2008-10-04  0:31       ` Chris Mason
2008-10-04  3:41         ` Jeff Schroeder
2008-10-04 17:27           ` Chris Mason
2008-10-07 11:31         ` Andrea Gelmini
2008-10-07 12:56           ` Chris Mason
2008-10-07 15:04             ` Andrea Gelmini
2008-10-07 16:03               ` Chris Mason [this message]
2008-10-07 16:36                 ` Andrea Gelmini
2008-10-08 21:51                   ` Andrea Gelmini
2008-10-09  0:11                     ` Chris Mason
     [not found]                       ` <9cdbb57f0810090120v6381ab0eg5377039b0065e68@mail.gmail.com>
     [not found]                         ` <1223575532.14090.39.camel@think.oraclecorp.com>
2008-10-10  8:43                           ` Andrea Gelmini
     [not found]                           ` <48EE6B50.6090102@oracle.com>
2008-10-10  8:45                             ` Andrea Gelmini
2008-10-10 10:49                               ` Andrea Gelmini

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=1223395385.16546.124.camel@think.oraclecorp.com \
    --to=chris.mason@oracle.com \
    --cc=andrea.gelmini@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.