SU1441399A1 - Device for distributing tasks among processors - Google Patents
Device for distributing tasks among processors Download PDFInfo
- Publication number
- SU1441399A1 SU1441399A1 SU874265479A SU4265479A SU1441399A1 SU 1441399 A1 SU1441399 A1 SU 1441399A1 SU 874265479 A SU874265479 A SU 874265479A SU 4265479 A SU4265479 A SU 4265479A SU 1441399 A1 SU1441399 A1 SU 1441399A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- inputs
- group
- elements
- Prior art date
Links
Landscapes
- Hardware Redundancy (AREA)
Abstract
Изобретение относитс к автоматике и вычислительной технике, а ( именно к приоритетным устройствам дл . распределени заданий процессорам, и предназначено дл использовани в многопроцессорных и многомашинных вычислительных и управл ющих системах. Целью изобретени вл етс расширение области применени устройства за счет перезапуска невьтолненных заданий Устройство дл распределени заданий процессорам содержит группу счетчиков; два блока пам ти, п ть групп элементов И, две группы элементов ИЛИ, восемнадцать элементов И, семнадцать элементов ИЛИ, элемент ШШ-НЕ, схему сравнени , четыре триггера , п ть регистров, шесть счетчиков , два мультиплексора, три шифратора , п ть дешифраторов, п ть элементов задержки, элемент 2-2-2И-2ИЛИ-НЕ, три формировател импульсов, две группы элементов ИЛИ-НЕ. Устройство обеспечивает слежение за вьтолнением заданий и перезапускает незавершенные задани на тот же процессор, а при повторном зависании программ - на один из свободных процессоров с отключением отказавшего процессора. 8 ил. а (ЛThe invention relates to automation and computing, and (specifically, to priority devices for assigning tasks to processors, and is intended for use in multiprocessor and multi-machine computing and control systems. The purpose of the invention is to expand the field of application of the device by restarting incomplete tasks. tasks to processors contains a group of counters; two blocks of memory, five groups of elements AND, two groups of elements OR, eighteen elements AND nineteen OR elements, a WN-NE element, a comparison circuit, four flip-flops, five registers, six counters, two multiplexers, three encoders, five decoders, five delay elements, 2-2-2IL-2IL-NOT elements, three formers impulses, two groups of elements OR-NE. The device provides tracking for executing tasks and restarts incomplete tasks on the same processor, and when re-hanging programs - on one of the free processors with disconnection of the failed processor. 8 il. a (L
Description
ОдOd
соwith
соwith
Изобретение относитс к автоматике и вычислительной технике, а именно к приоритетным устройствам дл распределени заданий процессорам, и пред- назначено дл использовани в многопроцессорных и многомашинных вычислительных и управл ющих системах.The invention relates to automation and computing, in particular, to priority devices for assigning tasks to processors, and is intended for use in multiprocessor and multi-machine computing and control systems.
Цель изобретени - расширение области применени за счет перезапуска невыполненных заданий,The purpose of the invention is to expand the scope by restarting outstanding tasks,
На фиг. 1-3 приведена функциональна схема устройства; на фиг.4-8- временные диаграммы, описывающие отдельные этапы работы устройства. FIG. 1-3 shows a functional diagram of the device; 4-8 are timing diagrams describing individual stages of the device operation.
Устройство содержит первую группу элементов ИЛИ 1, группу счетчиков 2, первую 3 и вторите 4 группы элементов ИЛИ-НЕ, вторую группу элементов И 5, первьш блок 6 пам ти, первую группу The device contains the first group of elements OR 1, the group of counters 2, the first 3 and repeat the 4 groups of elements OR NOT, the second group of elements AND 5, the first memory block 6, the first group
ifif
элементов И 7, первый - четвертый элементы И 8-11, первый элемент ИЛИ 12, группу кодовых входов 13 устройства , группу адресных входов 14 устройства , вход 15 пуска устройстйа, вход 16 начальной установки устройства , элемент 2-2-2И-2ИЛИ-НЕ 17, ад- ресный выход 18 устройства, первый 19 и второй 20 сигнальные выходы устройства , второй блок 21 пам ти, п - тый - восемнадцатый элементы И 23-35, второй - семнадцатый элементы ИЛИ 36-51, тактовый вход 52 устройства, элемент ИЛИ-НЕ 53, первый - третий формирователи 54-56 импульсов, пер- вый - третий шифрйторы 57-59, первый 60 и второй 61 мультиплексоры, первый - четвертый триггеры 62-65,третью седьмую группы элементов И 66-70,, вторую группу элементов ИЛИ 71 схему 72 сравнени , первый - п тый регистры 73-77, первый - шестой счетчики 78- 83, первый - п тый дешифраторы 84-88, группу синхровходов 89 устройства, группу сигнальных BkoAOB 90 устройст- ва, информационный вход 91 устройства первую - шестую группы сигнальных выходов 92-97 устройства, элемент 98 задержки.elements AND 7, the first - the fourth elements AND 8-11, the first element OR 12, the group of code inputs 13 of the device, the group of address inputs 14 of the device, the input 15 of the start of the device, the input 16 of the initial installation of the device, the element 2-2-2И-2ИЛИ- NOT 17, the address output 18 of the device, the first 19 and second 20 signal outputs of the device, the second memory block 21, the fifth - the eighteenth elements AND 23-35, the second - the seventeenth elements OR 36-51, the clock input 52 of the device, the element OR-NOT 53, the first - the third shaper 54-56 pulses, the first - the third encoder 57-59, the first 60 and the second 61 th mu liplexers, the first - the fourth triggers 62-65, the third and seventh groups of elements AND 66-70 ,, the second group of elements OR 71 comparison circuit 72, the first - the fifth registers 73-77, the first - the sixth counters 78 - 83, the first - the fifth decoders 84-88, a group of synchronous inputs 89 devices, a signal group BkoAOB 90 devices, information input 91 devices first to a sixth group of signal outputs 92-97 devices, a delay element 98.
Устройство работает следующим об- разом.The device works as follows.
Перед началом работы подачей импульса , на вход 16 устройства все элементы пам ти устройства перевод тс в исходное состо ние, Цепи очистки блока- 21 пам ти на фиг .1 - 3 не показаны . При этом регистры 73-77, счетчики 78-83 и счетчики 2 группы обнул ютс . Триггеры 62-64 устанавливаютBefore starting operation by applying a pulse, all elements of the device memory are reset to the input 16 of the device. The cleaning circuits of the memory block 21 are not shown in FIGS. 1-3. In doing so, registers 73-77, counters 78-83, and counters of group 2 are zeroed out. Triggers 62-64 set
с with
g g
5five
00
5 . О s д 45 five . O s d 45
п P
5five
с в нулевое состо ние, а триггер 65 устанавливаетс в единичное состо ние Нулевой сигнал на пр мом выходе триггера 62 запрещает прохождение на устройство синхроимпульсов с входов 89 устройства. Нулевой сигнал на выходе элемента ИЛИ 29 .запрещает прохождение на устройство сигналов от внешнего таймера. На сигнальных выходах 92 и 93, а также 95-97 установлены нулевые сигналы. На сигнальных выходах 19 и 20, а также на группе сигнальных выходов 94 установлены единичные сигналы . На адресном выходе 18 устройства нулевой сигнал.c is set to the zero state, and the trigger 65 is set to one state. The zero signal at the forward output of the trigger 62 prohibits the passage of sync pulses from the inputs 89 of the device to the device. The zero signal at the output of the element OR 29. Prohibits the passage of signals from an external timer to the device. Signal outputs 92 and 93, as well as 95-97, have zero signals. On the signal outputs 19 and 20, as well as on the group of signal outputs 94, single signals are installed. At the address output 18 of the device zero signal.
Блок 6 пам ти содержит информацию о топологии графа, описывающего набор информационно св занных задач. По ад- ресу, соответсвующему номеру (i 1,п-1) некоторой вершины графа, в блок 6 пам ти занесено п-разр дноё число, имеющее в соотйет ствующем q-M разр де единицу, если из вершины графа исходит дуга, ведуща в q-ю вершину графа. По нулевому адресу, соответсвующему конечной вершине гра фа, в блок 6 пам ти записан нуль.Memory block 6 contains information about the topology of the graph describing a set of information related tasks. At the address corresponding to the number (i 1, n-1) of a certain vertex of the graph, in block 6 of the memory, an n-digit number is entered that has a unit in the corresponding qM bit if the arc leading to q the top of the graph. At the zero address corresponding to the final vertex of the graph, zero is recorded in memory block 6.
Далее в счетчики 2 с одноименных (Групп входов 13 занос тс в пр мом ; коде коды степени захода соответствующих вершин графа, представл ющие количества дуг, вход щих в соответствующие вершины графа.Next, counters 2 from the like (groups of inputs 13 are entered in the forward; code, the degree of entry of the corresponding graph vertices, representing the number of arcs entering the corresponding graph vertices.
Соответствие вершины грыфа и счет- чика 2 определ ютс весом вершины, представл ющим собой величину максимального П5 ти из данной вершины до конечной вершины графа, описьтающего набор информационно св занных задАч и имеющего в качестве весов дуг длительности решени задач. Первому счетчику 2 (самому верхнему на фиг.1) должна соответствовать вершина графа с наибольигим весом, второму счетчику 2 - втора : по весу вершина графа и т.д. Последнему счетчику 2 будет соответствовать конечна вершина графа, имеюща нулевой вес. Такое соответствие вершин и счетчиков 2 позвол ет минимизировать врем решени всего пакета информационно св занных задач, так как из некоторой совокупности запрашиваклцих решени задач (дл решени которых имеетс вс необходима информаци ) первой решаетс задача, имеюща больший вес.The correspondence of the vertex of the gryphus and the counter 2 is determined by the weight of the vertex, which is the maximum P5 from this vertex to the final vertex of the graph describing the set of information related tasks and having task arcs as weights. The first counter 2 (the topmost one in FIG. 1) should correspond to the top of the graph with the greatest weight, the second counter 2 to the second: by weight, the top of the graph, etc. The last counter 2 will correspond to the final vertex of the graph having zero weight. Such a correspondence between vertices and counters 2 minimizes the time needed to solve the entire package of information-related tasks, since from a certain set of requests for solving tasks (for solving which there is all the necessary information), the task with the greatest weight is solved first.
Далее в счетчик .80 с входа 91 устройства заноситс в пр мом коде кодFurther, in the counter .80 from the input 91 of the device, the code is entered in the forward code
счетчика 79 ti заносит в него номер выбранного гп оцессора (используетс в качестве адреса чейки второго блока 21 пам ти).the 79 ti counter records in it the number of the selected hc processor (used as the cell address of the second memory block 21).
По синхроимпульсу , на выходе элемента Р1 23 формируетс импульсньгй сигнал, который поступает на входы элементов И 68 п той группы и вызыколичества заданий п пакете информационно св занных задач. По завершению каждого задани из счетчика 80 вычитаетс единица и сигнал равенства нулю на выхйде счетчика свидетельствует о завершении выполнени пакета информационно св занных задач.According to the sync pulse, at the output of element P1 23 a pulse signal is generated, which is fed to the inputs of elements AND 68 of the fifth group and calling the number of tasks in the package of information related tasks. At the completion of each task, a unit is subtracted from counter 80 and the equalization signal at the output of the counter indicates that the package of information related tasks has been completed.
Работа устройства начинаетс с прихоДом сигнала пуска на вход 15 устроило вает вьщачу на сигнальном выходе 96The operation of the device begins with the arrival of the start signal at the input 15 arranges at the signal output 96.
ства. При этом триггер 62 переводитс группы, соответствующем выбранномуproperties. When this trigger 62 is transferred to the group corresponding to the selected
в единичное состо ние и сигналом вы-процессору, сигнала Прин ть номерin one state and by the signal you - the processor, the signal
сокого уровн с пр мого выхода разре-задани .level from the direct output of the task.
шает поступление на устройство серий Нулевые сигналы на управл ющих вхо- синхроимпульсов. Устройство имеет 15дах мультиплексоров 60 и 61 разрешают четыре режима работы: режим вьщачипрохождение на выход сигналов с вхо- номера готового к вьшолнению задани ;дов Х2, т.е. на информационный вход режим приема кода завершенного зада-второго блока 21 пам ти подаетс иони ; режим опроса готовновсти процес-мер выдаваемого задани , а на его соров; режим обработки ситуации зави- 2оадресный вход подаетс номер выбран- сани задани ,ного процессора, который служит в каРассмотрим первый режим работы уст-честве адреса чейки. Единичный сигройства . Так как на выходах элементовнал с выхода элемента ИЛИ А6 посту-ИЛИ-НЕ 3 группы, соответствующихпает на входы элемента 2-2-2И-2ИЛИсчетчикам 2, в которых занесен нулевой бНЕ 17 и создает услови дл осуществсчетчика 79 ti заносит в него номер выбранного гп оцессора (используетс в качестве адреса чейки второго блока 21 пам ти).Sharks the arrival on the device of the series Zero signals at the control pulses. The device has 15 times multiplexers 60 and 61 allow four modes of operation: the transfer mode to the output of signals from the input of the task ready for the assignment; to the information input, the reception mode of the code of the completed task-second memory block 21 is ionized; the polling mode of the readiness of the task-measure of the task being issued, and on its litters; The processing mode of the situation, the 2-address input, is given the number of the selected task of the processor, which serves as the first mode of operation of the address of the cell. Single builds. Since the outputs of the element from the output of the element OR A6 are post-OR-NOT 3 groups, corresponding to the inputs of the element 2-2-2 and 2 or the meters 2, in which the zero BNE 17 is entered and creates conditions for the implementation of the counter 79 ti, puts in it the number of the selected section processor (used as the cell address of the second memory block 21).
По синхроимпульсу , на выходе элемента Р1 23 формируетс импульсньгй сигнал, который поступает на входы элементов И 68 п той группы и вызыAccording to the sync pulse, at the output of element P1 23 a pulse signal is generated, which is fed to the inputs of elements AND 68 of the fifth group and calls
код степени захода, установлены единичные сигналы запросов, то на выходе элемента ИЛИ 12 будет единичный сиг-code of the degree of entry, single request signals are set, then the output of the OR 12 element will be a single signal
нал, который поступает на первые вхо- 2И-2ИЛИ-НЕ 17, производитс занесбние ды элементов И 22 и 23. На вторые вхо-зо номера вьщанного задани в чейку, ды элементов И 22 и 23 приходит еди- соответствующую выбранному процессору ничный сигнал с выхода элемента РШИThe input to the first inputs is 2I-2IL-NOT 17, and the 22 and 23 elements are skidded. On the second inputs of the executed task in the cell, the elements 22 and 23 dips come in the same signal as the selected processor. output element of RSHI
По синхроимпульсу L,J поступающему на вход элемента ИЛИ 36, осуществл етс сброс триггера 64. ЕдиничныйThe sync pulse L, J arrives at the input of the element OR 36 and triggers reset 64. A single
.50, который свидетельствует о наличии свободных процессоров. Единичный сигнал с выхода элемента ИЛИ-НЕ разрешает работу дешифратора 87, который формирует сигнал на одном из своих выходов, соответствующем приоритетному процессору из числа свободньк. На выходах дешифратора 88 нулевые уровни сигналов..50, which indicates the presence of free processors. A single signal from the output of the element OR NOT allows the operation of the decoder 87, which generates a signal at one of its outputs corresponding to the priority processor from among the free. At the outputs of the decoder 88 zero signal levels.
По синхроимпульсу (5 на выходе элемента И 22 формируетс импульсный сигнал, который поступает на входыA sync pulse (5 at the output of the element And 22 produces a pulse signal, which is fed to the inputs
По синхроимпульсу L,J поступающему на вход элемента ИЛИ 36, осуществл етс сброс триггера 64. ЕдиничныйThe sync pulse L, J arrives at the input of the element OR 36 and triggers reset 64. A single
Чс сигнал на инверсном выходе триггера 64 инициирует импульсный сигнал на выходе формировател 56 импульсов, который поступает на входы элементов И 66 и вьгеодит из нулевого состо ни The signal at the inverse output of the trigger 64 initiates a pulse signal at the output of the pulse generator 56, which is fed to the inputs of the AND 66 elements and is output from the zero state
40 счетчик 2, соответствующий запускаемому заданию, поступает на входы элементов И 70 и вызывает выдачу на сигнальном выходе 97 группы, соответствующем выбранному процессору, сигнала40, the counter 2, corresponding to the task being started, is fed to the inputs of the elements And 70 and causes the signal at the signal output 97 of the group corresponding to the selected processor to issue
элементов И 67 группы и вызывает вы- 45 Старт, инициирующего вьтолнение выдачу на выбранный процессор сигнала данного задани . Этот же сигнал пос- цриведени в исходное состо ние, На тупает на соответствующий вход пораз- адресном выходе,18 устройства при р дной установки регистра 74 и произ- этом установлен номер готового к выпол- водит исключение выбранного процессо- нению задани . Одновременно этот же 50 Р& из числа свободных,Elements And 67 groups and causes a 45 Start, initiating the delivery of the signal of the given task to the selected processor. The same initialization signal is sent to the initial state. It arrives at the corresponding input by the output address, the device 18 when the register is set to 74, and the number of the task ready for the process is eliminated. At the same time, the same 50 P & from among the free,
На следующем такте производитс выдача следующего готового к выполнению задани и т.д. Выдав все готовые к выполнению задани , устройство пе- 55 реходит в режим опроса готовностиAt the next cycle, the next ready task is issued, and so on. Having issued all the tasks that are ready for execution, the device switches to the ready polling mode.
процессоров. Этот режим характеризуетс тем, что по синхроимпульсам с помощью регистра 76 производитс рос состо ний сигнальных входов 90processors. This mode is characterized by the fact that the sync pulses with the help of register 76 produce an increase in the states of the signal inputs 90
сигнал поступает на синхровход третьего триггера 64 и переводит его в единичное состо ние (режим выдачи номера готового к выполнению задани ), поступает на счетный вход первого счетчика 78 и инкрементирует его содержимое (еще одно задание в Системе находитс в состо нии вьтолнени ) а также поступает на синхровход второгоthe signal arrives at the synchronization of the third flip-flop 64 and translates it into a single state (issue mode number ready for the task), enters the counting input of the first counter 78 and increments its contents (another task in the System is in the execution state) and also enters sync on the second
лени операции Запись,laziness record operation,
По синхроимпульсу С , поступаю- .щему на один из входов элемента 2-22И-2ИЛИ-НЕ 17, производитс занесбние номера вьщанного задани в чейку, соответствующую выбранному процессору According to the sync pulse C, which arrives at one of the inputs of element 2-22 and 2, or non-17, the number of the set task is entered into the cell corresponding to the selected processor.
По синхроимпульсу L,J поступающему на вход элемента ИЛИ 36, осуществл етс сброс триггера 64. ЕдиничныйThe sync pulse L, J arrives at the input of the element OR 36 and triggers reset 64. A single
сигнал на инверсном выходе триггера 64 инициирует импульсный сигнал на выходе формировател 56 импульсов, который поступает на входы элементов И 66 и вьгеодит из нулевого состо ни the signal at the inverse output of the trigger 64 initiates a pulsed signal at the output of the pulse driver 56, which is fed to the inputs of the elements And 66 and transits from the zero state
счетчик 2, соответствующий запускаемому заданию, поступает на входы элементов И 70 и вызывает выдачу на сигнальном выходе 97 группы, соответствующем выбранному процессору, сигналаthe counter 2 corresponding to the task being started enters the inputs of the elements 70 and causes the signal at the signal output 97 of the group corresponding to the selected processor to be output
514413996514413996
устройства, на которые от процессоров ньгх выходов устройства в виде коман- поступают потенциальные единичные сиг- ды выбранному процессору Вьщать.код налы завершени заданий. С приходом завершени задани , В ответ на эту первого сигнала завершени задани команду выбранный процессор выстав- устройство переходит в режим приема л ет на адресные входы 14 устройства кода завершенного задани .код завершенного задани .devices to which potential single signals from the selected processor outputs come in the form of a command are selected by the selected processor, the task completion code. With the arrival of the task, In response to this first signal of the completion of the command, the selected processor exposes the device to receive mode at the address inputs 14 of the device of the completed task code of the completed task.
В режиме приема кода завершенного По синхроимпульсу ZT , поступающе- задани устройство выполн ет следую- му на входы элементов И 7, происходит щие действи . По синхроимпульсу Тд вю вьщача на адресный входы блока 6 па- рёгистре 76 запоминаетс сигнал за- м ти кода решенной задачи, в резуль- вершени задани от процессора, кото- тате чего формируютс импульсные сиг- рьА формирует единичный сигнал на вы- налы на тех выходах блока 6 пам ти, ходе элемента ИЛИ 44, поступающий че- которые соответствуют задачам, непорез элемент И 30 на информационный 15 средственно информационно св занным вход триггера 63. Приоритетньй шифра- с решенной задачей, и происходит из- тор 58 формирует номер приоритетного менение на единицу кодов степени за- процессора из числа вьщавших сигналы хода этих задач (при этом могут сфор- завершени задани .мироватьс запросы на решени некотоПо синхроимпульсу t триггер 63 20 рых из этих задач, если станут нуле- переводитс в единичное состо ние выми их коды степени захода), (режим приема кода завершенного зада- По синхроимпульсу с. дешифратор ни ). Единичньй сигнал с пр мого вы- 84 формирует второй сигнал на соот- хода триггера 63 через элемент ИЛИ 46 ветствующий выход 92 группы, по кото- поступает на входы элемента 2-2-2И- 25 рому выбранный процессор сйинает сиг- 2ИЛИ-НЕ 17 и создает услови дл осу- нал завершени задани и код завер- ществлени операции Запись, посту- шенного задани .с входов 90 и 14 уст пает на вторые входы элементов И 7 и ройства.In the reception mode of the code completed On the ZT clock pulse, the incoming job of the device performs the following at the inputs of the And 7 elements, the actions that take place. The sync pulse Td vu vchachach on the address inputs of block 6 parigister 76 remembers the signal to read the code of the solved problem, as a result of the task from the processor, which forms a pulse signal that generates a single signal to the outputs on those the outputs of the memory block 6, the element OR 44, the incoming one that corresponds to the tasks, the non-cutting element AND 30 to the informational 15, an informationally connected trigger input 63. The priority cipher is a solved task, and a 58 is generated. on e It’s one of the codes of the degree of the processor from among the signals that signaled the progress of these tasks (in this case, requests for solving some of the synchro t pulse flip-flop 63 20 of these tasks can be solved if their zero-degree codes turn out to be 1). call), (the mode of reception of the code of the completed task- According to the sync pulse with the decoder ni). A single signal from the direct one generates a second signal to the corresponding trigger 63 through the element OR 46 of the appropriate output 92 of the group, which is fed to the inputs of element 2-2-2I-25 by the selected processor and is interrupted by the signal 2ILI NOT 17 and creates conditions for the completion of the task and the completion code of the operation Record, the commented task. With inputs 90 and 14 it sets to the second inputs of the elements AND 7 and solids.
создает услови дл прохождени кода По синхроимпульсу о осуществл етс завершенного задани с адресных вхо- зо сброс триггера 63 (выход из режима дов 14 устройства на блок 6 пам ти, приема кода завершенного задани ) и поступает на управл ющие входы муль- обновление в регистре 76 информации типлексоров 60 и 61 и разрешает про- о процессорах, завершивших выполне- хождение на их выходы сигналов с вхо- ние заданий. Следующий режим работы дов Х1, поступает на вход элемента 5 устройства определ етс наличием го- И 28 и создает услови дл прохожде- товых к выполнению заданий и наличием ни синхроимпульса . Одновременно процессоров, завершивших выполнение этот же сигнал инициирует вьфаботку заданий, причем приоритет принадлежит формирователем 54 импульсов импульс- режиму вьщачи заданий на выполнение, ного сигнала, который поступает на о На фиг. 4 приведены временные диа- -. вычитающий вход счетчика 80 и произ- граммы, иллюстрирующие процесс приема водит отметку о выполнении его одного кода (n-l)-ro завершенного задани задани , поступает через элемент ИЛИ от f-ro процессора и запуск п-го за- 48 на вычитающий вход счетчика 78 и дани на 5-м процессоре, произволит учет количества заданий, g Работа устройства продолжаетс до наход щихс на выполнении в системе, тех пор, пока не будет решена послед- поступает через элемент ИЛИ 43 на н задача, соответствукида конечной вход сброса счетчика 82 и завершает вершине графа, после чего на сигналь- контроль длительности выполнени за- ном выходе счетчика 80 устанавливает- даний, а также сигнал через элемент с нулевой сигнал, который проходит ИЛИ 47 поступает на управл киций вход через элемент И 32 на информационный дешифратора 84, Последний на выходе, вход триггера 62, а также поступает соответствующем выбранному процессору, на сигнальный выход 19 устройства и форми рует импульсный сигнал, который свидетельствует об окончании решени поступает на соответствующий вход по- gg пакета задач. Очередной тактовый им- разр дного сброса регистра 74 и про- пульс Г, поступает на синхровход изводит отметку об освобождении про- триггера 62 и переводит его в нулевое цессора, а также поступает, на соот- состо ние (состо ние останова устрой- ветствующий выход 92 группы сигналь- ства). Нулевой сиг нал с пр мого выхо-.creates conditions for the passage of the code. By the sync pulse, a complete task is performed from the address inputs of reset flip-flop 63 (exit from the device 14 mode to the memory block 6, reception of the completed task code) and goes to the control inputs of the multi-update in register 76 information of typelexers 60 and 61 and permits pro processors that have completed execution of signals from the jobs to their outputs. The next mode of operation, Dow X1, enters the input of element 5 of the device, is determined by the presence of GO-28 and creates conditions for the tasks to be carried out and the presence of a sync pulse. At the same time, the processors that completed the execution of the same signal initiate the execution of tasks, and the priority belongs to the shaper 54 pulses of the pulse-to the mode of execution of tasks for the execution of the signal, which goes to Fig. 4 shows the time dia -. The subtracting input of the counter 80 and the pro- grammes illustrating the reception process leads to a mark on the completion of its one code (nl) -ro completed task, is received through the OR element from the f-ro processor and the start of the nth 48 to the subtracting input of the counter 78 and the tribute on the 5th processor will take into account the number of jobs, g the device will continue until being executed in the system, until the last is sent through the element OR 43 to the task, corresponding to the final reset input of the counter 82 and completes the top of the graph after its signal on the control of the duration of the execution of the output of the counter set 80, as well as the signal through the element with the zero signal, which passes OR 47 enters the control input through the element AND 32 on the information decoder 84, Last at the output, trigger input 62, and also enters the corresponding processor, the signal output 19 of the device and generates a pulse signal, which indicates the end of the solution is fed to the corresponding input gig packet of tasks. The next clock reset of the register 74 and the pulse G, arrives at the synchronous input, exhausts the indication of the release of the trigger 62 and converts it to the zero processor, and also enters the correlation (the stop state of the device 92 signaling groups). Zero signal from the direct output.
7ид 139987id 13998
да триггера 62 поступает па вторые танавливаетс адрес нулевой чейки, ,входы элементов И 8-11 и запрещает соответствующей нулевому процессору), поступление cинxpoи myльcoв на уст- поступает через элемент ИЛИ 40 на ройство. вход сброса регистра 76 и очищаетand trigger 62 enters the second, the zero-cell address, the inputs of the elements 8-11 and prohibits the corresponding zero processor), the arrival of the sync and myles on the device goes through the element OR 40 to the device. input reset register 76 and clears
Рассмотрим режим поиска зависшего его (устран ютс услови дл перехода задани , в который устройство перехо- устройства в режим приема кода завер- дит при нарушении длительности времен- шенного задани до завершени всех ного интервала, отведенного дл вы- действий по перезапуску задани ), полнени самого длинного задани из ю поступает на счетный вход счетчика 83 пакета и контролируемого счетчика 82. и инициирует регистрацию количестваConsider the mode of searching for a hung one (conditions are removed for the transition of the task to which the device of the transition device enters the code reception mode if the duration of the time reference is violated before the completion of the entire interval set aside for restarting the task) the longest task from u enters the counting input of the counter 83 of the packet and the controlled counter 82. and initiates the registration of the quantity
При наличии зависаний задач в сие- повторных запусков на процессор, не теме счетчик 78 имеет ненулевое зна- завершивший выполнение задани ., Нуле- чение в результате чего формируетс вой сигнал, поступающий на управл ю- единичный сигнал на выходе элемента 15 щий вход мультиплексора 61, разреша- ИЛИ 49, разрешающий прохождение так- ет прохождение на его выход сигналов товых сигналов на счетный вход счет- с входа Х2. Таким образом, на адрес- чика 82. Нарушение временного интер- ный вход блока 21 пам ти поступает вала (отсутствие сигнала сброса по содержимое счетчика 78, который фор- окончаний очередного .задани ) ведет 20 мирует последовательные адреса чеек к формированию нулевого сигнала пере- блока 21 пам ти по синхроимпульсам носа на сигнальном выходе счетчика « .With the presence of tasks hanging in the run-and-run process on the processor, the off-topic counter 78 has a non-zero sign that has completed the task. Zeroing, as a result, a signal is generated that arrives at the control - a single signal at the output of the 15 input element of the multiplexer 61 , permit- ting 49, permitting the passage also of the passage of signals of composite signals to its output to the counting input of the account from the input X2. Thus, at the address 82, the violation of the temporary intermittent input of the memory block 21 enters the shaft (no reset signal on the contents of the counter 78, which forwards the next task) leads 20 mi sequential addresses of the cells to the formation of the zero signal of the transient memory block 21 by nose sync at the signal output of the counter. "
82, который поступает на информацион- по следующим синхроимпульсам ный вход триггера 65. Очередной так-S в регистре 73 осуществл етс переза- товый импульс Т, поступает на синхро- 25 поминание содержимого чеек блока 21 вход триггера 65 и переводит его в пам ти. В чейке пам ти, соответству- нулевое состо ние (режим обработки ющей п)оцессору, не завершившему за- ситуации зависани задани ). Нулевой дание, будет записан номер этого за- сигнал с пр мого выхода триггера 65 дани , а в остальных чейках - нуле- поступает на вход элемента И 26 и зап-зо вой код. При обнаружении чейки с решает прохождение синхроимпульсов ненулевым содержанием на выходе схемы , на синхровход триггера 64, посту- 72 сравнени формируетс единичный пает на вход элемента И 24 и запре- сигнал, который поступает через эле- щает опрос по синхроимпульсам ли- мент ШШ 45 на управл кидий вход муль- ний готовности процессоров. Единичный 5 типлексора 60 и разрешает прохожде- сигнал с инверсного выхода триггера ние на его выход сигналов с входа 65 поступает на вход элемента И 25 и , XI ,, поступает на вход элемента И 29 и разрешает формирование счетной серии создает услови дл прохождени син- на счетчик 79, поступает на вход эле- хроимпульса , поступает на вход мента И 27 и разрешает работу регист- до элемента 2-2-2И-2ИЛИ-НЕ 17 и создает ра 73, поступает на вход элемента И услови дл осуществлени : по синхро- 29 и разрешает выдачу сигналов с вы- импульсу операции Запись. Таким хода схемы 72 сравнени , поступает образом, на информационный вход блока на вход элемента 2-2-2И-2ИЛИ-НЕ 17 и 21 пам ти подаетс нулевой код. создает режим Запись, чтение, дл По синхроимпульсу €j йа выходе эле- блока 21 пам ти. Этот же единичный мента И 29 формируетс импульсный сиг-, сигнал инициирует выдачу формировате- нал, который поступает через элемент лем 55 импульсов импульсного сигнала, ИЛИ 51 на синхровход триггера 65 и который поступает через элемент ИЛИ устанавливает его в единичное состо - 43 на вход сброса счетчика 82 и очи- gQ ние (выход из режима обработки ситуа- щает его (на выходе переноса по вл - ции зависани ), поступает через от- етс единичный сигнал), поступает крытый единичным сигналом с выхода через элемент ШШ 48 на вычитающий счетчика 83 элемент И 34 на синхро- вход счетчика 78 и декрементирует его вход регистра 77 и заносит в него но- содержимое (если зависло не одно за- мер найденного процессора, не завер- дание, то сигналы с входа 52 продол- шившего выполнение задачи, поступает жают поступать на устройство)j посту-. на управл ющий вход дешифратора 85 пает через элемент ИЛИ 42 на вход и формирует на его выходе сигнал пе- сброса счетчика 79 и очищает его (ус- резапуска найденного зависшего задасчетчика 2 группы), По этому же синхроимпульсу чейка блока 21 пам ти соответствуюпщ зависшему процессору, обнул етс Нулевой сигнал с выхода элемента ИЛИ-НЕ 52 запрещает работу дешифратора 87 и счетчика 79, в результате чего дл выполнени задани выбираетс именно тот процессор, на котором произошло зависание задани . Единичный сигнал с пр мого выхода триггера 65 разрешает опрос линий го10 дительность системы не менее требуемой . При большем числе неисправных процессоров на выходе переноса счетчика 81 формируетс нулевой сигнал, который через элемент И 32 поступает82, which arrives at the information on the following sync pulse trigger input 65. The next so-S register 73 carries out the overwrite pulse T, arrives at synchronization 25 remembering the contents of the cells of the block 21 trigger input 65 and translates it into memory. In the memory cell, there is a corresponding zero state (processing mode n) to the processor that did not complete the task hangup situation). Zero value, the number of this call will be recorded from the direct output of the trigger 65 dan, and in the remaining cells - zero will be input to the input of the And 26 element and the secret code. When a cell is detected, it solves the passage of clock pulses with a nonzero content at the output of the circuit, a synchronous input of the trigger 64, after a 72 comparison, a single drop is formed at the input of the AND 24 element and the suppression signal, which is sent through the synchro pulses through the pulse SH 45 at the input control input for multi-processor readiness. Unit 5 of type 60 and permits the passage of a signal from the inverse output of a trigger to its output signals from input 65 enters the input of element And 25 and, XI ,, enters the input of element And 29 and allows the formation of a counting series to create conditions for the passage of syn counter 79, enters the input of an impulse, enters the input of an AND 27 and allows the register to work for element 2-2-2И-2ИЛИ-НЕ 17 and creates a 73, enters the input of the element AND conditions for implementation: 29 and enables the output of signals with an impulse from the Record operation. Thus, the progress of the comparison circuit 72, proceeds in a manner, a zero code is fed to the information input of the block to the input of the element 2-2-2IL-2IL-NOT 17 and 21 of the memory. creates a mode Write, read, for According to the sync pulse € j output of the memory block 21. The same unit AND 29 forms a pulse signal, the signal initiates the issuance of a driver that enters through the element 55 of a pulse of a pulsed signal, OR 51 to the synchronous input of the trigger 65 and which arrives through the element OR sets it to one state - 43 to the reset input counter 82 and clearing gQ (exiting the processing mode it is in a situation (at the transfer output of the hang-up), comes through a single signal), enters the indoor signal with a single signal from the output through SHSh 48 to the subtracting counter 83 element and 34 n synchronizing the input of counter 78 and decrementing its input to register 77 and recording the contents into it (if more than one measurement of the found processor is hung, not closure, then signals from input 52 of the task that continues the task go to the device ) j post-. to the control input of the decoder 85 passes through the OR element 42 to the input and generates at its output a reset signal of the counter 79 and clears it (restarting the detected hung 2 meter group), using the same sync pulse of the memory block 21 corresponding to the hung processor The zero signal from the output of the OR-NOT 52 element prohibits the operation of the decoder 87 and the counter 79, as a result of which the processor on which the task has hung up is selected for the execution of the task. A single signal from the direct output of flip-flop 65 permits polling the lines, and the system maintains at least the required response. With a larger number of faulty processors at the output of the transfer of the counter 81, a zero signal is generated, which through the element 32 arrives
товности процессоров. Обнуление счетчика 2 группы, соответствующего завис- б на информационный вход триггера 62, шему заданию, приводит к по влению а также на сигнальный выход 20 уст- рдиничного сигнала на выходе элемента ИЛИ 12, в результате чего создают с предпосылки дл перехода устройства в режим вьщачи номера, готово- 20 и переводит его в нулевое состо ние го к выполнению задани . Запуск за- (состо ние останова устройства). Нуройства и свидетельствует об аварии системы. Очередной синхроимпульс , поступает на синхровход триггера 62processors. Resetting the group 2 counter, corresponding to the information input of the trigger 62, to your task, leads to the appearance as well as to the signal output 20 of the stray signal at the output of the OR 12 element, resulting in a prerequisite for switching the device to the number is ready- 20 and puts it in the zero state to perform the task. Start-up (device stop state). Nurovstva and indicates the accident system. Another sync pulse arrives at trigger sync 62
Дани производитс аналогично описанному .Dani is produced as described.
В случае, если повторный запуск задани на ранее зависший процессор (количество перезапусков определ етс глубиной счета счетчика 83) не привел к нормальному завершению задани , выполн етс следующа последовательность действий. Аналогично описанному 30 один из свободных процессоров Единичпроизводитс поиск зависшего задани и процессора, обнул етс соответствующа чейка пам ти блока 21, осуществл етс выход из режима обработки ситуации зависани (перевод триггера 65 в единичное состо ние), но в отличии от описанной ситуации нулевой сигнал переполнени с выхода счетчика 83 запрещает прохождениеIn the event that the restart of the task to the previously hung processor (the number of restarts determined by the counting depth of the counter 83) did not lead to a normal completion of the task, the following sequence of actions is performed. Similarly to the described 30, one of the free processors. The unit searches for the hung task and the processor, the corresponding memory cell of the block 21 is zeroed, and the zero outflow signal is removed from the hangup handling mode (translation of the trigger 65 to one). from the output of the counter 83 prohibits the passage
ный сигнал с выхода элемента ИЛИ-НЕ 53 разрешает прохождение единичного сигнала с выхода элемейта И 22 (сформированного по синхроимпульсу с-оThe signal from the output of the element OR-HE 53 permits the passage of a single signal from the output of the element 22 And (generated by the sync pulse from
))
3535
через элемент И 35 на синхровход счетчика 79, а также разрешает работу дешифратора 87. Таким образом, производитс перезапуск задани на приоритетном процессоре из числа свободных, импульсного сигнала с выхода элемента 40 Выдача номера задани осуществл етс И 29 на синхровход регистра 77 и раз- аналогично описанному, решает его прохождение через элемент На фиг. 5 и 6 приведены временные И 33. Импульсный сигнал с выхода эле-i диаграммы, описывающие процесс перемента И 33 поступает на счетный вход запуска п-го задани зависшего на вто- счетчика 81, регистрирующего количе- 45 Р°. процессоре на К-м такте.through element 35 to the synchronous input of the counter 79, and also enables the operation of the decoder 87. Thus, the task is restarted on the priority processor from among the free, pulse signal from the output of element 40. The task number is issued AND 29 to the synchronous input of the register 77 and similarly described, decides its passage through the element. In FIG. 5 and 6 show temporary AND 33. A pulsed signal from the output of the ele-i diagrams describing the perement process. And 33 is fed to the counting input of starting the n-th task of the stuck on the second counter 81, recording the number of 45 P. processor on the kth clock.
На фиг. 7 и 8 приведены временныеFIG. 7 and 8 are temporary
ство неработоспособных процессоров системы, и инкрементирует его. Этот же сигнал поступает на управл ющий вход дешифратора 86 и формирует наunworkable system processors, and increments it. The same signal is fed to the control input of the decoder 86 and forms on
диаграммы, описьюающие отключени второго процессора и перезапуск п-го задани на первый процессор. Решениеcharts describing the shutdown of the second processor and the restart of the nth job on the first processor. Decision
его выходе (соответствующем сбойному gg о неисправнос ти второго процессора процессору) импульсный сигнал, который поступает на одноименный сигнальный вьгход 93 группы и отключает процессор , а также поступает на одноименный вход поразр дного установа ре- gg Устройство дл распределени зада- гистра 75 и делает отметку об исклю- ний процессорам, содержащее группу чении процессора из конфигурации системы . Сигналы с инверсных эыходовits output (corresponding to the failed gg about the failure of the second processor processor) is a pulse signal that arrives at the group signal output 93 of the same name and shuts down the processor, and also enters the regigg setting of the register 75 and makes a mark about excluding processors containing a processor group from the system configuration. Inverted Echo Signals
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874265479A SU1441399A1 (en) | 1987-06-19 | 1987-06-19 | Device for distributing tasks among processors |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874265479A SU1441399A1 (en) | 1987-06-19 | 1987-06-19 | Device for distributing tasks among processors |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1441399A1 true SU1441399A1 (en) | 1988-11-30 |
Family
ID=21312202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874265479A SU1441399A1 (en) | 1987-06-19 | 1987-06-19 | Device for distributing tasks among processors |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1441399A1 (en) |
-
1987
- 1987-06-19 SU SU874265479A patent/SU1441399A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1234839, кл. Г, 06 F 9/46, 1984. Авторское свидетельство СССР № 1234838, кл. G 06 F 9/46, 1984. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4503490A (en) | Distributed timing system | |
SU1441399A1 (en) | Device for distributing tasks among processors | |
SU1575182A1 (en) | Device for distribution of problems to processors | |
SU1644169A1 (en) | Interruptions processing system controller | |
SU1539776A1 (en) | Microprogram control device | |
SU1667100A1 (en) | Device for queueing system simulation | |
SU1174919A1 (en) | Device for comparing numbers | |
SU1410048A1 (en) | Computing system interface | |
SU1760631A1 (en) | Ring counter | |
SU1001083A1 (en) | Number sorting device | |
SU1290324A1 (en) | Device for distributing jobs to processors | |
SU1317436A1 (en) | Device for servicing interrogations | |
SU1119020A1 (en) | Memory control unit | |
SU1170478A1 (en) | Device for signalling operation of distributed objects | |
SU1341640A1 (en) | Interruption signal forming device | |
SU1254485A1 (en) | Device for distributing group requests among processors | |
SU1120326A1 (en) | Firmware control unit | |
SU1104495A2 (en) | Input-output controller | |
SU1264206A1 (en) | Switching device for multichannel check and control systems | |
SU1236475A1 (en) | Microprogram control device | |
SU1594548A1 (en) | Device for monitoring of processor addressing the memory | |
SU766015A1 (en) | Level distributing device | |
SU1711173A1 (en) | Device for providing priority access to common bus | |
SU1425669A1 (en) | Appangement for priority access to common storage | |
SU1594543A1 (en) | Device for restarting computing system upon failure detection |