Locking with Different Granularities for Reads and Writes in an MVM System

  • Authors:
  • P. Bodorik;J. Slonim;D. Jutla;A. Agarwal

  • Affiliations:
  • -;-;-;-

  • Venue:
  • IDEAS '99 Proceedings of the 1999 International Symposium on Database Engineering & Applications
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

The focus of this paper is to investigate the use of the Multi-view Virtual Memory (MVM) in providing efficient locking services for transaction processing or DB systems. The granularity of locking is customizable by applications and, furthermore, the locking granularities for read and write operations may differ.The system provides for enforcement of access control protocols on units of a memory region through FSM specification. The units of data can vary in size from one region of memory to another. Threads executing transactions do not explicitly request locks on data items - they simply access the data items while locking is represented through state transitions and is performed automatically. Only when a thread is suspended are the state changes communicated to the software lock manager. Context switching overhead is thus reduced.Synchronization of threads is possible within a single task or across tasks. Any synchronization protocol that can be represented by an FSM is supported by the MVM system. This paper describes how MVM supports sophisticated locking in which the locking granularities for read and write operations differ. Benefits, which are expressed in terms of throughput, gained using such locking are investigated using a simulation study.