12.07.2015 Views

Benchmarking in the Cloud - Parallel and Distributed Systems

Benchmarking in the Cloud - Parallel and Distributed Systems

Benchmarking in the Cloud - Parallel and Distributed Systems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.1 Simple IaaSFirst, we need to ref<strong>in</strong>e <strong>the</strong> optimization question for <strong>the</strong> use case. The consumerneeds many parallel <strong>in</strong>stances of some application for <strong>the</strong>ir test or tra<strong>in</strong><strong>in</strong>g systems.There is no necessity to scale up a s<strong>in</strong>gle application <strong>in</strong>stance. It is expectedto save cost by shutt<strong>in</strong>g down application <strong>in</strong>stances. We can <strong>the</strong>refore recap <strong>the</strong>optimization question posed by <strong>the</strong> use case as follows: Which IaaS does mosteffectively host a bunch of parallel mid-size application <strong>in</strong>stances? This <strong>in</strong>cludesreduc<strong>in</strong>g cost when fewer application <strong>in</strong>stances are active.Next, we discuss how <strong>the</strong> SUT <strong>and</strong> <strong>the</strong> workload should look like. We arenot <strong>in</strong>terested <strong>in</strong> a distributed or cluster scenario, so we can adapt a well knownworkload, say TPC-C, <strong>and</strong> run it <strong>in</strong>dependently on all <strong>in</strong>stances.To adapt TPC-C, we first pick a tpmC value representative for a mid-sizeload. In addition, we also set <strong>the</strong> maximum number of <strong>in</strong>dependent application<strong>in</strong>stances that will participate for a s<strong>in</strong>gle benchmark run. Let us putmaxInst=250.We will consider two workload variants: (1) runn<strong>in</strong>g all <strong>in</strong>stances with <strong>the</strong>same tpmC, <strong>and</strong> (2) runn<strong>in</strong>g a vary<strong>in</strong>g amount of <strong>in</strong>stances over <strong>the</strong> benchmarkruntime. Workload (1) is <strong>in</strong>tended to measure how many IaaS nodes are requiredto make maxInst <strong>in</strong>stances pass <strong>the</strong> TPC-C SLA requirements. Because differentproviders are expected to have different nodes, a f<strong>in</strong>al comparison of <strong>the</strong>respective services will only be possible by compar<strong>in</strong>g <strong>the</strong> price of <strong>the</strong> servicesconsumed. Workload (2) measures <strong>the</strong> elasticity of <strong>the</strong> underly<strong>in</strong>g IaaS by compar<strong>in</strong>g<strong>the</strong> price of <strong>the</strong> full workload with <strong>the</strong> price of <strong>the</strong> vary<strong>in</strong>g workload. For<strong>the</strong> second workload, we propose a schedul<strong>in</strong>g mechanism with number of active<strong>in</strong>stances def<strong>in</strong>ed by <strong>the</strong> formula:actInstances(timeElapsed) =∣maxInst2(× 1 − cos( ))∣ 3π × timeElapsed ∣∣∣totalRuntimeThese are only a few ideas about a parallel load IaaS benchmark. We listfur<strong>the</strong>r design questions for such a benchmark.1. As we are not benchmark<strong>in</strong>g <strong>the</strong> database we can fix <strong>the</strong> database systemto be used. But this would violate <strong>the</strong> fairness <strong>and</strong> portability requirement.2. Is it allowed to use different schemata of a database <strong>in</strong>stance for differentTPC-C <strong>in</strong>stances?3. Is it allowed to migrate TPC-C <strong>in</strong>stances between server nodes dur<strong>in</strong>g abenchmark run?4. Should we ra<strong>the</strong>r not design for possible multiple TPC-C per node <strong>and</strong> scaleby <strong>in</strong>creas<strong>in</strong>g <strong>the</strong> tpmC until a node is fully loaded?5. Where should <strong>the</strong> Remote Term<strong>in</strong>al Emulator (<strong>the</strong> driver) be located?We discuss <strong>the</strong>se questions <strong>in</strong> Section 6.5.2 Onl<strong>in</strong>e Gam<strong>in</strong>g PlatformThere currently exists no onl<strong>in</strong>e gam<strong>in</strong>g benchmark. Relevant prior work on <strong>the</strong>prerequisites of design<strong>in</strong>g onl<strong>in</strong>e gam<strong>in</strong>g benchmarks exists, ei<strong>the</strong>r <strong>in</strong> <strong>the</strong> form

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!