SU1246096A1 - Device for distributing jobs among processors - Google Patents

Device for distributing jobs among processors Download PDF

Info

Publication number
SU1246096A1
SU1246096A1 SU843824220A SU3824220A SU1246096A1 SU 1246096 A1 SU1246096 A1 SU 1246096A1 SU 843824220 A SU843824220 A SU 843824220A SU 3824220 A SU3824220 A SU 3824220A SU 1246096 A1 SU1246096 A1 SU 1246096A1
Authority
SU
USSR - Soviet Union
Prior art keywords
register
processors
state
elements
input
Prior art date
Application number
SU843824220A
Other languages
Russian (ru)
Inventor
Анатолий Хатыпович Ганитулин
Вячеслав Григорьевич Попов
Original Assignee
Пушкинское Высшее Ордена Красной Звезды Училище Радиоэлектроники Противовоздушной Обороны
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Пушкинское Высшее Ордена Красной Звезды Училище Радиоэлектроники Противовоздушной Обороны filed Critical Пушкинское Высшее Ордена Красной Звезды Училище Радиоэлектроники Противовоздушной Обороны
Priority to SU843824220A priority Critical patent/SU1246096A1/en
Application granted granted Critical
Publication of SU1246096A1 publication Critical patent/SU1246096A1/en

Links

Landscapes

  • Multi Processors (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в. многопроцессорных вычислительных системах. Цель изобретени  - повышение быстродействи  устройства при обслуживании за вок по круговому циклическому алгоритму. Новым в устройстве  вл етс  использование шести элементов И, четГ Трех триггеров, генератора импульсов,двух элементов задержки, группы элементов запрета, шифратора, элемента НЕ, приоритетного шифратора, схемы срав-- нени  и их св зей в устройстве . 1 ил. N3 NU Gfi О СО О5The invention relates to computing and can be used. multiprocessor computing systems. The purpose of the invention is to increase the speed of the device when servicing the applications in a circular cyclic algorithm. New in the device is the use of six AND elements, the Three Triggers, a pulse generator, two delay elements, a group of prohibition elements, an encoder, an NOT element, a priority encoder, a comparison circuit and their connections in the device. 1 il. N3 NU Gfi O CO O5

Description

Изобретение относитс  к вычислительной технике и может быть использовано в многопроцессорных вычислительных системах.The invention relates to computing and can be used in multiprocessor computing systems.

Цель изобретени  - повьппение быстродействи  в режиме обслуживани  за вок по кольцевому циклическому алгоритму.The purpose of the invention is to increase the speed in the service mode of the application according to a circular cyclic algorithm.

На чертеже приведена структурна  схема устройства.The drawing shows a block diagram of the device.

Устройство содержит триггер 1 запуска , вход 2 запуска устройства, генератор 3 импульсов, элемент И 4, элемент И 5, элемент И 6, элемент 7 задержки, элемент 8 задержки, триггер 9 режима, управл ющие входы 10 и 11 режима устройства, триггер 12 управлени  сдвигом, схема 13 сравнени , триггер 14 записи, элементИ15, элемент И 16, элемент НЕ 17, приоритетные шифраторы 18 и 15, элемент И 20, элемент И 21, триггер 22 вьща- чи, элемент ИЛИ 23, элементы ИЛИ 24 и 25, группу элементов И 26, элемент 27 задержки, элемент И 28, элемент Н 29, коммутатор 30, первый управл ющий вход 31 коммутатора 30, второй управл ющий вход 32 коммутатора 30, первый информационный вход 33 коммутатора 30, второй информационный вход 34коммутатора 30, первую груп- пу выходов 35 коммутатора 30, вторую группу выходов 36 коммутатора 30, группу регистров 37 хранени , блок 38 элементов И, блок 39 элементов И, регистр 40 сдвига, вход 41- управлени  сдвигом регистра 40 сдвига, вход 42 сброса регистра 40 сдвига, группу информационных входов 43 регистра 40 сдвига, группу входов 44 сброса регистра 40 сдвига, элемент 45 задержки , элемент 46 задержки , группу элементов И 47, регистр 48 распределени , группу информационных выходов 49 устройства, регистр 50 готовности, группу элементов И 51, группу информационных входов 52 устройства, буферный регистр 53, выход 54 кода ко- личества процессоров буферного ре- гистра 53, выход 55 кода номера за- дачи буферного регистра 53, группу элементов ИЛИ 56, элемент И 57, одно- иибратор 58, элемент ИЛИ 59, группу элементов И 60, регистр 61 готовности , группу одновибраторов 62.The device contains a trigger 1 trigger, a device trigger input 2, a generator of 3 pulses, an AND 4 element, an AND 5 element, an AND 6 element, a delay element 7, a delay element 8, a mode trigger 9, control inputs 10 and 11 of the device mode, a trigger 12 shift control, comparison circuit 13, write trigger 14, element 15, element AND 16, element NOT 17, priority encoders 18 and 15, element AND 20, element And 21, trigger 22, trigger, element OR 23, elements OR 24 and 25 , group of elements And 26, element 27 of delay, element And 28, element H 29, switch 30, first control input 31 of switch 30, the second control input 32 of the switch 30, the first information input 33 of the switch 30, the second information input 34 of the switch 30, the first group of outputs 35 of the switch 30, the second group of outputs 36 of the switch 30, the group of storage registers 37, And block 38 39 AND elements, shift register 40, shift control input 41- shift register 40, shift register 40 reset input 40, group of information inputs 43 of shift register 40, reset group of inputs 44 of shift register 40, delay element 45, delay element 46, element group And 47, register 48 switchgear Events, device information output group 49, readiness register 50, And 51 group of devices, device information input group 52, buffer register 53, output 54 of the code of the number of processors of the buffer register 53, output 55 of the code of the task number of the buffer register 53 , a group of elements OR 56, an element AND 57, a single-vibrator 58, an element OR 59, a group of elements AND 60, a register 61 of readiness, a group of one-shot 62.

Устройство работает следующим образом .The device works as follows.

5five

00

5five

00

Исходное состо ние устройства характеризуетс  тем, что триггеры 1, 14, 12 и 22, регистры 40, 61, 53, 50 и 37 установлены в состо ние О (не показано). После этого по входам 52 в регистр 50 готовности принимаютс  . в соответствующие разр ды, закрепленные за каждым процессором, сигналы готовности процессоров. По входу 33 поступают за вки, содержащие код номера задачи и код числа потребных дл  ее решени  процессоров, в сопро- вожден:ии сигнала запуска по входу-2.The initial state of the device is characterized by the fact that the triggers 1, 14, 12 and 22, registers 40, 61, 53, 50 and 37 are set to the state O (not shown). Thereafter, inputs 52 to readiness register 50 are received. in the corresponding bits assigned to each processor, the readiness signals of the processors. At input 33, applications are received containing the code of the task number and the code of the number of processors required to solve it, accompanied by: and the trigger signal at input-2.

Работа устройства состоит из двух этапов. На первом этапе из поступающих за вок по входу 33 на коммутатор 30 формируетс  очередь в группе регистров 37 хранени , число которых определ етс  числом источников за вок . Одновременно на этом этапе осуществл етс  отслеживание состо ни  процессоров. Если процессор свободен, то соответствующий ему разр д в регистре 50 устанавливаетс  в 1, а так как регистр 40 сдвига находитс  в нулевом состо нии, то на выходе элемента ИЛИ 23 формируетс  нулевой сигнал, которым через элементы НЕ 17 и ИЛИ 59 открыты элементы И 60. При этом единичные сигналы готовности, зафиксированные в регистре 50, передаютс  в соответствующие разр ды регистра 61 готовности.The operation of the device consists of two stages. At the first stage, a queue is formed from incoming orders at input 33 to switch 30 in the group of storage registers 37, the number of which is determined by the number of sources of the application. At the same time, the state of the processors is monitored at this stage. If the processor is free, the corresponding bit in register 50 is set to 1, and since the shift register 40 is in the zero state, then the output of the OR 23 element produces a zero signal, through which the AND 60 elements are opened through the HE 17 and OR 59 elements Here, the single ready signals, fixed in register 50, are transmitted to the corresponding bits of the ready register 61.

Формирование очереди за вок осуществл етс  следующим образом. Так как регистр 40 сдвига находитс  в состо нии О, то единичным выходным сигналом элемента НЕ 17 открыты по первым входам элементы И 28 и 29 и первый элемент И 26 группы, а по второму входу - последний элемент И 26. Так как триггер 14 находитс  в состо нии О, то по третьему входуQueuing of quotes is carried out as follows. Since the shift register 40 is in the state O, the unit output signal of the NOT 17 is opened at the first inputs of the elements And 28 and 29 and the first element of the 26 group, and at the second input - the last element of the 26. As the trigger 14 is in O state, then through the third input

открыт элемент И 29, а элемент И 28 закрыт нулевым сигналом с единичного выхода триггера 14. Посредством элементов И 28 и 29 формируетс  сигнал записи, по которому обеспечиваетс element 29 is open, and element 28 is closed by a zero signal from a single trigger output 14. By means of elements 28 and 29, a recording signal is generated, which provides

передача коммутатором 30 на выходы 35 и 36 и далее на входы первого регистра 37 хранени  либо содержимого буферного регистра 53 с входа 34, либо за вки с входа 33 соответственно . По первому импульсу генератора, поступающему через открытые элементы И 4 и И 26 и элемент 27 задержки на вторые входы элементов И 26f иtransfer by switch 30 to outputs 35 and 36 and further to the inputs of the first storage register 37, or the contents of buffer register 53 from input 34, or application from input 33, respectively. On the first impulse of the generator, coming through the open elements And 4 and And 26 and the element 27 of the delay on the second inputs of the elements And 26f and

3131

29, обеспечиваетс  запись первой за вки в первый регистр 37.29, the first application is recorded in the first register 37.

Под воздействием тактовых сигналов в регистрах 37 формируетс  очередь за вок на решение задач следу- ющим образом. Записанна  в первый регистр 37 за вка- по тактовым импульсам с выходов соответствующих элементов И 26 перемещаетс  в последний регистр 37 группы. По каждому очередному тактовому импульсу записи в первый регистр 37 хранени  группы может помещатьс  нова  за вка с входа 33 устройства, как описано. При этом дл  за вок, наход щихс  в очереди, реализуетс  дисциплина обслуживани  по алгоритму Первый пришел - первый обслужен. Under the influence of clock signals in registers 37, a queue of applications for solving problems is formed as follows. The recorded in the first register 37 for clock pulses from the outputs of the corresponding elements And 26 is moved to the last register 37 of the group. For each successive clock pulse of writing to the first group storage register 37, a new application may be placed from the input 33 of the device as described. In this case, for the order, which is in the queue, the service discipline is implemented according to the algorithm First came - first served.

В очередном такте после заполнени  последнего регистра 37 (первой поступившей за вкой) начинаетс  второй этап работы устройства.In the next clock cycle after the last register 37 is filled (the first application received), the second stage of the device operation begins.

В зависимости от состо ни  -триг- гера 9 режима устройство может работать в одном из двух режимов: обслуживание за вок в пор дке поступлени  или обслуживание за вок по круговому циклическому алгоритму. Первому режиму соответствует единичное состо - , ние триггера 9, устанавливаемого сигналом по входу 11 устройства, а вто-- рому - нулевое, которое устанавливаетс  сигналом по входу 10 устройства.Depending on the state of the trigger 9 mode, the device can operate in one of two modes: servicing the order in the order of arrival, or servicing the order according to a circular cyclic algorithm. The first mode corresponds to the unit state of trigger 9, which is set by the signal at input 11 of the device, and to the second, zero, which is set by the signal at input 10 of the device.

В режиме обслуживани  в пор дке поступлени  задача может получить требуемое количество процессоров дл  решени  без ожидани  освобождени  достаточного количества процессоров , если в устройстве зафиксировано необходимое количество свободных процессоров, и с ожиданием, когда по мере освобождени  процессоров они назначаютс  задаче. Работа устройства в этом режиме характерна совмещением функций распределени  и отслеживани  состо ни  процессоров.In service mode, in the order of arrival, a task can get the required number of processors to solve without waiting for the release of a sufficient number of processors if the device has the required number of free processors, and with waiting when they are assigned to the task as the processors release. The operation of the device in this mode is characterized by the combination of the functions of distribution and tracking of the state of the processors.

При обслуживании за вок по круговому циклическому алгоритму вначале производитс  анализ возможности назначени  требуемого числа процессоров задаче из числа зафиксированных на момент распределени . При этом, если число свободных процессоров меньше потребных, то за вка возвращаетс  в конец очереди, и на обслуживание поступает очередна  за вка. Если число свободных процессоров больше либо равно потребному, то производитс When servicing requests for a circular cyclic algorithm, first, an analysis is made of the possibility of assigning the required number of processors to a task from among those fixed at the time of distribution. In this case, if the number of free processors is less than the required ones, then the application returns to the end of the queue, and the next application enters the service. If the number of free processors is greater than or equal to the required one, then

46096 .446096 .4

распределение с вободных процессоров данной задаче.distribution with free processors for this task.

Работа устройства в режиме обслуживани  в пор дке поступлени  состо- 5 ит в следующем. Триггер 9 режима установлен в состо ние 1 сигналом- по входу 11, поступающим в устройство после установки его в исходное состо ние.The operation of the device in the service mode in the order of arrival is as follows. The trigger 9 of the mode is set to state 1 by a signal on input 11, which enters the device after setting it to its initial state.

)0 После заполнени  последнего регистра 37 хранени  группы по очеред- ному тактовому сигналу с выхода последнего элемента И 26 код числа требуемых процессоров из этого р егистра 5 через открытые элементы блока 38) 0 After filling the last register 37 of the group for the next clock signal from the output of the last element AND 26 code of the number of required processors from this register 5 through the open elements of the block 38

