-
Notifications
You must be signed in to change notification settings - Fork 3
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
Performance comparison with the sh version #2
Comments
Although
Makes it hard to use: I redirected the output of both versions into files, and...
|
In regards to that:
And with Only false positives appear in the output |
Hey @Mek101, Regarding your first post in that thread, it reveals that there are still a bug (this one is really tricky) and I created an issue to track it. It also shows an incredible speed comparing to the shell version, which is good news : it makes it practical. About your second post, it seems that there are inconsistencies between the go and shell report. Which one do you think has the right report ? Finally regarding your last comment, I would love to be able to reproduce all of that, to debug both issues, and stop bothering you 😅 To help me reproduce it, could you produce a The command to run is like the following (timing it is also interesting) : ~> sudo time btrfs send --quiet --no-data -f btrfs.stream -p older_subvolume newer_subvolume For the first post, (the one with the tricky bug), it would be: ~> sudo time btrfs send --quiet --no-data -f btrfs.stream -p /mountpoints/raid1/anime/data_snapshot.20210816 /mountpoints/raid1/anime/bk_data_snapshot.2021094 If the btrfs.stream file is too big to be sent by email, you can drop it on a website like WeTransfer. It would allow me to reproduce this bug that I cannot manage to get it until now ... Thank you a lot in advance. |
It should be the shell one, since the go report includes supposed changes to files I know for sure haven't been modified since the creation of subvolume (ie, before |
|
OKay, your first run with
Which we could interpret as the Go processing overhead costing about 0m0,4xx, which is incredibly fast. Also, thank you very much for the |
I'll try diffing a couple subvolumes on the OS ssd and see how it goes |
I was trying to benc both versions on the snapshots of my root ssd, but I encountered a couple of fatal errors:
|
OKay, you are definitely a good crash-tester 😉 😅 Regarding the bug of the shell version, I think I should read the About the Go version, I am currently improving the debugging information, to better catch and resolve future issues. I'll keep you posted. Again, thank you very much for your contributions. I will add you to a Contributors section in the documentation, if you agree ... If so, how do you want me to name you ? Mek101 or your real name ? |
In the meantime, could you generate the btrfs stream of this diff please and send it to me ? It would be a great help to debug... Command to do so : ~> sudo btrfs send --quiet --no-data -f btrfs.stream.1 -p root_snapshot.20210816 root_snapshot.20210905 Thank you in advance. |
Sent the |
I have the pleasure to tell you that I have added an Authors and contributors section to the README (commit 63c329c) and you are appearing as the first contributor ever 😃 🍾 |
Hey @Mek101, No more bugs nor inconsistencies planned (all fixed), so I think you can do more testing if you want 😉 |
Ciao @Mek101, |
Excuse me, would it be possible to wipe my name from the repository history? |
with a time of only!
The text was updated successfully, but these errors were encountered: