← Back
Home › Systems › Hardware and datacenter

switch-asic

programmable network switch

Tofino, P4

SystemTechniques · 4Primitives · 21 switch-asic Active queue managementnetworking · medium: RED, CoDel and PIE: drop or ECN-mark early to keep switch and router queues shortDatacenter congestion controlnetworking · medium: ECN-based schemes for RDMA and DC TCP: DCQCN, DCTCP, HPCC, plus PFC lossless pitfallsIn network aggregationnetworking · medium: Reduce gradients or data inside switches (SHARP, SwitchML) to cut allreduce trafficMatch action pipelinesnetworking · medium: RMT switch pipelines: parsed headers flow through match-action stages; P4 programming modelFair queuingnetworking · low: Deficit round robin / weighted fair queuing to share capacity among tenants or flowsPacket header parsingnetworking · low: Parse graph state machines for Ethernet, IP, TCP and UDP headers in hardware and softwareLongest prefix matchnetworking · low: IP prefix lookup structures (DIR-24-8, Poptrie, LC-trie) for routes, ACLs and geo-IPTcam ternary matchingnetworking · low: TCAM ternary match tables: priorities, range expansion, power and capacity trade-offsBloom filterdata-structures · low: Bit array answering "definitely not present" or "probably present" in about 10 bits per key for 1 % false positives; inserts are cheap, deletes impossible.›Count-min sketchdata-structures · low: d rows of w counters estimate any item's frequency in a stream, overestimating by at most ε·N with probability 1-δ, in fixed tiny memory.›Cuckoo hashingdata-structures · low: Every key lives in one of two candidate buckets, so lookups read at most two cache lines; inserts evict residents to their alternate bucket.›CRC32C checksumshardware-os · low: The Castagnoli CRC-32 with dedicated instructions on x86 (SSE4.2) and ARMv8. It is the standard fast integrity check for storage blocks, logs and network frames.›Ecmpnetworking · low: Equal-cost multipath: hash flows across next hops; resilient hashing on changesPRNGs (PCG, xoshiro)numerics · low: Small, fast, statistically strong non-cryptographic generators: PCG32 and xoshiro256**, with seeding, parallel streams and unbiased ranges.›Exponential smoothing (ETS, Holt-Wi…statistics · low: Forecast by keeping a few running states (level, trend, seasonal) updated by a fraction of each forecast error; O(1) memory per series and a strong baseline.›Active path probingnetworking · low: Continuous loss/latency/jitter probes per WAN path to drive path selectionCredit based flow controlnetworking · low: Receiver-granted credits/windows bound in-flight data (HTTP/2 windows, AMQP prefetch, backpressure)Rdmanetworking · low: RDMA verbs over InfiniBand/RoCE: queue pairs, memory registration, one-sided opsDeterministic fixed-point mathgame-networking · low: Bit-identical simulation math across CPUs, compilers and builds: integer fixed-point formats, the float traps (FMA, x87, fast-math, libm), deterministic trig, sqrt and RNG.›Collective communicationml-training · low: The family of group exchanges (broadcast, reduce, all-gather, reduce-scatter, all-to-all) and the latency-plus-bytes cost model that picks ring, tree or direct algorithms by message size and topology.›+ 5 more primitives

Similar systems

Share the most building blocks with this one.