gvisor/pkg/sleep
Bhasker Hariharan a611fdaee3 Changes TCP packet dispatch to use a pool of goroutines.
All inbound segments for connections in ESTABLISHED state are delivered to the
endpoint's queue but for every segment delivered we also queue the endpoint for
processing to a selected processor. This ensures that when there are a large
number of connections in ESTABLISHED state the inbound packets are all handled
by a small number of goroutines and significantly reduces the amount of work the
goscheduler has to perform.

We let connections in other states follow the current path where the
endpoint's goroutine directly handles the segments.

Updates #231

PiperOrigin-RevId: 289728325
2020-01-14 14:15:50 -08:00
..
BUILD Enable pkg/sleep support on arm64. 2019-09-24 06:42:26 +00:00
commit_amd64.s Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
commit_arm64.s Enable pkg/sleep support on arm64. 2019-09-24 06:42:26 +00:00
commit_asm.go Enable pkg/sleep support on arm64. 2019-09-24 06:42:26 +00:00
commit_noasm.go Enable pkg/sleep support on arm64. 2019-09-24 06:42:26 +00:00
empty.s Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
sleep_test.go Changes TCP packet dispatch to use a pool of goroutines. 2020-01-14 14:15:50 -08:00
sleep_unsafe.go Update build tags to allow Go 1.14 2019-10-29 13:18:16 -07:00