How to install and use UNIX bench for performance testing in Windows Azure

Source: Internet
Author: User

Words not much to say, directly on the detailed steps:

    1.   > First, you have to have a windowazure first. account

    2. Create a Linux The virtual machine, this time we use CentOS6.5 a4 machine

      650) this.width=650; "Src=" http://s4.51cto.com/wyfs02/M01/7A/18/wKiom1aiBdbz_ Sz-aaip9g6w07y204.png "style=" Float:none; "title=" 1.png "alt=" Wkiom1aibdbz_sz-aaip9g6w07y204.png "/>

      Span style= "font-family: ' The song Body '; > Select the standard image from the library.

    3.   tools, open PuTTY

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7A/17/wKioL1aiBiGhkVPGAADF-oJfa_4039.png "style=" float: none; "title=" 2.png "alt=" Wkiol1aibighkvpgaadf-ojfa_4039.png "/>

4, Enter the public IP address of the machine that just set up in PuTTY , then how to find the machine IP address (public network) just?

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7A/18/wKiom1aiBe3RIIoFAAGHyW_6jRo933.png "style=" float: none; "title=" 3.png "alt=" Wkiom1aibe3riiofaaghyw_6jro933.png "/>

Go to the main page, click on the virtual machine and select the machine you just started.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7A/18/wKiom1aiBfeBhLgeAADK-Mlv2Kw162.png "style=" float: none; "title=" 4.png "alt=" Wkiom1aibfebhlgeaadk-mlv2kw162.png "/>

Click on the Dashboard, the right-hand side is the public network IP . ~ write down the input to PuTTY inside, then click on the " OPEN ".

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7A/18/wKiom1aiBf-hdUbvAACn7L7KBic791.png "style=" float: none; "title=" 5.png "alt=" Wkiom1aibf-hdubvaacn7l7kbic791.png "/>


5,PuTTY Start connecting your virtual machine. Enter your user name and password. You can enter it directly.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7A/17/wKioL1aiBj-SSNvRAAARJgxgws8282.png "style=" float: none; "title=" 6.png "alt=" Wkiol1aibj-ssnvraaarjgxgws8282.png "/>

6, Landing Success ~ ~

typing command sudo wgethttp://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz
Tar xvfzunixbench-5.1.2.tar.gz
CD unixbench-5.1.2

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7A/17/wKioL1aiBkDjXlfAAAAkc8nTZ74510.png "style=" float: none; "title=" 7.png "alt=" Wkiol1aibkdjxlfaaaakc8ntz74510.png "/>

7, typing sudo sh test.sh Create a new text document inside the virtual machine.

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7A/17/wKioL1aiBkPRtbMNAAAJ8C4vkXA442.png "style=" float: none; "title=" 8.png "alt=" Wkiol1aibkprtbmnaaaj8c4vkxa442.png "/>


8, after the establishment of success, is the last step ·

Direct typing

#!/bin/bash

# CentOS 7.0, root privilege

Yum install-y perl-time-hires # for centos6.5

Yum install-y gcc Yum-plugin-prioritiesgit

Yum install-yhttp://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

Git clonehttps://github.com/kdlucas/byte-unixbench.git

CD byte-unixbench/unixbench/

Make

./run | Tee.. /.. /unixbench.txt

Cd.. /..

Yum Install-y Fio

Fio--filename=/dev/vdc--direct=1--rw=read--ioengine=psync--size=100%

--bs=1024k--runtime=30--group_reporting--name=read | Tee

Io-throughput-read.txt

Fio--filename=/dev/vdc--direct=1--rw=write--ioengine=psync--size=100%

--bs=1024k--runtime=30--group_reporting--name=write | Tee

Io-throughput-write.txt

Fio--filename=/dev/vdc--direct=1--ioengine=libaio--iodepth=32--thread

--numjobs=1--rw=randread--bs=4k--size=100%--runtime=30s--group_reporting

--name=randread | Tee Io-random-read.txt

Fio--filename=/dev/vdc--direct=1--ioengine=libaio--iodepth=32--thread

--numjobs=1--rw=randwrite--bs=4k--size=100%--runtime=30s--group_reporting

--name=randwrite | Tee Io-random-write.txt

Followed by a long wait

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7A/18/wKiom1aiBgaR4rBwAABHzprZ07c543.png "style=" float: none; "title=" 9.png "alt=" Wkiom1aibgar4rbwaabhzprz07c543.png "/>


This article from the "11142118" blog, reproduced please contact the author!

How to install and use UNIX bench for performance testing in Windows Azure

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.