SU1151966A1 - Device for distributing jobs among processors - Google Patents

Device for distributing jobs among processors Download PDF

Info

Publication number
SU1151966A1
SU1151966A1 SU833670991A SU3670991A SU1151966A1 SU 1151966 A1 SU1151966 A1 SU 1151966A1 SU 833670991 A SU833670991 A SU 833670991A SU 3670991 A SU3670991 A SU 3670991A SU 1151966 A1 SU1151966 A1 SU 1151966A1
Authority
SU
USSR - Soviet Union
Prior art keywords
group
input
register
output
elements
Prior art date
Application number
SU833670991A
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 SU833670991A priority Critical patent/SU1151966A1/en
Application granted granted Critical
Publication of SU1151966A1 publication Critical patent/SU1151966A1/en

Links

Landscapes

  • Multi Processors (AREA)

Abstract

УСТРОЙСТВО ДЛЯ РАСПРЕДЕЛЕНИЯ ЗАДАНИЙ ПРОЦЕССОРАМ, содержащее группу регистров хранени , регистр сдвига , регистр готовности процессоров элемент ИЛИ, группу блоков элементов И, блок элементов И, первый элемент И, группу элементов ИЛИ, причем группа информационных входов устройства соединена с группой информационных входов первого регистра хранени  группы, группа выходов каждого регистра хранени  группы - с группой входов следующего регистра хранени  группы, группа выходов последнего регистра хранени  группы - с группой входов блока элементов И, группа выходов каждого блока элементов И соединена с группой входов одноименного элемента ШIIi группы и  вл етс  соответствующей группой выходов устройства , выходы элементов ИЛИ группы соединены с группой входов сброса регистра сдвига и с группой входов сброса регистра готовности процессоров , каждьй разр дньй выход регистра сдвига соединен с первым входом одньименного блока элементов И группы. выходы регистра сдвига соединены с входами элемента ИЛИ, каждый сигнальный вход устройства соединен с одноименным информационным входом регистра готовности процессоров, отличающеес  тем, что, с целью повышени  быстродействи , устройство содержит триггер, генератор импульсов , группу блоков элементов И-ИЛИ, группу дешифраторов, группу регистров обслуживани , одновибратор, второй и третий элементы И и элемент ИЛИ-НЕ, выход которого соединен с первым входом первого элемента И, выход которого соединен с нулевым входом триггера, выход элемента ИЛИ соеди (Л нен с первыми управл ющими входами блоков элементов И-ИЛИ группы, с с первым входом элемента ШМ-НЕ, с инверсным входом блока элемента И, с входом раэрешени  сдвига регистра сдвига и с входом одновибратора, выход которого соединен с нулевым входом последнего регистра хранени  :л группы, выходы признаков наличи  за вки регистров хранени  группы со соединены соответственно с входами Од О) элемента ИЛИ-НЕ, выход признака наличи  за вки последнего регистра хранени  группы соединен с инверсным входом второго элемента И, выход признака наличи  за вки первого регистра хранени  группы соединен с первым входом третьего элемента И, выход которого  вл етс  сигнальным выходом устройства, первый выход генератора импульсов соединен с вторыми входами первого и третьего элементов И, второй выход генератора импульсов соединен с входом разрешени  записи регистраA device for assigning tasks to processors containing a group of storage registers, a shift register, a processor readiness register element OR, a group of blocks of elements AND, a block of elements AND, a first element AND, a group of elements OR, and a group of information inputs of the device group, the group of outputs of each register of the group's storage - with the group of inputs of the next group's storage register, the group of outputs of the last group's holding register - with the group of inputs An element of elements And, a group of outputs of each block of elements And is connected to a group of inputs of the same name of the group II element and is a corresponding group of outputs of the device, the outputs of the elements of OR group are connected to a group of inputs of the reset of the shift register and a group of inputs of the reset of the register of readiness of processors, each output output the shift register is connected to the first input of the same-name block of elements of the AND group. the outputs of the shift register are connected to the inputs of the OR element, each signal input of the device is connected to the same information input of the processor readiness register, characterized in that, in order to improve speed, the device contains a trigger, a pulse generator, a group of blocks of the AND-OR elements, a group of decoders, a group the service registers, the one-shot, the second and third elements AND, and the element OR NOT, the output of which is connected to the first input of the first element AND whose output is connected to the zero input of the trigger, the output of the OR OR connect (L is not with the first control inputs of the AND-OR group blocks, with the first input of the BL-NOT element, with the inverse input of the AND element block, with the shift offset input of the shift register and with the one-shot input, the output of which is connected to zero the input of the last storage register: l group, the outputs of the signs of the presence of registers of storage of the group with are connected respectively to the inputs Od O) of the element OR NOT, the output of the sign of the presence of the application of the last storage register of the group is connected to the inverse input of the second element a And, the output of the sign of the presence of the first storage register of the group is connected to the first input of the third element And whose output is the signal output of the device, the first output of the pulse generator is connected to the second inputs of the first and third elements And, the second output of the pulse generator is connected to the resolution input register entries

Description

сдвига, с тактовыми входами регистров обслуживани  группы и с вторьм входом второго элемента И, выход которого соединен с тактовыми входам регистров хранени  группы, группа выходов блока элементов И соединена с группой информационных входой регистра сдвига, с первыми группами входов блоков элементов И-ИЛИ группы, второ управл кндий вход каждого блока элементов И-ИЛИ группы соединен с соответствующим выходом группы выходов блока элементов И, группа выходов каждого блока элементов И-ИЛИ группы соединена с группой- информационных входов одноименного регистра обслуживани  группы, группа выходов каждого регистра обслуживани  группа, кроме последнего, соединена с второй группой выходов следующего блока элементов И-ИПИ -группы, группа выходов последнего обслуживани  группы соединена с второй группой входов первого блока элементов И-ИЛИ группы, группа выходов каждого регистра обслуживани  группы соединена с группой входов одноименного дешифратора группы и с группой входов одноименного блока элементов И группы , каждый выход группы выходов регистра готовности процессоров соединен с вторым входом одноименного блока элементов И группы, третий вход каждого .блока элемента И группы соединен с выходом одноименного дешифратора группы, вход сброса каждого регистра обслуживани  группы соединен с выходом одноименного элемента ИЛИ группы, вход пуска устройства соедине с единичным входом триггера, выход последнего разр да сдвига соединен с его первым информационньм входом.shift, with clock inputs of service registers of the group and with the second input of the second element And, the output of which is connected to the clock inputs of the storage registers of the group, the group of outputs of the block of elements And connected to the group of information inputs of the shift register, with the first groups of inputs of blocks of elements AND-OR of the group, The second control unit input of each block of the AND-OR group of elements is connected to the corresponding output of the group of outputs of the AND block of the elements, the group of outputs of each block of the elements of the AND-OR group is connected to the group of informational inputs the group's service register of the same name, the group of outputs of each service register, the group, except the last, is connected to the second group of outputs of the next block of AND-IPI groups, the group of last service outputs of the group is connected to the second group of inputs of the first block of AND-OR groups, the group of outputs of each the service register of the group is connected to the group of inputs of the same name decoder of the group and with the group of inputs of the same name block of elements AND groups, each output of the group of outputs of the readiness register process The first input is connected to the second input of the same name block of elements AND of the group, the third input of each block of the element AND of the group is connected to the output of the same decoder of the group, the reset input of each service register of the group is connected to the output of the same name of the OR group, the start input of the device is connected to the single trigger input, output the last bit of shift is connected to its first information input.

Изобретение относитс  к вычислительной технике и может быть использовано дл  построени  многопроцессор ных вычислительных систем. Известно устройство дл  распределени  заданий процессорам, содержащее регистр готовности процессоров, группу элементов И, блок управлени  регистр сдвига, процессоры, элементы ИЛИ l . Недостатками этого устройства  вл ютс  низка  надежность вследствие существовани  высокой веро тности потери за вки на решение задачи , вызванной отказом устройства от выполнени  задани , в случае, когда число свободных процессоров меньше количества потребных процессоров; ограниченные функциональные возможности , про вл ющиес  в том, что в устройстве отсутствует возможность организации очереди заданий. Наиболее близким к изобретению  вл етс  устройство дл  распределени  за вок по процессорам, содержащее группу регистров хранени , группу выходов признака числа потребных процессоров последнего регистра хранени  группы, группу входов признака номера задачи первого регистра хранени  группы, группу входов признака числа потребных процессоров первого регистра хранени  группы, первую и вторую группы элементов И, элемент И, регистр сдвига, информационный вход регистра сдвига, элемент ИЛИ, блок элементов ИЛИ, группу процессоров, регистр готовности процессоров , блок управлени , первый вход которого соединен с входом пуска устройства, группа выходов регистра готовности процессоров соединена с первыми входами элементов И первой группы, вторые входы которых соединены с группой выходов регистра сдвига и с группой входов элемента ИЛИ выход которого соединен с вторым входом блока управлени  и первым входом элемента И, второй вход которого соединен с выходом старшего разр да группы выходов регистра сдвига, выход элемента И соединен с входом сдвига регистра сдвига, вход сброса которого соединен с выходом блока элементов ИЛИ и с входом сброса регистра готовности процессоров , группа информационных входов которого соединена с выходами процессоров группы, выходы которых соединены с выходами элементов И первой группы и с входами блока элементов ИЛИ, управл ющий вход регистра сдвиг соединен с первым выходом блока уп- равлени , группа информационных входов первого регистра хранени  группы соединена с группой входов за вок устройства, управл ющий вход каждого регистра хранени  группы соединен с выходом соответствующего элемента И второй группы, группа информационных вькодов каждого реги-стра хранени  группы, кроме последнего , соединена с группой информационных входов прследук цего регистра хранени  группы, первьш вход каждого элемента И второй группы, кроме последнего, соединен с выходом последую4щего элемента И этой группы, первый вход последнего элемента И второй группы соединен с вторьм выходом блока управлени  i2j . Недостатком известного устройства  вл етс  низкое быстродействие. Цель изобретени  - повышение быстродействи  устройства. , . Поставленна  цель достигаетс  тем, что в устройство дл  распределе ни  заданий процессорам, содержащее группу регистров хранени , регистр сдвига, регистр готовности процессор группу прюцессоров,элементИ1Ш,труппу блоков элементов И, блок элементов И, первый элемент И, группу элементов ИЛИ, причем группа информационных входов устройства соединена с группой информационных входов первог регистра хранени  группы, группа выхо дов каждого perHcjrpa хранени  группы с группой входов следующего регистра хранени  группы, группа выходов последнего регистра хранени  группы сое динена с группой входов блока элемен тов И, группа выходов каждого блока элементов И группй) соединена с группой входов одноименного элемента ИЛИ группы и  вл етс  соответствующей пой выходов устройства, выходы элементов ИЛИ группы соединены с группой вхо-г дов сброса регистра сдвига и с группой входов сброса регистра готовност процессоров, каждый разр дный выход регистра сдвига соединен с первым входом одноименного блока элементовИ группы, выходы регистра сдвига соединены с входами элемента ИЛИ, каждый сигнальный вход устройства соединен с одноименным информационным входом регистра готовности процессоров , введены триггер, генератор импульсов, группа блоков элементов И-ИЛИ, группа дешифраторов, группа регистров обслуживани , одновибратор, второй и третий элементы И и элемент ШШ-НЕ, выход которого соединен с первьм входом первого элемента И, выход которого соединен с нулевым входом.триггера,выход элемента ИЛИ соединен с первыми управл ющими входами блоков элементов И-ИЛИ группы, с первьм входом элемента ИЛИ-НЕ, с инверсным входом блока элементов И, с входом разрешени  сдвига регистра сдвига и с входом одновибратора, выход которого соединен с нулевьм входом последнего регистра хранени  группы, выходы признаков наличи  за вки регистров хранени  группы соединены соответственно с входами элемента ИЛИ-НЕ, выход признака наличи  за вки последнего регистра хранени  группы соединен с инверсным входом второго элемента И, выход признака наличи  за вки первого регистра хранени  группы соединен с первым входом третьего элемента И, выход которого  вл етс  сигнальным выходом устройства , первый выхдд генератора импульсов соединен с вторьв1и входами первого и третьего элементов И, второй выход генератора импульсов соединен с входом разрешени  записи регистра сдвига, с тактовьми. входами регистров обслуживани  группы и с вторым входом второго элемента И, выход которого соединен с тактовьми входами регистров хранени  группы, группа выходов блока элементов И соединена с группой информационных входов регистра сдвига, с первыми группами входов блоков элементов И-ИЛИ группы, второй управл кш ий вход каждого блока элементов И-ИЛй группы соединен с соответствующим выходом группы выходов блока элементов И, группа выходов кавдого блока элементов И-ИЛИ группы соединена с группой информационных входов одноименного регистра обслзтживани  группы, группа выходов каждого регистра обслуживани  группы, кроме последнего, соединена с второй группой выходов еле51The invention relates to computing and can be used to build multiprocessor computing systems. A device for assigning tasks to processors is known, comprising a processor readiness register, a group of elements AND, a shift register control unit, processors, and OR elements l. The disadvantages of this device are low reliability due to the existence of a high probability of loss of application for solving the problem caused by the failure of the device to perform the task in the case when the number of free processors is less than the number of required processors; limited functionality, which is manifested in the fact that the device lacks the ability to organize a queue of tasks. The closest to the invention is a device for distributing applications among processors, containing a group of storage registers, a group of outputs indicating the number of required processors of the last storage register of a group, a group of inputs of an indication of the task number of the first storage register of a group, a group of inputs of the number of required processors of the first storage register of a group , first and second groups of elements AND, element AND, shift register, information input of shift register, element OR, block of elements OR, group of processors, register processor availability, the control unit, the first input of which is connected to the device start input, the output group of the processor readiness register is connected to the first inputs of the AND elements of the first group, the second inputs of which are connected to the output group of the shift register and the input group of the OR element whose output is connected to the second input control unit and the first input element And, the second input of which is connected to the output of the higher bit of the output group of the shift register, the output of the element And is connected to the shift input of the shift register, input which is connected to the output of the OR block and to the reset input of the processor readiness register, the group of information inputs of which is connected to the outputs of the group of processors, whose outputs are connected to the outputs of the AND elements of the first group and to the inputs of the block of OR elements, the control input of the shift is connected to the first the output of the control unit, the group of information inputs of the first register of the storage group is connected to the group of inputs behind the device, the control input of each register of the storage group is connected to the output according to The second element of the second group, the group of information codes of each storage register of the group, except the last, is connected to the group of information inputs of the next group's storage register, the first input of each element of the second group, except the last, is connected to the output of the next element AND of this group the first input of the last element And the second group is connected to the second output of the control unit i2j. A disadvantage of the known device is low speed. The purpose of the invention is to increase the speed of the device. , The goal is achieved by the fact that in a device for distributing tasks to processors, it contains a group of storage registers, a shift register, a readiness register, a processor, a group of processors, an N1SH element, a group of AND blocks, an AND block, an AND element, an OR group of information the device inputs are connected to the group of information inputs of the first storage register group, the output group of each perHcjrpa storage group with the input group of the next storage register group, the output group of the last the storage register of the group is connected to the group of inputs of the block of the elements AND each shift output of the shift register is connected to the first input of the block of the same name and group; the outputs of the shift register are connected to the inputs of the OR element, each the signal input of the device is connected to the informational input of the processor readiness register of the same name, a trigger, a pulse generator, a group of blocks of AND-OR elements, a group of decoders, a group of service registers, a single vibrator, a second and a third elements of AND, and a HW-NOT element whose output is connected to the first are entered the input of the first element AND, the output of which is connected to the zero input of the trigger, the output of the element OR is connected to the first control inputs of the blocks of the elements of the AND-OR group, with the first input of the element OR NOT, with the inverse input of the block And, with the shift register shift input and with the one-vibrator input, the output of which is connected to the zero input of the last group's storage register, the outputs of the signs of the group's storage registers are connected respectively to the inputs of the OR-NOT element, the sign of the presence of the last register the group storage is connected to the inverse input of the second element AND, the output of the indication of the presence of the first group storage register is connected to the first input of the third AND element whose output is the signal output The device's home, the first output pulse generator is connected to the second inputs of the first and third elements, And the second output of the pulse generator is connected to the write enable input of the shift register, with ticks. the inputs of the service registers of the group and the second input of the second element I, the output of which is connected to the clock inputs of the registers of the storage group the input of each block of the I-ILI group elements is connected to the corresponding output of the group of outputs of the AND block of the elements, the group of outputs of the block of the block of elements of the AND-OR group is connected to the group of information inputs of the same name region The service group of the group, the group of outputs of each service register of the group, except the last one, is connected to the second group of outputs only 51

