Joakim Frostegård
|
9b032f7e24
|
Move all crates to new crates dir
|
2023-10-18 23:53:41 +02:00 |
|
Joakim Frostegård
|
da25d60a5d
|
udp: improve peer client statistics
|
2023-06-08 01:06:19 +02: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
|
5276a919da
|
udp: add prometheus support
|
2023-02-26 11:57:00 +01:00 |
|
Joakim Frostegård
|
4587c267d6
|
udp: rewrite socket worker to use SocketWorker struct
Also, stop checking token number all the time
|
2022-10-25 01:33:35 +02:00 |
|
Joakim Frostegård
|
f0e0a84088
|
udp: add optional peers per torrent statistics
|
2022-08-06 13:56:19 +02:00 |
|
Joakim Frostegård
|
fcf18c845f
|
Reduce ValidUntil size; reduce size of various ws structs
|
2022-08-01 14:15:06 +02:00 |
|
Joakim Frostegård
|
fb2794643d
|
udp, common: rename request workers to swarm workers
|
2022-07-04 11:49:39 +02:00 |
|
Joakim Frostegård
|
8f37459298
|
udp: move ConnectionValidator to workers.socket.validator
|
2022-07-04 08:36:02 +02:00 |
|
Joakim Frostegård
|
cbcb627772
|
udp: reorder initializations in lib.rs
|
2022-04-13 22:32:30 +02:00 |
|
Joakim Frostegård
|
8b70034900
|
udp: use hmac ConnectionValidator in socket workers
|
2022-04-13 22:27:45 +02:00 |
|
Joakim Frostegård
|
dc4523ede5
|
udp: start work on HMAC connection ID generation and validation
|
2022-04-13 21:27:42 +02:00 |
|
Joakim Frostegård
|
3746fa76ec
|
udp: name statistics worker thread "statistics"
|
2022-04-06 19:16:50 +02:00 |
|
Joakim Frostegård
|
b61b136b0c
|
Add PanicSentinelWatcher
Use to determine if SIGTERM was caused by panic in other thread
|
2022-04-06 01:33:19 +02:00 |
|
Joakim Frostegård
|
d0eec05d4c
|
udp: use PanicSentinel
|
2022-04-06 00:42:11 +02:00 |
|
Joakim Frostegård
|
c888017072
|
Improve privilege dropping; run cargo fmt
|
2022-04-05 01:26:40 +02:00 |
|
Joakim Frostegård
|
fb607ac0c2
|
Improve CPU pinning
|
2022-03-30 22:53:15 +02:00 |
|
Joakim Frostegård
|
f5b1cd5525
|
Add command-line option for printing version and commit info
|
2022-03-24 16:17:17 +01:00 |
|
Joakim Frostegård
|
f531a246b0
|
udp: support writing statistics html report to file
|
2021-12-21 23:16:48 +01:00 |
|
Joakim Frostegård
|
2fe57b9f67
|
udp: add config key worker_channel_size to enable bounded channels
|
2021-11-28 21:59:11 +01:00 |
|
Joakim Frostegård
|
aa3253fcd6
|
udp: use idiomatic folder structure (lib.rs + main.rs in src)
|
2021-11-27 18:17:25 +01:00 |
|