Thread (10 messages) 10 messages, 3 authors, 2017-02-09

Re: bcachefs: can bcachefs export block devices?

From: Martin Raiber <hidden>
Date: 2017-02-09 22:41:08

Hi,

On 09.02.2017 23:17 Eric Wheeler wrote:
Well, I don't know about "good enough" but I can say that the current 
bcache v1 asynchronous block IO performance is wonderful.  It seems to me 
that loopN's are confined to a single thread and incur pagecache 
duplication (maybe better with DIO loops, but that was always very slow in 
my testing).  

So, if its easy enough to get bcachefs to export blockdevs then it would 
be neat to benchmark bcachefs snapshots vs dm-thin volumes.  Compression 
is definitely a win here feature-wise.  This would make bcachefs the first 
compressed block device without loop in Linux when it gets merged!
Did you test this with kernel >=4.4 and losetup --direct-io=on ? This
makes loop use direct, async IO which is much faster and doesn't double
cache. So it might indeed be a distraction to pull this into bcachefs.

Regards,
Martin Raiber

Attachments

  • smime.p7s [application/pkcs7-signature] 3826 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help