Manuscript Offprint
arXiv:2610.36436USB Differentiated Service for Networked Cyber-Physical Systems
Anton Njavro
Boston University
Boston, USA
Rafiuddin Syed
Drako Motors
San Jose, USA
rafiuddin.syed@drakomotors.com
Shriram Raja
Boston University
Boston, USA
Zhiyuan Ruan
Boston University
Boston, USA
Richard West
Boston University
Boston, USA
Abstract
Cyber-physical systems are increasingly complex, requiring high throughput, low-latency data processing across multiple cores and compute devices. Additional functional safety challenges dictate the need for high system availability in the presence of failures. Together, these requirements are addressed using a network of compute nodes across which data processing, control and functional safety tasks are distributed. A key challenge is how to address the service requirements of independent data flows, spanning a set of hosts and I/O devices.
In this paper, we show how to develop connectivity between hosts using a custom xDCI gadget driver that uses USB interrupters to differentiate the processing of separate data flows. Our solution is the first to handle both isochronous and bulk communication at USB 3.0 transfer rates, with predictable bus latencies down to the granularity of a 125 microsecond microframe, which is sufficient for many CPS control operations. We present an end-to-end solution that couples the predictable execution of user-level tasks with interrupt processing and data communication, so that multiple virtual connections are able to share a common bus. This work is not only applicable to host networking but also device I/O, which makes it arguably desirable for CPS scenarios requiring short-range communication, such as in vehicle control area networks or robotics.
Keywords: USB, xDCI, Cyber-Physical Systems, Real-Time Networks, I/O
ACM Reference Format:
Anton Njavro, Rafiuddin Syed, Shriram Raja, Zhiyuan Ruan, and Richard West. 2026. USB Differentiated Service for Networked Cyber-Physical Systems. In . ACM, New York, NY, USA, 15 pages. https://doi.org/10.1145/nnnnnnn.nnnnnnn
1 Introduction
Cyber-physical systems (CPS) couple computation to the physical world. Data processing pipelines span from sensors to actuators, and must keep pace with the physical processes under control. Modern CPS workloads push this pipeline beyond a single machine. High-rate sensors demand more processing than one node provides. Functional safety demands availability in the presence of failures, which requires redundant nodes. The result is a network of compute nodes among which sensing, control, and safety tasks are distributed. A sensing-to-actuation pipeline therefore interacts with both I/O devices and other hosts, and it needs low latency, high bandwidth communication at every stage.
Three interconnects dominate I/O and networking in cyber-physical systems. Table 1 summarizes their trade-offs. CAN is ubiquitous in CPS and well studied from a real-time standpoint. Its throughput, however, falls short of modern I/O. Even CAN XL, its fastest variant, is limited to data rates of 10–20 Mbit/s [5]. USB offers high throughput and dominates the I/O domain, but it was not originally designed to support host-to-host networking. Consequently, it has thus far mostly been resigned to consumer electronics. TSN provides real-time networking and is a comparatively recent technology, finding adoption in automotive and embedded systems. However, it is not commonly used for I/O device communication, so task pipelines spanning sensors, host processing nodes and actuators must bridge to other buses.
Recent work [34] showed how to use USB to bridge host networking and device I/O. That work was limited to using USB 2.0 bulk communication without differentiated service support for separate pipes sharing the same bus. This work extends the prior art to include differentiated services, based on multiple USB interrupters, for host-to-host and device-host communication. We build on USB, which already pairs high throughput with broad I/O adoption, and add the peer-to-peer networking it lacks.
Today, host networking and device I/O is split across two fabrics. For example, USB connects devices to a host, while Ethernet or CAN connects hosts to one another. Each fabric brings its own software stack, and traffic that crosses from one to the other must be bridged between them. The split adds cost, wiring, and software complexity. A single bus that serves both roles removes the bridging problem and
Table 1. Common interconnect technologies for cyber-physical systems and their principal trade-offs.
| Interconnect | Pros | Cons | Use case |
|---|---|---|---|
| CAN | Ubiquitous in CPS | Low throughput | Automotive, embedded |
| USB | High bandwidth support | No peer networking support | Consumer I/O |
| TSN | Real-time networking | No I/O support | Automotive, factory automation |
simplifies the stack. USB is the natural candidate, already being the bus of choice for high-rate CPS sensors such as cameras and LiDARs. Its signaling rate has grown to 5 Gbps at SuperSpeed and 40 Gbps in USB 4, comparable to dedicated network fabrics. We target short-range communication, as found in robots and vehicles, where a few meters of cable connect every node.
Two challenges stand in the way. The first is handling asymmetry, resulting from the master-slave nature of USB. A host operates as the bus master, ensuring a device only sends data when it initiates a transfer request. Nothing in this model lets two hosts communicate as peers. The second challenge is guaranteeing differentiated service. A consolidated CPS host carries independent flows with different requirements. For example, a camera stream needs sustained bandwidth, while a control flow needs bounded delay, and a file transfer require lossless communication. Commodity USB stacks funnel the completions of all flows through one path, so the service each flow receives is not ensured.
Prior work addresses these challenges separately. One line of work repurposes the USB Extensible Debug Capability (xDBC) as a host-to-host link [34, 55]. It unifies networking and device I/O on one bus, but it is limited to bulk transfers and offers no differentiated service. A second line of work provides interrupt-based differentiated service for USB device I/O [40]. It serves each flow through its own completion path, but it targets bulk transfers to USB 2 devices, not host-to-host communication. No existing system offers differentiated host-to-host communication over USB 3.x with both isochronous and bulk transfers.
This paper closes that gap. We present a real-time xDCI gadget driver for the Quest RTOS [9] that lets one machine appear to another as a USB device with a configurable number and type of endpoints. Isochronous endpoints carry periodic flows on a reserved schedule. Bulk endpoints carry reliable data at high throughput. On the host side, USB interrupters route each flow's completions to its own I/O VCPU, a bandwidth-preserving server, isolating the flow from everything else on the bus. Ours is the first system to use multiple USB interrupters to support host-to-host communication with both isochronous and bulk transfers at USB 3 rates. Bus latencies are predictable down to the microframe, which is sufficient for many CPS control operations.
This paper makes the following contributions:
-
A real-time xDCI gadget driver that provides host-to-host communication over USB 3.x with a configurable number and type of endpoints, including the frame alignment that isochronous service requires.
-
The integration of interrupter-based flow differentiation with Quest's I/O VCPU scheduling, extending differentiated service from device I/O [40] to communication between hosts.
-
An evaluation showing that isochronous and bulk flows share a bus while maintaining required service.
The rest of the paper is organized as follows. Section 2 motivates the use of USB in the context of a next-generation automotive E/E architecture. This is followed by a primer on USB, the Quest RTOS, and differentiated service. Section 3 presents the design and implementation of the gadget driver. Section 4 evaluates the system, while Section 5 surveys related work, and Section 6 draws conclusions.
Figure 1 shows one such system, the DriveOS [43] electrical/electronic (E/E) vehicle management architecture used by Drako Tech [49]. Here, a single bus type carries both the host-to-host network and the device I/O data. Specifically, the design uses USB for all major bus communication. This common bus solution requires different traffic types to be carefully coordinated, to ensure per-flow service guarantees in terms of throughput and delay. The rest of this section

Figure 1. Example use-case: The Drako DriveOS vehicle management system E/E architecture.
builds up the pieces required to achieve this, beginning with USB itself.
2.1 Universal Serial Bus
The Universal Serial Bus connects peripherals to a host. The host initiates every transfer, and a device sends data only when the host makes a request. This asymmetry is the defining property of USB. It keeps the device simple and places the work of scheduling traffic on the host. A device presents its data through endpoints. An endpoint is a logical stream that moves data in one direction, either to or from the host, and it is the unit at which the bus addresses and reserves bandwidth. Successive versions of the standard have raised the bus's signaling rate, from 12 Mbps in the first release, to 480 Mbps in USB 2.0, 5 Gbps in USB 3.0, 20 Gbps in USB 3.2, and 40 Gbps in USB 4. Its growth is what makes USB the bus of choice for high-rate CPS sensors such as cameras and LiDARs.
Every transfer on the bus belongs to one of four types: (1) Control transfers configure a device, (2) Bulk transfers carry large data reliably, with no timing guarantees, (3) Isochronous transfers handle rate-based data on a reserved schedule and tolerate loss, and (4) Interrupt transfers are for small, latency-bounded messages. Each endpoint is associated with exactly one transfer type. For example, a keyboard uses interrupt, a mass-storage device uses bulk, and a camera uses isochronous. The rest of this paper concerns the two types that carry CPS payloads, notably isochronous and bulk. Control appears only to configure a device, and interrupt transfers play no further part.
Isochronous transfers are the natural carrier for periodic CPS flows. USB divides time on the bus into microframes. The host admits an isochronous endpoint only when it successfully reserves the endpoint's requested bandwidth, for a specific service interval, which is a fixed multiple of the microframe. An isochronous transaction carries no handshake and is never retransmitted. The controller keeps to this schedule and drops what fails, so an error is isolated and the next service instance carries the freshest sample of data. For a real-time stream this makes sense when timely and fresh data is worth more than late information [16, 56]. Any reliability required by an isochronous flow is added in software.
The protocol reserves the interval, but it does not on its own deliver a usable stream. As Section 3.2 shows, an endpoint that starts on the wrong frame is offered its bandwidth and still sends nothing. Realizing an endpoint’s service guarantee is the work of the device driver.
Before any of this traffic can flow, the host must learn what the device offers. Each device describes itself through a hierarchy of descriptors that the host reads during enumeration. They run from the device, through its configurations and interfaces, down to its endpoints. The endpoint descriptor is the one that specifies a flow's service in terms of transfer type, direction, maximum packet size, and service interval. An isochronous endpoint uses the last two fields to establish a flow's transfer rate and latency bound, down to the number of bytes that may be sent in each interval. Our design treats these parameters as a flow's service class.
Most of the protocol logic lives on the host. Figure 2 shows the host stack. A device driver sits at the top and presents one device to the rest of the system. The USB core binds these per-device drivers to the controller logic in the OS. The host controller driver below it operates the controller hardware. At the bottom is the physical host controller, usually reached over PCIe. For USB 3 this controller follows the Extensible Host Controller Interface (xHCI) [23], which defines how the controller and the OS communicate.
Software and the host controller exchange work through a small set of producer-consumer rings in system memory. There are three ring types: (1) a single command ring for host commands, such as enabling a device slot or configuring an endpoint, (2) a transfer ring per active endpoint, which holds the transfers queued for it, and (3) one or more event rings used by the controller to report completion and bus events, which may be raised with interrupts. The unit of work on every ring is the Transfer Request Block (TRB). A transfer descends through three stages before it reaches the wire. First, a device driver submits a USB Request Block (URB) to the core. Second, the host controller driver breaks the URB into one or more Transfer Descriptors (TDs). Third, each TD is enqueued on the endpoint's transfer ring as a chain of TRBs for the controller to execute. The device side reuses this same machinery, and our design builds directly on it, as shown later in Section 3.1.
Commodity operating systems such as Linux and Windows build their USB stacks for breadth and ease of use. They support as many devices as possible, and in doing so they leave the real-time potential of the standard untapped. The result is jittery, unpredictable delivery [40, 55]. With careful co-design between the USB stack and the OS, the bus is able to support predictable I/O. That co-design rests on a real-time foundation, which we describe next.

Figure 2. The USB host-side software stack: per-device class drivers access the host controller via the USB core and xHCI driver.
2.2 The Quest Real-Time Operating System

Figure 3. Interrupt handling in the Quest RTOS.
Quest is a real-time operating system that schedules tasks on sporadic servers [46], and threaded interrupt handlers on simpler priority-aware bandwidth preserving servers, both implemented as Virtual-CPUs (VCPUs) [9]. The two kinds of VCPUs in Quest are: (1) Main VCPUs that have a budget, C, every period, T, and run application and system tasks, and (2) I/O VCPUs that handle device interrupts. The I/O VCPUs simply have a utilization requirement, and are prioritized according to the task issuing the I/O request that led to the interrupt requiring service.
In Quest, as in Linux, interrupt handling is split into top and bottom halves. The top half acknowledges the interrupt and defers the rest of the work to a bottom half. The two systems differ in where the bottom half then runs. Linux runs it as a softirq or kernel thread with no bandwidth budget, so heavy interrupt load can starve other work. Quest instead schedules a bottom half thread on an I/O VCPU, which is a bandwidth-preserving server [29, 44] with utilization factor . When scheduled, the I/O VCPU is dynamically assigned the period of the Main VCPU of the task awaiting I/O.
Figure 3 shows the mechanism. A task on a Main VCPU makes a blocking I/O call, and the kernel programs the device. When the device interrupts, the top half wakes the matching I/O VCPU and sets its period to the smallest period among all Main VCPUs waiting on I/O. Quest uses Rate-Monotonic Scheduling [28], so a smaller period means a higher priority. It then sets the I/O VCPU's budget to , preserving bandwidth over the Main VCPU's period. When the I/O VCPU finishes the bottom-half thread, it blocks and wakes the waiting Main VCPU.
2.3 Differentiated Service

Figure 4. USB Interrupt Handling in Linux: a single interrupter has one event ring for all transfer completions. High priority traffic is potentially delayed by lower priority traffic whose interrupt on completion events are earlier in the ring.
A single USB bus rarely carries only one kind of traffic. On a consolidated CPS host, a camera stream, a bulk file transfer, and a control loop may share one controller. Each requires a different quality of service. The camera needs sustained bandwidth, the control loop needs a tight bound on delay, while the file transfer has no timing requirement but requires lossless communication. There is no guarantee of end-to-end service, combining both bus and host movement of data, when multiple flows share a single transfer completion path. In such cases, a completed transfer raises an interrupt and one handler services the completions of every flow. As a result, a low-priority transfer might be handled ahead of a high-priority one, leading to delay of an important traffic flow. This priority inversion persists even when the handler inherits the highest priority among the tasks awaiting I/O, since one handler cannot serve two priorities at once [40]. Differentiated service is the principle that each flow should instead be served according to its own requirement, isolated from whatever else shares the bus.
Figure 5 illustrates the need for multiple interrupters on a schedule of three tasks, in priority. With a single interrupter, the low-priority flow's bottom half is serviced ahead of the high-priority one, and the resulting inversion makes miss its deadline. Giving each priority its own interrupter removes the inversion and every task meets its deadline.
Earlier work removes the coupling by giving each class its own completion path [40]. USB host controllers expose interrupters, a hardware facility for routing transfer completion events to separate handlers. Interrupters are built on the


Figure 5. Differentiated service eliminates the priority inversion of a single USB interrupter. Both panels run the same arrivals: then each issue a blocking I/O request and becomes ready. (a) Single interrupter: 's bottom half (L) is serviced before 's (H). The inversion delays and misses its deadline ( ). (b) One interrupter per priority: 's bottom half (H) runs first and 's (L) is deferred to slack. No inversion; every task meets its deadline.

