共查询到20条相似文献,搜索用时 171 毫秒
1.
2.
3.
为了改进Dalvik虚拟机的性能,提出了一种基于多线程调度机制的Java虚拟机混合并发模式。该模式利用多线程并发调度和热方法表,通过将Java字节码的编译与执行过程相重叠来提高程序的执行效率,进而提升Dalvik虚拟机的处理速度;并对该模式设计与实现的关键技术进行了分析。实验结果表明,混合并发模式能够有效地提高Dalvik虚拟机中Java程序的执行速度。 相似文献
4.
5.
6.
将软件的某些进程结构改造为多线程结构,可以解决逻辑并发性、物理并行性等问题,显著提高运行效率。但如何改造(特别是大型软件)是一个比较困难的事情,方法不当很容易造成系统不稳定。该文针对目前该领域研究多局限于理论分析,缺少具体实施方法的问题,提出了一套在Linux环境下将软件的多进程结构改造成多线程结构的具体方案,并围绕改造信号量、信号处理和全局变量等几个难点,提出合理的解决方法。最后,应用此方法成功地将一个著名开放源代码数据库(Poatgre SQL)改造为多线程结构数据库。性能得到显著提高。 相似文献
7.
8.
多址通讯程序设计方法 总被引:1,自引:0,他引:1
多址通讯有着广泛的应用基础,但网络设备的异质性给程序设计增加了额外开销。Java语言具有平台独立性,因此该文提出了基于 Java语言的多址通讯的实现方法,为了提高软件的执行效率,采用了多线程技术,并着重讨论了多线程中的同步问题。另外,多址通讯封装在类中,有利于软件的复用。 相似文献
9.
王敏 《电脑编程技巧与维护》1997,(1):53-54,56
一、Java与多线程 可以在同一时间执行多个程序的操作系统,都有所谓进程的概念。一个进程就是一个执行中的程序,每一个进程都有自己独立的一块内存空间、一组系统资源。比如说,每一个在Windows 95上正在执行的程序都可以视作是一个进程。 相似文献
10.
一种改进型多线程机制在数据采集系统中的应用 总被引:1,自引:0,他引:1
为缓解数据采集实时性要求较高和数据处理延时较大之间的矛盾,研究了LabWindows/CVI软件开发环境下的多线程机制和相关的数据保护机制。并对传统数据采集多线程机制进行改进,除了为数据采集任务创建线程外,单独为每一路数据通道创建独立的线程用以处理该通道数据。实验结果表明:改进后的多线程机制更加适合数据处理耗时较长、数据通道多、实时性要求严格的系统,能显著提高系统实时性和软件运行效率。 相似文献
11.
Satoshi Amamiya Makoto Amamiya Ryuzo Hasegawa Hiroshi Fujita 《The Journal of supercomputing》2009,47(2):228-252
Current trend of research on multithreading processors is toward the chip multithreading (CMT), which exploits thread level
parallelism (TLP) and improves performance of softwares built on traditional threading components, e.g., Pthread. There exist
commercially available processors that support simultaneous multithreading (SMT) on multicore processors. But they are basically
based on the conventional sequential execution model, and execute multiple threads in parallel under the control of OS that
handles interruptions. Moreover, there exist few languages or programming techniques to utilize the multicore processors effectively.
We are taking another approach to develop a multithreading processor, which is dedicated to TLP. Our processor, named Fuce, is based on the continuation-based multithreading. A thread is defined as a block of sequentially ordered instructions which
are executed without interruption. Every thread execution is triggered only by the event called continuation.
This paper first introduces the continuation-based multithread execution model and its processor architecture then gives multithreaded
programming techniques and the continuation-based multithreading language system CML. Last, the performance of the Fuce processor is evaluated by means of the clock-level software simulation. 相似文献
12.
13.
14.
Two approaches to the improvement of the performance of client–server systems, multithreading and scheduling of servers, are investigated. Both of these approaches are observed to have a significant impact on system performance. The use of multithreading improves throughput characteristics of systems, whereas the deployment of appropriate scheduling strategies at servers can produce a significant improvement in mean client response times. Based on a simulation model a number of basic questions that are important in the context of scheduling on nonmultithreaded, as well as multithreaded, systems are analyzed. Two important factors, monopolization of servers by large requests and software bottlenecks, are observed to be important in the context of scheduling on client–server systems. Both server scheduling, as well as multithreading, can be used to control these effects and lead to a higher system performance. Scheduling policies based on request characteristics are observed to perform well. A new request characteristic that is useful in the scheduling of client–server systems in the presence of software bottlenecks is proposed. Selection of both the server process, as well as the thread within the server, is required when multiple server, are co-located on the same CPU. A comparison between two scheduling approaches, single level and two level is presented in the paper. The results of this research are useful primarily in the design of operating systems for client–server systems and are also of interest to system designers and users. 相似文献
15.
同时多线程(SMT)是一种允许多个独立的线程每周期发射多条指令的技术,这种技术充分利用了可能存在的指令级并行和线程级并行,提高了有限资源的利用率。文章以西北工业大学航空微电子中心自主研发的32位超标量处理器“龙腾R2”为基础,引入SMT技术,在基本不改变内部结构大小、不增加执行功能部件、仅做一些必要修改的前提条件下进行研究。通过仿真不同的线程数和各种线程组合,进行性能分析。尽管存在制约性能提升的一些因素,引入SMT技术后依然获得了最高约50%的性能增加。 相似文献
16.
随着生产工艺的提高,芯片上能集成越来越多的晶体管,多线程技术也逐步成为一种主流的处理器体系结构技术.提出一种融合同时多线程技术和微线程技术的新型体系结构同时多微线程(simultaneous multi-microthreading,SMMT),并给出同时多微线程体系结构的实现方案.SMMT有效结合同时多线程技术硬件代价小和微线程技术能够加速单进程应用的优点,通过软硬件协同的方式充分挖掘单进程程序的微线程级并行性.通过在设计的龙芯2号同时多微线程处理器上进行性能评测,结果表明,同时多微线程体系结构能够有效地加速单进程的程序,以很小的硬件代价显著地提高了处理器的性能. 相似文献
17.
多线程技术在工业控制中的应用 总被引:9,自引:0,他引:9
本文首先介绍了多线程技术及其软件实现,然后结合笔者编写的一个工业控制系统应用软件的一些经验来介绍多线程技术在工业控制中的实际应用。 相似文献
18.
19.
陈隽 《电脑编程技巧与维护》2009,(22):83-84
Java强大的安全性使得其在网络编程中被广泛采用,特别是其出色的多线程机制。利用Java的多线程编程接口,开发人员可以方便地写出支持多线程的应用程序,有效地减少并发并行程序设计的困难,提高了程序执行效率。以开发一个多用户具有并发服务器的网络聊天室为例,论述Java的多线程技术在网络编程中的应用。 相似文献
20.
龙芯2号同时多线程处理器的软硬件接口设计 总被引:1,自引:0,他引:1
随着生产工艺的提高,芯片上能集成越来越多的晶体管,多线程技术也逐步成为一种主流的处理器体系结构技术,而多线程处理器的软硬件接口也就成为急需解决的问题.在分析同时多线程的软件需求的基础上,提出龙芯2号同时多线程处理器的软硬件接口协同设计解决方案,给出相应的操作系统实现方案.同时,在Linux 2.4.20的基础上实现了龙芯2号同时多线程处理器相应的操作系统.通过运行SPEC CPU2000等测试程序进行性能评测,充分说明实现软硬件接口的龙芯2号同时多线程处理器极大地提高了多进程负载的性能.分析和设计方案不仅适用于同时多线程处理器,而且对于片内多核处理器的设计也有借鉴作用. 相似文献