A comparison of the use of virtual versus physical snapshots for supporting update-intensive workloads

Darius Sidlauskas, Christian Søndergaard Jensen, Simonas Saltenis

Research output: Contribution to book/anthology/report/conference proceedingArticle in proceedingResearchpeer-review

7 Citations (Scopus)

Abstract

Deployments of networked sensors fuel online applications that feed on real-time sensor data. This scenario calls for techniques that support the management of workloads that contain queries as well as very frequent updates. This paper compares two well-chosen approaches to exploiting the parallelism offered by modern processors for supporting such workloads. A general approach to avoiding contention among parallel hardware threads and thus exploiting the parallelism available in processors is to maintain two copies, or snapshots, of the data: one for the relatively long-duration queries and one for the frequent and very localized updates. The snapshot that receives the updates is frequently made available to queries, so that queries see up-to-date data. The snapshots may be physical or virtual. Physical snapshots are created using the C library \texttt{memcpy} function. Virtual snapshots are created by the \texttt{fork} system function that creates a new process that initially has the same data snapshot as the process it was forked from. When the new process carries out updates, this triggers the actual memory copying in a copy-on-write manner at memory page granularity. This paper characterizes the circumstances under which each technique is preferable. The use of physical snapshots is surprisingly efficient.
Original languageEnglish
Title of host publicationProceedings of the Eighth International Workshop on Data Management on New Hardware, DaMoN 2012
Number of pages8
PublisherAssociation for Computing Machinery
Publication date2012
Pages1-8
ISBN (Print)978-1-4503-1445-9
DOIs
Publication statusPublished - 2012
EventEighth International Workshop on Data Management on New Hardware - Scottsdale, Arizona, United States
Duration: 21 May 201221 May 2012
Conference number: 8th

Conference

ConferenceEighth International Workshop on Data Management on New Hardware
Number8th
Country/TerritoryUnited States
CityScottsdale, Arizona
Period21/05/201221/05/2012

Fingerprint

Dive into the research topics of 'A comparison of the use of virtual versus physical snapshots for supporting update-intensive workloads'. Together they form a unique fingerprint.

Cite this