Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help needed #31

Open
xjtuqihan opened this issue Nov 25, 2024 · 3 comments
Open

Help needed #31

xjtuqihan opened this issue Nov 25, 2024 · 3 comments

Comments

@xjtuqihan
Copy link

Could you please tell me how to integrate dpfs and snap.

@Peter-JanGootzen
Copy link
Contributor

What is not clear about the instruction in the README? Do you have access to SNAP?

Side-note:
DPFS has become outdated, NVIDIA has released the DOCA DevEmu virtio-fs API in DOCA, which should be used instead.
https://docs.nvidia.com/doca/sdk/doca+devemu+virtio-fs/index.html

@xjtuqihan
Copy link
Author

Yes, i can access to Snap. "Using in SNAP is currently only possible with a prototype firmware and some alterations to the SNAP library. You can reach out to us on how to integrate DPFS and SNAP." After reading this from readme I want to know how to patch snap. I need to config it right? And after that, I need to compile and execute dpfs_fuse, dpfs_hal, and one of the backends, right?
I find DevEmu virtio-fs need bf3. So I want to use dpfs still.

@Peter-JanGootzen
Copy link
Contributor

Regarding the prototype firmware, if you run sudo mst start; sudo mlxconfig -d /dev/mst/${INSERT_BF2_PCICONF} -e q, do you see the virtio-fs features? If yes, then great you can turn them on :) If not, then you need to contact your Nvidia representative (for example your contact that gave you SNAP access) and ask access for a firmware that has the virtio-fs features.

Regarding patching SNAP, you will have to figure that out for yourself because of NDA reasons, given the instructions in the README, you should be able to find it quite easily.

After compiling everything you only need to execute one of the backends, it starts up the other layers for you.

DPFS on the BF2 was a research prototype, it has several issues. If you want to make serious use of this stack you need to consider BF3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants