Transient cloud resources offer significant cost savings, but their unpredictability makes them hard to use for applications that cannot be safely restarted after reclamation. Existing approaches require application changes or rely on coarse-grained checkpointing, whose cost limits its benefits. We present ThreadShift, a system that transparently offloads compute-intensive threads of unmodified Linux applications to cheap transient resources while preserving correctness under reclamation. By operating at thread granularity, ThreadShift enables fast, fine-grained checkpointing and offloads only the threads that benefit from transient execution. The main challenge is to checkpoint individual threads despite cross-thread dependencies. ThreadShift does so by efficiently tracking memory dependencies, identifying per-thread memory writes, and maintaining coherence across machines. Three novel uses of Memory Protection Keys (MPKs) make these mechanisms efficient, enabling fast incremental checkpoints without pausing the entire application. We implement ThreadShift on x86-64 Linux and evaluate it on workloads including machine-learning inference, cryptographic tasks, and in-memory data processing. ThreadShift offloads threads in as little as 164 us, performs checkpointing up to three orders of magnitude faster than CRIU, and reduces deployment cost by up to 56% on commodity clouds.
Stateful Python workloads accumulate hours of in-memory state bound to their initial runtime. When resource needs change or a runtime is reclaimed, continuing elsewhere requires preserving or rebuilding that state. We present SOMA, a session-oriented migration abstraction for Python workloads that preserves supported a...
E. Hasanov, Ju Lin, Mohamed Fouzil Ali Syed Ali· 0 citations
Firework is introduced, a DSM system co-designed across the runtime and OS kernel that transparently and dynamically manages page placement between local DRAM and hardware-coherent CXL memory, enabling unmodified multi-threaded C/C++ applications to execute across multiple servers.
Shu Anzai, Shi Liu, Shan Yu et al.· Proceedings of the 32nd ACM...· 0 citations
Modern deep learning workloads are increasingly co-located on a single GPU to improve hardware utilization, yet existing MPS-based sharing mechanisms expose concurrency without providing QoS-aware control. Deadline-constrained training jobs can suffer severe slowdown when co-executed with best-effort workloads, because...
De-Sheng Wang, Fu-Zhen Yong, Si-Chao Chen et al.· ACM Transactions on Architec...· 0 citations
OS-level observability tools join application requests to kernel events through the OS thread ID, assuming that a unit of work occupies one OS thread until it completes. Java virtual threads break this assumption: many virtual threads are multiplexed onto a few carrier threads, so a stable thread ID hides a changing un...
The continuous growth in processor speed and the persistent memory latency bottleneck make large-capacity cache critical for mitigating the “memory wall”. However, topology-oblivious OS scheduling frequently induces severe cache contention and cross-die migrations, diminishing these hardware benefits. To address this,...