дующего блока элементов И-ИЛИ группы группа выходов последнего регистра обслуживани  группы соединена с второй группой входов первого блока элементов И-ИЛИ группы, группа выходов каждого регистра обслуживани  группы соединена с группой входов одноименного дешифратора группы и с группой входов одноименного блока элементов И группы, каждьй выход группы выходов регистра готовности процессоров соединен с вторым-входом одноименного блока элементов И группы, третий вход каждого блока элементов И группы соединен с выходом одноименного дешифратора группы, вход сброса каждого регистра обслуживани  группы соединен с выходом одноименного элемента ИЛИ группы, вход пуска устройства соединен с единичным входом триггера,, выход последнего разр да регистра сдвига соединен с его первьм информационньм входом. the next unit of the AND-OR group of the group of outputs of the last service register of the group is connected to the second group of inputs of the first block of the AND-OR group, the group of outputs of each group's service register is connected to the group of inputs of the same name decoder group and the group of inputs of the same block of elements AND group, each the output of the group of outputs of the processor readiness register is connected to the second input of the same name block of elements AND of the group, the third input of each block of elements of the AND group is connected to the output of the same name the encoder of the group, the reset input of each service register of the group is connected to the output of the element of the same name OR group, the device start input is connected to the single trigger input, the output of the last bit of the shift register is connected to its first information input.

На фиг. 1 представлена функциональна  схема предлагаемого устройства; на фиг. 2 - схема алгоритма функционировани  устройства.FIG. 1 shows a functional diagram of the proposed device; in fig. 2 is a schematic diagram of the operation of the device.

Устройство (фиг. 1) содержит группу информационных входов 1 устройства , вход 2 пуска устройства, сигнальный выход 3 устройства, элементы И 4-6, элемент ИЛИ-НЕ 7, элемент ИЛИ 8, блок 9 элементов И, группу блоков 10.1-10. N элементов И, группу 11.1-11.N блокор элементов , группу 12.1.12N элементов ИЛИ, группу 13.1-13.N дешифраторов, триггер 14, одновибратор 15, генератор 16 импульсов , выходы 17 и 18 генератора 16 импульсов, группу 19.1-19.L регистров хранени , регистр 20 сдвига, группу 21.1-21.N регистров обслуживани  регистр 22 готовности процессоров, группу 23.1-23.N процессоров, группу 24 выходов элементов блока 9 элемен-. тов И, 24.1-24.К-первьй, N-й разр да группы 24 выходов блока 9, группы выходов 25.1-25.N регистров 21.1-21.N, выходы 26.1-26.L признаков наличи  за вки регистров 19.1-19.L.The device (Fig. 1) contains a group of information inputs 1 of the device, an input 2 of the start of the device, a signal output 3 of the device, elements AND 4-6, element OR-NOT 7, element OR 8, block 9 elements AND, group of blocks 10.1-10. N elements AND, group 11.1-11.N element blocker, group 12.1.12N elements OR, group 13.1-13.N decoders, trigger 14, one-shot 15, pulse generator 16, outputs 17 and 18 of pulse generator 16, group 19.1-19 .L storage registers, shift register 20, service registers group 21.1-21.N. Processor readiness register 22, group 23.1-23.N processors, group 24 of the outputs of the elements of block 9 elements. Comrade I, 24.1-24.K-first, N-th bit of group 24 outputs of block 9, group of outputs 25.1-25.N of registers 21.1-21.N, outputs 26.1-26.L of signs of the presence of application registers 19.1-19 .L.

На вход 2 устройства подаетс  сигнал пуска, который приводит устройство в рабочее состо ние. Выход 3 используетс  дл  вьщачи квитанции вкешнай системе о записи за вки в регистр 19.1 группы..A start signal is applied to the input 2 of the device, which brings the device into a working state. Output 3 is used to retrieve a receipt for the entry system in group register 19.1 to the local system.

66 .66

Группа регистров 19.1-19,L хранени  устройства предназначена дл  организации очереди за вок на обслуживание . Запись за вок производитс  в первьй регистр 19.1 группы, а выбор за вки на обслуживание - из последнего 19.L регистра хранени  группы в параллельном коде.The group of registers 19.1-19, L of the storage device is intended for organizing a queue of requests for servicing. The recording of the request is made in the first register 19.1 of the group, and the selection of the application for service is made from the last 19. L of the group storage register in the parallel code.

Регистры 21 обслуживани  предназначены дл  хранени  признаков номера задачи и доступных процессоров в процессе распределени  процессоров задаче . Регистр 20 сдвига предназначен дл  хранени  кода количества процессоров , который представл етс  в позиционном коде. Наличие единицы в этом коде свидетельствует о необхо-. димости распределени  процессора . задаче. Регистр 22 готовности предназначен дл  регистрации сигналов готовности процессоров. Единичное состо ние разр да регистра свидетельствует о том, что процессор свободен и может быть распределен.Service registers 21 are designed to store the characteristics of the task number and the available processors in the process of allocating the processors to the task. Shift register 20 is intended to store the processor number code, which is represented in the position code. The presence of a unit in this code indicates the need. distribution processor. task. Readiness register 22 is intended to register processor readiness signals. A single register bit indicates that the processor is free and can be distributed.

В исходном состо нии все элементы пам ти, кроме регистра 22 готовности процессоров, наход тс  в нулевом состо нии, а регистр 22 готовности процессоров находитс  в единичном cocтo нииj что свидетельствует о готовности процессоров 23.1-23.N к решению задачи. На вход 2 устройства поступает сигнал пуска, по которому триггер 14 устанавливаетс  в единичное состо ние и разрешает прохождение сигнала через элемент И 5 с выхода 18 генератора 16 на тактовые входы регистров 19.1-19. Ь, Одновременно с сигналом пуска на выходы 1 устройства поступает за вка, котора  под воздействием сигнала с генератора 16 записываетс  в регистр 19.1. После этого по такту с выхода 17 генератора 16 на выход 3 устройства через элемент И 6 выдаетс  квитанци  о записи за вки в очередь. Продвижение за вки в регистрах 19 осуществл етс  до того момента, пока за вка не записана в последний регистр 19, Во врем  продвижени  за вки в регистрах 19 иа входы 1 устройства могут подаватьс  очереднс за вки которые также записываютс  в регистры 19. . Таким образом в регистрах 19.1-19.L образуетс  очередь за вок нарешеиие задач.In the initial state, all the memory elements, except the processor readiness register 22, are in the zero state, and the processor readiness register 22 is in a single state, which indicates the readiness of the processors 23.1-23.N to solve the problem. The input 2 of the device receives a start signal, by which the trigger 14 is set to one state and allows the signal to pass through the element 5 from the output 18 of the generator 16 to the clock inputs of the registers 19.1-19. B. Simultaneously with the start signal at the outputs 1 of the device, the application goes, which, under the influence of the signal from the generator 16, is written into the register 19.1. After that, a receipt from the queue for receipt of the entry into the queue is issued according to the cycle from the output 17 of the generator 16 to the output 3 of the device. Promotion of the application in registers 19 is carried out until such time as the application is not recorded in the last register 19. During the promotion of applications in registers 19 and the device inputs 1, sequential applications can be submitted which are also recorded in registers 19.. Thus, in registers 19.1-19.L a queue of requests for the most up-to-date tasks is formed.

После записи за вки в последний регистр 19 на выходе 26.1 последнего регистра 19.L устанавливаетс  сигнал наличи  за вки, который запрещает прохождение сигнала через элемент И 5, После записи первой за вки в регистр 19.L осуществл етс  выбор ее на обслуживание, сущность которого состоит в назначении определ емой за вкой задаче необходимого числа процессоров дл  решени . Выбор за вки на обслуживание из регистра 19,L осуществл етс  вс кий раз, когда в очереди есть за вки и устройство не зан то обслуживанием. Сигнал о том, что устройство не зан то обслуживанием , формируетс  на выходе элемента ИЛИ 8, если в регистре 20 все разр ды установлены в нулевое состо ние. В начале работы устройства регист 20 находитс  в нулевом состо нии и, поэтому, нулевым потенциалом с выход элемента ИЛИ 8 открыт блок 9 элементов И. После записи за вки в регистр 1.9.L на выходах блока 9 устанавливаетс  код за вки, определ ющий код количества процессоров, необходимых дл  решени  задачи (на выходах 24) и коды номера задачи и доступности процессоров, так как на входе разрешени  сдвига регистра 20 установлен нулевой потенциал, то под управление тактовых импульсов с выхода-18 генератора 16, поступающих на вход разрешени  записи регистра 20, осуществ л етс  запись параллельного кода с выходом 24 блока 9 в регистр 20. Кроме того, тактовые импульсы с выхода 18 генератора 16 поступают на тактовые входы регистров 21.1- -21 .N. При этом к инфо1Я4ационньм входам этих регистров черкез блоки 11.1-11,К осуществл етс  подктаочение входов 24 только дл  тех регистров , которым соответствует единичное состо ние соответствующего разр да 24.1-24.N. Таким образом по очередному тактовому импульсу с выхода 18 генератора 16 происходит запись кода количества процессоров а регистр 20, а в регистры 21.1-21.N - запись ко дов номера задачи и доступности процессоров . После записи кода количество процессоров в регистр 20 на выходе элемента ИЛИ 8 устанавливаетс  единичныAfter writing the application to the last register 19 at the output of 26.1 of the last register 19.L, a signal of the presence of the application is established, which prohibits the signal from passing through the element 5. After writing the first application to the register 19.L, it is selected for service, the essence of which consists in assigning the required number of processors to the problem to be solved. The selection of the service request from register 19, L is made whenever there are applications in the queue and the device is not occupied by the service. A signal that the device is not occupied by the service is generated at the output of the element OR 8, if in register 20 all bits are set to the zero state. At the beginning of the operation of the device, register 20 is in the zero state and, therefore, zero potential of the element OR 8 output is opened. Block 9 elements I. After recording the application in register 1.9.L, at the outputs of block 9, the application code is set, which determines the number code processors required to solve the problem (at outputs 24) and the task number and processor availability codes, since zero potential is set at the input of the register shift enable 20, the clock pulses from the output 18 of the generator 16 entering the write enable input are set to control and 20 L of a recording implement parallel code output unit 9, 24 in the register 20. In addition, clock output 18 of the generator 16 fed to the clock inputs of registers 21.1- -21 .N. At the same time, the info inputs of these registers of blocks 11.1-11, K are used for input 24 only for those registers that correspond to the unit state of the corresponding bit 24.1-24.N. Thus, according to the next clock pulse from the output 18 of the generator 16, the code of the number of processors and register 20 is written, and in registers 21.1-21.N - the codes of the task number and the availability of processors are recorded. After writing the code, the number of processors in register 20 at the output of the element OR 8 is set to single

потенциал, но которому закрываетс  блок 9 элементов И, отковочаютс  выходы 24 от входов регистров 21.1т .е. код доступности процессора определен дл  соответствующего дешифратора 13. При выполнении всех уело21 .N, и дл  этих регистров через блоки 11.1-11.N формируютс  цепи дл  циклического сдвига содержимого регистров 21.1-21.N от первого к последнему , а выход последнего регистра 21.N подключаетс  к входу первого регистра 21.1. Поступа  на вход разрешени  сдвига регистра 20, единичный потенциал с выхода элемента ИЛИ 8 запрещает запись по информационным входам этого регистра и разрешает циклический сдвиг содержимого регистра 20 в направлении от первого разр да к последнему, причем выход последнего разр да регистра 20 подключен к входу первого разр да. Это позвол ет осуществл ть многократную попытку распределени  процессоров задаче. Кроме того, при изменении выходного потенциала элемента ИЛИ 8 с нулевого на единичный одновибратором 15 формируетс  импульс, по которому последний регистр 19.L устанавливаетс  в нулевое состо ние. При этом разрешаетс  прохождение тактовых импульсов генератора 16 через элемент И 5, которые управл ют записью и продвижением за вок в регистрах 19.1-19.N. Рассмотрим работу устройства по назначению процессоров задаче, определ емой выбранной за вкой на обслуживание . При этом целесообразно рассматривать работу устройства в два этапа: первоначального назначени  процессоров; последующего назначени  процессоров . Первоначальное назначение процессоров осуществл етс  следукадкм образом. С выходов регистра 22 готовности процессоров сигналы готовности поступают на входы 10И-10.N элементов И. На эти же блоки поступают сигналы с выходов регистра 20 и сигналы кодов номера задачи с выходов .25.125 .N регистров 21. Сигналы с шин 25.1-25.N, определ ющие коды доступности процессоров, поступают на соответствующие дешифраторы 13.1-13.N. На выходе дешифратора 13 сигнал по вл етс  в том случае, если соответствующий ему процессор может решить подзадачу распредел емой задачи.the potential, but which closes the block of 9 elements AND, outputs 24 from the inputs of the registers 21.1 tons. The processor availability code is defined for the corresponding decoder 13. When all the 212Ns are executed, N, and for these registers, through blocks 11.1-11 .N, circuits are formed to cycle the contents of registers 21.1-21.N from the first to the last, and the output of the last register is 21. N is connected to the input of the first register 21.1. The input to the resolution of the shift register 20, a single potential from the output of the element OR 8 prohibits recording on the information inputs of this register and allows cyclic shift of the contents of the register 20 in the direction from the first bit to the last, and the output of the last bit of the register 20 is connected to the input of the first bit Yes. This allows multiple attempts to allocate processors to a task. In addition, when the output potential of the element OR 8 changes from zero to one by one-shot 15, a pulse is generated, according to which the last register 19.L is set to the zero state. In this case, the clock pulses of the generator 16 are allowed to pass through the element 5, which controls the recording and promotion of the requests in the registers 19.1-19.N. Consider the operation of the device according to the purpose of the processors, the task defined by the selected application for service. In this case, it is advisable to consider the operation of the device in two stages: initial assignment of processors; subsequent assignment of processors. The initial assignment of processors is carried out in the following manner. From the outputs of the processor readiness register 22, the readiness signals arrive at the inputs 10I-10.N of the elements I. Signals from the register 20 outputs and the task number codes from the outputs .25.125 .N of the registers 21 arrive at the same blocks. Signals from the buses 25.1-25. N, determining the availability codes of the processors, arrive at the corresponding decoders 13.1-13.N. At the output of the decoder 13, the signal appears in the event that the corresponding processor can solve the subtask of the distributed task.

9 ,9 ,

ВИЙ на входах блоков lO..N элементов И с их выходов снимаютс  сигналы назначени  процессоров, по которым через элементы ИЛИ l2.1-t2.N обнул ютс  соответствующие разр ды в регистре 20 и соответствующие регистры 21.1-21.N. После этого в соответствующие блоки 1О.1-1О.N элементов И закрьюаютс .VIY at the inputs of blocks lO..N elements And from their outputs, signals of assignment of processors are removed, through which the corresponding bits in register 20 and the corresponding registers 21.1-21.N are zeroed through the elements OR l2.1-t2.N. Thereafter, the And elements are closed to the corresponding blocks 1O.1-1O.N.

Далее в работе устройства возможны две Ситуации: после первоначального распределени  все необходимые процессоры назначены задаче; после первоначального распределени  не все необходидигые процессоры назначены задаче.Further, two situations are possible in the operation of the device: after the initial distribution, all the necessary processors are assigned to the task; after the initial distribution, not all the necessary processors are assigned to the task.

В первом случае устройства завершает обслуживание рассматриваемой задачи и формируетс  сигнал считьтани  из регистра 19.L аналагочно рассмотренному вьше. Устройство переходит к обслуживанию следзпощей за вки на решение задачи.In the first case, the device completes the maintenance of the task in question and a scan signal is generated from the register 19.L above the one considered above. The device proceeds to service the follow-up application for solving the problem.

Второй случай соответствует второму этапу назначени  процессоров, который проходит следующим образом.The second case corresponds to the second stage of processor assignment, which proceeds as follows.

В регистре 20 не все разр ды обнулены, поэтому на выходе элемента ИЛИ 8 сохран етс  единичный потен циал, что соответствует разрешению кольцевого циклического сдвига содержимого регистра 20 по тактовымIn register 20, not all bits are set to zero, therefore, at the output of the element OR 8, a single potential remains, which corresponds to the resolution of the ring cyclic shift of the contents of the register 20 by clock

51966105196610

импульсам с выхода 18 генератора 16. Этими же импульсами осуществл етс  управление кольцевым циклическим сдвигом содержимого регистров 21.15 21.N. При этом после каждого очередного такта сдвига производитс  попыт-ка распределени  процессоров задаче, аналогично вьшеуказанному. Этот процесс продолжаетс  до тех пор, покаpulses from the output 18 of the generator 16. The same pulses control the ring cyclic shift of the contents of the registers 21.15 21.N. In this case, after each successive shift cycle, a processor distribution task is attempted, similarly to the above. This process continues until

10 не вСе требуемые процессоры 23.123 ,N назначены задаче. Как только распределение процессоров будет завершено , на выходе элемента ИЛИ 8 устанавливаетс  нулевой потенциал10 not all required processors 23.123, N assigned to the task. As soon as the distribution of the processors is completed, the output potential of the element OR 8 is zero.

15 и нова  за вка выбираетс  на обслуживание из очереди. Работа устройства завершаетс  в том случае, если в очереди нет за вок и устройство не зан то обслуткиванием15 and a new application is selected for service from the queue. The device is terminated if there is no demand in the queue and the device is not busy

20 за вки. В этом случае на выходе20 for vki. In this case, the output

элемента ИЛИ-НЕ 7 формируетс  единичный потенциал, который поступает на вход элемента И 4. По тактовому импульсу с выхода 17 генератора 16,of the element OR-NOT 7, a single potential is formed, which is fed to the input of the element AND 4. By a clock pulse from the output 17 of the generator 16,

25 поступак дему на другой вход элемента И 4, триггер 14 переводитс  в нулевое состо ние, запреща  генерацию тактовых импульсов генератором 16. В дальнейшем устройство готово к новому циклу25 actions to the other input element And 4, trigger 14 is transferred to the zero state, prohibiting the generation of clock pulses by the generator 16. In the future, the device is ready for a new cycle

0 работы.0 work.

Применение изобретени  позвол ет повысить быстродействие устройства.The application of the invention allows to increase the speed of the device.

EELEEL

SjSj