элемента И единичным сигналом с выхода элемента НЕ 17 по входам 43 пере- дае,тс  в регистр 40 сдвига. Через некоторое врем , определ емое эле- 20-ментом 27 задержки, в последний регистр 37 группы передаетс  за вка из предпоследнего регистра. Наличие элемента 27 задержки в цепи управлени  записью в последний регистр 37 группы 25 позвол ет обеспечить завершение записи в регистры 40 и 53 до того, как изменитс  состо ние очереди, т.е. до осуществлени  сдвига за вок в очереди . Исход  из этого выбираютс  па- эр.раметры элемента 27 задержки. Элемент 46 задержки обеспечивает совмещение моментов по влени  информации на выходах буферного регистра через элементы И 38 и 39 и тактового сигнала с выхода последнего элемента И 26 группы.element And a single signal from the output of the element NOT 17 to the inputs 43 is transferred, tf to the shift register 40. After some time, determined by delay element 2720, the application from the last but one register is transmitted to the last register 37 of the group. The presence of a delay element 27 in the write control circuit in the last register 37 of group 25 allows for the completion of writing to registers 40 and 53 before the state of the queue changes, i.e. before the shift queued in the queue. From this, parameters of delay element 27 are selected. The delay element 46 provides a combination of the moments of occurrence of information at the outputs of the buffer register through the elements 38 and 39 and the clock signal from the output of the last element 11 of the group 26.

