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

Core Migration #5

Open
tommy-u opened this issue Oct 19, 2022 · 2 comments
Open

Core Migration #5

tommy-u opened this issue Oct 19, 2022 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@tommy-u
Copy link
Contributor

tommy-u commented Oct 19, 2022

Running memcached while shortcutting reads and writes without taskset occasionally barfs. Is this related to core migration? Could this be related to failure to task switch the GS register on core migration?

Should we work around this? Solve it in Symlib? Solve it on a kernel path?

@tommy-u tommy-u added the help wanted Extra attention is needed label Oct 19, 2022
@handong32
Copy link

Why would you not want to run taskset for your experiments? Did you pin the network queues to specific cores/disable hyperthreads? Technically, it should be pinned all the way from network receive to processing on the specific core, unless the kernel is somehow scheduling network processing received on one queue to a separate core. But that'd violate your initial network queue-> core pinning

@tommy-u
Copy link
Contributor Author

tommy-u commented Oct 19, 2022

Good q. In our development, memcached runs fine when taskset to a single core. When it can migrate, we run into trouble (probably even if we taskset it to 2 cores). This is a correctness issue, not a performance one. Once we've nailed the correctness problem, we'll need your net expertise for tuning the apps. @ryanbsull probably has more details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants