Antfarm
Antfarm is a research system that infers guest address-space activity for process-aware services such as virtual-machine disk scheduling.
On x86, page-directory addresses identify address spaces and CR3 changes expose switches; on SPARC, the design uses context IDs. These are not operating-system PIDs. [1]
Identity errors differ by platform: Linux 2.6 exec can split one process into two inferred lifetimes; SPARC context demaps can resemble exits without destroying an address space. [1]
The scheduling prototype assigns reads to the guest's currently active context. Guest-side queueing can postpone submission until another process runs, so accurate context tracking does not guarantee correct read ownership. [1]
Anticipatory scheduling waits briefly for a demand request from a recently served process. Useful per-process locality and inter-request timing histories therefore depend on how requests are attributed. [2]
Relations
- related
- Anticipatory scheduling, Geiger
Limitations
- SPARC context-ID recycling limits tracking; hardware-assisted translation can change observation overhead. [1]
Citations
- Jones, Arpaci-Dusseau and Arpaci-Dusseau. Antfarm: Tracking Processes in a Virtual Machine Environment. USENIX ATC 2006, sections 4, 6 and 7.
- Iyer and Druschel. Anticipatory scheduling: A disk scheduling framework to overcome deceptive idleness in synchronous I/O. SOSP 2001.
Sources & caveats
- Historical Xen 2.0.6 and Simics prototypes, not a current hypervisor compatibility claim. [1]
- Primary-source synthesis only; no virtual-machine experiment or paper replication was performed.