Power Architecture cloud small machine test notes

Source: Internet
Author: User

Power Architecture cloud small machine test notes
Power Architecture cloud small machine test notes
I. Introduction to cloud mini-hosts
Cloud small machine is an excellent virtual cloud host launched by IBM and qichuang. Unlike Common cloud hosts such as Alibaba, Baidu, and chinanetcenter, cloud small machine is based on the Power architecture, traditional VM instances are basically based on the x86 architecture. I have the honor to apply for a cloud small machine. Next I will test all aspects of the cloud small machine.

Ii. Hardware
First, we need to make a thorough understanding of the physical hardware configured for the cloud small machine.
1. view the OS of a cloud Small Machine

 
 
  1. # cat /proc/version
  2. Linux version 2.6.32-431.el6.ppc64 (mockbuild@ppc-003.build.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 10 22:17:43 EST 2013
We can see that OS is RedHat Linux.
  
  
  1. # lsb_release -a
  2. LSB Version::base-4.0-noarch:base-4.0-ppc64:core-4.0-noarch:core-4.0-ppc64:graphics-4.0-noarch:graphics-4.0-ppc64:printing-4.0-noarch:printing-4.0-ppc64
  3. Distributor ID:RedHatEnterpriseServer
  4. Description:Red Hat Enterprise Linux Server release 6.5 (Santiago)
  5. Release:6.5
  6. Codename:Santiago
As you can see, the cloud host is pre-installed with the RedHat 6.5 Enterprise Edition Linux system.
  
  
  1. # uname -r
  2. 2.6.32-431.el6.ppc64
  3. # uname -m
  4. ppc64
It can be seen that the cloud small machine is based on the Power architecture, and the CPU is 64-bit CPU.

2. View CPU Information
  
  
  1. # cat /proc/cpuinfo
  2. processor: 0
  3. cpu: POWER7 (architected), altivec supported
  4. clock: 4228.000000MHz
  5. revision: 2.1 (pvr 004a 0201)
  6. ......
  7. processor: 7
  8. cpu: POWER7 (architected), altivec supported
  9. clock: 4228.000000MHz
  10. revision: 2.1 (pvr 004a 0201)

  11. timebase: 512000000
  12. platform: pSeries
  13. model: IBM,8246-L2T
  14. machine: CHRP IBM,8246-L2T
It can be seen that there are 8 logical CPUs for the cloud small machine, that is, 8 cores and 4 GHz.

3. view memory information
  
  
  1. # cat /proc/meminfo
  2. MemTotal: 4131712 kB
  3. MemFree: 1226560 kB
  4. ......
It can be seen that the memory of the cloud small machine is 4 GB.

4. View hard disk Information
  
  
  1. # fdisk -l
  2. Disk /dev/sda: 42.9 GB, 42949672960 bytes
  3. 64 heads, 32 sectors/track, 40960 cylinders
  4. ......
It can be seen that the disk space of the cloud small machine is about 43 GB.

5. view the real-time running status of a VM instance
  
  
  1. # top
  2. top - 12:10:36 up 13 days, 4:50, 1 user, load average: 0.02, 0.05, 0.04
  3. Tasks: 193 total, 1 running, 192 sleeping, 0 stopped, 0 zombie
  4. Cpu(s): 0.2%us, 0.1%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
  5. Mem: 4131712k total, 2906432k used, 1225280k free, 225600k buffers
  6. Swap: 1048448k total, 0k used, 1048448k free, 2258048k cached
We can see that the CPU is basically idle, and the memory uses 3 GB, with 1 GB left.

Summary:
1) Because cloud small machines are powered, the RPM packages of most Linux tools cannot be installed, because the RPM packages provided by most tools are x86. In this case, the software must be installed through the source code.
2) if the system is RedHat Linux and the cloud host is not registered, the following error will be reported when you use the yum Installation tool.
This system is not registered to Red Hat sub‑management. You can use sub‑manager to register.
There are two solutions:
First, register an ECS instance to Make yum available.
Second, replace the yum source with the yum source of CentOS.
3) The Power ecosystem is weak, and x86 content is everywhere on the Internet.
CentOS has poor support for the Power architecture. Basically, the source and image cannot be downloaded from the official website or in China.

--------------------------
The following content is incomplete and will be revised after the O & M personnel install gcc.

6. Test the bandwidth of a VM instance.
# Wget downinfo.myhostadmin.net/vnstat-1.10.tar.gz
# Tar xzvf vnstat-1.10.tar.gz
# Cd vnstat-1.10
# Make & make install
Common traffic query commands:
# Vnstat-l-I eth0 view real-time traffic
# Vnstat-tr-I eth0 view the average traffic in the last five seconds

Iii. Performance Testing of cloud Small Machine
In view of the above situation, it is best not to test systems or applications that occupy a lot of memory on the cloud small machine, otherwise it is difficult to obtain objective test results. For example, the performance of MongoDB depends largely on the memory size. When the memory is limited, it is difficult for MongoDB to fully utilize its performance.

1. File System I/O Benchmark Test
I chose IOzone.
Home: http://www.iozone.org/

Download IOzone
# Wget http://www.iozone.org/src/current/iozone-3-430.src.rpm
Install IOzone
# Rpm-ivh iozone-3-430.src.rpm
Start testing
# Cd/opt/iozone/bin
#./Iozone (detailed parameters later)

To be continued ......






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.