Таким образом, к моменту начала выполнени  функции распределени  процессоров устройство характеризуетс  следующим состо нием.Thus, by the time the processor starts allocating the distribution function of the processors, the device is characterized by the following state.

В регистре 40 записан код количества процессоров, необходимых дл  репгени  задачи, в регистре 61 - позиционный код состо ни  процессоров, в регистре 53 - копи  за вки, выбранной на обслуживание, в регистрах 37- очередь за вок на решение задач. Далее устройство реализует функцию распределени  процессоров выбранной задаче.Register 40 contains the code of the number of processors required for repenging the task, register 61 contains the position code of the state of the processors, register 53 contains the copies of the application selected for service, registers 37 queue requests for solving the tasks. Next, the device implements the distribution function of the processors to the selected task.

После записи кода числа требуемых процессоров в регистр 40 на вькоде элемента ИЛИ 23 уста навливаетс  еди- ничньш потенциал, открьшающий по вторым входам элементы И 15, 16, 5 и 6, 55 по первому - элемент И 20, Нулевым сигналом с выхода элемента НЕ 17 одновременно с этим закрываютс  элементы И 29, элементы И 26 группы и After writing the code of the number of required processors in register 40 on the element OR 23, a single potential is established, which opens the second input elements AND 15, 16, 5 and 6, 55 through the first - AND element 20, with the Zero signal from the output of the HE element 17 at the same time, elements AND 29, elements AND 26 of the group and

4040

4545

блоки 38 и 39 элементов И, а также снимаетс  единичный сигнал на первом входе элемента ИЛИ 59. Но так как тГ иггер 9 режима установлен в состо  ние 1, то на выходе элемента ШШ 59 поддерживаетс  единичный уровень сигнала. При этом в регистре 61 отслеживаетс  состо ние процессоров, что необходимо дл  распределени  процессоров задаче, когда число свободных процессоров меньше потребных. Особенностью функции отслеживани  состо ни  процессоров  вл етс  то, что перевод процессора из состо ни  Свободен в состо ние Зан т может произойти в результате выполнени  функции вьзделени  процессоров задаче , а освобождение процессора, т.е. перевод его из состо ни  Зан т в состо ние Свободен, может произойти в любое врем  работы устройства. После передачи информации в регистр 40 сдвига единичным сигналом с выхода элемента ИЛИ 23 открываетс  элемент И 20 и через некоторое врем  определ емое элементом 45 задержки, устанавливаетс  в состо ние 1 через элемент ИЛИ 25 триггер 22 выдачи . Вр,ем  задержки элементом 45 оп- редел етс  длительностью переходных процессов в элементах И 38, в рег ист ре 40 сдвига и элементе 17. Поэтому параметры элемента 45 задержки выбираютс  так, чтобы импульс на втором входе элемента И 20 действовал по завершении переходных процессов в элементах И 38, в регистре 40 и элементе 29.blocks 38 and 39 of the elements AND, as well as a single signal at the first input of the element OR 59, is removed. But since the mode igger 9 is set to state 1, a single signal level is maintained at the output of the SHSh 59 element. At the same time, in register 61, the state of the processors is monitored, which is necessary for distributing processors to a task when the number of free processors is less than the required ones. A feature of the processor state tracking function is that the transfer of the processor from the idle state to the idle state can occur as a result of the execution of the processor allocation function to the task, and the release of the processor, i.e. its transfer from the state to the Free state can occur at any time of the device operation. After the information is transmitted to the shift register 40 with a single signal from the output of the OR element 23, the AND element 20 is opened and, after some time, determined by the delay element 45, is set to state 1 via the OR 25 element, the issue trigger 22. During the delay, the element 45 is determined by the duration of the transient processes in the AND 38 elements, in the shift source register 40, and the element 17. Therefore, the parameters of the delay element 45 are selected so that the pulse at the second input of the AND element 20 acts upon completion of the transient processes elements And 38, in register 40 and element 29.

Нулевым сигналом с выхода элемен- та НЕ 17 закрываетс  последний элемент И 26 и элемент И 29, чем блокируетс  прием за вки с входа 33. Сигналом с единичного выхода триггера 22 открываютс  элементы И 51.By the zero signal from the output of the element NOT 17, the last element AND 26 and the element 29 are closed, thus blocking the reception from input 33. By the signal from the single output of the trigger 22, elements 51 are opened.

Если до момента очередного тактового сигнала генератора 3 импульсов происходит совпадение единичных сигналов в соответствующих элементах И 47, то соответствующие разр ды ре- гистра 48 распределени  устанавливаютс  в состо ние 1. Перепадами потенциалов запускаютс  соответствующие , одновибраторы 62 группы, выходные сигналы которых устанавливают в состо ние О соответствующие разр ды регистров 50 и 40. Одновременно через открытые элементы И 51 устанавIf, before the next clock signal of the generator of 3 pulses, the single signals in the corresponding AND 47 elements coincide, the corresponding bits of the distribution register 48 are set to state 1. The corresponding, one-shot 62 groups, the output signals of which set them to state About the corresponding bits of registers 50 and 40. At the same time through the open elements And 51 set

ливаютс  в состо ние О соответствущие разр ды регистра 50, а на выходах 49 в соответствующие группы из регистра 53 по выходам 55 передаетс  номер задачи. Таким образом в сооветствующих группах выходов 49 соответствующему процессору выдаютс  сигнал его выбора и номер задачи дл  решени , а в регистре 50 готовности соответствующий разр д отражает состо ние процессора Зан т.the corresponding register bits 50 are placed in the state O, and at outputs 49 the task number is transferred to the corresponding groups from register 53 by outputs 55. Thus, in the corresponding output groups 49, the corresponding processor is given a signal of its choice and task number to be solved, and in the ready register 50, the corresponding bit reflects the state of the processor Zan t.

При этом возможны два случа : после установки в состо ние О разр дов регистра 40 сдвига общее его. содержимое стало нулевым, в одном либо в нескольких разр дах регистра сдвига сохранились значени  1.In this case, two cases are possible: after setting the state O of the bits of the shift register 40, its total. the contents became zero, the values of 1 remained in one or in several bits of the shift register.

В первом случае на выходе элемента НЕ 17 формируетс  единичный сигнал: , по которому устанавливаетс  в состо ние О триггер 22 выдачи, очередна  за вка принимаетс  в первый тррдггер 37 хранени , осуществл етс  перемещение за вок в регистрах 37, и очередна  за вка из последнего регистра 37 хранени  рассмотренным способом передаетс  в регистр 40 сдвига. In the first case, at the output of the element NOT 17, a single signal is formed: by which the issuance trigger 22 is set to the state O, the next application is received in the first storage register 37, the applications in the registers 37 are moved, and the application from the last register is transferred 37 by storage in the manner described is transferred to shift register 40.

Во втором случае на выходе элемента ИЛИ 24 удерживаетс  единичный потенциал , которым открыты элементы И 15 и 16 по вторым входам. Так как триггер управлени  сдвигом находитс  в состо нии О, то элемент И 16 закрыт, поэтому импульсы с выхода элемента И 4 проход т через элементы И 15 и ШШ 24 на вход 41 управлени  сдвигом регистра. 40 сдвига. По этому импульсу происходит сдвиг содержимого регистра 40 в сторону старших разр дов . Если нет совпадени  единичных сигналов на элементах И 47, то оче- редными тактовыми сигналами производитс  дальнейший сдвиг информации в регистре 40. При этом сдвиг выполн етс  до тех пор, пока содержимое регистра сдвига не станет равным нулю . Такое положение может возникнуть либо по завершении одного цикла, если число свободных лроцессоров достаточно дл  решени  задачи, либо, за несколько циклов, в течение которых в регистре 61 готовности происходит отслеживание состо ни  процессоров.In the second case, at the output of the element OR 24, a single potential is held, which opened the elements 15 and 16 at the second inputs. Since the shift control trigger is in the O state, the AND 16 element is closed, therefore the pulses from the output of the AND 4 element pass through the AND 15 and SHSh 24 elements to the register shift control input 41. 40 shift. According to this impulse, the contents of register 40 are shifted towards the higher bits. If there is no coincidence of the single signals on the AND 47 elements, then the next clock signals further shift the information in register 40. In this case, the shift is performed until the contents of the shift register becomes zero. Such a situation can occur either at the end of one cycle, if the number of free processors is enough to solve the problem, or for several cycles during which the state of the processors is tracked in the readiness register 61.

Режим обслуживани  за вок в пор дке поступлени  будет продолжатьс .The service mode will continue in the order of arrival.

пока триггер режима не будет установлен в состо ние .until the mode trigger is set to state.

Дл  перевода устройства в режим обслуживани  по круговому циклическому алгоритму оно приводитс  к исходному состо нию, а затем по сигналу с входа 10 триггер 9 режима устанавливаетс  в состо ние О. To put the device into service mode, according to a circular cyclic algorithm, it is brought to its initial state, and then, from a signal from input 10, the mode trigger 9 is set to state O.

В этом режиме формирование очереди и отслеживание состо ни  процес соров до момента передачи первой за вки в регистр 40 сдвига и буферный регистр 53 производитс  аналогично рассмотренному. Отличие этого режима состоит в том , что до очередного так тового сигнала генератора 3 импульсов в устройстве производитс  анализ возможности распределени  свободных процессоров прин той за вке. При этом, так как на выходе элемента НЕ 17 формируетс  нулевой сигнал и триггер 9 режима находитс  в состо нии О, то нулевым сигналом с выхода элемента ИЛИ 59 закрываютс  элементы И 60, чем фиксируетс  число свободны процессоров в регистре 61 на момент сравнени . Дл  сравнени  количества потребных процессоров с числом свобоных используетс  схема 13 сравнени , на первые входы которой подаетс  двоичный код числа потребных процессоров , а на вторые - двоичный код числа свободных процессоров. Если код числа на первом входе больше или равен коду числа на втором, то значени выходного сигнала схемы сравнени  равно нулю. Если наоборот, то значение выходного сигнала равно 1.In this mode, queuing and monitoring the state of the processors until the first application to the shift register 40 and the buffer register 53 is transmitted is similar to that considered. The difference of this mode is that before the next signal of the generator of 3 pulses, the device analyzes the possibility of distributing the free processors of the accepted application. In this case, since the zero signal is generated at the output of the element NOT 17 and the mode trigger 9 is in the state O, the AND 60 elements are closed with the zero output of the element OR 59, which fixes the number of processors free in the register 61 at the time of comparison. To compare the number of required processors with the number of free ones, the comparison circuit 13 is used, the first inputs of which are fed a binary code of the number of required processors, and the second - the binary code of the number of free processors. If the code of the number at the first input is greater than or equal to the code of the number at the second, then the value of the output signal of the comparison circuit is zero. If on the contrary, the value of the output signal is 1.

.Так как число потребных и свободных процессоров представл етс  пози- ционнь м кодом, то дл  сравнени  их в схеме сравнени  необходимо преобразовать позиционные коды в двоичные.Since the number of needed and free processors is represented by the position code, in order to compare them in the comparison circuit it is necessary to convert the position codes to binary ones.

Преобразование позиционного кода числа потребных процессоров регистра 40 производитс  следующим образом Так как код числа потребных процессоров в регистре сдвига указываетс  единичным состо нием смежных разр дов , начина  с младшего, то. номер старшего разр да однозначно отражает число потребных процессоров. Отсюда задача формировани  двоичного кода 43 позиционного сводитс  к выделению старшего значащего разр да, т.е. преобразование позиционного кода в унитарный (имеющий единицу только в одной позиции кода), а затем унитарного - в двоичный.The conversion of the positional code of the number of required processors of the register 40 is performed as follows. Since the code of the number of required processors in the shift register is indicated by a single state of adjacent bits, starting with the youngest, then. The high-end number uniquely reflects the number of processors required. Hence, the task of forming the binary code 43 of the positional code is reduced to the selection of the most significant bit, i.e. converting a positional code into a unitary code (having a unit in only one position of the code), and then unitary code into a binary one.

