Capturing the machine details like CPU,RAID, MEM, HARD DISK, NETOWRK, etc. before starting Performance tests

Data Node

Suppose this is the specification given:

6 x Dell PowerEdge R720 Nodes

Each with

  • 2 x E5-2680 V2 2.8GHz 10-core, HT=ON
  • 192 GB RAM
  • 13 x PERC 900GB 15K 6Gbps SAS 2.5″ SFF HS HDD , Total storage ~12 TB
  • 10Gb/s Full Duplex, Auto-Negotiation off

Explanation

6 is the number of Servers. Followed by Manufacturer and Product Name

Any of the below Commands can be used in Linux to get specific details:

  1. To get Manufacturer and Product Name

sudo dmidecode | grep -A3  "^System Information"

Sample Output:

System Information

        Manufacturer: Dell Inc.

        Product Name: PowerEdge M620

        Version: Not Specified

  1. To get Model and vendor of the Device

cat /sys/class/block/sda/device/{model,vendor}

Sample Output:

PERC H710

DELL

  1. To get device model

awk '{ print FILENAME, $0 }' /sys/class/block/sd[a-z]/device/model

Sample Output:

/sys/class/block/sda/device/model PERC H710

  1. To get type, size and model of the disks

Sample Output:

KNAME TYPE   SIZE MODEL

sda   disk   1.1T PERC H710

sda1  part   350M

sda2  part 557.3G

sda3  part   500M

sda4  part     1K

sda5  part 558.7G

dm-0  lvm     50G

dm-1  lvm      4G

dm-2  lvm  504.7G

CPU Info

  1. This gives details of the CPU Info.

cat /proc/cpuinfo

Summary of cores/Physical processors/Hyperthreads can be taken from

lscpu  command

Example

Architecture:          x86_64

CPU op-mode(s):        32-bit, 64-bit

Byte Order:            Little Endian

CPU(s):                32

On-line CPU(s) list:   0-31

Thread(s) per core:    2

Core(s) per socket:    8

Socket(s):             2

2 Physical Sockets, where a CPU chip can be fitted. We have 2 chips here. Each chip has 8 cores and each core has two threads. In whole system has 16 physical cores (or units capable of running program independently) or 32 logical processors.

RAM on the machine

cat /proc/meminfo  - You can see total memory here

Hard Disk details

Example: 13 x PERC 900GB 15K 6Gbps SAS 2.5″ SFF HS HDD , Total storage ~12 TB

13 is the number of disks used.

PERC (PowerEdge RAID Controller (PERC)) is the model with 900GB size. Which can be obtained from commands mentioned above)

From Dell website we can get details on the Interface support etc as below.

Model

Interface Support

PCI Support

SAS Connectors

Cache Memory Size

Write Back Cache

RAID Levels

Max Drive Support

RAID Support

PERC H710P Adapter

6Gb/s SAS

PCI-Express 2.0

2×4 Internal

1GB NV

Flash Backed Cache

0,1,5,6,10,50,60

32

Hardware RAID

 

 

RAID Hardware Info can be obtained as below:

 

# lspci -vv | grep -i raid

 

Sample Output:

02:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2208 [Thunderbolt] (rev 05)

        Kernel driver in use: megaraid_sas

        Kernel modules: megaraid_sas

 

 

Network Specifications:

 

Example: 10Gb/s Full Duplex, Auto-Negotiation off

Command used to capture the above:

  1. dmesg |grep em1  (where em1 is the interface name)

Sample Output:

udev: renamed network interface eth0 to em1

bonding: bond0: Adding slave em1.

bnx2x 0000:01:00.0: em1: using MSI-X  IRQs: sp 127  fp[0] 129 ... fp[7] 136

bonding: bond0: enslaving em1 as a backup interface with a down link.

bnx2x 0000:01:00.0: em1: NIC Link is Up, 10000 Mbps full duplex, Flow control: none

bond0: link status definitely up for interface em1, 10000 Mbps full duplex.

  1. sudo ethtool em1

Sample Output:

Settings for em1:

        Supported ports: [ FIBRE ]

        Supported link modes:   1000baseT/Full

                                10000baseT/Full

        Supported pause frame use: Symmetric Receive-only

        Supports auto-negotiation: Yes

        Advertised link modes:  1000baseT/Full

                                10000baseT/Full

        Advertised pause frame use: Symmetric Receive-only

        Advertised auto-negotiation: Yes

        Link partner advertised link modes:  1000baseT/Full

                                             10000baseT/Full

        Link partner advertised pause frame use: No

        Link partner advertised auto-negotiation: Yes

        Speed: 10000Mb/s

        Duplex: Full

        Port: FIBRE

        PHYAD: 1

        Transceiver: internal

        Auto-negotiation: on

        Supports Wake-on: g

        Wake-on: d

        Current message level: 0x00000000 (0)

        Link detected: yes