borg
borg copied to clipboard
try borg with pypy (and cpyext) - does it work?
Tried borg with current pypy3.5 v5.9:
- borg seems to work (tried some basic commands shortly)
- tests have quite some issues: integrity errors, crashing test workers with pytest-xdist, slow msgpack, ...
5.8 didn't work due to some missing APIs (PyMemoryView_FromMemory).
did a quick test with pypy3.5-6.0.0 (installed on stretch64 vagrant VM via pyenv):
- llfuse does not build
- without fuse, borg builds and tests run, but quite some test failures
- uses the pure python msgpack (unclear whether this is a speed issue on pypy)
one could do a new test using pyfuse3 after #4122 is closed.
Briefly tested:
pypy3 -m pip install --user git+https://github.com/borgbackup/borg.git
Findings:
- Seemed to work, I tested rcreate, create, rlist, list, mount
- Message
Using a pure-python msgpack! This will result in lower performance.
@zougloub Ah, interesting, thanks for testing!
The pure-python msgpack is somewhat expected and maybe not even that slow as it will also be accelerated by pypy.
Wondering whether msgpack could be made working with the faster C code, considering that it also seemed to cope somehow with borg and its C/Cython code.