Skip to contentSkip to conversation

Min host / vm kernel rev for basic DAX ops?

Virtio-fs Harry G. Coin 3 participants 4 messages Apr 27, 2021 – Apr 29, 2021

lore
Share & tools
lore
#0 lore raw

Kindly answer a couple 'basic' virtiofs questions:

1) Which mainline kernel version is necessary for the host, and for the vm to enable reliable DAX operations -- supposing no shared host activity on the underlying fs.

2) Which host file system(s) have the best DAX performance while offering xattr and related abilities?

Thanks

#1 lore raw
Quoted 5 lines · * Harry G. Coin ([email protected]) wrote:

Kindly answer a couple 'basic' virtiofs questions:

1) Which mainline kernel version is necessary for the host, and for the vm to enable reliable DAX operations -- supposing no shared host activity on the underlying fs.

I don't think there's any host kernel dependency for DAX currently.
(You do need a guest with the DAX support)

Quoted 2 lines

2) Which host file system(s) have the best DAX performance while offering xattr and related abilities?

I'm not aware of any comparison between host filesystems.

Dave

Quoted 9 lines

Thanks

_______________________________________________
Virtio-fs mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/virtio-fs

Signature · 1 line
Dr. David Alan Gilbert / [email protected] / Manchester, UK
#2 lore raw
Quoted 9 lines · Dr. David Alan Gilbert
Quoted 5 lines · * Harry G. Coin ([email protected]) wrote:

Kindly answer a couple 'basic' virtiofs questions:

1) Which mainline kernel version is necessary for the host, and for the vm to enable reliable DAX operations -- supposing no shared host activity on the underlying fs.

I don't think there's any host kernel dependency for DAX currently.
(You do need a guest with the DAX support)

At least the version of the 'virt-manager' on fedora 33 doesn't support the 'cache-size' host option, which as I understand from a post a few days ago should be around 4G.  That's why I asked about the host requirements.

#3 lore raw
Quoted 8 lines · Harry G. Coin
Quoted 6 lines · Dr. David Alan Gilbert
Quoted 5 lines · * Harry G. Coin ([email protected]) wrote:

Kindly answer a couple 'basic' virtiofs questions:

1) Which mainline kernel version is necessary for the host, and for the vm to enable reliable DAX operations -- supposing no shared host activity on the underlying fs.

Quoted 8 lines
Quoted 3 lines

I don't think there's any host kernel dependency for DAX currently.
(You do need a guest with the DAX support)

At least the version of the 'virt-manager' on fedora 33 doesn't support the 'cache-size' host option, which as I understand from a post a few days ago should be around 4G.  That's why I asked about the host requirements.

Generally there are no specifix host requirements. Guest kernel should have virtiofs DAX support. Also qemu needs dax support (option cache-size). That's not usptream yet. David has been posting patches for review. Hopefully it will be merged soon.

W.r.t how big cache-size should be. I would say ideally it needs to be atleast as big as size of filesystem you are exporting into the guest. If filesystem is too small, I would think atleast 4G as minimum dax window size.

Thanks
Vivek