共查询到20条相似文献,搜索用时 162 毫秒
1.
基于多核的多线程程序优化研究 总被引:1,自引:1,他引:0
随着主流芯片厂商的大力推广,多核处理器已经变得越来越普及.以往串行化的程序设计方法在多核环境下已经不能充分利用多核CPU的资源.怎样高效地利用多核处理器的计算性能,已经成为软件开发者面临的新的课题.文中在传统的多线程编程基础上,根据Intel处理器的微架构(Microarchitecture)特点,以及Linux内核提供的CPU绑定技术,通过采用Cache优化和CPU亲和力(CPU affinity)优化,消除了多核环境下局部多线程Cache行竞争和伪共享,减少了线程的调度开销,提高了多线程程序的运行效率. 相似文献
2.
针对多核CPU和GPU环境下图的深度优先搜索问题,提出多核CPU中实现并行DFS的新算法,通过有效利用内存带宽来提高性能,且当图增大时优势越明显.在此基础上提出一种混合方法,为DFS每一分支动态地选择最佳的实现:顺序执行;两种不同算法的多核执行;GPU执行.混合算法为每种大小的图提供相对更好的性能,且能避免高直径图上的最坏情况.通过比较多CPU和GPU系统,分析底层架构对DFS性能的影响.实验结果表明,一个高端single-socket GPU系统的DFS执行性能相当于一个高端4-socket CPU系统. 相似文献
3.
应用GPU集群加速计算蛋白质分子场 总被引:3,自引:2,他引:1
针对生物化学计算中采用量子化学理论计算蛋白质分子场所带来的巨大计算量的问题,搭建起一个GPU集群系统,用来加速计算基于量子化学的蛋白质分子场.该系统采用消息传递并行编程环境(MPI)连接集群各结点,以开放多线程OpenMP编程标准作为多核CPU编程环境,以CUDA语言作为GPU编程环境,提出并实现了集群系统结点中GPU和多核CPU协同计算的并行加速架构优化设计.在保持较高计算精度的前提下,结合MPI,OpenMP和CUDA混合编程模式,大大提高了系统的计算性能,并对不同体系和规模的蛋白质分子场模拟进行了计算分析.与相应的CPU集群、GPU单机和CPU单机计算方法对比,该GPU集群大幅度地提高了高分辨率复杂蛋白质分子场模拟的计算效率,比CPU集群的平均计算加速比提高了7.5倍. 相似文献
4.
5.
为了充分利用多核处理器资源,研究了Intel线程构建模块并行编程模式.基于任务调度器,建立了逻辑线程和物理线程最佳匹配和映射的面向任务编程模式.利用任务调度器,设计了N皇后问题在多核处理器的并行算法.该算法将任务自动地映射到多线程,减少消息传递和数据移动带来的额外开销,提高多核CPU的使用效率.并行算法的加速比接近核数,CPU使用效率超过90%,实验结果表明,该算法有效地提升了多核计算机资源的利用率. 相似文献
6.
7.
8.
在介绍现今计算机网络安全面临的诸多问题的基础上,分析了传统的网络安全设备和UTM设备的不足,结合多核多线程CPU的发展趋势,提出用多核CPU实现高性能UTM的解决方案. 相似文献
9.
10.
分析集群环境下分布式存储编程模型和多核CPU环境下共享存储编程模型各自的优缺点,采用结合集群和多核CPU的并行环境来取长补短;并研究其在等高线提取中的相关并行算法,其中以建立三角网和跟踪等高线作为共享存储并行的研究实例;最后通过实验验证了该并行方案的可行性。 相似文献
11.
12.
针对通常评估系统难以重用的问题,指出其主要原因在于评估方法与评估指标体系的强依赖关系。为解决该问题,提出基于MVC模式的评估系统设计方法。把评估方法、指标平定界面与对两者的控制行为分别设计为模型、视图与控制器。按照这种设计方法完成对AHP评估系统的设计。以两个不同的评估应用问题进行验证。其结果表明该方法是可行的,的确具有可重用性。 相似文献
13.
The complexity of the diagnosability problem for a self-diagnosable system is analysed in this paper. The most commonly studied model (Preparata et al. 1967) for a diagnosable system has been analysed in the literature and a polynomial time algorithm for testing its diagnosability is known. This paper analyses a more general model of the diagnosable system and finds the diagnosability problem to be NP-hard. In this model, each unit is tested by several tests and each test is carried out jointly by several other units of the system as opposed to each test being carried out by a single unit as modelled by Preparata et al. (1967). 相似文献
14.
提出了使用签名jar文件以及分离私钥和所属Agent的策略来建立一种安全的移动代理通信通道的方法。移动代理的安全性问题是目前研究十分广泛的一个复杂问题。文中对多Agent系统的安全性问题进行了全面的分析,并结合移动Agent平台JADE-S,深入研究了该平台的特点和安全方案,指出了它存在的安全缺陷。在此基础上,提出了采用签名jar文件以及分离私钥和所属Agent的策略来完善JADE-S的安全性,最后指出了下一步工作重点。 相似文献
15.
This paper presents a simple and effective Genetic Algorithm (GA) for the two-stage capacitated facility location problem (TSCFLP). The TSCFLP is a typical location problem which arises in freight transportation. In this problem, a single product must be transported from a set of plants to meet customers demands, passing out by intermediate depots. The objective is to minimize the operation costs of the underlying two-stage transportation system thereby satisfying demand and capacity constraints of its agents. For this purpose, a GA is proposed and computational results are reported comparing the heuristic results with those obtained by two state-of-the-art Lagrangian heuristics proposed in the literature for the problem. 相似文献
16.
This paper is concerned with the robustness of the predictor feedback control of linear systems with input delays. By applying certain equivalent transformations on the characteristic equation associated with the closed-loop system, we first transform the robustness problem of a predictor feedback control system into the stability problem of a neutral time-delay system containing an integral operator in the derivative. The range of the allowable input delay for this neutral time-delay system can be computed by exploring its delay dependent stability conditions. In particular, delay dependent stability conditions for the neutral time-delay system are established by partitioning the delay into segments. The conservatism of this method can be reduced when the number of segments in the partition is increased. Numerical examples are worked out to illustrate the effectiveness of the proposed method. 相似文献
17.
In this paper,the active learning mechanism is proposed to be used in classifier systems to cope with complex problems:an intelligent agent leaves its own signals in the environment and later collects and employs them to assist its learning process.Principles and components of the mechanism are outlined,followed by the introduction of its preliminary implementation in an actual system.An experiment wit te system in a dynamic problem is then introduced,together with discussions over its results.The paper is concluded by pointing out some possible improvements that can be made to the proposed framework. 相似文献
18.
基于单片机控制系统的软件抗干扰措施 总被引:1,自引:1,他引:0
在单片机实时控制系统中,程序失控是经常遇到的问题。通过分析程序失控的原因,提出了防范措施和方法,应用这些措施,可有效提高系统运行的可靠性,使系统具有程序失控自恢复能力。 相似文献
19.
传统的乐观并发控制策略利用了一些不必要的事务重启来保证数据的一致性,事务重启能够极大的增加系统载荷以及加强资源和数据的竞争,在分布式环境下,由于系统的复杂性和较高的通讯开销加剧了该问题.针对该问题本文提出了一种靳的乐观并发控制策略,通过动态调整事务串行化执行顺序来避免不必要的事务重启.当把这种新的并发控制策略在分布式实时环境中实现时,考虑到分布式事务的实时性要求,本文提出把写阶段从临界区中分离出来的方法,并用顺序加锁的策略来保证分布式事务执行的正确性,最后给出了该实现方法的正确性证明. 相似文献
20.
单片机实时控制系统中,程序失控是经常遇到的问题。通过分析程序失控的原因提出了防范措施和方法,应用这些措施可有效地提高系统运行的可靠性,使系统具有程序失控自恢复能力。 相似文献