All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: setfacl curiously slow
       [not found] <a7466f460609121223t35ee8500x24e72f989029b611@mail.gmail.com>
@ 2006-09-12 19:23 ` Vladimir V. Saveliev
  2006-09-13 13:55   ` Jeff Mahoney
  0 siblings, 1 reply; 2+ messages in thread
From: Vladimir V. Saveliev @ 2006-09-12 19:23 UTC (permalink / raw)
  To: Dragan Krnic, reiserfs-list; +Cc: support

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.
>
> Best regards,
> Dragan
>
> ---------- Forwarded message ----------
> From: shopper@uk.worldpay.com <shopper@uk.worldpay.com>
> Date: 12.09.2006 20:55
> Subject: Confirmation: CARD Transaction
> To: dkrnic@googlemail.com
>
>
>     Transaction Confirmation Please retain for your records
>  Thank you
>
> Your transaction has been processed on behalf of Namesys.
> Transaction details:
>
> *Transaction for the value of:* USD 25.00
> *Description:* Support payment
> *From:* Namesys
> *Merchant's cart ID:* 00001
> *Authorisation Date/Time:* 12/Sep/2006 18:55:08
> *Transaction ID:* 194613136
> This is not a tax receipt.
> If you have a query about your order
>
> This confirmation only indicates that your transaction has been processed
> successfully. It does not indicate that your order has been accepted. It is
> the responsibility of Namesys to confirm that your order has been accepted,
> and to deliver any goods or services you have ordered.
>
> If you have any questions about your order (including refunds, delivery
> status, wanting to cancel your order), please email Namesys at:
> support@namesys.com, with the transaction details listed above.
> Thank you for shopping with Namesys
>  Your transaction has been processed by WorldPay on behalf of Namesys.
>
> *Other queries about your transaction?* Visit:
> http://support.worldpay.com/shopper/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: setfacl curiously slow
  2006-09-12 19:23 ` setfacl curiously slow Vladimir V. Saveliev
@ 2006-09-13 13:55   ` Jeff Mahoney
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Mahoney @ 2006-09-13 13:55 UTC (permalink / raw)
  To: Vladimir V. Saveliev; +Cc: Dragan Krnic, reiserfs-list, support

-----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-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-13 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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 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.