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: Add cpu popcount configure switch #9

Merged
merged 1 commit into from
Jul 5, 2024
Merged

Conversation

stickz
Copy link
Owner

@stickz stickz commented Jul 5, 2024

This pull request adds a native c-implementation to calculate the population count of the bitfield. It may be faster for CPUs which don't support SSE instructions. This is disabled by default and must be enabled by configuring with --enable-cpu-popcount.

This commit adds a native c-implementation to calculate the population count of the bitfield. It may be faster for CPUs which don't support SSE instructions. This is disabled by default and must be enabled by configuring with `--enable-cpu-popcount`.
@stickz stickz merged commit acc2c21 into master Jul 5, 2024
2 checks passed
@stickz stickz deleted the popcount_cpu branch July 5, 2024 13:48
stickz added a commit to stickz/docker-rtorrent-rutorrent that referenced this pull request Jul 5, 2024
# Version 4.0 Release
**This release contains a significant performance improvement to the population count algorithm. CPU usage is significantly reduced under load.** This should allow for a higher upload ceiling to be reached, without hitting the single count limits.

## What's Changed
* libtorrent: Add cpu popcount configure switch by @stickz in stickz/rtorrent#9
* libtorrent: Make cpu popcount default by @stickz in stickz/rtorrent#10

**Full Changelog**: stickz/rtorrent@v3.2-0.9.8-0.13.8...v4.0-0.9.8-0.13.8
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