~/talk

Dividing Responsibility Between CPU Cores

TalkinRussianat DotNext 2020 Piter · 2020-06-15..06-18· [concurrency, dotnet]
links:none on file
slides:none on file

The talk discusses pinning work to specific CPU cores in .NET by comparing SynchronizationContext and TaskScheduler. It explains what’s needed to make both custom and third-party algorithms run on instructed cores while preserving async/await and related conveniences, how to make async/await and APCs execute on the same or different cores, and why the ThreadPool is unsafe for this use case.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Problem statement
  3. 5:05Thread pool issues
  4. 13:50Synchronization basics
  5. 23:17Synchronization in .NET
  6. 31:50Task scheduler models
  7. 41:28Custom sync context
  8. 54:14Demo: Default sync context
  9. 1:02:34Demo: Custom sync context
  10. 1:08:37Summary
  11. 1:10:29Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.