~/talk

Killer or Thief: Where Threads in .NET Really Come From and Why Stealing Is Bad

TalkinRussianat CodeFest 11 · 2021-05-29..05-30· [dotnet]
links:none on file
slides:none on file

A .NET-focused incident analysis showing how unexpected threads can appear and degrade throughput: the talk traces a service that jumped from ~500 to 15,000 threads and ran twice as slow, investigates code, logs, and memory dumps, and ultimately identifies a flaw in the .NET runtime (a thread-pool and performance 'killer'). It covers practical debugging steps and root-cause discovery rather than speculative fixes.

AI-written summary · about

  1. 0:00Thread issues introduction
  2. 1:10Hidden .NET thread management
  3. 2:5516k threads incident
  4. 7:08Diagnosing with PerfView
  5. 9:16ThreadPool.QueueUserWorkItem
  6. 13:28Thread stealing explained
  7. 15:17Parallel.For performance killer
  8. 17:22SemaphoreSlim misuse
  9. 19:51ContinueWith performance killer
  10. 21:37Solutions and fixes
  11. 23:26ThreadPool settings
  12. 24:52Q&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.