Joakim Frostegård
|
e86410291a
|
cpu pinning: set affinity to multiple hyperthreads, fix issues
|
2021-11-07 13:31:03 +01:00 |
|
Joakim Frostegård
|
aa332ab296
|
aquatic_common, udp, udp load test: improve cpu pinning
|
2021-11-07 11:04:31 +01:00 |
|
Joakim Frostegård
|
465cf5920d
|
WIP: ws: put back mio implementation
|
2021-11-05 12:42:55 +01:00 |
|
Joakim Frostegård
|
41a249459c
|
aquatic_udp: glommio: await send/recv on shared channels
|
2021-11-05 11:50:58 +01:00 |
|
Joakim Frostegård
|
b8073e4bd1
|
Replace HashMap and IndexMap with indexmap_amortized
This will hopefully get down latency.
|
2021-11-03 10:35:29 +01:00 |
|
Joakim Frostegård
|
f5b93fbd3e
|
aquatic_udp: mio: fix bug where connections were cleaned all the time
|
2021-11-03 01:05:49 +01:00 |
|
Joakim Frostegård
|
afe3e2465f
|
aquatic_udp: split cleaning interval for connections and torrents
|
2021-11-03 00:07:52 +01:00 |
|
Joakim Frostegård
|
5f10e5e7f4
|
aquatic_udp: when cleaning peer maps, run shrink_to_fit
|
2021-11-02 23:59:50 +01:00 |
|
Joakim Frostegård
|
fa3b6bb259
|
Move fn update_access_list to aquatic_common
|
2021-11-02 23:33:47 +01:00 |
|
Joakim Frostegård
|
dce256a987
|
aquatic_udp: use access list cache when cleaning torrents
|
2021-11-02 22:31:36 +01:00 |
|
Joakim Frostegård
|
fdaafae4b7
|
aquatic_udp: glommio: use signals for access list update
|
2021-11-02 22:23:47 +01:00 |
|
Joakim Frostegård
|
9b75b50802
|
aquatic_udp: mio: access list: use SIGUSR1, improve errors
|
2021-11-02 21:06:57 +01:00 |
|
Joakim Frostegård
|
d922e5e680
|
aquatic_udp: mio: update access list on SIGHUP instead of regularly
|
2021-11-02 20:33:08 +01:00 |
|
Joakim Frostegård
|
1949ed2e9c
|
aquatic_udp: mio: rewrite connection cleaning interval logic
|
2021-10-31 21:12:52 +01:00 |
|
Joakim Frostegård
|
03a344eb8e
|
aquatic_udp: mio: print num torrents and peers in statistics
|
2021-10-31 19:57:30 +01:00 |
|
Joakim Frostegård
|
143585792c
|
aquatic_udp: mio: actually clean connections according to config
|
2021-10-31 19:43:38 +01:00 |
|
Joakim Frostegård
|
bb75907c07
|
aquatic_udp: double MAX_PACKAGE_SIZE to allow for large responses
|
2021-10-30 17:03:07 +02:00 |
|
Joakim Frostegård
|
0107b3a77e
|
aquatic_udp: add (failing) test for writing ipv6 announce responses
|
2021-10-30 16:51:59 +02:00 |
|
Joakim Frostegård
|
130377b8f4
|
aquatic_http: remove mio implementation
|
2021-10-28 01:48:32 +02:00 |
|
Joakim Frostegård
|
49ed4371e7
|
Run cargo fmt, clean up imports
|
2021-10-28 01:23:43 +02:00 |
|
Joakim Frostegård
|
d6d5cc78b7
|
udp, http: move privilege drop code into aquatic_common
|
2021-10-27 20:49:15 +02:00 |
|
Joakim Frostegård
|
ead7650d41
|
aquatic_udp: glommio: fix access list update bug
|
2021-10-27 20:37:32 +02:00 |
|
Joakim Frostegård
|
35b8a1820d
|
Rename CoreAffinityConfig to CpuPinningConfig, rename fields
|
2021-10-27 20:21:11 +02:00 |
|
Joakim Frostegård
|
d659117ae5
|
Move CoreAffinityConfig to aquatic_common, use in glommio http
|
2021-10-27 20:19:02 +02:00 |
|
Joakim Frostegård
|
13d0224321
|
aquatic_udp: use features "with-glommio" and (default) "with-mio"
|
2021-10-23 22:27:42 +02:00 |
|
Joakim Frostegård
|
f69e3a00c7
|
aquatic_udp: glommio: cleanup
|
2021-10-23 20:28:36 +02:00 |
|
Joakim Frostegård
|
5729f337ad
|
aquatic_udp: rename glommio feature to "io_uring", remove from default
|
2021-10-23 20:25:42 +02:00 |
|
Joakim Frostegård
|
821608ab50
|
aquatic_udp: glommio: return scrape stats in correct order
|
2021-10-23 16:18:47 +02:00 |
|
Joakim Frostegård
|
0e58347ac4
|
aquatic_udp: move privdrop code to crate root, use in glommio impl
|
2021-10-23 15:18:05 +02:00 |
|
Joakim Frostegård
|
eafb88c345
|
aquatic_udp: use const for empty scrape statistics
|
2021-10-23 15:12:12 +02:00 |
|
Joakim Frostegård
|
32113ea2f3
|
aquatic_udp: move more announce logic into common code
|
2021-10-23 15:10:01 +02:00 |
|
Joakim Frostegård
|
cbca0e03eb
|
aquatic_udp: glommio: remove comment
|
2021-10-23 14:56:34 +02:00 |
|
Joakim Frostegård
|
1564291471
|
Run rustfmt
|
2021-10-23 14:56:00 +02:00 |
|
Joakim Frostegård
|
3355822422
|
aquatic_udp: glommio: periodically clean/update pending scrape vars
|
2021-10-23 14:51:57 +02:00 |
|
Joakim Frostegård
|
96196239f5
|
aquatic_udp: glommio: mostly implement scrape request support
|
2021-10-23 14:43:16 +02:00 |
|
Joakim Frostegård
|
08920fce5f
|
WIP: aquatic_udp: glommio: work on handling scrape requests
|
2021-10-23 14:05:54 +02:00 |
|
Joakim Frostegård
|
d0be89388c
|
aquatic_udp: glommio: read access list on start
|
2021-10-23 13:04:14 +02:00 |
|
Joakim Frostegård
|
2732e520f7
|
aquatic_udp: glommio: improve access list error reporting
|
2021-10-23 12:48:49 +02:00 |
|
Joakim Frostegård
|
072f064138
|
Run cargo fmt
|
2021-10-23 12:42:56 +02:00 |
|
Joakim Frostegård
|
aaa609b5f0
|
aquatic_udp: glommio: use MAX_PACKET_SIZE in network.read_requests
|
2021-10-23 12:42:20 +02:00 |
|
Joakim Frostegård
|
0d39c93239
|
aquatic_udp: glommio: run cleaning tasks in network.rs
|
2021-10-23 12:41:07 +02:00 |
|
Joakim Frostegård
|
1dcc48ee67
|
aquatic_udp: glommio: setup timer to update peer_valid_until
|
2021-10-23 12:25:18 +02:00 |
|
Joakim Frostegård
|
7ccb99ca7e
|
aquatic_udp: glommio: fix core affinity bug
|
2021-10-22 00:38:22 +02:00 |
|
Joakim Frostegård
|
2c4f4a32da
|
aquatic_udp: set core affinities
|
2021-10-21 20:58:10 +02:00 |
|
Joakim Frostegård
|
b10f7b89e7
|
aquatic_udp: move code only use in mio impl out of crate::common
|
2021-10-21 15:41:50 +02:00 |
|
Joakim Frostegård
|
81b7777a4a
|
aquatic_udp: feature-gate glommio version
|
2021-10-21 15:26:16 +02:00 |
|
Joakim Frostegård
|
047d138b2b
|
aquatic_udp glommio: detach tasks, await them later; add debug logging
|
2021-10-20 02:06:51 +02:00 |
|
Joakim Frostegård
|
2cc357f2f2
|
aquatic_udp: glommio: spawn request handlers as tasks
|
2021-10-20 01:21:07 +02:00 |
|
Joakim Frostegård
|
f9ed98f10d
|
aquatic_udp: run rustfmt
|
2021-10-19 23:09:54 +02:00 |
|
Joakim Frostegård
|
02889e1bb8
|
aquatic_udp: glommio: move update_access_list to new common.rs
|
2021-10-19 23:04:51 +02:00 |
|