linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nikola Ciprich <nikola.ciprich@linuxbox.cz>
To: linux-ext4@vger.kernel.org
Cc: nikola.ciprich@linuxbox.cz, Radovan Mzik <radovan.mzik@linuxbox.cz>
Subject: running mkfs.ext4 causes very high system load
Date: Thu, 22 Mar 2012 15:05:47 +0100	[thread overview]
Message-ID: <20120322140547.GA10657@pcnci2.linuxbox.cz> (raw)

[-- Attachment #1: Type: text/plain, Size: 1215 bytes --]

Hi,

we've hit strange problem on one of our servers today.
We needed to add new logical volume, so created 320GB LV,
and tried to create ext4 using:

$ mkfs.ext4 /dev/vg/home2

the problem is, it progressed very slow, and seemed to block all
other applications currently trying to access disks, thus causing system load
jumping much over 150.

The system itself is not idle, but it's not too loaded too (loadavg is usually
<1), it's x86_64 centos5 running 2.6.32.59 with 4GB RAM and common SATA drives.

I tried running mkfs.ext4 via ionice, but it didn't get much better.

we're using e2fsprogs-1.41.14

Is this common that mkfs can load system that much? Is it possible to
mitigate this negative effect somehow?

(I think that using 3.3 kernel might improve disk load handling, but
I need to stick to 2.6.32 for some more time)

thanks a lot in advance!

nik


-- 
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis@linuxbox.cz
-------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2012-03-22 14:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 14:05 Nikola Ciprich [this message]
2012-03-22 15:35 ` running mkfs.ext4 causes very high system load Ted Ts'o
2012-03-22 19:15   ` Nikola Ciprich

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=20120322140547.GA10657@pcnci2.linuxbox.cz \
    --to=nikola.ciprich@linuxbox.cz \
    --cc=linux-ext4@vger.kernel.org \
    --cc=radovan.mzik@linuxbox.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;
as well as URLs for NNTP newsgroup(s).