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

update ncruces driver #4

Merged
merged 1 commit into from
Jan 6, 2024
Merged

update ncruces driver #4

merged 1 commit into from
Jan 6, 2024

Conversation

ncruces
Copy link
Contributor

@ncruces ncruces commented Dec 19, 2023

First of all: thanks again, also for running your numbers again!
Second, I won't be doing this for every point update: I don't want to waste your time.

This PR does not (should not) affect benchmark numbers in any significant way.

I'm updating because again your code helped me detect a defect in my driver (thanks!), this time macOS specific, affecting only the large workloads.
This workload could (momentarily) need orders of magnitude (100s of GB) more disk space than actually required.

This was due to my implementation of fallocate for macOS, which I ported from mozilla. The buggy code is in Gists, StackOverflow answers, KDE source code, has been independently ported to other languages multiple times over.

Hard to believe it's wrong, but a new unit test demonstrates it is.

@cvilsmeier cvilsmeier merged commit 5419da0 into cvilsmeier:master Jan 6, 2024
@cvilsmeier
Copy link
Owner

Thanks @ncruces, results are updated now.

@ncruces
Copy link
Contributor Author

ncruces commented Jan 7, 2024

Oh, thanks! This shouldn't have changed results much (except on macOS) and it didn't. Great!

More cgo competition, yay!
I should to check how my low level bindings fare.

@ncruces ncruces deleted the upd-ncr branch January 11, 2024 15:32
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

Successfully merging this pull request may close these issues.

2 participants