With the advent of the Internet and rapid advances in network technologies, distributed computing has become an increasingly popular computing approach as it allows sharing of computational resources (such as, for example, memory, processing time, input/output, etc.) among many different users or systems or any combination thereof. One such example is “cloud computing”, which involves applying the resources of several computers in a network to a single problem at the same time. Cloud computing is Internet (“cloud”) based development and use of computer technology (“computing”). Conceptually, infrastructure details are abstracted from the users and/or systems that no longer need knowledge of, expertise in, or control over the technology infrastructure “in the cloud” that support them. It typically involves the provision of dynamically scalable and often virtualized resources as a service over the Internet.
Recently technologies such as, “grid computing”, “utility computing” and “autonomic computing” have been used for sharing resources in a distributed computing environment. Grid computing is a form of distributed computing, whereby a ‘super and virtual computer’ is composed of a cluster of networked, loosely coupled computers acting in concert to perform large tasks. Utility computing is a packaging of computing resources, such as computation and storage, as a metered service similar to a traditional public utility, such as electricity. Autonomic computing is a computer system capable of self-management.
Embodiments of the invention are directed to a method, system and computer program product for determining resources allocation in a distributed computing environment by identifying resources in a distributed computing environment, wherein each of the resources is capable of performing at least a part of an assigned task and computing an optimal resources configuration using a set of pre-determined parameters including at least a target completion time to complete the assigned task.
Embodiments of the invention are described in detail below, by way of example only, with reference to the following schematic drawings, where:
Distributed computing environments, such as, for example—Cloud computing, (also Grid computing and a service-oriented architecture [SOA]), uses a concept of service level agreements (SLA) to control the use and receipt of (computing) resources from and by third parties. Any SLA management strategy considers two well-differentiated phases: the negotiation of the contract and the monitoring of its fulfillment in run-time. Thus, SLA Management encompasses the SLA contract definition (basic schema with the QoS (quality of service) parameters), SLA negotiation, SLA monitoring, and SLA enforcement, according to defined policies. It is desirable to create a mechanism for a cloud, a grid or an SOA middleware, to manage providers and consumers of services. Indeed, many cloud computing deployments depend on grids, have autonomic characteristics, and bill like utilities, but cloud computing tends to expand what is provided by grids and utilities. Some successful cloud architectures have little or no centralized infrastructure or billing systems whatsoever, including peer-to-peer networks.
Compliance with the SLA, optimal resources utilization and completing assigned tasks in minimal costs are some of the important factors that are considered in distributed computing environment management. In prior art, a method discusses allocation of tasks in a multiprocessor environment in which, blocks of data are partitioned into tasks to be allocated to different processors. Another method in prior art discusses managing a system of computers connected via a network. Yet another method in prior art discloses a use of a master unit distributing a given computational task among slave units in a parallel computing environment. These methods that use “partitioning” techniques in general.
Another set of methods in prior art use task scheduling technique. Some other methods in this set also use historical data to predict workload in time and try to align resources to those projected needs.
Yet another set of methods in prior art use thread scheduling and replication based methods. The methods discuss transferring and replicating data among distributed resources to achieve workload distribution, wherein replicated data files are maintained and job processes are synchronized across the network.
A methodology that computes optimal provisioning of resources in a distributed computing environment along with SLA pricing, task completion time aspects with respect to the SLA and taking network failures into consideration, thereby offering a more flexible and dynamic optimization is desirable.
In an exemplary mode, to quantify the network transfer speed, a connection could be established between a resource in distributed computing environment 102 and service consumer 113 and a fixed number of records may be transferred multiple times to obtain an average of data transfer rate achieved per record. As another example, to measure reliability of network transfer, an evaluation of historic failures over a pre-defined period of time could be undertaken. To measure a processing time for a particular assigned task, a table could be computed for number of records that can be processed with a given configuration of a combination of resources (e.g. R1104, R2106 etc.) from distributed computing environment 102.
Based on various properties of the resources of distributed computing environment 102, a set of provisioning parameters 110 are identified and computed. Resources allocation system 122 uses service parameters 118, configuration parameters 120 and provisioning parameters 110 and computes optimal resources allocation.
Step 202 depicts the start of the method 200. Step 204 shows identifying resources in a distributed computing environment, wherein each of the resources is capable of performing at least a part of an assigned task. The assigned task 114 of
Decision block 240 determines if the at least one change is more than the preset threshold range (R) of the changed parameter. If the at least one change is less than or equal to the preset threshold range (R) of the changed parameter, method 230 ends and is depicted by stop element 242. If the at least one change is more than the preset threshold range (R) of the changed parameter, step 244 depicts modifying the optimal resources configuration in response to the at least one change, and step 246 depicts modifying at least one of the optimal completion time required for completion of the assigned task and the optimal cost, wherein the modification is performed using the modified optimal resources configuration.
To describe elements of
Schematic 300 includes an exemplary set of configuration parameters 302, an exemplary set of provisioning parameters 320 and an exemplary set of service parameters 350. Set of configuration parameters 302 further includes a network failure probability [pdf(t)] 304, a bandwidth (B) 306 and a network speed (S) 308. Set of provisioning parameters 320 further includes a plurality of CPU, memory and Hard Disk (HD) and only an exemplary CPU 322, an exemplary memory 324 and an exemplary HD 326 is shown in
Based on the value of B 306 and network speed S 308, number of concurrent network connections p 310 is calculated as p=B/S. A first block size based on network failure probability pdf(t) 304 is computed as b1312. Element 356 depicts computation of a second block size b2 based on assigned task M 354 and computed p 310 as b2=M/p. Element 314 depicts computing effective block size b 314 based on a first block size b1 and second block size b2. It is computed using b=min (b1, b2). A number of blocks based on assigned task M 354 and effective block size b 314 is computed as n 358. n 358 is computed using n=M/b. Element 360 depicts determining if number of concurrent network connections p 310 is more than number of blocks n 358. If number of concurrent network connections p 310 is more than number of blocks n 358, time required to complete assigned task M 354 is computed as T1 as shown in element 362. The computing of T1 is performed using T1=(Tco+(M/p(k+1/q))/Pdf[t]). If number of concurrent network connections p 310 is less than number of blocks n 358, time required to complete assigned task M 354 is computed as T2 as shown in element 364. The computing of T2 is performed using T2=n/b*(Tco+(M/p(k+1/q))/pdf[t]). Depending on if number of concurrent network connections p 310 is less than or more than number of blocks n 358, T 366, time required to complete assigned task M 354 is computed as either T1 or T2, shown as T=T1 or T2.
Element 328 depicts computation of resources allocation R′ and uses exemplary CPU 322, exemplary memory 324, exemplary HD 326, number of concurrent parameters p 310, and assigned task M 354. Computed resources allocation R′ 328, computed time required to complete assigned task M 354 T 366, and target completion time Tt 352 are used to compute cost C 368, cost of utilizing resources in distributed computing environment 102 to complete assigned task M 354 within constraint of target completion time Tt 352.
Five exemplary cases are now discussed for computing T 366, time required to complete assigned task M 354.
Case 1: Infinite Bandwidth, Infinite Processing Speed
Exemplary computer system 500 can include a display interface 508 configured to forward graphics, text, and other data from the communication infrastructure 502 (or from a frame buffer not shown) for display on a display unit 510. The computer system 500 also includes a main memory 506, which can be random access memory (RAM), and may also include a secondary memory 512. The secondary memory 512 may include, for example, a hard disk drive 514 and/or a removable storage drive 516, representing a floppy disk drive, a magnetic tape drive, an optical disk drive, etc. The removable storage drive 516 reads from and/or writes to a removable storage unit 518 in a manner well known to those having ordinary skill in the art. The removable storage unit 518, represents, for example, a floppy disk, magnetic tape, optical disk, etc. which is read by and written to by the removable storage drive 516. As will be appreciated, the removable storage unit 518 includes a computer usable storage medium having stored therein computer software and/or data.
In exemplary embodiments, the secondary memory 512 may include other similar means for allowing computer programs or other instructions to be loaded into the computer system. Such means may include, for example, a removable storage unit 522 and an interface 520. Examples of such may include a program cartridge and cartridge interface (such as that found in video game devices), a removable memory chip (such as an EPROM, or PROM) and associated socket, and other removable storage units 522 and interfaces 520 which allow software and data to be transferred from the removable storage unit 522 to the computer system 500.
The computer system 500 may also include a communications interface 524. The communications interface 524 allows software and data to be transferred between the computer system and external devices. Examples of the communications interface 524 may include a modem, a network interface (such as an Ethernet card), a communications port, a PCMCIA slot and card, etc. Software and data transferred via the communications interface 524 are in the form of signals which may be, for example, electronic, electromagnetic, optical, or other signals capable of being received by communications interface 524. These signals are provided to the communications interface 524 via a communications path (that is, channel) 526. The channel 526 carries signals and may be implemented using wire or cable, fiber optics, a phone line, a cellular phone link, an RF link, and/or other communications channels.
In this document, the terms “computer program medium,” “computer usable medium,” and “computer readable medium” are used to generally refer to media such as the main memory 506 and the secondary memory 512, the removable storage drive 516, a hard disk installed in the hard disk drive 514, and signals. These computer program products are means for providing software to the computer system. The computer readable medium allows the computer system to read data, instructions, messages or message packets, and other computer readable information from the computer readable medium. The computer readable medium, for example, may include non-volatile memory, such as Floppy, ROM, Flash memory, Disk drive memory, CD-ROM, and other permanent storage. It can be used, for example, to transport information, such as data and computer instructions, between computer systems. Furthermore, the computer readable medium may comprise computer readable information in a transitory state medium such as a network link and/or a network interface, including a wired network or a wireless network, that allows a computer to read such computer readable information.
Computer programs (also referred to herein as computer control logic) are stored in the main memory 506 and/or the secondary memory 512. Computer programs may also be received via the communications interface 524. Such computer programs, when executed, can enable the computer system to perform the features of exemplary embodiments of the present invention as discussed herein. In particular, the computer programs, when executed, enable the processor 504 to perform the features of the computer system 500. Accordingly, such computer programs represent controllers of the computer system.
Embodiments of the invention further provide a storage medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to carry out a method of determining resources allocation in a distributed computing environment as described in the various embodiments set forth above and described in detail.
Advantages of various embodiments of the invention include effective resources provisioning and pricing for determining and meeting the SLA for multiple tasks including data processing using cloud computing. Advantages of various embodiments of the invention further include increased reliability in meeting the requirements of a client within reasonably accurate budgetary and manpower and hardware constraints.
The described techniques may be implemented as a method, apparatus or article of manufacture involving software, firmware, micro-code, hardware such as logic, memory and/or any combination thereof. The term “article of manufacture” as used herein refers to code or logic and memory implemented in a medium, where such medium may include hardware logic and memory [e.g., an integrated circuit chip, Programmable Gate Array (PGA), Application Specific Integrated Circuit (ASIC), etc.] or a computer readable medium, such as magnetic storage medium (e.g., hard disk drives, floppy disks, tape, etc.), optical storage (CD-ROMs, optical disks, etc.), volatile and non-volatile memory devices [e.g., Electrically Erasable Programmable Read Only Memory (EEPROM), Read Only Memory (ROM), Programmable Read Only Memory (PROM), Random Access Memory (RAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), flash, firmware, programmable logic, etc.]. Code in the computer readable medium is accessed and executed by a processor. The medium in which the code or logic is encoded may also include transmission signals propagating through space or a transmission media, such as an optical fiber, copper wire, etc. The transmission signal in which the code or logic is encoded may further include a wireless signal, satellite transmission, radio waves, infrared signals, Bluetooth, the internet etc. The transmission signal in which the code or logic is encoded is capable of being transmitted by a transmitting station and received by a receiving station, where the code or logic encoded in the transmission signal may be decoded and stored in hardware or a computer readable medium at the receiving and transmitting stations or devices. Additionally, the “article of manufacture” may include a combination of hardware and software components in which the code is embodied, processed, and executed. Of course, those skilled in the art will recognize that many modifications may be made without departing from the scope of embodiments, and that the article of manufacture may include any information bearing medium. For example, the article of manufacture includes a storage medium having stored therein instructions that when executed by a machine results in operations being performed.
Certain embodiments can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements. In a preferred embodiment, the invention is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
Elements that are in communication with each other need not be in continuous communication with each other, unless expressly specified otherwise. In addition, elements that are in communication with each other may communicate directly or indirectly through one or more intermediaries. Additionally, a description of an embodiment with several components in communication with each other does not imply that all such components are required. On the contrary a variety of optional components are described to illustrate the wide variety of possible embodiments.
Further, although process steps, method steps or the like may be described in a sequential order, such processes, methods and algorithms may be configured to work in alternate orders. In other words, any sequence or order of steps that may be described does not necessarily indicate a requirement that the steps be performed in that order. The steps of processes described herein may be performed in any order practical. Further, some steps may be performed simultaneously, in parallel, or concurrently. Further, some or all steps may be performed in run-time mode.
The terms “certain embodiments”, “an embodiment”, “embodiment”, “embodiments”, “the embodiment”, “the embodiments”, “one or more embodiments”, “some embodiments”, and “one embodiment” mean one or more (but not all) embodiments unless expressly specified otherwise. The terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless expressly specified otherwise. The enumerated listing of items does not imply that any or all of the items are mutually exclusive, unless expressly specified otherwise. The terms “a”, “an” and “the” mean “one or more”, unless expressly specified otherwise.
Computer program means or computer program in the present context mean any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following a) conversion to another language, code or notation; b) reproduction in a different material form.
Although exemplary embodiments of the present invention have been described in detail, it should be understood that various changes, substitutions and alternations could be made thereto without departing from spirit and scope of the inventions as defined by the appended claims. Variations described for exemplary embodiments of the present invention can be realized in any combination desirable for each particular application. Thus particular limitations, and/or embodiment enhancements described herein, which may have particular advantages to a particular application, need not be used for all applications. Also, not all limitations need be implemented in methods, systems, and/or apparatuses including one or more concepts described with relation to exemplary embodiments of the present invention.
Number | Name | Date | Kind |
---|---|---|---|
5349682 | Rosenberry | Sep 1994 | A |
5357632 | Pian et al. | Oct 1994 | A |
6098091 | Kisor | Aug 2000 | A |
7065764 | Prael et al. | Jun 2006 | B1 |
7536373 | Kelkar et al. | May 2009 | B2 |
8621476 | Youn et al. | Dec 2013 | B2 |
20020016811 | Gall et al. | Feb 2002 | A1 |
20020087694 | Daoud et al. | Jul 2002 | A1 |
20050060608 | Marchand | Mar 2005 | A1 |
20060230149 | Jackson | Oct 2006 | A1 |
20080320482 | Dawson et al. | Dec 2008 | A1 |
20090064151 | Agarwal et al. | Mar 2009 | A1 |
20090119396 | Kanda | May 2009 | A1 |
20090165007 | Aghajanyan | Jun 2009 | A1 |
Number | Date | Country |
---|---|---|
WO 0190903 | Nov 2001 | WO |
Entry |
---|
Orduna, et al., “A New Task Mapping Technique for Communication-Aware Scheduling Strategies,” ICPPW, Spain, 2001 Intl Conf on Parallel Proc Wkshps, pp. 349-354. |
Yang, et al., “A Network Bandwidth-Aware Job Scheduling with Dynamic Information Model for Grid Resource Brokers,” APSCC Taiwan, 2008 IEEE Asia-Pacific Services Computing Conference, pp. 775-780. |
Number | Date | Country | |
---|---|---|---|
20110191781 A1 | Aug 2011 | US |