Patent ID: 9027028
Filing Date: 2015-05-05
Classification: G06F,Y02D

Abstract:
1. A method for controlling use of a computing resource by multiple tenants in DBaaS service, comprising: intercepting a task that is to access a computing resource, the task being an operating system process or thread; identifying a tenant that is in association with the task from the multiple tenants; determining other tasks of the tenant that access the computing resource; and controlling the use of the computing resource by the task, so that a total amount of usage of the computing resource by the task and the other tasks does not exceed a limit of usage of the computing resource for the tenant, wherein each tenant of the multiple tenants has a dedicated virtual machine sharing a common physical machine and the computing resource is disk input/output, and wherein said controlling the use of the computing resource by the task comprises: dividing the task and the other tasks, based on disk space vicinity, into a plurality of basic disk input/output (BIO) tasks in association with the tenant; controlling a starting time of execution of each of the plurality of BIO tasks in accordance with a limit of usage of Disk_IO for the tenant, so that the total amount of usage of Disk_IO of the plurality of BIO tasks does not exceed the limit of usage of Disk_IO for the tenant; calculating a fastest processing time of the BIO tasks associated with the tenant; and calculating a waiting time based upon a limit of usage of Disk IO associated with the tenant, wherein the controlling the starting time of the execution further executes a current BIO task based upon the fastest processing time not being greater than the waiting time.