As the development of computer technology,the frequency,memory and hard
drive of computer have been significantly improved. Real-time operating system and
multi-core system play very important roles in upgrading the photoelectrical system
platform.RTX(Real-time eXtension) is one of the best real-time operating
systems,which can inherit many advantages of Windows system.The robust of
parallel process ability and the reasonable proportion of computing storage of the
multi-core system opens a new way to enhance the utilization of resource.In this
study,we integrate the original photoelectric platform based on RTX system and put
forward a new method of parallel processing based on RTX
The design of the software is mainly divided into four modules:human-computer
interaction module,data storage module,data decoding module,I/O interface
module.Then we utilize the scheduling mechanism of the task.The task will be
divided into two parts:RTSS process and Win32 process, Win32 process mainly
undertake the tasks of human-computer interaction module,data storage module,parts
of data decoding module;RTSS process will undertake the taskswhich require
real-time process capability,like: data decoding module, interface module; we design
the structure of the shared memory block,so different processes can utilize the IPC
shared memory for data exchange.In order to prevent the conflict of threads, we
utilize the synchronization mechanism to coordinate multi-threads work orderly.The thread of reading has higher priority than thread of writing from the shared memory
block.
Then we design the methods of the multi-thread on the multi-core systems.We
assign different threads to different CPUs.Aiming at the structure of the image
alogrithms We design the method of assembly line,
At last,we We utilize the method of assembly line,processing an algorithm of an
image extraction on the four cores of the system.First,we decompose the task of the
algorithm, using good CPU affinity of systems.Then we make two functional test to
compare the processing ability of RTX to the Windows system,the single-core
processing ability to the multi-core processing ability.Through the comparison of the
exeperimental data under different conditions,we analysis,then summary the
feasibility of the good performance of the sytem.Finally we achieve the parallel
process of multi-channel image tasks,we get the good results and performance.
修改评论