Commit Graph

27679 Commits

Author SHA1 Message Date
Witold Kręcicki
ace8431261 direct sockevent actions 2018-09-11 22:02:14 +00:00
Witold Kręcicki
31e43242fc Experiment: limit number of clients in flight 2018-09-11 20:31:55 +00:00
Witold Kręcicki
4ee10b9c6c Has reuseport 2018-09-05 10:02:24 +02:00
Witold Kręcicki
120da95365 Use EPOLLET 2018-09-05 10:02:24 +02:00
Witold Krecicki
919ae44f67 Some fixes from FBSD 2018-09-05 10:02:24 +02:00
Witold Krecicki
6324a0cec9 Multithreadeed networking kqueue support 2018-09-05 10:02:24 +02:00
Witold Kręcicki
2a50b2e553 Set affinity portably 2018-09-05 10:02:24 +02:00
Witold Kręcicki
6c7821bd7f Definiable number of worker queues 2018-09-05 10:02:24 +02:00
Witold Kręcicki
c4e8425859 Revert "Set send and receive buffers on socket"
This reverts commit 1d4e82ba90d413b0d5be8d2e21bc5baff83c544a.
2018-09-05 10:02:24 +02:00
Witold Kręcicki
ccc2677f91 Even earlier pseudosend 2018-09-05 10:02:24 +02:00
Witold Kręcicki
3c8b81c56c Post-merge fixes 2018-09-05 10:02:24 +02:00
Witold Kręcicki
ec70c77469 Revert "Revert "less mangling with manager->locks[i]""
This reverts commit 27a9bef3767a7f39054fe980e358e6fecb5abe36.
2018-09-05 10:02:24 +02:00
Witold Kręcicki
214ef6b5f2 Yield after sending task 2018-09-05 10:02:24 +02:00
Witold Kręcicki
b32c412516 spread manager worker locks 2018-09-05 10:02:24 +02:00
Witold Kręcicki
64737509ff Spread fdlocks 2018-09-05 10:02:24 +02:00
Witold Kręcicki
c1aea5c753 Pseudosend right before parsing 2018-09-05 10:02:24 +02:00
Witold Kręcicki
c3118d49fd Set send and receive buffers on socket 2018-09-05 10:02:24 +02:00
Witold Kręcicki
c151c4ab15 Revert "less mangling with manager->locks[i]"
This reverts commit ad3f8664f6d6a1317247757745913ef5848fce7b.
2018-09-05 10:02:24 +02:00
Witold Kręcicki
9666a82680 less mangling with manager->locks[i] 2018-09-05 10:02:24 +02:00
Witold Kręcicki
f956da9d2c Fixes for affine workers 2018-09-05 10:02:24 +02:00
Witold Kręcicki
24303542d6 WIP: affine workers, take 2 2018-09-05 10:02:24 +02:00
Witold Kręcicki
fc22b6946c Make network threads cpu-affine 2018-09-05 10:02:24 +02:00
Witold Kręcicki
5ebbadea33 Less locking 2018-09-05 10:02:24 +02:00
Witold Kręcicki
ddba8a53d3 Fix a race in socket code 2018-09-05 10:02:24 +02:00
Witold Kręcicki
32f01b92ed CPUS=1 (not 1.5) 2018-09-05 10:02:24 +02:00
Witold Kręcicki
b54db86872 Use lockless PRNG 2018-09-05 10:02:24 +02:00
Witold Kręcicki
4444713685 Revert "WiP: direct task sending"
This reverts commit c4b1701647c99321335f8f8c29b65a09dbf6eeb1.
2018-09-05 10:02:24 +02:00
Witold Kręcicki
9f093cdc0a Revert "WiP - direct execution, part 2"
This reverts commit f0221a156a502b13c1ce1a2f414a670ba9c7eb28.
2018-09-05 10:02:24 +02:00
Witold Kręcicki
bad159f588 WiP - direct execution, part 2 2018-09-05 10:02:24 +02:00
Witold Kręcicki
39cc064238 WiP: direct task sending 2018-09-05 10:02:24 +02:00
Witold Kręcicki
b630c22f20 Revert "Separate write and read locks on socket"
This reverts commit 2f3ae09a69eb6e423a778d5742612ec3c9d14ee1.
2018-09-05 10:02:24 +02:00
Witold Kręcicki
9fddb5e7e4 Separate write and read locks on socket 2018-09-05 10:02:24 +02:00
Witold Kręcicki
d3b1634cc4 Kill socket if it's no longer being referenced 2018-09-05 10:02:24 +02:00
Witold Kręcicki
008b195280 Add runtime detection of SO_REUSEPORT, use it if available (instead of dup) 2018-09-05 10:02:24 +02:00
Witold Kręcicki
6e3fef916c More udp dispatchers 2018-09-05 10:02:24 +02:00
Witold Kręcicki
c342b72849 Set quantum to 50 2018-09-05 10:02:24 +02:00
Witold Kręcicki
cb44b07acc Add pseudosend 2018-09-05 10:02:24 +02:00
Witold Kręcicki
ad49f7a7c1 It's reasonable not to crash on TCP connections 2018-09-05 10:02:24 +02:00
Witold Kręcicki
9a4509331b Cpus detected * 1.5 2018-09-05 10:02:24 +02:00
Witold Kręcicki
b9199418c5 Since we're doing everything in one thread we don't have to unwatch/watch FDs constantly 2018-09-05 10:02:24 +02:00
Witold Kręcicki
3c9ed6a0d8 Multiple network threads (WiP) 2018-09-05 10:02:24 +02:00
Witold Kręcicki
72ef4697cc Do IO after event directly in the network thread, don't schedule it for worker 2018-09-05 10:02:24 +02:00
Witold Kręcicki
2c5d86c89c Remove fdwatch sockets 2018-09-05 10:02:24 +02:00
Witold Kręcicki
68e9479f41 Remove layering from isc_task, isc_app, isc_socket, isc_timer, isc_mem 2018-09-05 09:44:07 +02:00
Witold Kręcicki
72bb25cbad Get rid of isc_bind9 conditional 2018-09-05 09:43:00 +02:00
Evan Hunt
8360df5a4c Merge branch '527-spurious-thread-report' into 'master'
Resolve "Master branch incorrectly reports missing thread support"

Closes #527

See merge request isc-projects/bind9!757
2018-09-04 15:06:34 -04:00
Evan Hunt
02041b94d9 remove startup log message indicating thread status 2018-09-04 11:58:26 -07:00
Tinderbox User
215e3fde22 Merge branch 'prep-release' 2018-09-04 06:12:49 +00:00
Tinderbox User
19ed6f8f5a prep 9.13.3 2018-09-04 06:11:38 +00:00
Evan Hunt
7157596743 Merge branch '192-release-notes' into 'master'
Add release notes about support for legacy platform being removed

Closes #523

See merge request isc-projects/bind9!750
2018-09-03 21:51:37 -04:00