CEPH filesystem development
 help / color / mirror / Atom feed
From: Alexandre DERUMIER <aderumier@odiso.com>
To: ceph-devel@vger.kernel.org
Subject: "rbd rm image" slow with big images ?
Date: Thu, 31 May 2012 09:12:33 +0200 (CEST)	[thread overview]
Message-ID: <b4c574f6-49bf-4d36-b8f2-526bcccb4c71@mailpro> (raw)
In-Reply-To: <6bb4f478-37c9-460d-8a0d-698e32dcf08d@mailpro>

Hi,

I trying to delete some rbd images with rbd rm,
and it seem to be "slow" with big images.



I'm testing it with just create a new image (1TB):

# time rbd -p pool1 create --size 1000000 image2

real    0m0.031s
user    0m0.015s
sys     0m0.010s


then just delete it, without having writed nothing in image


# time rbd -p pool1 rm image2
Removing image: 100% complete...done.

real    1m45.558s
user    0m14.683s
sys     0m17.363s



same test with 100GB

# time rbd -p pool1 create --size 100000 image2

real    0m0.032s
user    0m0.016s
sys     0m0.007s

# time rbd -p pool1 rm image2
Removing image: 100% complete...done.

real    0m10.499s
user    0m1.488s
sys     0m1.720s


I'm using journal in tmpfs, 3 servers, 15 osds with 1disk 15K (xfs)
network bandwith,diskio,cpu are low.

Is it the normal behaviour ? Maybe some xfs tuning could help ?
 

       reply	other threads:[~2012-05-31  7:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6bb4f478-37c9-460d-8a0d-698e32dcf08d@mailpro>
2012-05-31  7:12 ` Alexandre DERUMIER [this message]
2012-05-31 18:15   ` "rbd rm image" slow with big images ? Wido den Hollander
2012-05-31 18:16     ` Stefan Priebe
2012-05-31 19:39       ` Wido den Hollander
2012-05-31 18:19     ` Sage Weil
2012-06-01  4:38       ` Alexandre DERUMIER
2012-06-01 13:51       ` Guido Winkelmann
2012-06-01 20:33         ` Wido den Hollander

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=b4c574f6-49bf-4d36-b8f2-526bcccb4c71@mailpro \
    --to=aderumier@odiso.com \
    --cc=ceph-devel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox