首页> 外国专利> System and method that facilitate the prediction performance of the multithreaded application in presence of resource bottlenecks

System and method that facilitate the prediction performance of the multithreaded application in presence of resource bottlenecks

机译:在存在资源瓶颈的情况下促进多线程应用程序的预测性能的系统和方法

摘要

A system for determining the performance of a software application multithreading in the presence of one or more resource bottlenecks, system comprising: a processor (202); and a memory (208) coupled to the processor (202), wherein the processor (202) is capable of executing a plurality of modules stored in memory (208), and wherein the plurality of modules comprises: a module (212) representation configured to represent a network of queues hardware and network queues software resources used to implement the application software multithreading, where networks queues represents contention for resources, and wherein the resources include hardware resources and software resources in networks where queues are used to check the number of threads that access the application software multithreading when there is a bottleneck of resources; a module (214) computer configured to run an iterative technique to a predetermined value of the service request to develop a relationship between the network queues software and network queues hardware, wherein the ratio comprises using software resources regarding hardware resources based on the predetermined value of the service request, and wherein the execution of the iterative technique comprises: obtaining a number of blocked threads in a critical section of the resources software based on the predetermined value of the service request, wherein the threads blocked in the critical section are threads waiting to enter the critical section; obtain a residence time in each of the hardware resources based on the predetermined value of the service request; update a service request critical section of a current interaction for a service request critical section updated to reflect a wait for hardware resources using the residence time, where the service request critical section is updated iteratively to take account of resource contention on hardware resources based on time of residence; comparing the number of blocked the current iteration number blocked a previous iteration in order to check whether the number of blocked threads of the current interaction is higher than the number of blocked from the previous iteration threads threads threads, and check if the service request updated critical section is higher than the critical service request section of the previous iteration; and identifying a difference between the number of blocked threads in a critical section for the current iteration and the number of blocked in the critical section in the previous iteration threads; and repeatedly executing the iterative technique 1) if the difference in the number of blocked threads is greater than a predefined limit, 2) if the number of blocked threads the current iteration is higher than the number of threads blocked prior iteration and 3) if the service request updated critical section is greater than the critical service request section of the previous iteration; otherwise obtain performance metrics with the service request critical section updates for application software multithreading when the difference in the number of blocked threads is less than the predefined limit, wherein the predefined limit indicates that the difference in the number of blocked threads it has converged on a number of iterations of the iterative technique, thereby determining a yield of the software application multithreading.
机译:一种用于在一个或多个资源瓶颈的情况下确定软件应用程序多线程性能的系统,该系统包括:处理器(202);以及耦合到处理器(202)的存储器(208),其中处理器(202)能够执行存储在存储器(208)中的多个模块,并且其中多个模块包括:配置的模块(212)表示表示网络的队列硬件和网络队列用于实现应用程序软件多线程的软件资源,其中网络队列代表对资源的争用,其中资源包括网络中的硬件资源和软件资源,其中网络用于检查线程数在资源瓶颈时访问应用程序软件多线程;模块(214)计算机,其被配置为对服务请求的预定值运行迭代技术以发展网络队列软件与网络队列硬件之间的关系,其中,比率包括基于以下的预定值来使用关于硬件资源的软件资源:服务请求,其中,迭代技术的执行包括:基于服务请求的预定值,获得资源软件的关键部分中被阻止的线程的数量,其中,关键部分中被阻止的线程是等待进入关键部分;根据服务请求的预定值,获取每个硬件资源中的停留时间;更新服务交互关键部分的当前交互的服务交互关键部分,使其更新以反映使用停留时间的硬件资源等待时间,其中服务交互关键部分被迭代更新以考虑基于时间的硬件资源争用居住地比较被阻止的当前迭代的被阻止数量,以检查当前交互的被阻止线程的数量是否大于先前交互的被阻止线程数量,并检查服务请求是否更新为临界该部分高于上一次迭代的关键服务请求部分;确定当前迭代的关键部分中的阻塞线程数与先前迭代线程中的关键部分中的阻塞数之差;并重复执行迭代技术1)如果阻塞的线程数之差大于预定义的限制,2)如果当前迭代的阻塞线程数大于先前迭代的阻塞线程数,以及3)服务请求更新的关键部分大于先前迭代的关键服务请求部分;否则,当阻塞线程数之差小于预定义限制时,使用服务请求关键部分更新获得针对应用软件多线程的性能指标,其中,预定义限制表示已收敛于一个线程上的阻塞线程数之差。迭代技术的迭代次数,从而确定软件应用程序多线程的产量。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号