# HG changeset patch # User Richard Westhaver # Date 1718590594 14400 # Node ID f3811af6b10dbc52573fc8902f640051d8698600 # Parent 0b69e63c9374c2c6e9b49850c47916fb21c4a900 fix diff -r 0b69e63c9374 -r f3811af6b10d core/lib/io.org --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/lib/io.org Sun Jun 16 22:16:34 2024 -0400 @@ -0,0 +1,24 @@ +#+title: io +#+author: Richard Westhaver +#+description: +#+setupfile: https://cdn.compiler.company/org/clean.theme + +IO library + +first-class backend is IO_URING. everything else defers to whatever is +most portable (on Windows and Mac). The URING system provides low +level bindings to IO_URING. + +We implement a high-level API for IO. The API is meant to be as simple +as possible, while still providing a great deal of control over the +primitive IO queues. + +Speed is the priority. + +- We will probably need a specialized vector class mapping/displaced directly to URING::IOVECs +- io-stream doesn't share or inherit structure from sb-sys:fd-stream +- io-socket doesn't share or inherit structure from sb-bsd-sockets:socket +- prioritizing UDP/datagram/framed sockets over TCP/streamed +- testing: + - use NET/CODEC/TLV:TLV for passing simple messages from SQ->CQ + - use IO-OP-NOP for estimating throughput and comparing implementations (rust/tokio) diff -r 0b69e63c9374 -r f3811af6b10d infra/quickstart.org --- a/infra/quickstart.org Sun Jun 16 01:14:25 2024 -0400 +++ b/infra/quickstart.org Sun Jun 16 22:16:34 2024 -0400 @@ -4,8 +4,6 @@ #+description: Infra Quickstart Guide #+property: header-args :dir /home/ellis/comp/infra/ #+setupfile: ../../clean.theme -The CC =infra= project is the CC software deployment toolkit. - - *Host Requirements* - x86_64 4 core CPU - 8G RAM