发明名称 Managing stream components based on virtual machine performance adjustments
摘要 Embodiments of the disclosure include a method, a system, and a computer program product for modifying a stream operator based on the virtual resources. The method includes receiving a first resource allocation and a second resource allocation of a virtual resource for a virtual machine supporting a stream computing application. The method also includes determining whether the second resource allocation changed within a tolerance relative to the first resource allocation. The method also includes identifying a stream operator in the stream computing application using the virtual resource of the virtual machine. The method also includes modifying the stream operator to accommodate the second resource allocation in response to the second resource allocation changing relative to the first resource allocation.
申请公布号 US9535734(B2) 申请公布日期 2017.01.03
申请号 US201414198716 申请日期 2014.03.06
申请人 International Business Machines Corporation 发明人 Cao Bin;Eidem Jessica R.;Muras Brian R.;Sun Jingdong
分类号 G06F9/44;G06F9/45;G06F9/46;G06F9/455;G06F9/50;G06F17/30;G06F9/445;H04L29/08 主分类号 G06F9/44
代理机构 代理人 Lawrence Nolan M.
主权项 1. A method comprising: initializing, by a stream application and based on a processing element, a first resource allocation of a first virtual resource, the first virtual resource provided by a virtual machine to enable operation of the processing element, the processing element containing one or more stream operators that operate on one or more tuples of the stream application; monitoring, by the stream application, operation of the virtual machine to allocate one or more virtual resources including the first virtual resource; detecting, by the stream application and based on the monitored operation of the virtual machine, a second resource allocation; determining, by the stream application and based on the detected second resource allocation, an increase in the first virtual resource compared to the first resource allocation; identifying, by the stream application and based on the detected second resource allocation of the virtual machine, the processing element of the stream application; increasing, by the stream application and based on the determined increase in the virtual resource and based on the identified processing element, a first stream operator function of the processing element, the first stream operator function corresponding to the first virtual resource; determining, by the stream application, a resource dependency that the first stream operator function depends on a second stream operation function, the second stream operator function corresponding to a second virtual resource, wherein the resource dependency is a ratio between the first stream operator function and the second stream operator function and is based on tuple processing performance monitored by the stream application; and increasing, by the stream application and based on the determined resource dependency, the second stream operator function of the processing element.
地址 Armonk NY US