aquatic/scripts
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
..
criterion move RUSTFLAGS gen to own file instead of setting in each script 2020-08-12 00:28:03 +02:00
bench-udp-handlers.sh scripts/bench-udp-handlers.sh: use release-debug profile 2022-10-26 20:05:39 +02:00
build-aquatic.sh add scripts/build-aquatic.sh 2020-08-13 00:15:43 +02:00
env-native-cpu-without-avx-512 Fix env-native-cpu-without-avx-512 issue 2022-09-25 12:03:47 +02:00
flamegraph-aquatic-udp-on-linux.sh rename aquatic to aquatic_udp, same for bench and load test crates 2020-05-11 16:55:46 +02:00
gen-tls.sh Update scripts/gen-tls.sh 2022-03-31 12:41:06 +02:00
heaptrack.sh Improve aquatic_ws glommio implementation, fixing memory leak (#37) 2021-12-11 18:50:05 +01:00
run-aquatic-http-private.sh In scripts, explicitly choose what workspace member to build 2022-09-18 18:05:21 +02:00
run-aquatic-http.sh Toggle prometheus feature in scripts/run-aquatic-http.sh 2023-01-18 21:50:10 +01:00
run-aquatic-udp.sh udp: add experimental io_uring implementation (#131) 2023-03-07 19:01:37 +01:00
run-aquatic-ws.sh ws: add prometheus support (active connections, requests, responses) 2023-01-17 20:27:43 +01:00
run-aquatic.sh Switch to thin LTO; add Cargo profile release-debug 2022-04-04 12:32:42 +02:00
run-load-test-http.sh In scripts, explicitly choose what workspace member to build 2022-09-18 18:05:21 +02:00
run-load-test-udp.sh In scripts, explicitly choose what workspace member to build 2022-09-18 18:05:21 +02:00
run-load-test-ws.sh In scripts, explicitly choose what workspace member to build 2022-09-18 18:05:21 +02:00
setup-bench-on-debian.sh setup-bench-on-debian.sh: roll nginx into other apt-get line 2020-06-30 00:04:01 +02:00
test-transfers.sh Add GitHub Docker action for testing UDP and HTTP file transfers 2020-08-17 00:49:12 +02:00
test.sh Don't use target-cpu native etc in scripts/test.sh 2020-08-11 23:04:28 +02:00
watch-threads.sh Improve aquatic_ws glommio implementation, fixing memory leak (#37) 2021-12-11 18:50:05 +01:00