Hongbin's Blog

vuePress-theme-reco Hongbin's Blog    2021
Hongbin's Blog Hongbin's Blog

Choose mode

  • dark
  • auto
  • light
GitHub
Category
  • article
  • note
  • tip
  • draft
  • log
  • recette
Tag
Home
TimeLine

Hongbin's Blog

13

Article

13

Tag

GitHub
Category
  • article
  • note
  • tip
  • draft
  • log
  • recette
Tag
Home
TimeLine
  • A draft - Test AWS LightSail Instance Performance

    • Summary
      • Procedure
        • 1. Update dependencies
        • 2. Update dependencies
        • 3. perform tests

    A draft - Test AWS LightSail Instance Performance

    vuePress-theme-reco Hongbin's Blog    2021

    A draft - Test AWS LightSail Instance Performance


    Hongbin 2020-10-25 awsLightSail

    # Summary

    # Procedure

    Now I have another lightsail instance apart from previous one caz the resources(vCPU) it has were quite limited. And after having new instance, the one I am the most curious about is the performance.

    # 1. Update dependencies

    [OMMITTED ~]$ sudo yum -y update
    Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
    Resolving Dependencies
    --> Running transaction check
    ---> Package awscli.noarch 0:1.18.107-1.amzn2.0.1 will be updated
    ---> Package awscli.noarch 0:1.18.147-1.amzn2.0.1 will be an update
    ---> Package ec2-net-utils.noarch 0:1.4-2.amzn2 will be updated
    ---> Package ec2-net-utils.noarch 0:1.4-3.amzn2 will be an update
    ---> Package kernel.x86_64 0:4.14.198-152.320.amzn2 will be installed
    ---> Package kernel-tools.x86_64 0:4.14.193-149.317.amzn2 will be updated
    ---> Package kernel-tools.x86_64 0:4.14.198-152.320.amzn2 will be an update
    ---> Package p11-kit.x86_64 0:0.23.19-1.amzn2 will be updated
    ---> Package p11-kit.x86_64 0:0.23.21-2.amzn2.0.1 will be an update
    ---> Package p11-kit-trust.x86_64 0:0.23.19-1.amzn2 will be updated
    ---> Package p11-kit-trust.x86_64 0:0.23.21-2.amzn2.0.1 will be an update
    ---> Package pam.x86_64 0:1.1.8-22.amzn2 will be updated
    ---> Package pam.x86_64 0:1.1.8-23.amzn2.0.1 will be an update
    ---> Package python2-botocore.noarch 0:1.17.31-1.amzn2.0.1 will be updated
    ---> Package python2-botocore.noarch 0:1.18.6-1.amzn2.0.1 will be an update
    ---> Package python2-rpm.x86_64 0:4.11.3-40.amzn2.0.4 will be updated
    ---> Package python2-rpm.x86_64 0:4.11.3-40.amzn2.0.5 will be an update
    ---> Package rpm.x86_64 0:4.11.3-40.amzn2.0.4 will be updated
    ---> Package rpm.x86_64 0:4.11.3-40.amzn2.0.5 will be an update
    ---> Package rpm-build-libs.x86_64 0:4.11.3-40.amzn2.0.4 will be updated
    ---> Package rpm-build-libs.x86_64 0:4.11.3-40.amzn2.0.5 will be an update
    ---> Package rpm-libs.x86_64 0:4.11.3-40.amzn2.0.4 will be updated
    ---> Package rpm-libs.x86_64 0:4.11.3-40.amzn2.0.5 will be an update
    ---> Package rpm-plugin-systemd-inhibit.x86_64 0:4.11.3-40.amzn2.0.4 will be updated
    ---> Package rpm-plugin-systemd-inhibit.x86_64 0:4.11.3-40.amzn2.0.5 will be an update
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ===========================================================================================================================
     Package                                Arch               Version                            Repository              Size
    ===========================================================================================================================
    Installing:
     kernel                                 x86_64             4.14.198-152.320.amzn2             amzn2-core              21 M
    Updating:
     awscli                                 noarch             1.18.147-1.amzn2.0.1               amzn2-core             2.1 M
     ec2-net-utils                          noarch             1.4-3.amzn2                        amzn2-core              17 k
     kernel-tools                           x86_64             4.14.198-152.320.amzn2             amzn2-core             136 k
     p11-kit                                x86_64             0.23.21-2.amzn2.0.1                amzn2-core             316 k
     p11-kit-trust                          x86_64             0.23.21-2.amzn2.0.1                amzn2-core             128 k
     pam                                    x86_64             1.1.8-23.amzn2.0.1                 amzn2-core             715 k
     python2-botocore                       noarch             1.18.6-1.amzn2.0.1                 amzn2-core             4.4 M
     python2-rpm                            x86_64             4.11.3-40.amzn2.0.5                amzn2-core              84 k
     rpm                                    x86_64             4.11.3-40.amzn2.0.5                amzn2-core             1.2 M
     rpm-build-libs                         x86_64             4.11.3-40.amzn2.0.5                amzn2-core             106 k
     rpm-libs                               x86_64             4.11.3-40.amzn2.0.5                amzn2-core             275 k
     rpm-plugin-systemd-inhibit             x86_64             4.11.3-40.amzn2.0.5                amzn2-core              47 k
    
    Transaction Summary
    ===========================================================================================================================
    Install   1 Package
    Upgrade  12 Packages
    
    Total download size: 30 M
    Downloading packages:
    Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
    (1/13): ec2-net-utils-1.4-3.amzn2.noarch.rpm                                                        |  17 kB  00:00:00     
    (2/13): awscli-1.18.147-1.amzn2.0.1.noarch.rpm                                                      | 2.1 MB  00:00:00     
    (3/13): kernel-tools-4.14.198-152.320.amzn2.x86_64.rpm                                              | 136 kB  00:00:00     
    (4/13): p11-kit-0.23.21-2.amzn2.0.1.x86_64.rpm                                                      | 316 kB  00:00:00     
    (5/13): p11-kit-trust-0.23.21-2.amzn2.0.1.x86_64.rpm                                                | 128 kB  00:00:00     
    (6/13): pam-1.1.8-23.amzn2.0.1.x86_64.rpm                                                           | 715 kB  00:00:00     
    (7/13): python2-botocore-1.18.6-1.amzn2.0.1.noarch.rpm                                              | 4.4 MB  00:00:00     
    (8/13): python2-rpm-4.11.3-40.amzn2.0.5.x86_64.rpm                                                  |  84 kB  00:00:00     
    (9/13): rpm-4.11.3-40.amzn2.0.5.x86_64.rpm                                                          | 1.2 MB  00:00:00     
    (10/13): kernel-4.14.198-152.320.amzn2.x86_64.rpm                                                   |  21 MB  00:00:00     
    (11/13): rpm-build-libs-4.11.3-40.amzn2.0.5.x86_64.rpm                                              | 106 kB  00:00:00     
    (12/13): rpm-plugin-systemd-inhibit-4.11.3-40.amzn2.0.5.x86_64.rpm                                  |  47 kB  00:00:00     
    (13/13): rpm-libs-4.11.3-40.amzn2.0.5.x86_64.rpm                                                    | 275 kB  00:00:00     
    ---------------------------------------------------------------------------------------------------------------------------
    Total                                                                                       69 MB/s |  30 MB  00:00:00     
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Updating   : rpm-4.11.3-40.amzn2.0.5.x86_64                                                                         1/25 
      Updating   : rpm-libs-4.11.3-40.amzn2.0.5.x86_64                                                                    2/25 
      Updating   : rpm-build-libs-4.11.3-40.amzn2.0.5.x86_64                                                              3/25 
      Updating   : python2-botocore-1.18.6-1.amzn2.0.1.noarch                                                             4/25 
      Updating   : p11-kit-0.23.21-2.amzn2.0.1.x86_64                                                                     5/25 
      Updating   : p11-kit-trust-0.23.21-2.amzn2.0.1.x86_64                                                               6/25 
      Updating   : awscli-1.18.147-1.amzn2.0.1.noarch                                                                     7/25 
      Updating   : python2-rpm-4.11.3-40.amzn2.0.5.x86_64                                                                 8/25 
      Updating   : rpm-plugin-systemd-inhibit-4.11.3-40.amzn2.0.5.x86_64                                                  9/25 
      Updating   : kernel-tools-4.14.198-152.320.amzn2.x86_64                                                            10/25 
      Installing : kernel-4.14.198-152.320.amzn2.x86_64                                                                  11/25 
      Updating   : pam-1.1.8-23.amzn2.0.1.x86_64                                                                         12/25 
      Updating   : ec2-net-utils-1.4-3.amzn2.noarch                                                                      13/25 
      Cleanup    : python2-rpm-4.11.3-40.amzn2.0.4.x86_64                                                                14/25 
      Cleanup    : awscli-1.18.107-1.amzn2.0.1.noarch                                                                    15/25 
      Cleanup    : rpm-build-libs-4.11.3-40.amzn2.0.4.x86_64                                                             16/25 
      Cleanup    : p11-kit-trust-0.23.19-1.amzn2.x86_64                                                                  17/25 
      Cleanup    : rpm-plugin-systemd-inhibit-4.11.3-40.amzn2.0.4.x86_64                                                 18/25 
      Cleanup    : python2-botocore-1.17.31-1.amzn2.0.1.noarch                                                           19/25 
      Cleanup    : ec2-net-utils-1.4-2.amzn2.noarch                                                                      20/25 
      Cleanup    : rpm-libs-4.11.3-40.amzn2.0.4.x86_64                                                                   21/25 
      Cleanup    : rpm-4.11.3-40.amzn2.0.4.x86_64                                                                        22/25 
      Cleanup    : p11-kit-0.23.19-1.amzn2.x86_64                                                                        23/25 
      Cleanup    : kernel-tools-4.14.193-149.317.amzn2.x86_64                                                            24/25 
      Cleanup    : pam-1.1.8-22.amzn2.x86_64                                                                             25/25 
      Verifying  : p11-kit-0.23.21-2.amzn2.0.1.x86_64                                                                     1/25 
      Verifying  : python2-rpm-4.11.3-40.amzn2.0.5.x86_64                                                                 2/25 
      Verifying  : rpm-plugin-systemd-inhibit-4.11.3-40.amzn2.0.5.x86_64                                                  3/25 
      Verifying  : rpm-libs-4.11.3-40.amzn2.0.5.x86_64                                                                    4/25 
      Verifying  : ec2-net-utils-1.4-3.amzn2.noarch                                                                       5/25 
      Verifying  : pam-1.1.8-23.amzn2.0.1.x86_64                                                                          6/25 
      Verifying  : python2-botocore-1.18.6-1.amzn2.0.1.noarch                                                             7/25 
      Verifying  : kernel-4.14.198-152.320.amzn2.x86_64                                                                   8/25 
      Verifying  : rpm-4.11.3-40.amzn2.0.5.x86_64                                                                         9/25 
      Verifying  : p11-kit-trust-0.23.21-2.amzn2.0.1.x86_64                                                              10/25 
      Verifying  : kernel-tools-4.14.198-152.320.amzn2.x86_64                                                            11/25 
      Verifying  : rpm-build-libs-4.11.3-40.amzn2.0.5.x86_64                                                             12/25 
      Verifying  : awscli-1.18.147-1.amzn2.0.1.noarch                                                                    13/25 
      Verifying  : ec2-net-utils-1.4-2.amzn2.noarch                                                                      14/25 
      Verifying  : rpm-4.11.3-40.amzn2.0.4.x86_64                                                                        15/25 
      Verifying  : awscli-1.18.107-1.amzn2.0.1.noarch                                                                    16/25 
      Verifying  : p11-kit-trust-0.23.19-1.amzn2.x86_64                                                                  17/25 
      Verifying  : rpm-build-libs-4.11.3-40.amzn2.0.4.x86_64                                                             18/25 
      Verifying  : p11-kit-0.23.19-1.amzn2.x86_64                                                                        19/25 
      Verifying  : pam-1.1.8-22.amzn2.x86_64                                                                             20/25 
      Verifying  : kernel-tools-4.14.193-149.317.amzn2.x86_64                                                            21/25 
      Verifying  : rpm-libs-4.11.3-40.amzn2.0.4.x86_64                                                                   22/25 
      Verifying  : rpm-plugin-systemd-inhibit-4.11.3-40.amzn2.0.4.x86_64                                                 23/25 
      Verifying  : python2-botocore-1.17.31-1.amzn2.0.1.noarch                                                           24/25 
      Verifying  : python2-rpm-4.11.3-40.amzn2.0.4.x86_64                                                                25/25 
    
    Installed:
      kernel.x86_64 0:4.14.198-152.320.amzn2                                                                                   
    
    Updated:
      awscli.noarch 0:1.18.147-1.amzn2.0.1                   ec2-net-utils.noarch 0:1.4-3.amzn2                               
      kernel-tools.x86_64 0:4.14.198-152.320.amzn2           p11-kit.x86_64 0:0.23.21-2.amzn2.0.1                             
      p11-kit-trust.x86_64 0:0.23.21-2.amzn2.0.1             pam.x86_64 0:1.1.8-23.amzn2.0.1                                  
      python2-botocore.noarch 0:1.18.6-1.amzn2.0.1           python2-rpm.x86_64 0:4.11.3-40.amzn2.0.5                         
      rpm.x86_64 0:4.11.3-40.amzn2.0.5                       rpm-build-libs.x86_64 0:4.11.3-40.amzn2.0.5                      
      rpm-libs.x86_64 0:4.11.3-40.amzn2.0.5                  rpm-plugin-systemd-inhibit.x86_64 0:4.11.3-40.amzn2.0.5          
    
    Complete!
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142

    # 2. Update dependencies

    [OMMITTED ~]$ sudo yum install sysbench
    Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
    amzn2-core                                                                                          | 3.7 kB  00:00:00     
    No package sysbench available.
    Error: Nothing to do
    
    1
    2
    3
    4
    5
    [OMMITTED ~]$ sudo yum search epel-release
    Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
    Warning: No matches found for: epel-release
    No matches found
    
    1
    2
    3
    4
    [OMMITTED ~]$ sudo yum repolist
    Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
    repo id                                                 repo name                                                    status
    amzn2-core/2/x86_64                                     Amazon Linux 2 core repository                               21,106
    amzn2extra-docker/2/x86_64                              Amazon Extras repo for docker                                    28
    repolist: 21,134
    
    1
    2
    3
    4
    5
    6
    [OMMITTED ~]$ sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
    epel-release-latest-7.noarch.rpm                                                                    |  15 kB  00:00:00     
    Examining /var/tmp/yum-root-FFmWzr/epel-release-latest-7.noarch.rpm: epel-release-7-12.noarch
    Marking /var/tmp/yum-root-FFmWzr/epel-release-latest-7.noarch.rpm to be installed
    Resolving Dependencies
    --> Running transaction check
    ---> Package epel-release.noarch 0:7-12 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =========================================================================================================================== 
    Package                     Arch                  Version              Repository                                    Size
    ===========================================================================================================================
    Installing:
     epel-release                noarch                7-12                 /epel-release-latest-7.noarch                 24 k
    
    Transaction Summary
    ===========================================================================================================================
    Install  1 Package
    
    Total size: 24 k
    Installed size: 24 k
    Downloading packages:
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : epel-release-7-12.noarch                                                                                1/1 
      Verifying  : epel-release-7-12.noarch                                                                                1/1 
    
    Installed:
      epel-release.noarch 0:7-12                                                                                               
    
    Complete!
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    [OMMITTED ~]$ sudo yum install sysbench
    Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
    Existing lock /var/run/yum.pid: another copy is running as pid 32152.
    Another app is currently holding the yum lock; waiting for it to exit...
      The other application is: yum
        Memory : 291 M RSS (581 MB VSZ)
        Started: Sun Oct 25 03:13:58 2020 - 00:09 ago
        State  : Running, pid: 32152
    194 packages excluded due to repository priority protections
    Resolving Dependencies
    --> Running transaction check
    ---> Package sysbench.x86_64 0:1.0.17-2.el7 will be installed
    --> Processing Dependency: libck.so.0()(64bit) for package: sysbench-1.0.17-2.el7.x86_64
    --> Processing Dependency: libluajit-5.1.so.2()(64bit) for package: sysbench-1.0.17-2.el7.x86_64
    --> Processing Dependency: libpq.so.5()(64bit) for package: sysbench-1.0.17-2.el7.x86_64
    --> Running transaction check
    ---> Package ck.x86_64 0:0.5.2-2.el7 will be installed
    ---> Package luajit.x86_64 0:2.0.4-3.el7 will be installed
    ---> Package postgresql-libs.x86_64 0:9.2.24-1.amzn2.0.1 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =========================================================================================================================== 
    Package                        Arch                  Version                              Repository                 Size
    ===========================================================================================================================
    Installing:
     sysbench                       x86_64                1.0.17-2.el7                         epel                      152 k
    Installing for dependencies:
     ck                             x86_64                0.5.2-2.el7                          epel                       26 k
     luajit                         x86_64                2.0.4-3.el7                          epel                      343 k
     postgresql-libs                x86_64                9.2.24-1.amzn2.0.1                   amzn2-core                235 k
    
    Transaction Summary
    ===========================================================================================================================
    Install  1 Package (+3 Dependent packages)
    
    Total download size: 756 k
    Installed size: 2.3 M
    Is this ok [y/d/N]: y
    Downloading packages:
    warning: /var/cache/yum/x86_64/2/epel/packages/ck-0.5.2-2.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
    Public key for ck-0.5.2-2.el7.x86_64.rpm is not installed
    (1/4): ck-0.5.2-2.el7.x86_64.rpm                                                                    |  26 kB  00:00:00     
    (2/4): luajit-2.0.4-3.el7.x86_64.rpm                                                                | 343 kB  00:00:00     
    (3/4): sysbench-1.0.17-2.el7.x86_64.rpm                                                             | 152 kB  00:00:00     
    (4/4): postgresql-libs-9.2.24-1.amzn2.0.1.x86_64.rpm                                                | 235 kB  00:00:00     
    ---------------------------------------------------------------------------------------------------------------------------
    Total                                                                                      2.5 MB/s | 756 kB  00:00:00     
    Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
    Importing GPG key 0x352C64E5:
     Userid     : "Fedora EPEL (7) <epel@fedoraproject.org>"
     Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
     Package    : epel-release-7-12.noarch (installed)
     From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
    Is this ok [y/N]: y
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : postgresql-libs-9.2.24-1.amzn2.0.1.x86_64                                                               1/4 
      Installing : luajit-2.0.4-3.el7.x86_64                                                                               2/4 
      Installing : ck-0.5.2-2.el7.x86_64                                                                                   3/4 
      Installing : sysbench-1.0.17-2.el7.x86_64                                                                            4/4 
      Verifying  : ck-0.5.2-2.el7.x86_64                                                                                   1/4 
      Verifying  : sysbench-1.0.17-2.el7.x86_64                                                                            2/4 
      Verifying  : luajit-2.0.4-3.el7.x86_64                                                                               3/4 
      Verifying  : postgresql-libs-9.2.24-1.amzn2.0.1.x86_64                                                               4/4 
    
    Installed:
      sysbench.x86_64 0:1.0.17-2.el7                                                                                           
    
    Dependency Installed:
      ck.x86_64 0:0.5.2-2.el7         luajit.x86_64 0:2.0.4-3.el7         postgresql-libs.x86_64 0:9.2.24-1.amzn2.0.1        
    
    Complete!
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76

    # 3. perform tests

    1st

    [OMMITTED ~]$ sysbench --test=cpu --cpu-max-prime=2000 run
    WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
    sysbench 1.0.17 (using system LuaJIT 2.0.4)
    
    Running the test with following options:
    Number of threads: 1
    Initializing random number generator from current time
    
    
    Prime numbers limit: 2000
    
    Initializing worker threads...
    
    Threads started!
    
    CPU speed:
        events per second:  8127.57
    
    General statistics:
        total time:                          10.0002s
        total number of events:              81293
    
    Latency (ms):
             min:                                    0.12
             avg:                                    0.12
             max:                                    0.61
             95th percentile:                        0.12
             sum:                                 9864.01
    
    Threads fairness:
        events (avg/stddev):           81293.0000/0.00
        execution time (avg/stddev):   9.8640/0.00
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32

    2st

    [OMMITTED ~]$ sysbench  --test=threads --num-threads=500 --thread-yields=100 --thread-locks=4 run
    WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
    WARNING: --num-threads is deprecated, use --threads instead
    sysbench 1.0.17 (using system LuaJIT 2.0.4)
    
    Running the test with following options:
    Number of threads: 500
    Initializing random number generator from current time
    
    
    Initializing worker threads...
    
    Threads started!
    
    
    General statistics:
        total time:                          10.0460s
        total number of events:              125602
    
    Latency (ms):
             min:                                    0.07
             avg:                                   39.89
             max:                                  785.89
             95th percentile:                      170.48
             sum:                              5010042.59
    
    Threads fairness:
        events (avg/stddev):           251.2040/23.57
        execution time (avg/stddev):   10.0201/0.01
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    [OMMITTED ~]$ cat /proc/cpuinfo 
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 79
    model name      : Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
    stepping        : 1
    microcode       : 0xb000038
    cpu MHz         : 2299.954
    cache size      : 46080 KB
    physical id     : 0
    siblings        : 2
    core id         : 0
    cpu cores       : 2
    apicid          : 0
    initial apicid  : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 13
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm cpuid_fault invpcid_single pti fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt
    bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
    bogomips        : 4600.16
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 46 bits physical, 48 bits virtual
    power management:
    
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 79
    model name      : Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
    stepping        : 1
    microcode       : 0xb000038
    cpu MHz         : 2299.954
    cache size      : 46080 KB
    physical id     : 0
    siblings        : 2
    core id         : 1
    cpu cores       : 2
    apicid          : 2
    initial apicid  : 2
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 13
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm cpuid_fault invpcid_single pti fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt
    bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
    bogomips        : 4600.16
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 46 bits physical, 48 bits virtual
    power management:
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54