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

**URL:** <https://techcommunity.softwareag.com/t/capturing-the-machine-details-like-cpu-raid-mem-hard-disk-netowrk-etc-before-starting-performance-tests/236979>\
**Category:** Knowledge base\
**Tags:** performance\
**Created:** [March 7, 2018, 5:34am UTC](https://techcommunity.softwareag.com/t/capturing-the-machine-details-like-cpu-raid-mem-hard-disk-netowrk-etc-before-starting-performance-tests/236979 "2018-03-07T05:34:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akash\_Agarwal](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@Akash\_Agarwal](https://techcommunity.softwareag.com/u/Akash_Agarwal)\
**Post date:** [March 7, 2018, 5:34am UTC](https://techcommunity.softwareag.com/t/capturing-the-machine-details-like-cpu-raid-mem-hard-disk-netowrk-etc-before-starting-performance-tests/236979/1 "2018-03-07T05:34:17Z")

</div>

**_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&nbsp; "^System Information"

Sample Output:

System Information

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Manufacturer: Dell Inc.

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Product Name: PowerEdge M620

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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&nbsp;&nbsp; SIZE MODEL

sda&nbsp;&nbsp; disk&nbsp;&nbsp; 1.1T PERC H710

sda1&nbsp; part&nbsp;&nbsp; 350M

sda2&nbsp; part 557.3G

sda3&nbsp; part&nbsp;&nbsp; 500M

sda4&nbsp; part&nbsp;&nbsp;&nbsp;&nbsp; 1K

sda5&nbsp; part 558.7G

dm-0&nbsp; lvm&nbsp;&nbsp;&nbsp;&nbsp; 50G

dm-1&nbsp; lvm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4G

dm-2&nbsp; lvm&nbsp; 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&nbsp; command

Example

Architecture:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; x86\_64

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

Byte Order:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Little Endian

CPU(s):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32

On-line CPU(s) list:&nbsp;&nbsp; 0-31

Thread(s) per core:&nbsp;&nbsp;&nbsp; 2

Core(s) per socket:&nbsp;&nbsp;&nbsp; 8

Socket(s):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;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&nbsp; - 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

 |

&nbsp;

&nbsp;

RAID Hardware Info can be obtained as below:

&nbsp;

# lspci -vv | grep -i raid

&nbsp;

Sample Output:

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

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Kernel driver in use: megaraid\_sas

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Kernel modules: megaraid\_sas

&nbsp;

&nbsp;

**Network Specifications:**

&nbsp;

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

Command used to capture the above:

1. dmesg |grep em1&nbsp; (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&nbsp; IRQs: sp 127&nbsp; 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:

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Supported ports: [FIBRE]

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Supported link modes:&nbsp;&nbsp; 1000baseT/Full

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10000baseT/Full

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Supported pause frame use: Symmetric Receive-only

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Supports auto-negotiation: Yes

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Advertised link modes:&nbsp; 1000baseT/Full

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10000baseT/Full

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Advertised pause frame use: Symmetric Receive-only

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Advertised auto-negotiation: Yes

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link partner advertised link modes:&nbsp; 1000baseT/Full

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10000baseT/Full

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link partner advertised pause frame use: No

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link partner advertised auto-negotiation: Yes

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Speed: 10000Mb/s

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Duplex: Full

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Port: FIBRE

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PHYAD: 1

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Transceiver: internal

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Auto-negotiation: on

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Supports Wake-on: g

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wake-on: d

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current message level: 0x00000000 (0)

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link detected: yes
