XS 2008 Boston Capacity Planning

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Event

    XS 2008 Boston Capacity Planning - Presentation Transcript

    1. Profiling and Modeling Resource Usage of Virtualized Applications Timothy Wood (University of Massachusetts, Amherst) Joint work with Lucy Cherkasova, Kivanc Ozonat, and Prashant Shenoy © 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
    2. Virtualized Data Centers Benefits • − Lower hardware and energy costs − Capacity on demand, agile and dynamic IT Challenges • − Apps have different resource requirements • Virtualization overheads • Effects of consolidating multiple VMs to one host Important for capacity planning and consolidation • Understanding resource needs is difficult but important
    3. Predicting Resource Requirements Most overhead caused by I/O • Domain0 VM − Network and Disk activity Xen I/O Model • − 2 components − Dom0 handles I/O Must predict CPU needs of: • 1. Virtual machine running the application 2. Domain 0 performing I/O on behalf of the app Requires several prediction models based on multiple resources
    4. Scaling Traces Native Application Trace Network Disk CPU T1 T1 T1 Dom0 CPU VM CPU ? ? T1 T1 Virtualized Application Trace
    5. Why Bother? More accurate cost/benefit analysis • − Capacity planning and VM placement Impossible to pre-test some critical services • Hypervisor comparisons • − Different platforms or versions Native Virtual + CPU Util App 1 App 2 VM 2 Dom 0 VM 1
    6. Our Approach Automated robust model generation • Run benchmark set on native and virtual • platforms − Performs a range of I/O and CPU intensive tasks − Gather resource traces Build model of Native --> Virtual relationship • − Use linear regression techniques − Model is specific to platform, but not applications Can apply this general model to any application’s traces to predict its requirements
    7. Benchmark Suite Focus on CPU and I/O intensive client-server • apps • Benchmark activities: • Downloading files • Reading Files • Uploading files • Writing Files • Computation Need to break correlations between resources • − High correlation between packets/sec and CPU time Cover different types of I/O • − Support different virtualization and hardware platforms
    8. Building Robust Models Outliers can considerably impact regression models • − Creates model that minimizes absolute error − Must use robust regression techniques to eliminate outliers Not all metrics are equally significant • − Starts with 11 metrics: 3 CPU, 4 Network, and 4 Disk − Use stepwise regression to find most significant metrics Want to build a general model which can be used on any application
    9. Sample Model Native system metrics: • − CPU: Kernel, User, IO wait − Net: RX pkts/sec, TX pkts/sec, RX B/sec, TX B/sec − Disk: Reads/sec, Writes/sec, Read B/sec, Write B/sec Virtual System CPU • − Domain 0 and Virtual Machine Model: • Set of equations … to solve: Model VM:
    10. Model Performance Train the model using simple benchmarks • Apply to RUBiS web application • 90% of Dom0 predictions within 4% error 90% of VM predictions within 11% error
    11. CPU Scaling Is it necessary to look at resources other than just • total CPU? 65 5 Definitely need multiple resources!
    12. Second Hardware Platform AMD64 dual CPU 2.6Ghz • Produces different model parameters Predictions are just as accurate
    13. Further Refinements Use model to evaluate of virtual device capacity • and detect potential bottlenecks Define composition rules for estimating resource • requirements of collocated virtualized applications Analyze impact of hardware virtualization on • resource consumption
    14. Questions? … or comments? twood@cs.umass.edu
    SlideShare Zeitgeist 2009

    + Stephen SpectorStephen Spector Nominate

    custom

    403 views, 0 favs, 0 embeds more stats

    Tim Wood: Modeling the Overhead...Help with Capacit more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 403
      • 403 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 3
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories