DOI QR코드

DOI QR Code

An Improved MList for Efficient Event List Management in Discrete Event Simulation

이산사건 시뮬레이션에서의 효율적인 이벤트 리스트 관리를 위한 MList의 개선 방안

  • Received : 2009.06.21
  • Accepted : 2009.12.07
  • Published : 2009.12.30

Abstract

This paper deals with the priority queues exploited for the management of future event list in discrete event simulation. Among several implementations of priority queues, MList which consists of 3 tiers has been known to reveal the good performance. To improve the performance of MList, Dynamic-Shift MList (DSMList) is proposed in this paper. Whenever the number of events in tier 3 exceeds a critical number, DSMList creates new calendar queue in tier 2, then moves events from Tier 3 to the calendar queue. Instead of one calendar queue, therefore, a number of calendar queues are dynamically created in tier 2. Throughout experiments for the performance evaluation of DSMList, it shows that at least 20% improvement is obtained compared with MList.

본 논문은 기존의 멀티 리스트 기반 엠리스트(MList)의 성능을 개선하기 위하여 동적 쉬프트 방식을 적용한 방법을 소개한다. 개선된 엠리스트는 일정한 수의 이벤트가 Tier 3에 쌓이게 되면 삭제 이벤트가 발생하지 않더라도 자동 쉬프트 작업을 통해 Tier 3에 저장된 이벤트들을 Tier 2의 새로운 칼렌다 큐로 이동시킨다. 즉, 기존에는 Tier 2에 하나의 칼렌다 큐가 있었으나, 개선된 방법에서는 다수의 칼렌다 큐가 동적으로 생성, 삭제된다. 이러한 동적 구조는 저장된 이벤트 수에 따라 적응력을 갖는 장점을 가져 성능측정 실험 결과 동적 쉬프트를 적용한 엠리스트는 기존의 엠리스트에 비해 20% 이상의 성능개선을 보였다.

Keywords

References

  1. 임동순 (2008), "이산사건 시뮬레이션에서의 우선순위 큐 성능 분석을 위한 다단계 프로세스 모델: 창조 모델에 대한 사례연구", 한국시뮬레이션학회지, 제17권, 제4호, pp.61-69.
  2. Brown, R. (1988), "calendar queues: A fast O(1) priority queue implementation for the simulation event set problem", Comm. of the ACM, Vol. 24, No. 12, pp. 825-829. https://doi.org/10.1145/358800.358805
  3. Chung, K., Sang, J. and Rego, V. (1993), "A performance comparison of event calendar algorithms: an empirical approach", Software-Practice and Experience, Vol. 23, No. 10, pp. 1107-1138. https://doi.org/10.1002/spe.4380231005
  4. Goh, R.S.M. and Thng, I.L. (2003), "MLIST: An Efficient Pending Event Set Structure for Discrete Event Simulation", International J. of Simulation, Vol. 4, No. 5/6, pp. 66-77.
  5. Goh, R.S.M. and Thng, I.L. (2004), "An improved dynamic MLIST for the pending event set problem", International J. of Simulation, Vol.5, No.3/4, pp.26-36.
  6. Henriksen, J. O. (1977), "An improved event list algorithm", Proceedings of the 1977 Winter Simulation Conference, pp. 547-557.
  7. Jones, D. W. (1986), "An empirical comparison of priorityqueue and event-set implementations", Comm. of the ACM, Vol. 29, No. 4, pp. 300-311. https://doi.org/10.1145/5684.5686
  8. McCormack, W. M. and Sargent, R. G. (1981), "Analysis of future event-set algorithms for discrete event simulation, Comm. of the ACM, Vol. 24, No. 12, pp. 801-812. https://doi.org/10.1145/358800.358803
  9. Ronngren, R. and Ayani, R. E. (1997), "Parallel and sequential priority queue algorithms", ACM Trans. On Modeling and Computer Simulation, Vol. 2, pp. 157-209.