summaryrefslogtreecommitdiff
path: root/man4/opentracker.conf.4
AgeCommit message (Collapse)Author
9 hoursMake tcp worker multithreaded, tooDirk Engling
This shamelessly steals the model established in the UDP workers, i.e. if the kernel is able to bind multiple listening sockets to the same endpoint, we will share them across threads. If it can't, all threads will accept on the same socket. The fast path handles most of the connections, only the rare case of no data yet on the socket is offloaded to the slow path (which used to be the mainloop) for completion. This scales nicely, as the higher the load is, the higher chances are that an accept happens only after the network roundtrip to the peer completes, leading to more connections that already have data waiting for us. We also consolidate the workstruct init and deinit code, preparation for later unifying all thread state structs for all protocols (mca, udc and tcp). The config file gains a per tcp connection worker count and some docs explaining what this knob buys and costs, nudging the user to either keep it 0 or dial it up to at least 2.
33 hoursUse accept filter dataready instead of httpready on FreeBSDDirk Engling
3 daysDefault udp workers to 1, as it is the most sane choice everywhere, also reflect the new udp parallelism in the man pagesDirk Engling
2024-06-22address linter warnings. Thanks to gagath@debian.orgDirk Engling
2024-04-18Better point out what options can be given multiple timesDirk Engling
2024-04-18further fixes to the man pageDirk Engling
2024-04-18Add missing config optionDirk Engling
2024-04-18Add man page for the config fileDirk Engling