Process creation is slower on 2 vCPUs than on a single vCPU by UnixBench test

Solution Verified - Updated -

Issue

  • 1 vCPU shows higher index score than 2 vCPUs for process spawning
  • 1 vCPU test
[root@localhost UnixBench]# ./Run spawn -c 1                                                                                                                   
...
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: localhost: GNU/Linux
   OS: GNU/Linux -- 2.6.32-358.el6.x86_64 -- #1 SMP Tue Jan 29 11:47:41 EST 2013
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz (5187.5 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   19:39:46 up 8 days,  5:23,  3 users,  load average: 0.00, 0.00, 0.00; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Fri Jul 03 2015 19:39:46 - 19:41:26
1 CPU in system; running 1 parallel copy of tests

Process Creation                              10511.9 lps   (30.0 s, 2 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Process Creation                                126.0      10511.9    834.3
                                                                   ========
System Benchmarks Index Score (Partial Only)                          834.3
  • 2 vCPUs test
[root@localhost UnixBench]# ./Run spawn -c 1
...
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: localhost: GNU/Linux
   OS: GNU/Linux -- 2.6.32-358.el6.x86_64 -- #1 SMP Tue Jan 29 11:47:41 EST 2013
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz (5187.5 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 1: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz (5187.5 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   19:49:08 up 2 min,  3 users,  load average: 0.04, 0.06, 0.02; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Fri Jul 03 2015 19:49:08 - 19:50:47
2 CPUs in system; running 1 parallel copy of tests

Process Creation                               4043.0 lps   (30.0 s, 2 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Process Creation                                126.0       4043.0    320.9
                                                                   ========
System Benchmarks Index Score (Partial Only)                          320.9

Environment

  • Red Hat Enterprise Linux
  • VMware guest with 1 vCPU or 2 vCPUs

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content