Architecting for Performance and Extensibility From Networking to Processors

Loading...
Thumbnail Image

Journal Title

Journal ISSN

Volume Title

Publisher

University of Waterloo

Abstract

Modern large scale services distribute each user request across deep service trees, making end user latency sensitive to the tail latency of individual nodes. Reducing this latency motivates revisiting kernel event facilities that predate modern hardware. Kernel bypass offers an alternative but relies on polling due to limitations in processors’ interrupt delivery. This motivates improving processor extensibility and enabling rapid innovation of processor extensions through software rather than hardware. Meanwhile, the scale of these services demands better performance and density per machine, motivating multisocket systems and a reassessment of conventional assumptions about non-uniform memory access (NUMA) overheads on modern hardware. This thesis argues that the tail latency of large scale services can be attacked across the system stack — introducing schedulable kernel event subsystems, developing software defined processor extensions, and revisiting platform assumptions — rather than optimizing any single layer in isolation. In the kernel layer, schedulable Kqueue (SKQ) is a new scalable design for FreeBSD Kqueue that improves application tail latency and low latency throughput via event scheduling. SKQ offers multiple scheduling policies that improve cache locality and reduce workload imbalance. For processor extensibility, Cobalt enables developers to access low level architectural features with microcode level overhead and implement efficient architectural extensions in higher level languages such as C. We also quantify the effects of NUMA on IO heavy workloads to improve resource utilization on multisocket systems by running our benchmarking system on various architectures. To our surprise, the results indicate that NUMA does not significantly affect network IO latency and throughput on processors with modern and mature interconnects.

Description

Keywords

Citation

Collections

Endorsement

Review

Supplemented By

Referenced By