Skip to content

Instantly share code, notes, and snippets.

@jlevon
Last active February 22, 2018 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlevon/91a7edd640770dd74e6398055ceeddb3 to your computer and use it in GitHub Desktop.
Save jlevon/91a7edd640770dd74e6398055ceeddb3 to your computer and use it in GitHub Desktop.
DEBUG unixbench results for KPTI bits

Results from "./Run syscall" from unixbench

DEBUG bits, current PCID gate, !kpti, !pcid

   BYTE UNIX Benchmarks (Version 5.1.3)

   System: lava: SmartOS 20180212T132812Z x86_64
   OS: SunOS -- 5.11 -- joyent_20180212T132812Z
   Machine: i86pc (i86pc)
   Language:  (charmap=, collate=)
   CPU: no details available
   11:36:15    up 6 min(s),  1 user,  load average: 0.48, 0.99, 0.55; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Thu Feb 22 2018 11:36:15 - 11:38:36
56 CPUs in system; running 1 parallel copy of tests

System Call Overhead                         373465.0 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
System Call Overhead                          15000.0     373465.0    249.0
                                                                   ========
System Benchmarks Index Score (Partial Only)                          249.0

------------------------------------------------------------------------
Benchmark Run: Thu Feb 22 2018 11:38:36 - 11:40:57
56 CPUs in system; running 56 parallel copies of tests

System Call Overhead                         666835.9 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
System Call Overhead                          15000.0     666835.9    444.6
                                                                   ========
System Benchmarks Index Score (Partial Only)                          444.6

(Re-run seemed reliable.)

DEBUG bits, KPTI, no PCID

   BYTE UNIX Benchmarks (Version 5.1.3)

   System: lava: SmartOS 20180212T132812Z x86_64
   OS: SunOS -- 5.11 -- joyent_20180212T132812Z
   Machine: i86pc (i86pc)
   Language:  (charmap=, collate=)
   CPU: no details available
   12:01:44    up 2 min(s),  1 user,  load average: 1.12, 0.64, 0.26; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Thu Feb 22 2018 12:01:44 - 12:04:03
56 CPUs in system; running 1 parallel copy of tests

System Call Overhead                         145963.5 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
System Call Overhead                          15000.0     145963.5     97.3
                                                                   ========
System Benchmarks Index Score (Partial Only)                           97.3

------------------------------------------------------------------------
Benchmark Run: Thu Feb 22 2018 12:04:03 - 12:06:24
56 CPUs in system; running 56 parallel copies of tests

System Call Overhead                         658114.0 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
System Call Overhead                          15000.0     658114.0    438.7
                                                                   ========
System Benchmarks Index Score (Partial Only)                          438.7

FIXME What makes parallel less bad impact?

DEBUG bits, KPTI, PCID

   BYTE UNIX Benchmarks (Version 5.1.3)

   System: lava: SmartOS 20180212T132812Z x86_64
   OS: SunOS -- 5.11 -- joyent_20180212T132812Z
   Machine: i86pc (i86pc)
   Language:  (charmap=, collate=)
   CPU: no details available
   12:55:29    up 12 min(s),  1 user,  load average: 36.95, 21.11, 10.25; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Thu Feb 22 2018 12:55:29 - 12:57:51
56 CPUs in system; running 1 parallel copy of tests

System Call Overhead                         271475.9 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
System Call Overhead                          15000.0     271475.9    181.0
                                                                   ========
System Benchmarks Index Score (Partial Only)                          181.0

------------------------------------------------------------------------
Benchmark Run: Thu Feb 22 2018 12:57:51 - 13:00:11
56 CPUs in system; running 56 parallel copies of tests

System Call Overhead                         650256.3 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
System Call Overhead                          15000.0     650256.3    433.5
                                                                   ========
System Benchmarks Index Score (Partial Only)                          433.5

DEBUG bits, KPTI, PCID, !INVPCID (i.e. emulation)

   BYTE UNIX Benchmarks (Version 5.1.3)

   System: lava: SmartOS 20180212T132812Z x86_64
   OS: SunOS -- 5.11 -- joyent_20180212T132812Z
   Machine: i86pc (i86pc)
   Language:  (charmap=, collate=)
   CPU: no details available
   15:11:31    up 2 min(s),  1 user,  load average: 1.32, 0.66, 0.26; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Thu Feb 22 2018 15:11:31 - 15:13:51
56 CPUs in system; running 1 parallel copy of tests

System Call Overhead                         136123.6 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
System Call Overhead                          15000.0     136123.6     90.7
                                                                   ========
System Benchmarks Index Score (Partial Only)                           90.7

------------------------------------------------------------------------
Benchmark Run: Thu Feb 22 2018 15:13:51 - 15:16:11
56 CPUs in system; running 56 parallel copies of tests

System Call Overhead                         675302.3 lps   (10.1 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
System Call Overhead                          15000.0     675302.3    450.2
                                                                   ========
System Benchmarks Index Score (Partial Only)                          450.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment