changeset 32: |
f3811af6b10d |
parent 31: |
0b69e63c9374 |
child 33: |
aefeb7103fb8 |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Sun, 16 Jun 2024 22:16:34 -0400 |
files: |
core/lib/io.org infra/quickstart.org |
description: |
fix |
1.1--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2+++ b/core/lib/io.org Sun Jun 16 22:16:34 2024 -0400
1.3@@ -0,0 +1,24 @@
1.4+#+title: io
1.5+#+author: Richard Westhaver
1.6+#+description:
1.7+#+setupfile: https://cdn.compiler.company/org/clean.theme
1.8+
1.9+IO library
1.10+
1.11+first-class backend is IO_URING. everything else defers to whatever is
1.12+most portable (on Windows and Mac). The URING system provides low
1.13+level bindings to IO_URING.
1.14+
1.15+We implement a high-level API for IO. The API is meant to be as simple
1.16+as possible, while still providing a great deal of control over the
1.17+primitive IO queues.
1.18+
1.19+Speed is the priority.
1.20+
1.21+- We will probably need a specialized vector class mapping/displaced directly to URING::IOVECs
1.22+- io-stream doesn't share or inherit structure from sb-sys:fd-stream
1.23+- io-socket doesn't share or inherit structure from sb-bsd-sockets:socket
1.24+- prioritizing UDP/datagram/framed sockets over TCP/streamed
1.25+- testing:
1.26+ - use NET/CODEC/TLV:TLV for passing simple messages from SQ->CQ
1.27+ - use IO-OP-NOP for estimating throughput and comparing implementations (rust/tokio)
2.1--- a/infra/quickstart.org Sun Jun 16 01:14:25 2024 -0400
2.2+++ b/infra/quickstart.org Sun Jun 16 22:16:34 2024 -0400
2.3@@ -4,8 +4,6 @@
2.4 #+description: Infra Quickstart Guide
2.5 #+property: header-args :dir /home/ellis/comp/infra/
2.6 #+setupfile: ../../clean.theme
2.7-The CC =infra= project is the CC software deployment toolkit.
2.8-
2.9 - *Host Requirements*
2.10 - x86_64 4 core CPU
2.11 - 8G RAM