This workload builds wasmer. Wasmer is written in Rust and is a WebAssembly runtime implementation. Looks like segments running on all cores and others dropping lower. Overall build is pretty quick.

Topdown profile shows on average frontend stalls are higher.

AMD metrics confirm frontend stalls account for more than half the slots. On average on_cpu is 10 cores.

elapsed              180.989
on_cpu               0.636          # 10.17 / 16 cores
utime                1757.950
stime                82.921
nvcsw                310543         # 83.46%
nivcsw               61530          # 16.54%
inblock              0              # 0.00/sec
onblock              9163560        # 50630.52/sec
cpu-clock            1848607247902  # 1848.607 seconds
task-clock           1848755807763  # 1848.756 seconds
page faults          15538171       # 8404.664/sec
context switches     371479         # 200.935/sec
cpu migrations       17915          # 9.690/sec
major page faults    1356           # 0.733/sec
minor page faults    15535553       # 8403.248/sec
alignment faults     0              # 0.000/sec
emulation faults     0              # 0.000/sec
branches             1292502981445  # 192.806 branches per 1000 inst
branch misses        55640501674    # 4.30% branch miss
conditional          900712673473   # 134.362 conditional branches per 1000 inst
indirect             48451273210    # 7.228 indirect branches per 1000 inst
cpu-cycles           7414248591260  # 2.56 GHz
instructions         6646159800507  # 0.90 IPC
slots                15068390862084 #
retiring             2224336573649  # 14.8% (16.6%)
-- ucode             5602413589     #     0.0%
-- fastpath          2218734160060  #    14.7%
frontend             7254520378761  # 48.1% (54.1%) high
-- latency           5686777277214  #    37.7%
-- bandwidth         1567743101547  #    10.4%
backend              3369111621609  # 22.4% (25.1%)
-- cpu               384707513182   #     2.6%
-- memory            2984404108427  #    19.8%
speculation          565147650168   #  3.8% ( 4.2%)
-- branch mispredict 556021534653   #     3.7%
-- pipeline restart  9126115515     #     0.1%
smt-contention       1655221232020  # 11.0% ( 0.0%)
cpu-cycles           7394159272715  # 2.55 GHz
instructions         6649341201041  # 0.90 IPC
instructions         2232748527915  # 60.479 l2 access per 1000 inst
l2 hit from l1       121041582914   # 25.69% l2 miss
l2 miss from l1      27437545076    #
l2 hit from l2 pf    6739993085     #
l3 hit from l2 pf    3624562661     #
l3 miss from l2 pf   3627151232     #
instructions         2232152233093  # 28.719 float per 1000 inst
float 512            537            # 0.000 AVX-512 per 1000 inst
float 256            642010         # 0.000 AVX-256 per 1000 inst
float 128            64104786176    # 28.719 AVX-128 per 1000 inst
float MMX            0              # 0.000 MMX per 1000 inst
float scalar         0              # 0.000 scalar per 1000 inst
instructions         2700488        #
opcache              1007949        # 373.247 opcache per 1000 inst
opcache miss         535498         # 53.1% opcache miss rate
l1 dTLB miss         6563           # 2.430 L1 dTLB per 1000 inst
l2 dTLB miss         1281           # 0.474 L2 dTLB per 1000 inst
instructions         2694975        #
icache               1311501        # 486.647 icache per 1000 inst
icache miss          110143         #  8.4% icache miss rate
l1 iTLB miss         7              # 0.003 L1 iTLB per 1000 inst
l2 iTLB miss         0              # 0.000 L2 iTLB per 1000 inst
tlb flush            19             # 0.007 TLB flush per 1000 inst

Intel metrics