Figure 6. USB Interrupt Handling in Quest: Multiple interrupters, coupled with priority-aware bottom-half scheduling allows for differentiated service. Each interrupter is associated with a separate event ring, avoiding priority inversion.
controller’s Message Signaled Interrupt (MSI) capability. A single controller supports as many as 1024 of them, each with its own event ring and bottom-half handler [23]. Each interrupter is paired with its own Quest I/O VCPU (Section 2.2), a priority-inheritance, bandwidth-preserving server, as shown in Figure 6. This pairing charges a flow’s completions to that server alone and isolates it from the rest. The utilization factor is the bandwidth the server reserves for the flow. A larger gives the flow a larger budget each period, and so more throughput. For bulk transfers, a task tunes to the service it needs.
Isochronous traffic cannot be tuned in this way. Its service level is a fixed property of the flow, not a free parameter. A camera fixes its frame rate, and a control loop fixes its period. USB encodes these as a service interval and a number of bytes per interval, set when the endpoint is admitted and unchanged thereafter. A task cannot choose an operating point here. The system must meet the requirement it is given. The framework still works the same way, with each flow on its own server. Its goal changes from tuning throughput and delay to guaranteeing the service level the flow requires. The rest of this paper shows how to provide this guarantee for both isochronous and bulk traffic.
3 Design and Implementation
3.1 xDCI Architecture
Extensible Device Controller Interface (xDCI) is an interface specification for the USB device controllers (UDC) that exposes the programming-model for the UDC to the host OS. While traditionally UDCs were often embedded within the I/O devices such as keyboards, webcams, and flash drives, it was the smartphone market that introduced xDCI controllers more broadly through dual role devices (DRDs) that could act both as a USB host and a device. Such DRD configuration was quickly adopted in the broader SoC market with most of the new Intel SoCs coming equipped with a dedicated xDCI controller. However, having an xDCI controller itself is not a sufficient requisite since the OEM has to explicitly connect and configure the USB-C ports and subsystem to support device mode configuration. Our work is based on Synopsys DesignWare USB3 (DWC3) SuperSpeed Device Controller [48]. In this paper, we specifically focus on Intel's 13th generation Raptor Lake processors that feature DWC3 support. However, certain processors as early as the Intel Atom "Bay trail" family from 2013, right up to forthcoming "Nova Lake" processors may include DWC3 capabilities. The same controller is also found in multiple ARM processors too.
At the architectural level, the DWC3 device controller exposes its functionality through the same family of in-memory data structures introduced for xHCI in the previous section, namely transfer rings built from TRBs, a command ring, and an event ring. This symmetry is deliberate since the device side reuses the host-side transfer abstractions so that buffers

Figure 7. System perspective: the end-to-end data path from a user program on the sending host, through the device-side xDCI gadget driver, across the USB 3 bus, to the host-side driver and the receiving user program.
are still described by TRBs linked into rings. Ownership is still arbitrated by a hardware-owned bit, and a logical transfer is still expressed as a Transfer Descriptor. We therefore focus on the aspects of the programming model that are particular to operating as a device rather than a host.
The first such aspect is endpoint management. The controller provides a preset number of unidirectional physical endpoint resources, and software maps the USB endpoints defined by the device's descriptors onto these physical endpoints during enumeration. Software always operates in terms of physical endpoints, with the controller translating between USB and physical endpoint numbers as packets move in each direction. A USB control endpoint is a notable case, since its bidirectional nature requires two physical endpoints, one for each direction. Configuration, transfer initiation, and teardown are driven by endpoint configuration and start transfer commands, which form the primary control path between the gadget (device) software and hardware.
The second aspect is how the device reports progress back to software. While a host schedules and initiates traffic, a device must respond to a host that owns the bus, so completions and bus events arrive asynchronously and are delivered through the event buffer, a ring in system memory into which the controller writes events before raising an interrupt. Events fall into two categories: endpoint-specific events, which report the progress and completion of transfers on individual endpoints, and device-specific events, which report global conditions such as USB reset, connection, and link state transitions. The latter category has no real counterpart on the host side and is what drives the device's enumeration and power-state handling.
Together, the endpoint command interface and the event buffer specialize the shared TRB-based transfer machinery for device operation, and the same machinery underlies every transfer type. Bulk and interrupt transfers map onto it directly, isochronous transfers add interval-aligned scheduling so that buffers are presented in the microframe the host expects, and control transfers layer the two and three-stage setup, data, and status sequence on top of it.
A device’s control endpoint is the only endpoint active at reset, and enumeration proceeds over it as a series of control transfers. The remaining endpoints do not exist until the host issues a SET_CONFIGURATION request, at which point software responds with the endpoint-configuration commands that map physical endpoints onto the endpoints of the selected configuration. Bulk, interrupt, and isochronous traffic can flow only after this step. The control endpoint thus bootstraps the data plane using the same command and event interface that carries ordinary transfers.
3.2 Device Side xDCI Gadget Driver
We begin with a brief overview of USB SuperSpeed (SS) terminology and transfer dynamics. In USB SS, the host solicits IN data by sending an ACK Transaction Packet (ACK-TP) to the device, to which the device can either reply with its Data Packets (DPs) or with a NRDY signal indicating it does not have the desired data. Once the host receives NRDY, and unlike in the previous versions of USB, the host stops polling the device thereby saving energy and it waits for the device to transmit ERDY signal on its own indicating that its endpoint has the data. Once ERDY is received, the host again sends ACK-TP and this time receives the data. For the case of isochronous endpoints, there are no ERDY/NRDY signals but rather the host explicitly requests the data once every bInterval and if it does not receive it on time, the packet is considered lost.
With this transfer model in place, we turn to the structure of the gadget driver, which corresponds to the device half of Figure 7. We focus throughout on egress, the direction in which the device transmits to the host, which is carried entirely on IN endpoints. The driver exposes several such endpoints, although in our configuration (and without loss of generality) we define two isochronous and two bulk IN endpoints, alongside the bidirectional EP0 control endpoint. Each is a separate physical endpoint, identified by its Device Context Index (DCI), and is backed by its own ring of TRBs in system memory onto which the driver stages outbound payloads. These endpoints do not exist until enumeration, when the host configures them through EP0, a provisioning step we return to at the end of the subsection.
One structural property shapes everything that follows: the device controller reports the completions of all its endpoints through a single shared event ring and interrupter. Unlike the host side, which can steer different flows to separate interrupters (Section 3.3), the xDCI on current SoCs cannot differentiate flows by routing them to distinct interrupt vectors; it differentiates them entirely in software, through the per-class service policy developed in the rest of this subsection. However, there's no fundamental limitation preventing it from implementing MSI-styled interrupters as xHCI does.
On the egress path it is the controller, not the CPU, that places bytes on the wire, so the driver's role is to prepare work in memory and to signal the controller that it is ready. It does so by writing a TRB into the target endpoint's ring and issuing an endpoint command (DEPCMD) that directs the controller to scan that ring. Preparing the TRB must follow a deliberate order: the driver bounds the payload to the endpoint's per-interval budget (bytes per interval) and copies it into a controller-visible DMA buffer, then records the buffer's address and length together with the transfer's control bits in a free ring entry. This is followed by setting the Hardware-Owned (HWO) bit only once the rest of the entry is in place, since it is this bit that surrenders the slot to the controller. The command that follows reflects the state of the transfer. A STARTTRANSFER command initiates a new transfer and returns a resource index that the driver retains for reuse. An already-running transfer is advanced with the lighter UPDATETRANSFER command that simply asks the controller to re-scan the ring. Finally, an ENDTRANSFER command completes the transfer. The remainder of the exchange is handled in hardware, so that at the host's next solicitation the controller streams the armed buffer out of the endpoint's TX FIFO as a burst of Data Packets and clears the slot's HWO bit to mark it complete. The device controller driver reclaims a slot by observing the same bit it previously set.
The driver learns of completion through the device’s single event ring: the controller posts an event and raises its lone interrupter, and the driver services it in a top-half/bottom-half split handler, whose bottom half advances each ring’s consumed position, freeing the entries that bulk transfers wait on and delivering the not-ready signal that starts the next isochronous transfer. How that bottom half is scheduled is deferred to Section 3.4.
The two classes share this datapath and diverge only in how they respond to a full ring, and it is here, rather than in any dedicated mechanism, that the driver expresses each flow’s service class. An isochronous endpoint is rate-based and tolerant of loss, so there is nothing to gain by blocking its producer: a payload that misses its interval is worthless, and the link will not retransmit it. The driver therefore lets isochronous writes shed data by dropping the payload and returning when no ring entry is free, so that the producer moves on to a fresher sample rather than stalling. To keep the controller supplied in spite of this, it carries a small buffered sequence of transfers in the ring; in steady state the producer hands over a batch of distinct payloads that the driver arms under a single doorbell, maintaining a non-empty buffer without re-sending the same sample. Bulk transfers are handled differently. Because their delivery must be lossless, the driver cannot drop data, so a write to a full ring instead waits, yielding the CPU and retrying until an entry is freed. The transfer is kept open so that the ring streams continuously rather than restarting with each payload. Back pressure is thus the point at which the two classes diverge: rate-based flow guards its timeliness by discarding miss-timed transfers, while reliable flow guards its data by waiting until a free buffer slot is available for transmission.

