Smart priority queue algorithms for self-optimizing event storage
نویسندگان
چکیده
Low run-time overhead, self-adapting storage policies for priority queues called Smart Priority Queue (SPQ) techniques are developed and evaluated. The proposed SPQ policies employ a lowcomplexity linear queue for near-head activities and a rapid-indexing variable bin-width calendar queue for distant events. The SPQ configuration is determined by monitoring queue access behavior using cost-scoring factors and then applying heuristics to adjust the organization of the underlying data structures. We show that optimizing storage to the spatial distribution of queue access can decrease HOLD operation cost between 25% and 250% over existing algorithms such as calendar queues. An SPQ-based scheduler for discrete event simulation has been implemented and was used to evaluate the resulting efficiency, components of access time, and queue usage distributions of the existing and proposed algorithms. Keyword: Discrete event simulation; Priority queue; Adaptive algorithm 1.0 Introduction We present Smart Priority Queue (SPQ) policies for inserting, deleting, retrieving items in the event queues of discrete event simulators. A fundamental capability required is an efficient means of storing and selecting the events contained in the process queue. The SPQ techniques decrease average access overhead by selecting a more efficient storage structure for the particular distribution of events encountered during simulation. Rather than specifying a single management scheme for the priority queue of simulator events, the SPQ approach dynamically selects between
منابع مشابه
AU EIWRICAL COIUPARISON OF PRIORITY-QUEUE AUD EVEUFSET lMPLElWEUTd?lONS
During the last decade, a number of new priorityqueue implementations have evolved, including pagodas [6, 261, skew heaps [21, 221, splay trees [21, 231, pairing heaps 1183, and binomial queues [4, 5, 241. In addition, a number of special priority-queue implementations for representing the pending event set in discrete event simulation Shave been developed, including the two-list implementation...
متن کاملSampling-based Metadata Management for Flash Storage
Existing garbage collection algorithms for the flashbased storage use score-based heuristics to select victim blocks for reclaiming free space and wear leveling. The score for a block is estimated using metadata information such as age, utilization, and erase count. To quickly find a victim block, these algorithms need to maintain a priority queue in the SRAM of a flashbased storage controller....
متن کاملA Framework for Speeding Up Priority-Queue Operations
We introduce a framework for reducing the number of element comparisons performed in priority-queue operations. In particular, we give a priority queue which guarantees the worst-case cost of O(1) per minimum finding and insertion, and the worst-case cost of O(log n) with at most log n+O(1) element comparisons per minimum deletion and deletion, improving the bound of 2 logn+ O(1) on the number ...
متن کاملThe Bounded Sequential Searching (Bss) Priority Queue in Discrete Event Simulation
In Discrete Event Simulation the whole running time is mainly determined by the type of data structure intended to manage the pending event set. The Bounded Sequential Searching (BSS) Priority Queue is a pending event set implementation proposal for which empirical evidence of good performance, under the Hold Model, is shown. The complexity of BSS associated algorithms are assessed and some imp...
متن کاملMSL Based Concurrent and Efficient Priority Queue
Priority queues are fundamental in the design of modern multiprocessor algorithms. Priority queues with parallel access are an attractive data structure for applications like prioritized online scheduling, discrete event simulation, or branch-and-bound. This paper proposes an alternative approach: to base the design of concurrent priority queues on the Modified Skip List data structure. To this...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Simulation Modelling Practice and Theory
دوره 12 شماره
صفحات -
تاریخ انتشار 2004