Электронный архив
Донецкого национального технического университета (г.Донецк)
Electronic archive of Donetsk national technical university (Donetsk)
 

eaDonNTU, Donetsk >
Научные труды ДонНТУ >
Серія: Інформатика, кібернетика та обчислювальна техніка >
Випуск 2 (18) >

Пожалуйста, используйте этот идентификатор, чтобы цитировать или ссылаться на этот ресурс: http://ea.donntu.ru/handle/123456789/29928

Название: Исследование многопоточности с использованием волокон на одно- и многоядерном процессорах
Другие названия: Дослідження багатопоточності з використанням волокон на одно- та багатоядерному процесорах
Study multithreading using fibers at single- and multi-core processors
Авторы: Чередникова, О.Ю.
Иванов, А.Ю.
Коцогуб, Е.В.
Іванов, О.Ю.
Коцогуб, Є.В.
Cherednikova, O.Yu.
Ivanov, А.Yu.
Kotsogub, E.V.
Ключевые слова: многоядерный процессор
многопоточность
общая память
процессорное время
поток операционной системы
волокно
фибер
потік операційної системи
фібер
багатопоточність
загальна пам’ять
багатоядерний процесор
процесорний час
thread
fiber
multi-core processor
multithreading
shared memory
CPU time
Дата публикации: 2013
Издатель: ДонНТУ
Библиографическое описание: Наукові праці Донецького національного технічного університету. Серія: Інформатика, кібернетика та обчислювальна техніка : збірник статей. Вип.2 (18) / ДВНЗ "ДонНТУ" ; редкол.: О.Є. Башков (голов. ред.) та ін. - Донецьк : ДонНТУ, 2013.
Аннотация: В данной работе рассмотрены принципы организации многопоточности с использованием волокон на одно- и многоядерном процессоре. Сравнивается организация многопоточности на основе потоков и волокон. Исследуется обращение из различных потоков и волокон к общей памяти. Предпринята попытка определения процессорного времени, выделяемого каждому потоку операционной системой. Аргументируются преимущества использования волокон для ускорения работы приложения на многоядерном процессоре.
Описание: In this work, the principles of organization of multithreading using threads and fiber to single- and multi-core processor are considered, their comparative characteristics are carried out. Using multithreading can greatly speed up the work of application, especially on multi-core processor. On single-core processor it is not possible to realize the true parallel work of threads. Each thread allocates some CPU time, after which there is a thread switching. It is established that the Windows 7 operating system allocates 94-96 msec for each thread. Moreover, if there are more than two threads with the same priority, it is impossible to reliably predict which of the threads to be executed. If the threads have different priorities, then run a higher priority thread. In this regard, of particular relevance gets fibers, because switching fibers is initiated by the programmer in the desired points in time, in contrast to switch threads that are switched by the operating system. However, on one thread can't run in parallel several fibers. Fibers can run in parallel only on different threads. In the work we studied the possibility of calling from various functions of fiber and thread to the shared memory. As have shown results of program research on the processor Intel Core 2 Duo, both threads can simultaneously access a single memory cell almost without delay, which can be useful when implementing parallel fragments of the program. This is because in today's multi-core processors L2 cache is a memory of separate use and shared on two cores, thus considerably simplifies the exchange of information between the cores, reducing the delays in the work of both cores with the same set of data. Further research is related to the use of fiber for the organization of protection against unauthorized access to information. Such use of fibers based on the fact that if fiber function will perform the identification of the computer running in place, to break this protection would be rather difficult, because the attacker is quite difficult to estimate the moment when this fiber function will be called.
URI: http://ea.donntu.org/handle/123456789/29928
Располагается в коллекциях:Випуск 2 (18)

Файлы этого ресурса:

Файл Описание РазмерФормат
Cherednikova.pdf926.34 kBAdobe PDFПросмотреть/Открыть

Все ресурсы в архиве электронных ресурсов защищены авторским правом, все права сохранены.