Figure 8. Isochronous Frame Alignment: Aligned (top): the Device Packets (DP) land in the same microframe as the host's polls. Unaligned (bottom): Device transmissions and host polling do not occur in the same microframe, leading to the host receiving Zero-Length Packets (ZLP).
Isochronous transfers also differ from bulk in how they start. A bulk endpoint may begin transmitting as soon as it has data, but an isochronous endpoint cannot start on its own. It begins only when the controller reaches an interval it must service, finds no data armed, and signals the driver to start. The driver responds with a STARTTRANSFER, which must name the frame on which transmission begins. It reads the current frame from the controller's running counter, adds a fixed margin so the command is placed in time, and aligns the result down to the endpoint's service interval. The alignment has no effect at the default 125 s interval, but it is required at every slower rate. Figure 8 contrasts the two cases. With an aligned start, the device’s transmit opportunities depend on the host’s polling rate and each carries a data packet. With an unaligned start, every host poll returns a zero-length packet and the stream never recovers. Aligning the target to the service interval eliminates this and lets a second isochronous flow run at 250 s, 1 ms, or 2 ms. Two failures are handled by retrying a later frame: a target that has already passed, and a stale transfer resource that must first be torn down. A genuine miss is reported as a per-endpoint event, which the driver uses as a direct deadline-miss signal.
3.3 Host Side xDCI Gadget Driver
On the host the same transfer machinery runs in the receive direction, and the gadget's IN endpoints appear to a user program as files it can read. Two drivers are stacked to make this work, both shown in the host half (right-hand side) of Figure 7. The lower one is the xHCI host-controller driver, which owns the controller's transfer and event rings, its doorbells, and its interrupts. The host gadget driver sits above, which presents each of the device's IN endpoints, the two isochronous and two bulk channels, as a file that a program opens and reads. The gadget driver owns the per-channel buffers and the pool of in-flight URBs that keep each channel supplied. Receiving data is therefore split into two halves: a down-path, in which a read arms the host controller with requests for incoming data, and an up-path, in which a completed transfer traverses from an interrupt back up to the reader thread.
A read does not, in steady state, fetch a packet. The first time an isochronous channel is opened, the gadget driver allocates its buffers and submits a pool of receive URBs at once; the host-controller driver turns each URB into a set of transfer-ring TRBs and rings the endpoint's doorbell, so the controller holds many incoming transfers queued before any data arrives. Allocation follows a lazy approach: a channel that no one has opened stays dark, with nothing submitted, so the controller never streams into an endpoint that has no reader. Once the pool is armed, the read does no submission of its own; it only inspects the per-channel buffer that the up-path keeps filled. How the pool re-arms itself, so that the channel stays supplied without a submission on every read, is the subject of the up-path below.
Completions return through the controller’s interrupter. When an incoming transfer finishes, the controller writes a transfer event to an event ring and raises an MSI. The top-half handler acknowledges the interrupter and wakes the bottom-half that will service it, but does no ring work itself. The bottom-half then drains the event ring, matches each event to its outstanding transfer, and runs the completion handler for any transfer that has finished.
The host controller driver assigns each flow to its own interrupter using the TRBs. This ensures the controller posts that flow’s events to a separate event ring, and each interrupter is drained by its own bottom-half thread. Different flows, therefore, make progress in parallel, with each bottom-half inheriting the priority from its originating VCPU user thread. On the device side, there is a single interrupter that funnels every endpoint’s events through one path, and flows are separated only by software policy (Section 3.2).
The completion handler has two responsibilities for each finished transfer: it returns the URB to the controller and it delivers the packet to the reader. The former sustains the stream. Rather than wait for a subsequent read to submit fresh work, the handler resubmits the completed URB immediately, requesting that the controller schedule it in the next available frame, so that it rejoins the tail of the in-flight pool. Submitted once at startup, the pool is thereafter self-sustaining: it replenishes itself one URB at a time and remains full without any submission on the read path.
The real-time behavior of this loop is a consequence of the pool’s depth. Each completed URB must be resubmitted before the remaining URBs are drained, otherwise the controller exhausts its armed intervals. For example, by supporting a pool of 64 URBs, each with a 125 s service interval, it would take 8 ms before the buffer was completely drained. The bottom-half thread may therefore be scheduled many service intervals later, without the stream missing one; only a starvation that outlasts the entire pool forfeits an interval. Per-packet timeliness is thus decoupled from the latency of any individual wake-up, allowing a real-time-scheduled host to keep a high-rate isochronous stream armed.
The buffer between the completion handler and the reader is not a queue but a latest-only double-buffer. The handler, as the sole producer, writes each received packet into the buffer's inactive slot, issues a memory fence, and then publishes the packet by flipping an index to that slot and incrementing a generation counter. The reader, as the sole consumer, busy-polls: when the generation counter has advanced since its last read it copies from the published slot, otherwise it returns immediately, so that it observes each deposit at the finest granularity its schedule allows. A single writer and reader are coordinated only by the generation counter and the fence, rendering the path entirely lock-free.
Because the buffer retains only the most recent packet, it is lossy by design. A packet is overwritten the moment the handler publishes a newer one, and data is lost if the reader fails to complete the copying of a prior packet before the next one arrives. Loss therefore reflects the reader's lateness rather than any error on the link, and a reader that polls faster than the deposit rate observes every packet. This latest-only buffering of data trades completeness for latency. It guarantees that the reader always obtains the freshest sample with no queueing delay, and it keeps the receive path lock-free, at the cost of dropping bursts that the reader cannot service in time. For a timing measurement, in which the freshest sample is precisely the quantity of interest and a missed interval is a clean, countable gap, this is the appropriate design; a workload requiring lossless delivery would instead adopt a deeper FIFO and accept the resulting latency and staleness. Two slots are the minimum that afford the reader a stable region to read from, and a third would be required to eliminate a residual torn-read window; the choice of two is therefore a deliberate preference for latency over completeness.
3.4 Integration with the Quest I/O-VCPU Scheduling Framework
Differentiated service is realized when each flow is given its own scheduling reservation. Quest provides two reservation types, introduced in Section 2.2: a Main VCPU, which grants an application thread a fixed budget every period, and an I/O VCPU, which provides a service reservation for interrupt handling based on the task that generated the I/O request.
On the host, a flow is carried by one of each reservation type. The reader thread runs on a Main VCPU, and the bottom half that drains that flow's completions runs on a dedicated I/O VCPU. The two are bound together along the path described in Section 3.3: the reader tags its endpoint with an I/O VCPU class, the class selects the interrupter to which the controller posts the flow's completions, and that interrupter is drained by a bottom half bound to the matching I/O VCPU. Each flow therefore has a completion path of its own, scheduled under a budget of its own.
What turns these reservations into a service guarantee is the choice of their budget and period, and both follow from the flow’s latency requirement. That requirement is the endpoint’s service interval: a flow serviced every 125 s must have its completions observed at that cadence, whereas one serviced every 2 ms may be observed far less often. The period is chosen to oversample its service interval, so that no deposit is overwritten before the reader copies it, and its bottom half’s I/O VCPU inherits the period of the most urgent reader on its interrupter, by the rule of Section 2.2, so the kernel work runs as urgently as the most demanding flow it serves. The budget, in turn, is sized to the work each period performs: either a copy out of the double-buffer for the reader, or a drain of the event ring for the bottom half. The period thus captures the flow’s latency requirement and the budget is set large enough to cover the processing cost. Smaller periods and larger budgets translate directly into larger CPU reservations.
These reservations are not granted unconditionally. Quest admits each against a per-core utilization bound that tightens as the number of reservations on the core grows, and a set that would exceed the bound is rejected rather than silently overcommitted [9]. Admission is what makes the budgets a guarantee: once a flow’s reader and bottom half are admitted, each receives its budget every period regardless of the other flows on the core, and the bandwidth-preserving discipline of the I/O VCPU keeps a busy interrupter from claiming more than its reserved share. The bound also constrains how the parameters may be tuned. A flow’s budget cannot be cut without starving the copy it must perform, so additional flows are accommodated by lengthening periods rather than by shrinking budgets, and a tighter latency requirement is correspondingly a heavier admission cost.
The device side mirrors this arrangement only halfway. Producer threads are assigned to Main VCPUs, to ensure that transfer rates are maintained correctly, but interrupt processing is not separated across different I/O VCPUs as there is only one interrupter for the entire device controller.
4 Evaluation
4.1 Experimental Setup
We evaluate the system on a two-machine testbed. Each machine is a SuperMicro X13SRN-H industrial board built around an Intel 13th-generation Raptor Lake SoC, whose integrated DWC3 controller provides the SuperSpeed xDCI device interface that our gadget driver targets. The two boards are identical: one acts as the device, presenting itself through the xDCI gadget driver, and the other as the host, driving the link through its xHCI host controller. Both run the Quest real-time operating system. We pin every real-time flow on each machine to a single CPU core, which removes cross-core interference and the latency it introduces. The two machines are connected by a SuperSpeed USB-C to USB-A cable.
4.2 Throughput Measurements
We begin by establishing the maximum sustainable link throughput, since this figure bounds every workload the system carries. The relevant ceiling concerns isochronous endpoints, as they are granted a fixed budget of data in each multiple of the 125 s microframe service interval. Consequently, the achievable throughput is set by how much data that budget admits. We therefore measure achieved throughput as a function of the endpoint's burst configuration, the parameter that determines the per-interval budget.
We run five configurations, summarized in Table 2. In each, the device transmits 1024-byte packets on a single isochronous endpoint serviced once per interval, and we vary only the burst size. The packet-size is based on the size limits of USB 3.x. SuperSpeed transactions group up to bMaxBurst+1 packets into one burst, and with the burst multiplier held at zero each interval carries a single such burst, which corresponds to the endpoint's entire per-interval allowance. The five scenarios raise bMaxBurst from 0 to 15, which doubles the packets delivered per interval from one to sixteen and, with them, the theoretical throughput from 65.5 Mbps to 1048.6 Mbps. Each configuration runs for 180 s, which is more than enough to ascertain throughput in steady state conditions.
Across all five configurations the measured throughput lands within one to two percent of the theoretical maximum, as the Achieved column of Table 2 shows: from 99.2% at the smallest burst to 98.4% at the largest, where the link
Table 2. Isochronous throughput by burst configuration. For each scenario the table lists the configuration parameters, the theoretical maximum throughput, and the throughput measured over a 180 s run (average, minimum, and maximum), together with the achieved fraction of the theoretical maximum. All throughputs are in Mbps.
| Scenario | bMaxBurst | Pkts/Burst | Mult | bInterval | Pkts/Interval | Theoretical | Measured Avg | Min | Max | Achieved (%) |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0 | 1 | 0 | 1 | 1 | 65.536 | 65.0 | 65 | 65 | 99.2 |
| 2 | 1 | 2 | 0 | 1 | 2 | 131.072 | 131.0 | 131 | 131 | 99.9 |
| 3 | 3 | 4 | 0 | 1 | 4 | 262.144 | 260.3 | 259 | 261 | 99.3 |
| 4 | 7 | 8 | 0 | 1 | 8 | 524.288 | 518.4 | 517 | 520 | 98.9 |
| 5 | 15 | 16 | 0 | 1 | 16 | 1048.576 | 1032.1 | 1027 | 1035 | 98.4 |
Table 3. Experimental VCPU parameters for different flow specifications.
| VCPU Type | Budget (μs) | Period (μs) | CPU Utilization | Endpoint Type | bInterval |
|---|---|---|---|---|---|
| Main | 17 | 62 | 0.274 | Isochronous (ch0) | 1 (125 μs) |
| Main | 17 | 1000 | 0.017 | Isochronous (ch1) | 16 (2000 μs) |
| Main | 30 | 1000 | 0.030 | Bulk (ch0) | - |
| Main | 30 | 2000 | 0.015 | Bulk (ch1) | - |
| I/O | - | - | 0.070 | Isochronous (ch0/1) | - |
| I/O | - | - | 0.080 | Bulk (ch0) | - |
| I/O | - | - | 0.070 | Bulk (ch1) | - |
sustains 1032 Mbps against a 1048.6 Mbps ceiling. The system therefore reaches at least 98% of the theoretical limit at every operating point, and saturates the isochronous schedule at roughly one gigabit per second. The throughput is also stable within each run: the per-second minimum and maximum differ by at most eight megabits per second.
4.3 Latency Measurements
Sustained throughput does not by itself establish that a flow meets its timing requirements, which for an isochronous stream is the binding constraint. We therefore measure the per-packet interarrival latency of the isochronous flows while they share a core with lower-priority bulk traffic. Each isochronous reader runs on a Quest Main VCPU, whose period is set to half the endpoint's service interval. This ensures the reader samples the flow at twice its arrival rate and the latest-only double-buffer of Section 3.3 never drops a packet between reads. We run two isochronous flows of different periods, one serviced every and one every 2 ms, in each case alongside bulk traffic competing for the same core.
The VCPU parameters for all subsequent Quest experiments are shown in Table 3, along with their corresponding flow specifications. Main VCPU budgets were established from measured latencies to process packet data. I/O VCPUs had dynamically calculated budgets and periods based on their specified utilization and the Main VCPU they served. These utilizations were sufficient to successfully support interrupt bottom half processing for the respective flow.
Both isochronous flows sustain their timing requirements. Figure 9 shows the flow sharing its core with two bulk streams: its interarrival latency stays in a tight band at the interval while the bulk flows scatter across a far wider range. Figure 10 shows the 2 ms flow alongside a bulk flow, each routed through its own interrupter, and here both run steadily, the isochronous flow at its 2 ms interval and the bulk flow at its own cadence; with sixteen times the slack of the case, the 2 ms flow meets its constraint with even greater margin. The isochronous flow maintains a tight interarrival latency because differentiated service places its completion processing at the right priority: its bottom half runs on a dedicated I/O VCPU (Section 3.4) whose period tracks the flow's interval, so the kernel work that delivers each packet is scheduled at the correct rate relative to competing bulk traffic, avoiding priority inversion.
The value of differentiated service is clearest when it is taken away. Figure 11 repeats this experiment with the same 2 ms isochronous flow and bulk flow, but routes both through a single shared interrupter, so one bottom half now drains the completions of both. The isochronous flow no longer holds a clean band: its interarrival time is punctuated by periodic bursts of jitter, each driven by contention from the bulk traffic that now shares its completion path, while the bulk flow itself spreads across a wide range. Assigning each flow its own interrupter, as in Figure 10, is what removes these perturbations and lets the isochronous flow maintain its precise inter-arrival time.
To place these results in context, we ran the same workload over a Linux-to-Linux link as a reference. Commodity Linux currently supports only the single-interrupter configuration: its stack offers no facility for routing separate flows to separate completion paths, so the differentiated arrangement of Figure 10 cannot be reproduced without modifying the I/O management subsystem. Figure 12 reports the Linux result for the same 2 ms isochronous flow and bulk flow sharing
Interarrival latency over time