Двоичный пр мой код с выходов приоритетного шифратора 19 подаетс  наThe binary forward code from the outputs of the priority encoder 19 is fed to

вторые входы схемы 13 сравнени .the second inputs of the comparison circuit 13.

Пусть число потребных процессоров больше свободных. При этом выходной сигнал схемы сравнени  равен единице. Этим сигналом закрываетс  по инверсному входу элемент И 6 и открываетс  элемент И 5 по третьему входу. Через некоторое врем , определ емое элементом 8 задержки, через элемент И 5 устанавливаетс  в состо ние 1 триг гер 14 записи и в состо ние О - регистр 40 сдвига по входу 42. Величина времени задержки элементом 8 определ етс  временем переходных процессов . в шифраторе 18 и схеме .Let the number of processors need more free. In this case, the output signal of the comparison circuit is equal to one. This signal closes on the inverse input element AND 6 and opens the element AND 5 on the third input. After some time, determined by delay element 8, through element 5, it is set to state 1 trigger of record 14 and to state O, input shift register 40. The value of delay time by element 8 is determined by the transient time. in the encoder 18 and the scheme.

13 сравнени .13 comparisons.

Единичным сигналом с выхода элемента НЕ 17 открываютс  элементы И 26 и 28. Так как триггер 14 установлен в состо ние 1, то сигналA single signal from the output of the element NOT 17 opens the elements AND 26 and 28. Since the trigger 14 is set to state 1, the signal

записи формируетс  элементом И 28. По этому сигналу, поступающему на первый управл ющий вход 31 коммута- тора , копи  за вки из буферного регистра 53 с выходов 54 и 55 поrecords are formed by the element And 28. For this signal, which arrives at the first control input 31 of the switch, copy the application from the buffer register 53 from outputs 54 and 55 to

входам 34 коммутатора записываетс  в первый регистр 37 хранени  группы с выходов 35 и 36 коммутатора 30. Через некоторое врем , определ емое элементом 7 задержки, триггер 14the switch inputs 34 are recorded in the first register 37 of the storage group from the outputs 35 and 36 of the switch 30. After some time, determined by the delay element 7, the trigger 14

записи устанавливаетс  в состо ние О. Параметры эл-емента 7 задержки выбираютс , исход  из длительности, переходных процессов при передаче информации из регистра 53 через коммутатор 30 и в первый регистр 37 хранени  группы. Тактовыми сигналами с выходов элементов И 26 происходит перемещение за вок в регистрах 37 аналогично рассмотренному.records are set to state O. The parameters of the delay element 7 are chosen based on the duration, transients in the transmission of information from the register 53 through the switch 30 and into the first register 37 of the storage group. Clock signals from the outputs of the elements And 26 moving the order in the registers 37 is similar to that considered.

Во втором случае, когда число потребных процессоров больше или равно числу.свободных, сигнал с выхоДа Меньше схемы 13 сравнени  равен нулю. При этом элемент И 5 закрываетс  по третьему-входу, а элемент И 6 открываетс  по инверсному входу. Так как триггер 9 установлен в состо ние О, на выходе элемента ИЛИ 23 удерживаетс  единичный сигнал, то импульсами с выхода элемента 8 задержки устанавливаетс  триггер 12 управлени  сдвигом в состо ние 1. Этим самым импульсы сдвига подаютIn the second case, when the number of processors required is greater than or equal to the number of free ones, the output signal is less than the comparison circuit 13 is equal to zero. In this case, the And 5 element is closed at the third input, and the And 6 element opens at the inverse input. Since the trigger 9 is set to the state O, a single signal is held at the output of the element OR 23, then the pulses from the output of the delay element 8 set the shift control trigger 12 to the state 1. With this the shift pulses are fed

JJ

с  на вход 41 у11ра лени  сдвигом регистра 40 сдвига чере: элементы И 1 и ИЛИ 24. Одновременно единичным сигналом с выхода элемента И 6 устанавливаетс  в состо ние 1 чере) элемент ИЛ1-1 25 триггер 22 выдачи,,, В дальнейшем работа устройства аналогична рассмотренной;from to the input 41 of the lazer by shifting the register 40 by shifting: elements AND 1 and OR 24. At the same time, a single signal from the output of element And 6 is set to the state 1) the element IL1-1 25 trigger 22 issuance ,,, In the future, the device is similar considered;

По завершении обслуживани  всех за вок, наход щихс  в очереди в регистрах 37 хранени  группы, а также за вки в регистре 40 сдвига, перепадом потенциалов в группе элементов ИЛИ 56 и элементе НЕ 17 через элемент И 57 запускаетс  одновибра- тор 62. Сигналом с выхода одновиб- ратора 62 триггер 1 запуска устанавливаетс  в состо ние О . IUpon completion of servicing all applications that are in the queue in the group's registers 37, as well as the application in shift register 40, the potential drop in the group of elements OR 56 and the element 17 NOT through element 57 initiates the one-oscillator 62. the one-shot 62 trigger 1 is set to the state O. I

В дальнейшем, работа устройстваFurther, the operation of the device

начинаетс  по приходу за вок на вход 33 коммутатора в сопровождении сигнала запуска по входу 2.starts upon arrival of a switch to switch input 33, accompanied by a trigger signal at input 2.

Claims (1)

1... ЛIT 1 ... LIT .. ;.J ..; .J l-|-i  l- | -i 1|е;-ч - - Ц 7 гМД-1 | e; -h - - C 7 gmd- Ц ; ---- ..., T,,7T ; C; ---- ..., T ,, 7T; Г R r--Qr - Q - (г т - (r t : : ai-r-i I jT -:1-T i bl--l.J :: ai-r-i I jT -: 1-T i bl - l.J 4 - -i ::- i, 4 - -i :: - i, ;EEt -----I--Редактор Н.Тупица; EEt ----- I - Editor N. Tupitsa Составитель М.Кудр шевCompiled by M. Kudr Shev Техред Н.Бонкало Корректор Л.ПилипенкоTehred N. Bonkalo Proofreader L. Pilipenko Заказ 4002/42Тираж 671ПодписноеOrder 4002/42 Circulation 671 Subscription ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee по делам изобретений и открытий П3035, Москва, Ж-35, Рау 11ска : наб. , д, 4/5for inventions and discoveries P3035, Moscow, Zh-35, Rau 11ska: nab. , d, 4/5 Производственно-поли рафическое предпри тие, г.Ужгород, ул.Проектна , 4Production and polygraphic enterprise, Uzhgorod, Projecto st., 4
SU843824220A 1984-12-17 1984-12-17 Device for distributing jobs among processors SU1246096A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843824220A SU1246096A1 (en) 1984-12-17 1984-12-17 Device for distributing jobs among processors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843824220A SU1246096A1 (en) 1984-12-17 1984-12-17 Device for distributing jobs among processors

Publications (1)

Publication Number Publication Date
SU1246096A1 true SU1246096A1 (en) 1986-07-23

Family

ID=21151212

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843824220A SU1246096A1 (en) 1984-12-17 1984-12-17 Device for distributing jobs among processors

Country Status (1)

Country Link
SU (1) SU1246096A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 866560, кл. G 06 F 9/00, 1979. Авторское свидетельство СССР № 1095181, кл. G 06 F 9/46, 1984. *

Similar Documents

Publication Publication Date Title
SU1246096A1 (en) Device for distributing jobs among processors
SU1151966A1 (en) Device for distributing jobs among processors
SU1196866A1 (en) Device for distributing jobs to processors
SU1361552A1 (en) Multichannel priority device
SU1179340A1 (en) Device for distributing jobs
SU1532929A1 (en) Device for distribution of problems among processors
SU1174919A1 (en) Device for comparing numbers
SU1487041A1 (en) Dynamic priority unit
RU2042191C1 (en) Device for allocation processes in computing system
SU1096645A1 (en) Multichannel device for priority pulse selection
RU1807499C (en) Matrix multiplier
SU1443007A1 (en) Device for solving problems of scheduling theory
SU1594559A1 (en) Device for distributing tasks among processors
SU1612301A1 (en) Device for forming a queue
SU1095181A1 (en) Device for distributing tasks to processors
SU807297A1 (en) Device for control of handling requests in the coming order
SU1504652A1 (en) Queue orering device
SU1532926A1 (en) Microprogram dispatcher of multiprocessor computing system
SU1709293A2 (en) Device for information input
SU1434431A2 (en) Queue organization device
SU1575184A2 (en) Queueing device
SU1188738A1 (en) Device for servicing interrogations and direct access memory
SU1589275A1 (en) Variable priority device
SU1479930A2 (en) Queue organization unit
SU1325462A1 (en) Device for sorting binary numbers