i ---- (С. ....i ---- (S. ....

- ё- y

dd

f I g If I g I

- -

} g g

No

т f I t f I

1one

жwell

fg-illTIT ;fg-illTIT;

Claims (1)

УСТРОЙСТВО ДЛЯ РАСПРЕДЕЛЕНИЯ ЗАДАНИЙ ПРОЦЕССОРАМ, содержащее группу регистров хранения, регистр сдвига, регистр готовности процессоров, элемент ИЛИ, группу блоков элементов И, блок элементов И, первый элемент И, группу элементов ИЛИ, причём группа информационных входов устройства соединена с группой информационных входов первого регистра хранения группы, группа выходов каждого регистра хранения группы - с группой входов следующего регистра хранения группы, группа выходов последнего регистра хранения группы - с группой входов блока элементов И, группа выходов каждого блока элементов И соединена с группой входов одноименного элемента ИЛИ группы и является соответствующей группой выходов устройства, выходы элементов ИЛИ группы соединены с группой входов сброса регистра сдвига и с группой входов сброса регистра готовности процессоров, каждый разрядный выход регистра сдвига соединен с первым входом одноименного блока элементов И группы, выходы регистра сдвига соединены с входами элемента ИЛИ, каждый сигнальный вход устройства соединен с одноименным информационным входом регистра готовности процессоров, отличающееся тем, что, с целью повышения быстродействия, устройство содержит триггер, генератор импульсов, группу блоков элементов И-ИЛИ, группу дешифраторов, группу регистров обслуживания, одновибратор, второй и третий элементы И и элемент ИЛИ-НЕ, выход которого соединен с первым входом первого элемента И, выход которого соединен с нулевым входом триггера, выход элемента ИЛИ соединен с первыми управляющими входами блоков элементов И-ИЛИ группы, с первым входом элемента ИЛИ-HE, с инверсным входом блока элемента И, с входом разрешения сдвига регистра сдвига и с входом одновибратора, выход которого соединен с нулевым входом последнего регистра хранения группы, выходы признаков наличия заявки регистров хранения группы DEVICE FOR DISTRIBUTING TASKS TO PROCESSORS, containing a group of storage registers, a shift register, a processor readiness register, an OR element, a group of blocks of AND elements, an element block AND, a first element AND, a group of OR elements, and the group of information inputs of the device is connected to the group of information inputs of the first register group storage, the group of outputs of each group storage register - with the group of inputs of the next group storage register, the group of outputs of the last group storage register - with the group of inputs of the ele And, the group of outputs of each block of AND elements is connected to the group of inputs of the same element OR group and is the corresponding group of device outputs, the outputs of the elements OR groups are connected to the group of reset register reset inputs and the group of processor readiness reset inputs, each bit shift register output is connected with the first input of the same block of elements AND groups, the outputs of the shift register are connected to the inputs of the OR element, each signal input of the device is connected to the same information input processor readiness register house, characterized in that, in order to improve performance, the device contains a trigger, a pulse generator, a group of blocks of AND-OR elements, a group of decoders, a group of service registers, a one-shot, the second and third AND elements and the OR-NOT element, output which is connected to the first input of the first AND element, whose output is connected to the zero input of the trigger, the output of the OR element is connected to the first control inputs of the blocks of the AND-OR elements of the group, with the first input of the OR-HE element, with the inverse input of the block element And, with the shift enable input of the shift register and with the input of the one-shot, the output of which is connected to the zero input of the last group storage register, outputs of signs of the presence of the application of the group storage registers 9961SU соединены соответственно с входами элемента ИЛИ-HE, выход признака наличия заявки последнего регистра хранения группы соединен с инверсным входом второго элемента И, выход признака наличия заявки первого регистра хранения группы соединен с первым входом третьего элемента И, выход которого является сигнальным выходом устройства, первый выход генератора импульсов соединен с вторыми входами первого и третьего элементов И, второй выход генератора импульсов соединен с входом разрешения записи регистра >9961SU are connected respectively to the inputs of the OR-HE element, the output of the sign of the availability of the application of the last group storage register is connected to the inverse input of the second element And the output of the sign of the presence of the application of the first group storage register is connected to the first input of the third element And, the output of which is the signal output of the device, the first the output of the pulse generator is connected to the second inputs of the first and third elements AND, the second output of the pulse generator is connected to the input enable register entries> сдвига, с тактовыми входами регистров обслуживания группы и с вторым входом второго элемента И, выход которого соединен с тактовыми входами регистров хранения группы, группа выходов блока элементов И соединена с группой информационных входов регистра сдвига, с первыми группами входов блоков элементов И-ИЛИ группы, второй управляющий вход каждого блока элементов И-ИЛИ группы соединен с соответствующим выходом группы выходов блока элементов И, группа выходов каждого блока элементов И-ИЛИ группы соединена с группой- информационных входов одноименного регистра обслуживания группы, группа выходов каждого регистра обслуживания группа, кроме последнего, соединена с второй группой выходов следующего блока элементов И-ИПИ -группы, группа выхо дов последнего регистра обслуживания группы соединена с второй группой входов первого блока элементов И-ИЛИ группы, группа выходов каждого регистра обслуживания группы соединена с группой входов одноименного дешифратора группы и с группой входов одноименного блока элементов И группы, каждый выход группы выходов регистра готовности процессоров соединен с вторым входом одноименного блока элементов И группы, третий вход каждого блока элемента И группы соединен с выходом одноименного дешифратора группы, вход сброса каждого регистра обслуживания группы соединен с выходом одноименного элемента ИЛИ группы, вход пуска устройства соединен с единичным входом триггера, выход последнего разряда сдвига соединен с его первым информационньм входом.the shift, with the clock inputs of the group service registers and the second input of the second AND element, the output of which is connected to the clock inputs of the group storage registers, the group of outputs of the block of elements AND is connected to the group of information inputs of the shift register, with the first groups of inputs of the blocks of elements of the AND-OR groups, the second control input of each block of AND-OR elements of the group is connected to the corresponding output of the group of outputs of the block of AND elements, the group of outputs of each block of AND-OR elements of the group is connected to the group of information inputs group service register of the same name, the group of outputs of each service register group, except the last, is connected to the second group of outputs of the next block of elements of the I-IPI group, the group of outputs of the last service register of the group is connected to the second group of inputs of the first block of AND-OR elements of the group, group the outputs of each group service register are connected to the group of inputs of the group decoder of the same name and to the group of inputs of the same block of elements AND groups, each output of the group of outputs of the readiness register processors connected to the second input of the same block of elements AND groups, the third input of each block of the element AND groups connected to the output of the group decoder of the same name, the reset input of each group service register is connected to the output of the same element OR group, the device start input is connected to the single trigger input, the output of the last a shear discharge is connected to its first information input.
SU833670991A 1983-12-02 1983-12-02 Device for distributing jobs among processors SU1151966A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833670991A SU1151966A1 (en) 1983-12-02 1983-12-02 Device for distributing jobs among processors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833670991A SU1151966A1 (en) 1983-12-02 1983-12-02 Device for distributing jobs among processors

Publications (1)

Publication Number Publication Date
SU1151966A1 true SU1151966A1 (en) 1985-04-23

Family

ID=21092304

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833670991A SU1151966A1 (en) 1983-12-02 1983-12-02 Device for distributing jobs among processors

Country Status (1)

Country Link
SU (1) SU1151966A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР № 629538, кл. G 06 F 9/00, 1977. 2. Авторское свидетельство СССР 866560, кл. G 06 F 9/46, 1981 (прототип). *

Similar Documents

Publication Publication Date Title
SU1151966A1 (en) Device for distributing jobs among processors
SU1327106A1 (en) Apparatus for distributing jobs to processors
SU1246096A1 (en) Device for distributing jobs among processors
SU1532929A1 (en) Device for distribution of problems among processors
RU1798782C (en) Device for allocation of requests to processors
SU1532926A1 (en) Microprogram dispatcher of multiprocessor computing system
SU1705826A1 (en) Priority device
SU1545219A1 (en) Multichannel device for distribution of jobs between processors
USRE34282E (en) Memory control system
SU1095181A1 (en) Device for distributing tasks to processors
SU1179340A1 (en) Device for distributing jobs
SU1140122A1 (en) Multichannel device for servicing requests in computer system
RU2027219C1 (en) Device for distributing tasks by processor
SU1605250A1 (en) Device for distributing tasks among processors
SU1075261A1 (en) Device for distributing jobs in computer network
SU1341642A1 (en) Device for checking distribution of resources
SU1487041A1 (en) Dynamic priority unit
SU1290324A1 (en) Device for distributing jobs to processors
SU1481762A2 (en) Unit for dispatching jobs to processors
SU1238088A1 (en) Interface for linking computer with using equipment
SU1291983A1 (en) Device for distributing jobs to processors
SU1612301A1 (en) Device for forming a queue
SU934465A1 (en) Input-ouput processor
SU1236482A1 (en) Variable priority device
RU1797096C (en) Distributed system for programmed control over production processes