RE: BlueStore::fsck() during mkfs()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Okay, let's just turn it off by default, but enable it for the 
tests.


On Wed, 31 Aug 2016, Somnath Roy wrote:

> I am using stupid allocator. With fsck() on , it is >5x slower. If I enable bitmap allocator, it will be ~10X slow.
> I saw most of the time spent on checking freelist vs allocated (~22sec).
> 
> 2016-08-31 17:30:45.614947 7f730b1378c0  1 bluestore(/var/lib/ceph/osd/ceph-7) fsck checking freelist vs allocated
> 2016-08-31 17:31:07.638331 7f730b1378c0  1 stupidalloc shutdown
> 
> Thanks & Regards
> Somnath
> 
> -----Original Message-----
> From: Sage Weil [mailto:sweil@xxxxxxxxxx]
> Sent: Wednesday, August 31, 2016 2:21 PM
> To: Somnath Roy
> Cc: ceph-devel
> Subject: Re: BlueStore::fsck() during mkfs()
> 
> On Wed, 31 Aug 2016, Somnath Roy wrote:
> > Sage,
> > I saw with recent master we have introduced fsck() (and it is 'on' by default) during mkfs() , wondering what is the use case of fsck() during mkfs() ?
> > This is making cluster creation terribly slow for BlueStore.
> 
> I recently fixed a bug where mkfs was creating a store that failed fsck.  I would expect it to be fast, though, if it's empty...
> 
> Oh, is this because of the big in-memory bitmap for allocation?
> sage
> 
> PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux