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

Migrate to libnbd #69

Open
nirs opened this issue May 15, 2022 · 0 comments
Open

Migrate to libnbd #69

nirs opened this issue May 15, 2022 · 0 comments
Labels
enhancement Enhancing the system by adding new feature or improving performance or reliability

Comments

@nirs
Copy link
Member

nirs commented May 15, 2022

libnbd is a high performance and fully featured nbd client library written in C.
https://libguestfs.org/libnbd.3.html

linbd python bindings:
https://gitlab.com/nbdkit/libnbd/-/tree/master/python

The python binding does not have external documentation, you need to use:

python -c "import nbd; help(nbd)"

We maintain our own python library with less features (but everything we use)
and lower performance (but good enough for our usage).

  • May improve performance or be worse, depending on the libnbd python binding
  • Get rid of 1400 lines of low level hard code in python!
  • May need some tweaks in imageio to adapt
  • May need some work on libnbd python binding to improve performance
  • Need to start with some performance tests to understand what we get
@nirs nirs added the enhancement Enhancing the system by adding new feature or improving performance or reliability label May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancing the system by adding new feature or improving performance or reliability
Projects
None yet
Development

No branches or pull requests

1 participant