Title :
A scheduling mechanism for lock-free operation of a lightweight process library for SMP computers
Author :
Oguma, Hisashi ; Nakayama, Yasuichi
Author_Institution :
Dept. of Comput. Sci., Univ. of Electro-Commun., Chofu, Japan
Abstract :
We have designed and implemented a lightweight process (thread) library called “Lesser Bear” for SMP computers. Lesser Bear has high portability and thread-level parallelism. Lesser Bear executes threads in parallel by creating UNIX processes as virtual processors and a memory mapped file as a huge shared-memory space. To schedule threads in parallel, the shared-memory space has been divided into working spaces for each virtual processor and a ready queue has been distributed. But the preview version of Lesser Bear sometimes requires a lock operation for dequeueing. We therefore proposed a scheduling mechanism that does not require a lock operation. To achieve this, each divided space forms a rotatory topology through the queue, and we use a lock-free algorithm for the queue operation. This mechanism is applied to Lesser Bear and evaluated by experimental results
Keywords :
Unix; network operating systems; parallel programming; processor scheduling; queueing theory; shared memory systems; software libraries; Lesser Bear; SMP computers; UNIX processes; dequeueing; lightweight process library; lock-free operation; memory mapped file; parallel thread execution; portability; ready queue; rotatory topology; scheduling mechanism; shared-memory space; thread-level parallelism; virtual processors; working spaces; Application software; Computer science; Frequency; Libraries; Multiprocessing systems; Operating systems; Processor scheduling; Protection; Topology; Yarn;
Conference_Titel :
Parallel and Distributed Systems, 2001. ICPADS 2001. Proceedings. Eighth International Conference on
Conference_Location :
Kyongju City
Print_ISBN :
0-7695-1153-8
DOI :
10.1109/ICPADS.2001.934825