Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Update to 3.0
Also, since version 2.6, x265 it's using
nasm
instead ofyasm
, see https://bitbucket.org/multicoreware/x265/src/feec4bdf98663ac4a2561b63e1ccec423c7d26a4/build/README.txt#lines-37That means that the x265 version from nix, wasn't using any of the CPU optimizations
I also compiled with NUMA support by default. Not 100% sure, but it seems that NUMA systems will get a big performance win, while for non NUMA systems this change should be un-noticeable. For more info see:
https://bitbucket.org/multicoreware/x265/commits/62b8fe990df5e560834e9b567a913238d8dd398e
https://bitbucket.org/multicoreware/x265/issues/108/numa-pools
I compressed a short video (~1 minute) with the same options, and the performance change was huge, it went down from 22 to 8 minutes
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Note: Original PR was #61103