All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Mahoney <jeffm@suse.com>
To: "Vladimir V. Saveliev" <vs@namesys.com>
Cc: Dragan Krnic <dkrnic@googlemail.com>,
	reiserfs-list@namesys.com, support@namesys.com
Subject: Re: setfacl curiously slow
Date: Wed, 13 Sep 2006 09:55:58 -0400	[thread overview]
Message-ID: <45080DEE.9080606@suse.com> (raw)
In-Reply-To: <200609122323.00866.vs@namesys.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vladimir V. Saveliev wrote:
> Hello
> 
> On Tuesday 12 September 2006 23:23, Dragan Krnic wrote:
>> Hi, everyone,
>>
>> I've migrated important user data from an older PC to some fairly
>> contemporary hardware.
>>
>> The old hardware was Intel Pentium 4 3 GHz, single CPU, 2 GB RAM,
>> 6 x 250 GB S-ATA connected via 2 Promise Tx2 cards and the on-board
>> 2-port controller, managed as a software raid5 with 5 disks and 1 spare,
>> with 83% used up, which is about 790 gigibytes net.
>>
>> The new hardware is a Tyan S2895, 2 dual-core Opteron280, 8 GB RAM,
>> 8 x 500 GB S-ATA connected via Areca ARC-1120 133 MHz/64-bit PCI-X
>> 8-port, managed as a hardware raid5 with 8 disks no spares.
>>
>> The tar backup of the old machine to a second similarly new PC ran at
>> about 30 MB/s. The tar restore onto the new hardware was about twice as
>> fast, as was expected.
>>
>> But! The restoration of ACLs took an enormous amount of time.
>>
>> The ACLs backup was created on the old machine in about 28 minutes,
>> but it took 74 minutes to restore the ACLs on the new hardware. During
>> that time the disk activity looked like what you can see in the enclosed
>> PDF file. Short intervals of intense writing with much longer intervals of
>> inactivity. In top the process "setfacl --restore=acls.local" and "pdflush"
>> were in state "D" all the time. From time to time a process "reiserfsd"
>> joined them in the same state.
>>
>> A login to the computer during that time was considerably slowed down.
>> Otherwise the computer was still free from any load.
>>
>> I'm not sure if that's a problem or just normal but you will know better.
>>
> 
> I believe Jeff as reiserfs acl author will be interested by this question.
> But may I ask you to try your test on ext2 to check whether ACL restoring is 
> much faster there?
> 
>> There were 796,115 files to apply ACLs to.

What file system was on the old hardware? Taking longer to restore the
ACLs than backing them up isn't notable at all. It's expected that reads
are faster than writes.

pdflush is responsible for flushing dirty pages to disk, kreiserfsd is
the journal commit thread. Both are essential for writing on a reiserfs
file system, and their being in "D" state is normal.

It's known that ACLs on reiserfs have performance issues. There's been
several threads on this list and linux-kernel discussing it and we don't
need to rehash them.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFCA3uLPWxlyuTD7IRAjlSAJ9z+XmFVQqBQ2oisUjNOPfR5NM5bQCgmmOj
0grcUTiDnMrxJAfzxbBKNB8=
=5Iva
-----END PGP SIGNATURE-----

      reply	other threads:[~2006-09-13 13:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a7466f460609121223t35ee8500x24e72f989029b611@mail.gmail.com>
2006-09-12 19:23 ` setfacl curiously slow Vladimir V. Saveliev
2006-09-13 13:55   ` Jeff Mahoney [this message]

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=45080DEE.9080606@suse.com \
    --to=jeffm@suse.com \
    --cc=dkrnic@googlemail.com \
    --cc=reiserfs-list@namesys.com \
    --cc=support@namesys.com \
    --cc=vs@namesys.com \
    /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.