Abstract��Aim at solving the problem of data processing and data demonstration in real-time signals acquisition system in multi-core and multi-thread environment, the authors exploited an efficient algorithm which used bare threads to build data acquisition module and data processing module with a set of optimal threads for allocation in order to make full use of parallel computation to increase the performance and real-time quality of the system. This algorithm worked based on producer-customer and the round-robin scheduling of operating system, referring to the workload of each module to tune the thread allocation solution to make the application achieve better speed-up ratio and real-time quality. The testing result of Field Programmable Gate Array (FPGA) hardware simulation system shows that in dual core environment, this algorithm can produce best combination of threads allocation with which waveform acquisition module and waveform display module can be executed in optimal parallel mode. And compared with other solutions of thread allocation, this solution spends less time in execution. Thus, this algorithm improves the speed-up ratio, computing and the real-time quality of the system. The optimal thread allocation algorithm provides the solution of optimal thread allocation which improves the efficiency of parallel application execution, reduces unnecessary spending of the thread and improves the real-time quality of waveform signal acquisition.
������ ������. �ź�ʵʱ�ɼ�ϵͳ����Ѳ����߳�����о�[J]. �����Ӧ��, 2011, 31(10): 2593-2596.
WANG Ke-te WANG Li-sheng. Research on optimal thread quantity of real-time signals acquisition system. Journal of Computer Applications, 2011, 31(10): 2593-2596.