distributed-system-analysis/multivm_db_bench

Name: multivm_db_bench

Owner: distributed-system-analysis

Description: Multi VM MariaDB benchmarking with sysbench for different AIO modes

Created: 2016-03-12 20:04:27.0

Updated: 2016-03-12 20:15:44.0

Pushed: 2016-05-09 11:21:19.0

Homepage:

Size: 79

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

multivm_db_bench

Some automation scripts to use for running sysbench benchmarks for different thread counts on multiple Virtual Machines, for MariaDB.

NOTE: Switch to branch multi-client for a more generalistic approach of running sysbench with multiple clients, instead of VMs. Follow it's README for more help.

Usage

Refer to Prerequisites section first.

IMPORTANT

age:
tomate_sysbench.sh <multivm.config path> <vm1> <vm2> <vm3>...

ample (use std output/error redirection to file since this runs for long)
tomate_sysbench.sh  multivm.config vm{1..8} >> sysbench.log 2>&1 &
splay_results_dir_contents.sh <multivm.config path>
llect_sysbench_results.sh <multivm.config path>

NOTE:

PREREQUISITES
  1. Before starting, if needed, change the mysql password in config file my.cnf.example as under the following section/parameter:

    ent]
    =root
    word=90feet-
    
  2. Ensure that following major params are present corretly assigned under multivm.config:

    MODE='native'
    _TABLE_SIZE=1000000
    

    Check other params as per need.

  3. Before running, ensure all files in the same directory as automate_sysbench.sh, i.e., you're supposed to run this from under scripts/ folder in this repo. This is until there's a packaged release.

  4. The VM(s) should be up and running, and have the folders already mounted, as per the aio modes.

    • /home/native with aio=native
    • /home/threads with aio=threads
  5. Install the python2 module parallel-ssh via pip, on your host. (you'd have to temporarily enable epel repo for installing pip on rhel)

  6. Ensure you have passwordless ssh access to all VMs from host machine.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.