摘要:
An approach to detecting processor failure in a multi-processor environment is disclosed. The approach may include having each CPU in the system responsible for monitoring another CPU in the system. A CPUn reads a timestampn+1 created by CPUn+1 which CPUn is monitoring from a shared memory location. The CPUn reads its own timestampn and compares the two timestamps to calculate a delta value. If the delta value is above a threshold, the CPUn determines that CPUn+1 has failed and initiates error handling for the CPUs in the system. One CPU may be designated a master CPU, and be responsible for beginning the error handling process. In such embodiments, the CPUn may initiate error handling by notifying the master CPU that CPUn+1 has failed. If CPUn+1 is the master CPU, the CPUn may take additional steps to initiate error handling, and may broadcast a non-critical interrupt to all CPUs, triggering error handling.
摘要:
An approach to detecting processor failure in a multi-processor environment is disclosed. The approach may include having each CPU in the system responsible for monitoring another CPU in the system. A CPUn reads a timestampn+1 created by CPUn+1 which CPUn is monitoring from a shared memory location. The CPUn reads its own timestampn and compares the two timestamps to calculate a delta value. If the delta value is above a threshold, the CPUn determines that CPUn+1 has failed and initiates error handling for the CPUs in the system. One CPU may be designated a master CPU, and be responsible for beginning the error handling process. In such embodiments, the CPUn may initiate error handling by notifying the master CPU that CPUn+1 has failed. If CPUn+1 is the master CPU, the CPUn may take additional steps to initiate error handling, and may broadcast a non-critical interrupt to all CPUs, triggering error handling.
摘要:
Provided are a computer program product, system, and method for locking a cache line for a burst write operations on a bus. A cache line is allocated in a cache for a target address. A lock is set for the cache line, wherein setting the lock prevents the data in the cache line from being cast out. Data is written to the cache line. All the data in the cache line is flushed to the target address over a bus in response to completing writing to the cache line.
摘要:
Provided are a computer program product, system, and method for locking a cache line for a burst write operations on a bus. A cache line is allocated in a cache for a target address. A lock is set for the cache line, wherein setting the lock prevents the data in the cache line from being cast out. Data is written to the cache line. All the data in the cache line is flushed to the target address over a bus in response to completing writing to the cache line.
摘要:
Provided are a computer program product, system, and method for determining processor offsets to synchronize processor time values. A determination is made of a master processor offset from one of a plurality of time values of the master processor and a time value of one of the slave processors. A determination is made of slave processor offsets, wherein each slave processor offset is determined from the master processor offset, one of the time values of the master processor, and a time value of the slave processor. A current time value of the master processor is adjusted by the master processor offset. A current time value of each of the slave processors is adjusted by the slave processor offset for the slave processor whose time value is being adjusted.
摘要:
Provided are a computer program product, system, and method for determining processor offsets to synchronize processor time values. A determination is made of a master processor offset from one of a plurality of time values of the master processor and a time value of one of the slave processors. A determination is made of slave processor offsets, wherein each slave processor offset is determined from the master processor offset, one of the time values of the master processor, and a time value of the slave processor. A current time value of the master processor is adjusted by the master processor offset. A current time value of each of the slave processors is adjusted by the slave processor offset for the slave processor whose time value is being adjusted.
摘要:
An apparatus for configuring a port in a multi-port communication adapter includes a quiesce module quiescing communications at one or more first I/O ports of a multi-port communication adapter while allowing communications at one or more second I/O ports of the multi-port communication adapter. A path module removes one or more logical paths between the one or more first I/O ports and one or more remote adapters in anticipation of taking the one or more first I/O ports offline. The offline module takes offline the one or more first I/O ports. The update module updates a port resource of the one or more first I/O ports while allowing a concurrent communication on the one or more second I/O ports of the multi-port communication adapter.
摘要:
A plurality of processors are connected to the interprocessor communications facility in the multiprocessing system of the invention. The interprocessor communications facility has arbitration circuitry, mailbox circuitry, and processor interrupt circuitry. The interprocessor communications facility of the invention is centralized and does not require the use of main storage. This enables processors to communicate with each other in a fast and efficient manner. The arbitration circuitry prevents simultaneous access of the interprocessor communications facility by more than one processor, and decodes the commands sent from the processors and routes them to the processor interrupt circuitry or to the mailbox circuitry, depending on the command. The mailbox circuitry of the invention receives messages from sending processors and provides them to the intended receiving processors in a safe and secure manner. The processor interrupt circuitry facilitates the interprocessor communications process by handling interprocessor interrupts.
摘要:
An apparatus, system, and method are disclosed for configuring a port in a multi-port communication adapter. The apparatus includes an offline module and an update module. The offline module takes offline a first port of a multi-port communication adapter. The update module updates a port resource of the first port while allowing a concurrent communication on a second port of the multi-port communication adapter. The port resource may include a port topology and/or a port protocol. Furthermore, the apparatus may include an online module to put the first port online in response to the port resource update. Advantageously, the apparatus updates the port resource and configures the selected port according to the port resource attributes without interrupting concurrent communications, if any, on the other ports of the adapter.
摘要:
A mechanism for controlling the powering-on and powering-off of control units in a data processing system having a plurality of channels, a plurality of control units, and a communications network of links for linking the channels to the control units. Each control unit includes a power-control table for recording power-control allegiance of the control unit to the channels. Where a control unit receives a power-on command from a channel, it records the identity of the channel in its power-control table. When a channel orders a control unit to power-off, the control unit checks to see if it owes power-control allegiance to the ordering channel. If it does, the control unit deletes the identity from its power-control table. The control unit will not power-off unless its power-control table is empty, indicating that it does not owe allegiance to any other channel.