IP Library › Granted Patent US 7,191,294
Granted Patent B2
US 7,191,294 · App. 10/894,064 · Granted Mar 13, 2007

Method for synchronizing processors in a multiprocessor system

Assignee: Hitachi, Ltd.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,191,294
App. No.
10/894,064
Granted
Mar 13, 2007
Kind
B2
Abstract

The high-speed barrier synchronization is completed among multiprocessors by saving overhead for parallel process without addition of a particular hardware mechanism. That is, the barrier synchronization process is performed by allocating the synchronization flag area, on the shared memory, indicating the synchronization point where the execution of each processor for completing the barrier synchronization is completed, updating the synchronization flag area with the software in accordance with the executing condition, and comparing, with each processor, the synchronization flag area of the other processors which takes part in the barrier synchronization.

Claims (15)

1. A synchronizing method of multiprocessor system for barrier synchronization to execute parallel processes of program in a plurality of processors, comprising the steps of:

providing, in said multiprocessor system, a shared memory area which is used in common by each processor;

allocating individual memory areas for each processor in said shared memory area;

providing, within said memory area, a counter for storing an execution count by each processor which has executed the process for a part to complete the barrier synchronization in said program; and

executing subsequent programs to be executed by each processor after writing, with addition, the value of said counter of the individual memory area allocated to own processor when the part to complete the barrier synchronization in the program is executed and after determining that the identical value or more larger value is written to all memory areas allocated to the other processors.

2. A synchronization method of multiprocessor system for barrier synchronization to execute parallel processes of the program in a plurality of processors, comprising the steps of:

providing, in said multiprocessor system, a shared memory area which is used in common by each processor;

allocating individual memory area for each processor in said shared memory area;

providing, in said memory area, a counter for storing a value corresponding to an execution count by each processor which has executed the process for a part to complete the barrier synchronization in the program;

obtaining a value corresponding to the execution count from a sequence for determining a value corresponding to the execution count by each processor when the part to complete the barrier synchronization in the program is executed, and writing said value to the counter in the individual memory areas allocated to own processor; and

executing subsequent programs after determining that the identical value is written into all memory areas allocated to the other processors or the value corresponding to the count obtained by adding 1 to said execution count is written in said sequence.

3. The synchronization method of multiprocessor system according to claim 1 or 2 , wherein said processors comprise cache memories, and an interval of the addresses on the memory of memory area to be allocated individually to each processor is set equal to or larger than a processing unit in a management for maintaining coherence among the cache memories loaded to said processors.

4. The synchronization method of multiprocessor system according to claim 1 or 2 , wherein said processors comprise cache memories and a mechanism for maintaining coherence among the cache memories, a cache memory for individual memory area to be allocated for each processor is set, and the barrier synchronization is performed utilizing said cache memory.

5. The synchronization method of multiprocessor system according to claim 2 , wherein a sequence for determining a unique value in accordance with the execution count of the part to complete the barrier synchronization in said program repeats the identical sequence for a constant execution count.

6. The synchronization method of multiprocessor according to claim 5 , wherein said sequence includes at least three values including a first value indicating that the previous barrier synchronization has been completed and the present barrier synchronization is being executed, a second value indicating that the present barrier synchronization has been completed, and a third value indicating that the next barrier synchronization has been completed.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 20, 2004
From: NAKAMURA, TOMOHIRO; NAONOBU, SUKEGAWA
To: HITACHI, LTD.
Reel/Frame 015595/0677 →
Priority Claims (1)
JP 2003-300510 · Aug 25, 2003 · national
Continuity (1)
Related Publication 20050050374A1 · Mar 3, 2005