Skip to content

Tune minimal work size#10599

Closed
Maratyszcza wants to merge 1 commit intopytorch:masterfrom
Maratyszcza:export-D9366664
Closed

Tune minimal work size#10599
Maratyszcza wants to merge 1 commit intopytorch:masterfrom
Maratyszcza:export-D9366664

Conversation

@Maratyszcza
Copy link
Contributor

Summary:
Reduce minimal work size to 1 and see what happens to performance.
I think that not spawing threads with spin-lock synchronization may be bad because they will switch to condvar wait, which increases wake-up latency next time they are needed.

Reviewed By: ajtulloch

Differential Revision: D9366664

Summary:
Reduce minimal work size to 1 and see what happens to performance.
I think that not spawing threads with spin-lock synchronization may be bad because they will switch to condvar wait, which increases wake-up latency next time they are needed.

Reviewed By: ajtulloch

Differential Revision: D9366664

fbshipit-source-id: f1d8dcceb971e6fd2f4e0a4236fcd15cef5e4759
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants