发明名称 Predicting resource requirements for a computer application
摘要 A resource consumption model is created for a software application, making it possible to predict the resource requirements of the application in different states. The model has a structure corresponding to that of the application itself, and is interpreted to some degree in parallel with the application, but each part of the model is interpreted in less time than it takes to complete the corresponding part of the application, so that resource requirement predictions are available in advance. The model may be interpreted in a look-ahead mode, wherein different possible branches of the model are interpreted so as to obtain resource requirement predictions for the application after completion of the present step. The model may be derived automatically from the application at design or compilation, and populated by measuring the requirements of the application in response to test scenarios in a controlled environment.
申请公布号 US9052954(B2) 申请公布日期 2015.06.09
申请号 US201213673109 申请日期 2012.11.09
申请人 International Business Machines Corporation 发明人 Gangemi Rosario;Sciacca Vincenzo;Villani Massimo
分类号 G06F9/46;G06F9/50 主分类号 G06F9/46
代理机构 代理人 Lammes Francis;Walder, Jr. Stephen J.;Kalaitzis Parashos T.
主权项 1. A method of predicting resource requirements for a computer application, the method comprising the steps of: providing a resource consumption model of the application, the resource consumption model being adapted to provide the resource requirements of the application as a function of a current functional state of the application; executing the application; and the method, in parallel with the execution of the application, further comprising: interpreting the resource consumption model in conjunction with the current functional state of the application to generate resource requirement data for the application,interpreting a series of successive units of the resource consumption model in less time than that required for the completion of the current functional state of the application corresponding to a first of the series of successive units and a plurality of alternative series of successive units of the resource consumption model, each alternative series of the plurality of alternative series starting with the same unit corresponding to the current functional state of the application, all of the plurality of alternative series being interpreted in less time than that required for the completion of the current functional state of the application corresponding to the first of the series of successive units, so that resource requirement data of the series of successive units and each of the plurality of alternative series of successive units for future possible application states are available before the application changes state, wherein different alternative series of the plurality of alternative series are weighted according to the likelihood that the functional state of the application will develop in the manner represented by the series of units forming that series, and adjusting system resource settings affecting the application as a function of the resource requirement data of the series of successive units and each of the plurality of alternative series of successive units before the application changes state based on a worst case of the future possible application states.
地址 Armonk NY US