{
  "slug": "antfarm",
  "term": "Antfarm",
  "aliases": [],
  "definition": "Antfarm is a research system that infers guest address-space activity for process-aware services such as virtual-machine disk scheduling.",
  "note": "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. [atc2006]\n\nIdentity 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. [atc2006]\n\nThe 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. [atc2006]\n\nAnticipatory 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. [iyer2001]",
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "SPARC context-ID recycling limits tracking; hardware-assisted translation can change observation overhead.",
      "citationIds": [
        "atc2006"
      ]
    }
  ],
  "related": [
    "anticipatory-scheduling",
    "geiger"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-02",
  "citations": [
    {
      "id": "atc2006",
      "title": "Jones, Arpaci-Dusseau and Arpaci-Dusseau. Antfarm: Tracking Processes in a Virtual Machine Environment. USENIX ATC 2006, sections 4, 6 and 7.",
      "url": "https://www.usenix.org/legacy/events/usenix06/tech/full_papers/jones/jones_html/index.html",
      "accessed": "2026-12-02"
    },
    {
      "id": "iyer2001",
      "title": "Iyer and Druschel. Anticipatory scheduling: A disk scheduling framework to overcome deceptive idleness in synchronous I/O. SOSP 2001.",
      "url": "https://www.sosp.org/2001/papers/iyer.pdf",
      "accessed": "2026-12-02"
    }
  ],
  "provenance": [
    "Historical Xen 2.0.6 and Simics prototypes, not a current hypervisor compatibility claim. [atc2006]",
    "Primary-source synthesis only; no virtual-machine experiment or paper replication was performed."
  ]
}