elapsed              194.562
on_cpu               0.668          # 10.69 / 16 cores
utime                2019.178
stime                60.933
nvcsw                325072         # 84.38%
nivcsw               60168          # 15.62%
inblock              192656         # 990.21/sec
onblock              9152320        # 47040.70/sec
cpu-clock            2089202962993  # 2089.203 seconds
task-clock           2089317901149  # 2089.318 seconds
page faults          15470256       # 7404.453/sec
context switches     384728         # 184.140/sec
cpu migrations       24416          # 11.686/sec
major page faults    1350           # 0.646/sec
minor page faults    15467644       # 7403.203/sec
alignment faults     0              # 0.000/sec
emulation faults     0              # 0.000/sec
branches             1285040505944  # 191.784 branches per 1000 inst
branch misses        46250124180    # 3.60% branch miss
conditional          1285040955448  # 191.784 conditional branches per 1000 inst
indirect             338630529858   # 50.538 indirect branches per 1000 inst
slots                12756029637488 #
retiring             3633769097223  # 28.5% (28.5%)
-- ucode             201138772124   #     1.6%
-- fastpath          3432630325099  #    26.9%
frontend             5497062488669  # 43.1% (43.1%)
-- latency           3266271029687  #    25.6%
-- bandwidth         2230791458982  #    17.5%
backend              1512699760560  # 11.9% (11.9%) low
-- cpu               542344372305   #     4.3%
-- memory            970355388255   #     7.6%
speculation          2140210567095  # 16.8% (16.8%) high
-- branch mispredict 2092134261074  #    16.4%
-- pipeline restart  48076306021    #     0.4%
smt-contention       0              #  0.0% ( 0.0%)
cpu-cycles           4987585316571  # 1.61 GHz
instructions         5560398427449  # 1.11 IPC
l2 access            227604761330   # 58.657 l2 access per 1000 inst
l2 miss              66058040661    # 29.02% l2 miss
cpu-cycles           3466252615657  # 29.4% memory latency
load stalls          994535019554   #  6.1% l1 bound
l1 miss              784758678431   #  8.2% l2 bound
l2 miss              499259703397   #  3.5% l3 bound
l3 miss              377093611501   # 10.9% dram bound
store_stalls         26102284684    #  0.8% store bound

Process overview shows most time spent in the rustc (compiler). Some interesting process names below that.

14029 processes
	2564 rustc                 6821.82   189.14
	718 cargo                   99.50   295.55
	177 ld                      56.24    15.83
	 68 clinfo                  16.88     5.98
	 38 vulkaninfo               0.95     1.33
	  6 glxinfo:gdrv0            0.12     0.04
	  6 glxinfo:gl0              0.12     0.04
	  4 vulkani:disk$0           0.10     0.14
	137 build-script-bu          0.09     0.08
	  6 php                      0.07     0.08
	  2 glxinfo                  0.06     0.02
	  2 glxinfo:cs0              0.06     0.02
	  2 glxinfo:disk$0           0.06     0.02
	  2 glxinfo:sh0              0.06     0.02
	  2 glxinfo:shlo0            0.06     0.02
	  2 llvmpipe-0               0.05     0.07
	  2 llvmpipe-1               0.05     0.07
	  2 llvmpipe-10              0.05     0.07
	  2 llvmpipe-11              0.05     0.07
	  2 llvmpipe-12              0.05     0.07
	  2 llvmpipe-13              0.05     0.07
	  2 llvmpipe-14              0.05     0.07
	  2 llvmpipe-15              0.05     0.07
	  2 llvmpipe-2               0.05     0.07
	  2 llvmpipe-3               0.05     0.07
	  2 llvmpipe-4               0.05     0.07
	  2 llvmpipe-5               0.05     0.07
	  2 llvmpipe-6               0.05     0.07
	  2 llvmpipe-7               0.05     0.07
	  2 llvmpipe-8               0.05     0.07
	  2 llvmpipe-9               0.05     0.07
	  6 clang                    0.03     0.09
	  3 rocminfo                 0.03     0.00
	  3 build-script-ma          0.02     0.25
	 18 cc1                      0.02     0.00
	 51 LTO cranelift_c          0.00  4157.19
	144 LTO wasmer_comp          0.00  2612.51
	240 LTO wasmer_engi          0.00  1562.35
	 48 LTO wast.cfe4e8          0.00  1528.31
	114 opt cranelift_c          0.00  1475.34
	 48 LTO wasmer_emsc          0.00  1402.13
	 48 LTO wast.1443ef          0.00  1291.01
	 48 LTO regalloc.db          0.00  1225.51
	144 opt wasmer_comp          0.00   972.88
	 48 LTO clap.581284          0.00   960.17
	 96 LTO wasmer_wasi          0.00   707.11
	240 opt wasmer_engi          0.00   578.87
	 48 opt wast.cfe4e8          0.00   574.06
	 48 opt wasmer_emsc          0.00   495.92
	 48 opt wast.1443ef          0.00   491.79
	 48 opt regalloc.db          0.00   454.74
	 48 LTO wasmer_cli.          0.00   444.48
	 48 LTO wasmparser.          0.00   421.10
	 48 opt dynasm.2388          0.00   379.61
	 48 opt clap.581284          0.00   366.51
	 48 opt syn.caba53b          0.00   358.17
	 96 opt wasmer_wasi          0.00   342.91
	 48 LTO gimli.b36fa          0.00   330.86
	 48 LTO wasmer.c668          0.00   313.03
	 48 LTO object.d2d6          0.00   304.32
	 48 LTO wasmer_type          0.00   303.96
	 48 LTO backtrace.8          0.00   281.20
	 48 LTO wasmer_vm.b          0.00   263.87
	 48 LTO wasmer_wast          0.00   217.82
	 48 opt wasmparser.          0.00   215.44
	 48 opt serde_deriv          0.00   209.63
	 48 LTO serde.5d740          0.00   207.48
	 48 opt serde.5d740          0.00   200.42
	 48 LTO time.182088          0.00   196.73
	 48 LTO rayon.35882          0.00   178.31
	 48 opt wasmer.c668          0.00   176.71
	 48 opt object.d2d6          0.00   172.41
	 48 opt rayon.35882          0.00   161.31
	 48 opt gimli.b36fa          0.00   154.90
	 48 LTO rkyv.1eceed          0.00   154.07
	1446 opt build_scrip          0.00   144.22
	 48 opt wasmer_type          0.00   143.33
	 48 opt wasmer_cli.          0.00   139.74
	 48 opt rkyv.1eceed          0.00   133.64
	 48 LTO wasmer_vfs.          0.00   132.74
	 48 LTO rayon_core.          0.00   131.02
	 48 opt rkyv_derive          0.00   124.14
	 48 LTO miniz_oxide          0.00   120.66
	 48 opt darling_cor          0.00   113.85
	 48 LTO cranelift_f          0.00   105.75
	 48 opt wasmer_vm.b          0.00   101.66
	 48 opt backtrace.8          0.00   100.10
	 48 opt time.182088          0.00    86.54
	 48 LTO memchr.feb8          0.00    81.49
	 42 LTO rustc_deman          0.00    75.32
	 48 opt wasmer_wast          0.00    74.45
	 48 opt miniz_oxide          0.00    68.21
	 48 LTO tracing_cor          0.00    61.20
	 48 opt tracing_att          0.00    60.94
	 48 opt structopt_d          0.00    60.26
	 48 opt rayon_core.          0.00    59.62
	 48 LTO tempfile.23          0.00    58.12
	 48 opt wasmer_vfs.          0.00    58.03
	 48 opt cc.2e0adfd3          0.00    57.43
	144 opt proc_macro_          0.00    57.10
	 48 opt thiserror_i          0.00    56.49
	 48 LTO dynasmrt.1e          0.00    53.67
	 48 LTO blake3.f8b7          0.00    53.03
	 48 LTO crossbeam_c          0.00    52.93
	 48 LTO num_cpus.eb          0.00    50.50
	 48 LTO crossbeam_u          0.00    47.97
	 48 LTO strsim.625e          0.00    46.11
	 48 opt memchr.feb8          0.00    43.98
	 48 LTO wat.1f1b19b          0.00    42.52
	 42 opt rustc_deman          0.00    42.24
	 48 LTO crossbeam_e          0.00    41.17
	 48 LTO colored.f35          0.00    40.06
	 48 opt cranelift_f          0.00    38.79
	 48 LTO distance.25          0.00    37.24
	 48 opt crossbeam_c          0.00    35.87
	 48 LTO tracing.39a          0.00    32.95
	 48 opt crossbeam_u          0.00    31.52
	  6 LTO rend.df24e7          0.00    30.51
	 48 opt dynasmrt.1e          0.00    30.15
	  6 opt rend.df24e7          0.00    29.87
	 48 opt tracing_cor          0.00    29.46
	 36 LTO libc.b0e17a          0.00    29.29
	 48 opt proc_macro2          0.00    29.21
	 48 LTO anyhow.18b0          0.00    28.69
	 48 opt blake3.f8b7          0.00    28.33
	 36 LTO target_lexi          0.00    27.96
	 39 LTO textwrap.5e          0.00    27.47
	 48 opt num_cpus.eb          0.00    27.10
	 48 opt tempfile.23          0.00    25.95
	 48 opt bytecheck_d          0.00    25.59
	 48 opt enumset_der          0.00    24.80
	 36 opt libc.b0e17a          0.00    23.78
	 48 LTO region.f0fd          0.00    23.02
	 48 opt rustversion          0.00    22.63
	 51 opt time_macros          0.00    21.60
	  3 opt 2kq0hmgd5s6          0.00    20.64
	 48 opt crossbeam_e          0.00    20.48
	 48 opt unicode_seg          0.00    20.14
	 48 opt strsim.625e          0.00    20.04
	 48 opt colored.f35          0.00    19.39
	 45 LTO wasmer_cach          0.00    18.87
	 48 opt tracing.39a          0.00    17.93
	 42 LTO bincode.337          0.00    17.44
	 33 LTO ansi_term.7          0.00    17.20
	 48 opt wat.1f1b19b          0.00    16.48
	 48 opt wasmer_deri          0.00    16.38
	 48 opt anyhow.18b0          0.00    16.15
	 48 opt region.f0fd          0.00    16.08
	 48 opt autocfg.fae          0.00    16.07
	 36 LTO fastrand.9b          0.00    15.45
	 48 LTO loupe.acd72          0.00    14.77
	 48 opt distance.25          0.00    14.36
	 36 opt target_lexi          0.00    14.36
	 48 opt version_che          0.00    14.19
	 39 opt textwrap.5e          0.00    13.95
	  3 opt 3vfmdt4xebt          0.00    13.68
	 42 opt bincode.337          0.00    13.58
	 48 opt loupe_deriv          0.00    13.50
	 48 opt quote.f157b          0.00    12.87
	 15 LTO typenum.9be          0.00    12.15
	 15 opt typenum.9be          0.00    11.86
	 48 opt const_fn.ed          0.00    11.30
	 51 opt enum_iterat          0.00    10.41
	 30 LTO which.c873c          0.00    10.16
	 36 opt fastrand.9b          0.00     9.86
	 27 LTO bytesize.e7          0.00     9.78
	 45 opt wasmer_cach          0.00     9.41
	 48 opt darling_mac          0.00     9.31
	 33 opt ansi_term.7          0.00     8.80
	  3 opt 1iir55bdpws          0.00     8.20
	 33 LTO libloading.          0.00     8.09
	 12 LTO hashbrown.7          0.00     7.70
	 12 opt hashbrown.7          0.00     7.55
	 12 LTO bytecheck.8          0.00     7.14
	 12 opt bytecheck.8          0.00     6.78
	 48 opt ptr_meta_de          0.00     6.49
	 48 opt loupe.acd72          0.00     6.19
	 27 opt bytesize.e7          0.00     6.09
	 48 opt heck.22f528          0.00     6.00
	 30 opt which.c873c          0.00     5.83
	 15 LTO indexmap.fc          0.00     5.44
	 33 opt libloading.          0.00     5.25
	  6 LTO generic_arr          0.00     5.16
	  6 opt generic_arr          0.00     5.08
	 15 opt indexmap.fc          0.00     5.00
	 21 opt byteorder.7          0.00     4.98
	 15 LTO log.e3954e5          0.00     4.88
	 18 LTO addr2line.b          0.00     4.84
	  3 opt 5f3lu90s7ak          0.00     4.69
	  6 LTO hashbrown.b          0.00     4.57
	  6 opt hashbrown.b          0.00     4.52
	 21 LTO getrandom.2          0.00     4.30
	 18 LTO ahash.c9380          0.00     4.13
	 18 opt addr2line.b          0.00     3.83
	 15 LTO memmap2.800          0.00     3.82
	 24 LTO serde_bytes          0.00     3.81
	 15 LTO crc32fast.9          0.00     3.53
	 30 LTO wasmer_arti          0.00     3.47
	 12 LTO byteorder.1          0.00     3.41
	 18 opt ahash.c9380          0.00     3.37
	 15 opt log.e3954e5          0.00     3.20
	 12 opt byteorder.1          0.00     3.18
	  9 LTO hex.1ffd5bd          0.00     2.79
	 12 LTO seahash.606          0.00     2.75
	  9 opt hex.1ffd5bd          0.00     2.60
	 21 opt getrandom.2          0.00     2.57
	 15 LTO adler.bd605          0.00     2.46
	 12 LTO digest.1579          0.00     2.40
	 24 opt serde_bytes          0.00     2.39
	 12 LTO corosensei.          0.00     2.26
	 12 opt digest.1579          0.00     2.25
	 15 opt crc32fast.9          0.00     2.23
	  3 opt e2kge3irtoy          0.00     2.16
	 30 opt wasmer_arti          0.00     2.09
	 18 LTO wasmer_obje          0.00     1.99
	 15 opt memmap2.800          0.00     1.98
	  6 LTO cranelift_b          0.00     1.95
	 12 opt corosensei.          0.00     1.87
	  6 opt cranelift_b          0.00     1.87
	 12 LTO unix_mode.7          0.00     1.74
	  3 opt 57lhhmpyb4x          0.00     1.71
	  3 LTO rustc_hash.          0.00     0.09
	  3 LTO scopeguard.          0.00     0.09
	  3 LTO structopt.3          0.00     0.09
	  3 opt 1d69a2e2e0n          0.00     0.09
	  3 opt 1nhq8s1olfy          0.00     0.09
	  3 opt 3654yla96zd          0.00     0.09
	  3 opt constant_ti          0.00     0.09
	  3 opt rustc_hash.          0.00     0.09
	  3 LTO lazy_static          0.00     0.08
	  3 LTO thiserror.5          0.00     0.08
	  3 opt 391ezdy8r7a          0.00     0.08
	  3 opt scopeguard.          0.00     0.08
	  3 opt structopt.3          0.00     0.08
	  3 opt 1fluxylua2e          0.00     0.07
	  3 opt 25uzjtf07im          0.00     0.07
	  3 opt 34vh0dhrc1l          0.00     0.07
	  3 opt 38f4m43gckt          0.00     0.07
	  3 opt 54srd2dws5r          0.00     0.07
	  3 opt atty.d776e3          0.00     0.07
	191 cc                       0.00     0.06
	  9 opt wasmer.22f9          0.00     0.06
	  6 opt standback.3          0.00     0.06
	  3 LTO pin_project          0.00     0.06
	  3 opt 43616qp5k7y          0.00     0.06
	  3 opt 54c4z2rgs8u          0.00     0.06
	  3 opt fnv.e29c1e8          0.00     0.06
	  3 opt pin_project          0.00     0.06
	  3 opt thiserror.5          0.00     0.06
	  3 LTO memoffset.4          0.00     0.05
	  3 opt 1q8fh9mafst          0.00     0.05
	  3 opt 3pmxpyb4tks          0.00     0.05
	  3 opt memoffset.4          0.00     0.05
	  3 LTO time_macros          0.00     0.04
	  3 opt 1a8sjdkvqsr          0.00     0.04
	  3 opt 3zxriqgpesy          0.00     0.04
	  3 opt 43aaafzfr9u          0.00     0.04
	  3 opt m2uldg4zs0n          0.00     0.04
	  3 opt nv8nqxglal8          0.00     0.04
	 12 opt probe0.9542          0.00     0.03
	  3 LTO bitflags.d2          0.00     0.03
	  3 LTO stable_dere          0.00     0.03
	  3 LTO standback.3          0.00     0.03
	  3 opt 3j251r04sol          0.00     0.03
	  3 opt probe2.ddde          0.00     0.03
	  3 LTO arrayref.3b          0.00     0.02
	  3 LTO cfg_if.3393          0.00     0.02
	  3 LTO cfg_if.3e2a          0.00     0.02
	  3 LTO enum_iterat          0.00     0.02
	  3 LTO remove_dir_          0.00     0.02
	  3 opt 19a1xzc5z3k          0.00     0.02
	  3 opt 4xdh91qyoph          0.00     0.02
	  3 opt arrayref.3b          0.00     0.02
	  3 opt bitflags.50          0.00     0.02
	  3 opt darling.a7e          0.00     0.02
	  3 opt remove_dir_          0.00     0.02
	  3 opt stable_dere          0.00     0.02
	  1 lspci                    0.00     0.02
	  3 opt bitflags.d2          0.00     0.01
	  3 opt cfg_if.3393          0.00     0.01
	  3 opt cfg_if.3e2a          0.00     0.01
	  3 opt probe1.267f          0.00     0.01
	  3 opt probe3.3f46          0.00     0.01
	177 collect2                 0.00     0.00
	 86 sh                       0.00     0.00
	 18 as                       0.00     0.00
	 13 gcc                      0.00     0.00
	 13 gsettings                0.00     0.00
	 12 ar                       0.00     0.00
	  8 stat                     0.00     0.00
	  8 systemd-detect-          0.00     0.00
	  6 git                      0.00     0.00
	  6 llvm-link                0.00     0.00
	  5 phoronix-test-s          0.00     0.00
	  4 bash                     0.00     0.00
	  3 LTO more_assert          0.00     0.00
	  3 build-wasmer             0.00     0.00
	  3 opt more_assert          0.00     0.00
	  2 gmain                    0.00     0.00
	  2 lscpu                    0.00     0.00
	  2 uname                    0.00     0.00
	  2 which                    0.00     0.00
	  2 xset                     0.00     0.00
	  1 date                     0.00     0.00
	  1 dconf worker             0.00     0.00
	  1 dirname                  0.00     0.00
	  1 dmesg                    0.00     0.00
	  1 dmidecode                0.00     0.00
	  1 grep                     0.00     0.00
	  1 ifconfig                 0.00     0.00
	  1 ip                       0.00     0.00
	  1 lsmod                    0.00     0.00
	  1 mktemp                   0.00     0.00
	  1 ps                       0.00     0.00
	  1 qdbus                    0.00     0.00
	  1 readlink                 0.00     0.00
	  1 realpath                 0.00     0.00
	  1 sed                      0.00     0.00
	  1 sort                     0.00     0.00
	  1 stty                     0.00     0.00
	  1 systemctl                0.00     0.00
	  1 template.sh              0.00     0.00
	  1 wc                       0.00     0.00
	  1 xrandr                   0.00     0.00
3 processes running
106 maximum processes