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

libtorrent: Optimize fallocate #22

Merged
merged 1 commit into from
Jul 12, 2024
Merged

libtorrent: Optimize fallocate #22

merged 1 commit into from
Jul 12, 2024

Conversation

stickz
Copy link
Owner

@stickz stickz commented Jul 12, 2024

  • Always use posix-fallocate as a fallback method if available and remove --with-posix-fallocate configure option.

  • Decide at compile time which fallocate method we're using, to avoid run time overhead.

  • Optimize code paths for socket set size. Remove flag checking and use separate procedures, to allow for additional compile optimization.

  • Remove unused fallocate scripts from rtorrent build.

- Always use posix-fallocate as a fallback method if available and Remove --with-posix-fallocate configure option.

- Decide at compile time which fallocate method we're using, to avoid run time overhead.

- Optimize code paths for socket set size. Remove flag checking and use separate procedures, to allow for additional compile optimization.

- Remove unused fallocate scripts from rtorrent build.
@stickz stickz merged commit 09b3fcd into master Jul 12, 2024
2 checks passed
@stickz stickz deleted the fallocate-improvements branch July 12, 2024 19:00
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.

1 participant