Figure 9. Per-packet interarrival latency (IAT) for a 125 s isochronous flow sharing a core with two bulk flows. The isochronous flow holds tightly at its 125 s interval while the bulk flow shows significant jitter.

Figure 10. Per-packet IAT for a bInterval 2 ms isochronous flow and a bulk flow with each stream assigned its own interrupter. The isochronous flow accurately maintains its IAT while sharing the core with bulk traffic.

Figure 11. The same flows as Figure 10, but with the isochronous and bulk streams sharing a single interrupter. Without differentiated service the isochronous flow’s interarrival time shows periodic perturbations driven by the bulk traffic on the shared completion path.
one interrupter. The isochronous flow holds its 2 ms band for most of the run but is broken by sporadic outliers spanning more than two orders of magnitude, while the bulk flow experiences high latency variability about its mean. Lacking any means of isolating the isochronous completions from the bulk traffic, Linux is unable to ensure tight temporal processing of isochronous traffic. There is no equivalent capability to the per-flow differentiation that produces the uninterrupted isochronous timing of Figure 10.

Figure 12. Linux-to-Linux reference: per-packet IAT for a 2 ms isochronous flow and a bulk flow sharing a single interrupter, the only configuration Linux supports.
4.4 Dynamic Switching of Isochronous Flows
A real deployment does not run a fixed set of flows for its entire lifetime. In a vehicle, the rate a safety-critical flow requires depends on the driving situation. A perception sensor such as a camera, LiDAR, or radar may stream at a modest rate while the vehicle cruises on an open road, and then needs a much higher rate when an obstacle appears or the vehicle enters a complex urban scene, where the control loop must react on a tighter cycle. The bus must accommodate this change at runtime, raising the flow’s rate without disturbing its timing. This experiment shows that our driver supports such a transition: an isochronous flow is switchable from one service interval to another, mid-stream, while preserving the timing properties of the active flow.
Figure 13 reports a single isochronous channel whose service interval is changed during the experimental run, while in the presence of the two bulk traffic flows as previously established using the VCPU parameters in Table 3. We begin with a 2 ms interval for the isochronous flow, and partway through the stream switch to a 125 s interval. The measured inter-arrival time tracks the change cleanly: it holds a tight band at 2 ms before the switch, and at 125 s after it, with no loss of timing on either side of the transition. The flow therefore retains its isochronous timing across a sixteen-fold change in rate, which is what a runtime sensor reconfiguration requires.

Figure 13. Switching an isochronous flow from a 2 ms service interval (isoc1) to a 125 s interval (isoc0) maintains expected IAT.
5 Related Work
Differentiated service in packet networks. Packet networks have offered differentiated service for decades. DiffServ marks each IP packet with a class for per-hop forwarding [4, 33], and IEEE 802.1Q VLAN tags carry a three-bit priority code point mapping to as many as eight traffic classes [21]. Differentiation also reaches inside the sending host, where window-constrained schedulers bound each stream's losses over a window of deadlines [16, 56]. These mechanisms classify, shape, or order traffic, but none governs the completion and interrupt work a flow generates at the receiving host, nor extends to the peripheral bus that carries the data its last few meters. A three-bit tag is also coarse: every flow shares eight classes. The xHCI architecture this paper builds on provisions as many as 1024 interrupters per controller [23], enough to give each flow its own completion path rather than a place in one of eight queues (Section 2.3).
Real-time buses. Buses built for control traffic guarantee timing through dedicated arbitration or time slots. CAN arbitrates by fixed message priority [24], with well-studied schedulability [10]. CAN FD raises the data rate but keeps CAN's arbitration model [17], and FlexRay assigns static TDMA slots alongside a dynamic segment [13]. TSN brings these disciplines to switched Ethernet through credit-based and time-aware shaping over synchronized clocks [20–22, 41], whose gate scheduling is an active research area [8]. All of these fabrics require dedicated wiring or TSN-capable switches, and neither CAN FD nor FlexRay exceeds 10 Mbit/s, whereas USB offers Gbps rates and reserved-bandwidth isochronous transfers on ports that ship with every commodity board. Njavro et al. compare USB against TSN for combined networking and device I/O, finding USB paths achieve better average and worst-case end-to-end latency even when TSN is granted large transfer windows [34]. Results show that USB is able to achieve more than four times lower worst-case end-to-end latency compared to the best TSN case for 512-byte payloads under Quest [34], when bridging networking and peripheral device buses. That study establishes USB as a viable CPS fabric but treats the bus as one undifferentiated pipe; this paper supplies the per-flow service guarantees it leaves open.
Host-to-host communication over peripheral links. Peripheral interconnects have been used as host-to-host links before. The USB communications device class carries Ethernet frames over a device port [53], and Linux implements it on both the host and device sides. Linux's device side supports several industry-standard gadget drivers that emulate different Ethernet communication models over USB, including Ethernet Control Model (ECM), Ethernet Emulation Model (EEM), Network Control Model (NCM) and Microsoft's Remote Network Driver Interface Specification (RNDIS) [7]. Thunderbolt and USB4 define native host-to-host packets that Linux exposes as a network interface [51, 54]. PCIe non-transparent bridges connect two PCIe hierarchies through shared memory windows [50]. West et al. repurpose the xHCI debug capability (xDBC) as a full-duplex link between two USB 3.0 hosts at up to 5 Gbps [55]. Each of these designs carries a single best-effort stream. None offers isochronous service, and none distinguishes the flows sharing the link. The xDCI gadget in this paper exposes every USB transfer type, so one cable carries multiple flows, each under its own service class.
Quality of service for USB.. Huang et al. retrofit QoS onto USB 1.1 and 2.0 by modifying endpoint descriptors and scheduling transaction submission in the host controller driver [18, 19]. Later work gives USB transfers temporal isolation on the host side of the bus. Missimer et al. bound transaction delays in a real-time USB 2.0 (EHCI) host controller driver [30]. Tuned Pipes compose end-to-end pipelines with throughput and delay guarantees for USB 3.x devices [15], but offer no form of interrupt-processing differentiation on the end-hosts. Ruan et al. use xHCI interrupters to give each device flow its own completion path with a per-flow budget [40]. That work differentiates host-side device I/O for bulk transfers involving USB 2 devices. This paper extends interrupter-based differentiation across hosts through a device-side xDCI gadget, and covers isochronous and bulk flows at USB 3 rates. Mainline Linux has also adopted multiple interrupters. Intel added multi-interrupter support to Linux's xHCI driver so that the completion events of off-loaded audio endpoints post to a secondary event ring that an audio DSP polls, letting the CPU sleep during playback [6, 35]. The mechanism is shared with our approach, but the goal differs. Offloading removes the host CPU from the completion path to save power, dedicating one extra interrupter to a single device class, and providing no bandwidth or delay guarantees. The system described here keeps the CPU in the path and disciplines it, with a budgeted completion path for every flow under RTOS control.
Bandwidth-preserving scheduling. A bandwidth-preserving server couples execution to a budget that replenishes over a period. Whatever it runs cannot consume more than its reserved share of the processor, no matter how much work arrives. The Deferrable Server and the Sporadic Server established bandwidth preservation under fixed priorities [3, 44, 47]. Similarly, a family of dynamic-priority variants culminated in the Constant Bandwidth Server [1, 11, 14, 45], and the POSIX realization of the Sporadic Server [46]. Processor capacity reserves made the reservation a kernel abstraction in RT-Mach [29], and resource kernels generalized it beyond the CPU [37].
Later systems carried the budget into commodity settings, to account for resource usage in servers [2], to compose schedulers [38, 42], and to protect interactive applications [57]. Mainline Linux absorbed the idea, as CBS in SCHED_DEADLINE [25] and as cgroup bandwidth limits [52]. All of these approaches meter tasks. None of them meter interrupt handling. PREEMPT_RT makes interrupt handlers schedulable threads [39], but a handler thread has no budget, so a heavy interrupt load can starve lower-priority work for as long as the load persists. Quest closes that gap on the host. Main VCPUs run tasks under Sporadic Servers, and I/O VCPUs run interrupt bottom halves under PIBS, a priority-inheritance bandwidth-preserving server [9]. This approach has been extended to mixed-criticality I/O scheduling [31]. Binding each I/O VCPU to a separate interrupter enables an interrupt processing reservation for a single device flow, rather than one reservation for all flows [40]. This paper extends that binding to flows that cross the bus between hosts as well as peripheral devices, for both bulk and isochronous endpoints.
Early interrupt demultiplexing. An interrupt on a shared completion path does not identify the flow it serves; software learns that only by inspecting completion state after the interrupt has claimed the CPU, so attribution consumes processor cycles outside the flow's budget. A saturated host can be consumed by packet interrupts, without ever finishing other work, leading to receive livelock [32]. Lazy Receiver Processing demultiplexes packets early and charges protocol processing to the receiving process [12]. This restores accounting but not isolation. Demultiplexing still preempts whatever task holds the CPU. Zhang and West account deferred interrupt work at the priority of the process awaiting the data [58]. Parmer and West make interrupt execution schedulable end to end in Composite [36]. Leyva-del-Foyo et al. unify interrupt and task scheduling under one priority space, though priorities are fixed per source and unmetered [27], while Lewandowski et al. characterize a network driver's CPU demand to account for its interference [26]. In each of these works, the classification step is performed by software. USB interrupters move this into the host controller. Completions arrive pre-sorted by flow, each on its own event ring, drained by a corresponding I/O VCPU. This paper couples that hardware demultiplexing with bandwidth-preserving servers at both ends of the bus.
6 Conclusion and Future Work
This paper introduces a unified USB communication approach, supporting host-to-host and host-device communication. The work specifically addresses the use of an xDCI gadget driver for USB 3.x communication with configurable numbers of endpoints and types, including bulk and isochronous pipes. These are associated with separate interrupters, which are tied to time-budgeted bottom half threads in Quest. These bottom halves are scheduled according to the interrupter associated with the transfer completion, and they execute on schedulable I/O VCPUs that have a guaranteed budget and replenishment period. This ensures interrupts are correctly prioritized, with their handlers guaranteed a processor capacity reserve according to rate-monotonic scheduling theory.
Quest is the first system to combine time-budgeted task and interrupt processing with communication over USB, supporting differentiated service across USB 3.x links. Future work will investigate more complex bus topologies using combinations of xDCI, xHCI and xDBC endpoints. USB has the potential to be a replacement control area networking bus for distributed embedded systems found on emerging robotics and automotive platforms.
References
[1] Luca Abeni and Giorgio Buttazzo. 1998. Integrating Multimedia Applications in Hard Real-Time Systems. In Proceedings of the 19th IEEE Real-Time Systems Symposium (RTSS). 4–13.
[2] Gaurav Banga, Peter Druschel, and Jeffrey C. Mogul. 1999. Resource Containers: A New Facility for Resource Management in Server Systems. In Proceedings of the 3rd USENIX Symposium on Operating Systems Design and Implementation (OSDI). 45–58.
[3] Guillem Bernat and Alan Burns. 1999. New Results on Fixed Priority Aperiodic Servers. In Proceedings of the 20th IEEE Real-Time Systems Symposium (RTSS). 68–78.
[4] Steven Blake, David Black, Mark Carlson, Elwyn Davies, Zheng Wang, and Walter Weiss. 1998. An Architecture for Differentiated Services. RFC 2475, IETF.
[5] CAN in Automation (CiA). 2024. CAN XL (Extended Data-Field Length). https://www.can-cia.org/can-knowledge/can-xl.
[6] Wesley Cheng. 2025. Introduce QC USB SND Audio Offloading Support. Linux kernel patch series, merged in Linux 6.16. https://lore.kernel.org/all/20240213005422.3121-1-quic_wcheng@quicinc.com/
[7] Microsoft Corporation. 2014. [MS-RNDIS]: Remote Network Driver Interface Specification (RNDIS) Protocol.
[8] Silviu S. Craciunas, Ramon Serna Oliver, Martin Chmelik, and Wilfried Steiner. 2016. Scheduling Real-Time Communication in IEEE 802.1Qbv Time Sensitive Networks. In Proceedings of the 24th International Conference on Real-Time Networks and Systems (RTNS). 183–192. doi:10.1145/2997465.2997470
[9] Matthew Danish, Ye Li, and Richard West. 2011. Virtual-CPU Scheduling in the Quest Operating System. In 2011 17th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS '11). IEEE, USA, 169–179. doi:10.1109/RTAS.2011.24
[10] Robert I. Davis, Alan Burns, Reinder J. Bril, and Johan J. Lukkien. 2007. Controller Area Network (CAN) Schedulability Analysis: Refuted, Revisited and Revised. Real-Time Systems 35, 3 (2007), 239–272. doi:10.1007/s11241-007-9012-7
[11] Zhong Deng, Jane W.-S. Liu, and Jun Sun. 1997. A Scheme for Scheduling Hard Real-Time Applications in Open System Environment. In Proceedings of the 9th Euromicro Workshop on Real-Time Systems. 191–199.
[12] Peter Druschel and Gaurav Banga. 1996. Lazy Receiver Processing (LRP): A Network Subsystem Architecture for Server Systems. In Proceedings of the 2nd USENIX Symposium on Operating Systems Design and Implementation (OSDI). 261–275.
[13] FlexRay Consortium. 2010. FlexRay Communications System Protocol Specification, Version 3.0.1.
[14] T. M. Ghazalie and Theodore P. Baker. 1995. Aperiodic Servers in a Deadline Scheduling Environment. Real-Time Systems 9, 1 (1995), 31–67. doi:10.1007/BF01094172
[15] Ahmad Golchin, Zhuoqun Cheng, and Richard West. 2018. Tuned Pipes: End-to-End Throughput and Delay Guarantees for USB Devices. In Proceedings of the 39th IEEE Real-Time Systems Symposium (RTSS). 196–207. doi:10.1109/RTSS.2018.00037
[16] Moncef Hamdaoui and Parameswaran Ramanathan. 1995. A Dynamic Priority Assignment Technique for Streams with (m,k)-Firm Deadlines. IEEE Trans. Comput. 44, 12 (1995), 1443–1451. doi:10.1109/12.477249
[17] Florian Hartwich. 2012. CAN with Flexible Data-Rate. In Proceedings of the 13th International CAN Conference (iCC). Hambach Castle, Germany.
[18] Chih-Yuan Huang, Li-Pin Chang, and Tei-Wei Kuo. 2003. A Cyclic-Executive-Based QoS Guarantee over USB. In Proceedings of the 9th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS). 88–95. doi:10.1109/RTTAS.2003.1203040
[19] Chih-Yuan Huang, Tei-Wei Kuo, and Ai-Chun Pang. 2004. QoS Support for USB 2.0 Periodic and Sporadic Device Requests. In Proceedings of the 25th IEEE International Real-Time Systems Symposium (RTSS). 395–404. doi:10.1109/REAL.2004.45
[20] IEEE. 2016. IEEE Standard for Local and Metropolitan Area Networks – Bridges and Bridged Networks – Amendment 25: Enhancements for Scheduled Traffic. IEEE Std 802.1Qbv-2015. doi:10.1109/IEEESTD.2016.8613095
[21] IEEE. 2018. IEEE Standard for Local and Metropolitan Area Network-Bridges and Bridged Networks. IEEE Std 802.1Q-2018 (Revision of IEEE Std 802.1Q-2014). doi:10.1109/IEEESTD.2018.8403927
[22] IEEE. 2020. IEEE Standard for Local and Metropolitan Area Networks – Timing and Synchronization for Time-Sensitive Applications. IEEE Std 802.1AS-2020 (Revision of IEEE Std 802.1AS-2011). doi:10.1109/IEEESTD.2020.9121845
[23] Intel Corporation. 2019. eXtensible Host Controller Interface for Universal Serial Bus (xHCI) Requirements Specification (revision 1.2 ed.). Intel Corporation.
[24] International Organization for Standardization. 2015. Road Vehicles – Controller Area Network (CAN) – Part 1: Data Link Layer and Physical Signalling. ISO 11898-1:2015.
[25] Juri Lelli, Claudio Scordino, Luca Abeni, and Dario Faggioli. 2016. Deadline Scheduling in the Linux Kernel. Software: Practice and Experience 46, 6 (2016), 821–839. doi:10.1002/spe.2335
[26] Mark Lewandowski, Mark J. Stanovich, Theodore P. Baker, Kartik Gopalan, and An-I A. Wang. 2007. Modeling Device Driver Effects in Real-Time Schedulability Analysis: Study of a Network Driver. In Proceedings of the 13th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS).
[27] Luis E. Leyva-del Foyo, Pedro Mejia-Alvarez, and Dionisio de Niz. 2006. Predictable Interrupt Management for Real Time Kernels over Conventional PC Hardware. In Proceedings of the 12th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS).
[28] Chung L. Liu and James W. Layland. 1973. Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment. J. ACM 20, 1 (Jan 1973), 46–61. doi:10.1145/321738.321743
[29] Clifford W. Mercer, Stefan Savage, and Hideyuki Tokuda. 1994. Processor Capacity Reserves: Operating System Support for Multimedia Applications. In Proceedings of the IEEE International Conference on Multimedia Computing and Systems (ICMCS). 90–99. doi:10.1109/MMCS.1994.292439
[30] Eric Missimer, Ye Li, and Richard West. 2013. Real-Time USB Communication in the Quest Operating System. In Proceedings of the 19th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS). 11–20. doi:10.1109/RTAS.2013.6531075
[31] Eric Missimer, Katherine Missimer, and Richard West. 2016. Mixed-Criticality Scheduling with I/O. In 2016 28th Euromicro Conference on Real-Time Systems (ECRTS). 120–130. doi:10.1109/ECRTS.2016.13
[32] Jeffrey C. Mogul and K. K. Ramakrishnan. 1997. Eliminating Receive Livelock in an Interrupt-Driven Kernel. ACM Transactions on Computer Systems 15, 3 (1997), 217–252.
[33] Kathleen Nichols, Steven Blake, Fred Baker, and David Black. 1998. Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers. RFC 2474, IETF.
[34] Anton Njavro, Zhiyuan Ruan, and Richard West. 2025. Real-Time Bridging of I/O and Network Buses in Cyber-Physical Systems. In Proceedings of the 33rd International Conference on Real-Time Networks and Systems, RTNS 2025, Pisa, Italy, November 5-7, 2025. Springer. https://www.cs.bu.edu/~richwest/papers/usb_vs_tsn-rtns25.pdf
[35] Mathias Nyman. 2023. xhci: Refactor Interrupter Code for Initial Multi Interrupter Support. Linux kernel patch series. https://patchwork.kernel.org/project/linux-usb/patch/20230202150505.618915-4-mathias.nyman@linux.intel.com/
[36] Gabriel Parmer and Richard West. 2008. Predictable Interrupt Management and Scheduling in the Composite Component-Based System. In Proceedings of the 29th IEEE Real-Time Systems Symposium (RTSS).
[37] Ragunathan Rajkumar, Kanaka Juvva, Anastasio Molano, and Shuichi Oikawa. 1998. Resource Kernels: A Resource-Centric Approach to Real-Time and Multimedia Systems. In Proceedings of the SPIE/ACM Conference on Multimedia Computing and Networking (MMCN).
[38] John Regehr and John A. Stankovic. 2001. HLS: A Framework for Composing Soft Real-Time Schedulers. In Proceedings of the 22nd IEEE Real-Time Systems Symposium (RTSS). 3–14.
[39] Federico Reghenzani, Giuseppe Massari, and William Fornaciari. 2019. The Real-Time Linux Kernel: A Survey on PREEMPT_RT. Comput. Surveys 52, 1 (2019). doi:10.1145/3297714
[40] Zhiyuan Ruan, Anton Njavro, and Richard West. 2024. USB Interrupt Differentiated Service for Bandwidth and Delay-Constrained Input/Output. In 2024 IEEE 30th Real-Time and Embedded Technology and Applications Symposium (RTAS). IEEE, USA, 42–54. doi:10.1109/RTAS61025.2024.00012
[41] Youhwan Seol, Doyeon Hyeon, Junhong Min, Moonbeom Kim, and Jeongyeup Paek. 2021. Timely Survey of Time-Sensitive Networking: Past and Future Directions. IEEE Access 9 (2021), 142506–142527. doi:10.1109/ACCESS.2021.3120769
[42] Insik Shin and Insup Lee. 2003. Periodic Resource Model for Compositional Real-Time Guarantees. In Proceedings of the 24th IEEE Real-Time Systems Symposium (RTSS). 2–13.
[43] Soham Sinha and Richard West. 2021. Towards an Integrated Vehicle Management System in DriveOS. ACM Trans. Embed. Comput. Syst. 20, 5s, Article 82 (Sept. 2021), 24 pages. doi:10.1145/3477013
[44] Brinkley Sprunt, Lui Sha, and John Lehoczky. 1989. Aperiodic Task Scheduling for Hard Real-Time Systems. Real-Time Systems 1, 1 (1989), 27–60.
[45] Marco Spuri and Giorgio Buttazzo. 1994. Efficient Aperiodic Service under Earliest Deadline Scheduling. In Proceedings of the 15th IEEE Real-Time Systems Symposium (RTSS).
[46] Mark Stanovich, Theodore P. Baker, An-I Wang, and Michael Gonzalez Harbour. 2010. Defects of the POSIX Sporadic Server and How to Correct Them. In 2010 16th IEEE Real-Time and Embedded Technology and Applications Symposium. IEEE, USA, 35–45. doi:10.1109/RTAS.2010.34
[47] Jay K. Strosnider, John P. Lehoczky, and Lui Sha. 1995. The Deferrable Server Algorithm for Enhanced Aperiodic Responsiveness in Hard Real-Time Environments. IEEE Trans. Comput. 44, 1 (1995), 73–91. doi:10.1109/12.368008
[48] Synopsys, Inc. 2024. SuperSpeed USB 3.0 Controller Programming Guide (version 4.00a ed.). Synopsys, Inc. DWC_usb3 Controller IP, Document WM-17018.
[49] Drako Tech. [n.d.]. Single ECU Vehicle Architecture. https://drakotech.ai/single-ecu-vehicle-architecture/
[50] The Linux Kernel Community. 2026. NTB (Non-Transparent Bridge) Drivers. Linux kernel documentation. Accessed June 2026. https://docs.kernel.org/driver-api/ntb.html
[51] The Linux Kernel Community. 2026. USB4 and Thunderbolt. Linux kernel documentation. Accessed June 2026. https://docs.kernel.org/admin-guide/thunderbolt.html
[52] Paul Turner, Bharata B. Rao, and Nikhil Rao. 2010. CPU Bandwidth Control for CFS. In Proceedings of the Linux Symposium. 245–254.
[53] USB Implementers Forum. 2010. Universal Serial Bus Class Definitions for Communication Devices, Revision 1.2.
[54] USB Implementers Forum. 2022. USB4 Specification, Version 2.0.
[55] Richard West, Ahmad Golchin, and Anton Njavro. 2023. Real-time USB Networking and Device I/O. ACM Transactions on Embedded Computing Systems 22, 4 (2023), 1–38.
[56] Richard West, Yuting Zhang, Karsten Schwan, and Christian Poellabauer. 2004. Dynamic Window-Constrained Scheduling of Real-Time Streams in Media Servers. IEEE Trans. Comput. 53, 6 (2004), 744–759.
[57] Ting Yang, Tongping Liu, Emery D. Berger, Scott F. Kaplan, and J. Eliot B. Moss. 2008. Redline: First Class Support for Interactivity in Commodity Operating Systems. In Proceedings of the 8th USENIX Symposium on Operating Systems Design and Implementation (OSDI). 73–86.
[58] Yuting Zhang and Richard West. 2006. Process-Aware Interrupt Scheduling and Accounting. In Proceedings of the 27th IEEE Real-Time Systems Symposium (RTSS).