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 JCTools 3.3.0 -> 3.3.1-ea, use unpadded queues #2257

Merged
merged 4 commits into from
Jul 2, 2022

Conversation

Scottmitch
Copy link
Member

Motivation:
JCTools 3.3.1-ea provides unpadded queue variants which remove
padding intended to avoid false sharing scenarios. The padding
adds significant overhead when queue sizes are small which is
common for ServiceTalk's queue usage (operators that only queue
when back pressure occurs, pipelining requests which isn't
frequently used, ..)

Modifications:

  • Unpadded queue variants currently only exist for the UNSAFE
    variants. Switch PlatformDepedent UNSAFE queues to use them.

@Scottmitch Scottmitch marked this pull request as ready for review July 1, 2022 20:31
@Scottmitch
Copy link
Member Author

build failure attributed to #2245

Motivation:
JCTools 3.3.1-ea provides unpadded queue variants which remove
padding intended to avoid false sharing scenarios. The padding
adds significant overhead when queue sizes are small which is
common for ServiceTalk's queue usage (operators that only queue
when back pressure occurs, pipelining requests which isn't
frequently used, ..)

Modifications:
- Unpadded queue variants currently only exist for the UNSAFE
  variants. Switch PlatformDepedent UNSAFE queues to use them.
@Scottmitch
Copy link
Member Author

another failure due to #2245

@Scottmitch Scottmitch merged commit 28ca713 into apple:main Jul 2, 2022
@Scottmitch Scottmitch deleted the jctools_low_mem_queues branch July 2, 2022 01:04
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.

3 participants