检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]同济大学电子与信息工程学院,上海201804
出 处:《计算机应用》2011年第10期2593-2596,共4页journal of Computer Applications
摘 要:为解决多核环境下,信号采集系统的数据处理实时性问题,提高波形数据采集和数据显示速度,提出使用裸线程构建数据采集模块和数据处理模块的最佳线程分配数量的最优线程分配算法,其目的在于合理分配线程给各个模块,达到系统的最佳性能。该算法基于生产者-消费者模式、操作系统多线程时间片轮转调度策略,根据各模块的工作量酌情调节线程比例,使应用程序达到最高加速比。实验表明,在双核环境下,该最佳线程数算法计算出最佳线程组合,使采集波形数据和数据显示合理并行化,相对于其他的线程组合分配方式完成程序花费的时间更少,提高了系统加速比、运算性能以及实时性。通过最优线程分配算法,提供了最优的线程数量分配方案,提高并行程序执行效率,减少了不必要的线程开销,提高了波形信号采集实时性。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.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.117