Joakim Frostegård
|
c290062feb
|
Merge pull request #134 from greatest-ape/work-2023-03-08_2
udp: uring: refactor, fix UB
|
2023-03-10 00:40:01 +01:00 |
|
Joakim Frostegård
|
d61bc34521
|
udp: uring: minor refactoring
|
2023-03-10 00:29:22 +01:00 |
|
Joakim Frostegård
|
612cc4cf62
|
udp: uring: refactor SocketWorker, fix Timespec UB
|
2023-03-10 00:17:39 +01:00 |
|
Joakim Frostegård
|
a0c0e85122
|
Merge pull request #133 from greatest-ape/work-2023-03-09
udp: improve docs, uring code and uring performance; update README; update dependencies
|
2023-03-09 23:34:33 +01:00 |
|
Joakim Frostegård
|
5633a889a2
|
Improve README
|
2023-03-09 23:24:46 +01:00 |
|
Joakim Frostegård
|
5c3c2b42ac
|
Run cargo update
Updating async-trait v0.1.64 -> v0.1.66
Updating base64ct v1.5.3 -> v1.6.0
Updating blake3 v1.3.3 -> v1.2.0
Updating block-buffer v0.10.3 -> v0.10.4
Updating buddy-alloc v0.4.1 -> v0.4.2
Adding constant_time_eq v0.1.5
Updating crossbeam-channel v0.5.6 -> v0.5.7
Updating crossbeam-deque v0.8.2 -> v0.8.3
Updating crossbeam-epoch v0.9.13 -> v0.9.14
Updating crossbeam-utils v0.8.14 -> v0.8.15
Updating csv v1.2.0 -> v1.2.1
Removing digest v0.10.6
Adding digest v0.9.0
Adding digest v0.10.5
Updating itoa v1.0.5 -> v1.0.6
Updating libc v0.2.139 -> v0.2.140
Updating paste v1.0.11 -> v1.0.12
Updating raw-cpuid v10.6.1 -> v10.7.0
Updating rayon v1.6.1 -> v1.7.0
Updating rayon-core v1.10.2 -> v1.11.0
Updating rustversion v1.0.11 -> v1.0.12
Updating ryu v1.0.12 -> v1.0.13
Updating serde v1.0.152 -> v1.0.154
Updating serde_derive v1.0.152 -> v1.0.154
Updating serde_json v1.0.93 -> v1.0.94
Updating socket2 v0.4.7 -> v0.4.9
Updating subtle v2.4.1 -> v2.5.0
Updating thiserror v1.0.38 -> v1.0.39
Updating thiserror-impl v1.0.38 -> v1.0.39
Updating tokio v1.25.0 -> v1.26.0
Updating unicode-bidi v0.3.10 -> v0.3.11
Updating unicode-ident v1.0.6 -> v1.0.8
|
2023-03-09 23:09:48 +01:00 |
|
Joakim Frostegård
|
4b7e9c5609
|
Update README
|
2023-03-09 23:07:50 +01:00 |
|
Joakim Frostegård
|
630e5c0938
|
Update TODO
|
2023-03-09 23:02:07 +01:00 |
|
Joakim Frostegård
|
3cf6e30159
|
udp: uring: rename SendBuffers.mark_index_as_free
|
2023-03-09 23:00:10 +01:00 |
|
Joakim Frostegård
|
442ae5154e
|
udp: improve config docs
|
2023-03-09 22:57:22 +01:00 |
|
Joakim Frostegård
|
987c880e01
|
udp: improve config comments for resend_buffer_max_len
|
2023-03-09 22:16:57 +01:00 |
|
Joakim Frostegård
|
63c705fd17
|
udp: config: rename ring_entries to ring_size
|
2023-03-09 22:15:57 +01:00 |
|
Joakim Frostegård
|
0f333d4755
|
udp: uring: set send_buffer_entries to ring_entries, improve comments
|
2023-03-09 22:15:19 +01:00 |
|
Joakim Frostegård
|
587dd07131
|
udp: uring: decrease request buffer sizes
|
2023-03-09 21:57:37 +01:00 |
|
Joakim Frostegård
|
fe294e8119
|
udp: uring: wait for num_send_added.max(1), improve comments
|
2023-03-09 21:53:48 +01:00 |
|
Joakim Frostegård
|
f89bdce7f0
|
udp: uring: change SendBuffer unsafe declarations, add comments
|
2023-03-09 21:30:03 +01:00 |
|
Joakim Frostegård
|
f84d80a7e7
|
Merge pull request #132 from greatest-ape/work-2023-03-08
udp: uring: use UnsafeCell, code improvements
|
2023-03-08 20:04:41 +01:00 |
|
Joakim Frostegård
|
cff6b0cce1
|
Update TODO
|
2023-03-08 14:46:34 +01:00 |
|
Joakim Frostegård
|
aae19c4cb3
|
udp: uring: combine SendBuffers metadata lookups
|
2023-03-08 14:40:29 +01:00 |
|
Joakim Frostegård
|
1be6d4fa61
|
udp: uring: improve log messages
|
2023-03-08 14:31:45 +01:00 |
|
Joakim Frostegård
|
d862da2aef
|
udp: uring: add recv_helper::Error type
|
2023-03-08 14:14:15 +01:00 |
|
Joakim Frostegård
|
9bb69627c8
|
udp: uring: branch less in RecvHelper::parse
|
2023-03-08 13:54:49 +01:00 |
|
Joakim Frostegård
|
aa2c36a373
|
udp: uring: rewrite RecvHelper to use UnsafeCell
|
2023-03-08 13:43:11 +01:00 |
|
Joakim Frostegård
|
fa93f38d82
|
udp: uring: improve SendBuffers code
|
2023-03-08 13:33:14 +01:00 |
|
Joakim Frostegård
|
339feb3d0a
|
udp: uring: rewrite SendBuffers to use UnsafeCell
|
2023-03-08 13:14:35 +01:00 |
|
Joakim Frostegård
|
2e67f11caf
|
udp: add experimental io_uring implementation (#131)
* WIP: add udp uring support
* WIP: fix udp uring address parsing
* WIP: udp uring: resubmit recv when needed
* WIP: udp uring: add OutMessageStorage, send swarm responses
* WIP: udp uring: increase ring entries to 1024
* WIP: udp uring: add constants
* WIP: udp uring: use sqpoll, avoid kernel calls
* WIP: udp uring: disable sqpoll
* WIP: udp uring: use VecDeque for local responses
* udp uring: enable setup_coop_taskrun
* udp uring: add RecvMsgStorage
* udp: improve split of uring and mio implementations
* udp uring: clean up
* udp uring: initial ipv6 support
* udp uring: improve helper structs
* udp uring: clean up, use constants for important data
* udp: share create_socket fn between implementations
* udp uring: improve send buffer free index finding
* udp uring: work on SendBuffers.try_add
* udp uring: split into modules
* udp uring: Rename RecvMsgMultiHelper to RecvHelper
* udp uring: improve SendBuffers
* udp uring: fix copyright attribution in buf_ring module
* udp uring: stop always consuming 100% cpu
* udp uring: clean up
* udp uring: add handle_recv_cqe
* udp uring: move local_responses into SocketWorker
* udp uring: move timeout_timespec into SocketWorker
* Update TODO
* udp: make io-uring optional
* Update TODO
* udp uring: enqueue timeout before sends
* udp uring: move likely empty buffer tracking logic into SendBuffers
* udp uring: improve error handling and logging
* udp uring: keep one timeout submitted at a time
* udp uring: update pending_scrape_valid_until
* udp uring: add second timeout for cleaning
* Update TODO
* udp uring: store resubmittable squeue entries in a Vec
* udp uring: add comment, remove a log statement
* Update TODO
* Update TODO
* udp: io_uring: fall back to mio if io_uring support not recent enough
* udp: uring: add bytes_received statistics
* udp: uring: add bytes_sent statistics
* udp: uring: add more statistics
* Update TODO
* udp: uring: improve SendBuffers code
* udp: uring: remove unneeded squeue sync calls
* udp: uring: replace buf_ring impl with one from tokio-uring
* udp: uring: store ring in TLS so it can be used in Drop impls
* udp: uring: store BufRing in SocketWorker
* udp: uring: silence buf_ring dead code warnings, improve comment
* Update TODO
* udp: uring: improve CurrentRing docs, use anonymous struct field
* udp: uring: improve ring setup
* udp: uring: get ipv6 working
* udp: uring: make ring entry count configurable, use more send entries
* udp: uring: log number of pending responses (info level)
* udp: uring: improve comment on send_buffer_entries calculation
* udp: improve config comments
* udp: uring: add to responses stats when they are confirmed as sent
* Update TODO
* udp: uring: enable IoUring setup_submit_all
* Update README
|
2023-03-07 19:01:37 +01:00 |
|
Joakim Frostegård
|
6f4ffda1bb
|
Merge pull request #129 from greatest-ape/work-2023-02-26_2
Update README and CHANGELOG
|
2023-02-26 17:13:25 +01:00 |
|
Joakim Frostegård
|
73def7444d
|
Update README
|
2023-02-26 17:07:10 +01:00 |
|
Joakim Frostegård
|
b10b277fea
|
Update CHANGELOG
|
2023-02-26 16:58:59 +01:00 |
|
Joakim Frostegård
|
146ffde5d9
|
Merge pull request #128 from greatest-ape/work-2023-02-26
Add udp prometheus support; enable prometheus by default for all protocols
|
2023-02-26 16:53:58 +01:00 |
|
Joakim Frostegård
|
3806faaff9
|
udp: only include prometheus fields in config if feature enabled
|
2023-02-26 16:41:37 +01:00 |
|
Joakim Frostegård
|
9bd4062e44
|
README: improve wording
|
2023-02-26 12:39:41 +01:00 |
|
Joakim Frostegård
|
be0ccb2de2
|
Update README
|
2023-02-26 12:36:12 +01:00 |
|
Joakim Frostegård
|
2abb76d690
|
Update TODO
|
2023-02-26 12:35:37 +01:00 |
|
Joakim Frostegård
|
9d10a7b7b3
|
README: update prometheus section
|
2023-02-26 12:15:15 +01:00 |
|
Joakim Frostegård
|
f1d0901416
|
udp: check statistics.extended config for prometheus
|
2023-02-26 12:10:54 +01:00 |
|
Joakim Frostegård
|
07eac06a36
|
Enable prometheus by default, update README
|
2023-02-26 12:10:12 +01:00 |
|
Joakim Frostegård
|
9e7e56b082
|
udp: prometheus metrics for peers per torrent, add p999
|
2023-02-26 12:07:14 +01:00 |
|
Joakim Frostegård
|
5276a919da
|
udp: add prometheus support
|
2023-02-26 11:57:00 +01:00 |
|
Joakim Frostegård
|
e4b7c8451d
|
Merge pull request #127 from greatest-ape/work-2023-02-25
Use regular instead of amortized index map; ignore request.key in aquatic_http; update dependencies
|
2023-02-25 23:13:48 +01:00 |
|
Joakim Frostegård
|
66ce936a12
|
Update CHANGELOG
|
2023-02-25 23:00:54 +01:00 |
|
Joakim Frostegård
|
1afe45c6f6
|
http: use CompactString in AnnounceRequest, ignore key in tracker
|
2023-02-25 22:51:25 +01:00 |
|
Joakim Frostegård
|
2fa1a046d7
|
Run cargo update
Updating syn v1.0.107 -> v1.0.109
Updating time v0.3.19 -> v0.3.20
Updating time-macros v0.2.7 -> v0.2.8
Updating tokio-stream v0.1.11 -> v0.1.12
|
2023-02-25 22:38:46 +01:00 |
|
Joakim Frostegård
|
b42d55b003
|
Replace indexmap-amortized with plain (ahash) indexmap
|
2023-02-25 22:37:54 +01:00 |
|
Joakim Frostegård
|
beb8c52fe6
|
Update TODO
|
2023-02-25 22:32:34 +01:00 |
|
Joakim Frostegård
|
084067ee74
|
Update README
|
2023-02-25 22:21:56 +01:00 |
|
Joakim Frostegård
|
bdf200019a
|
Merge pull request #124 from greatest-ape/work-2023-02-19
Run cargo update
|
2023-02-19 22:59:34 +01:00 |
|
Joakim Frostegård
|
ba2c32544e
|
Run cargo update
Updating anyhow v1.0.68 -> v1.0.69
Removing bstr v0.2.17
Updating csv v1.1.6 -> v1.2.0
Updating fastrand v1.8.0 -> v1.9.0
Updating gimli v0.27.1 -> v0.27.2
Updating http v0.2.8 -> v0.2.9
Removing itoa v0.4.8
Updating mio v0.8.5 -> v0.8.6
Updating once_cell v1.17.0 -> v1.17.1
Updating proc-macro2 v1.0.50 -> v1.0.51
Removing regex-automata v0.1.10
Updating serde_bytes v0.11.8 -> v0.11.9
Updating serde_json v1.0.91 -> v1.0.93
Updating signal-hook v0.3.14 -> v0.3.15
Updating signal-hook-registry v1.4.0 -> v1.4.1
Updating slab v0.4.7 -> v0.4.8
Updating spin v0.9.4 -> v0.9.5
Updating time v0.3.17 -> v0.3.19
Updating time-macros v0.2.6 -> v0.2.7
|
2023-02-19 22:51:23 +01:00 |
|
Joakim Frostegård
|
b71b3b091c
|
Merge pull request #123 from greatest-ape/work-2023-0219
README: update worker number recommendations
|
2023-02-19 18:18:42 +01:00 |
|
Joakim Frostegård
|
cc503f837b
|
README: update worker number recommendations
|
2023-02-19 18:12:58 +01:00 |
|