{"id":733,"date":"2024-01-20T12:51:53","date_gmt":"2024-01-20T12:51:53","guid":{"rendered":"https:\/\/mvermeulen.org\/perf\/?page_id=733"},"modified":"2024-01-20T18:47:26","modified_gmt":"2024-01-20T18:47:26","slug":"node-web-tooling","status":"publish","type":"page","link":"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/node-web-tooling\/","title":{"rendered":"node-web-tooling"},"content":{"rendered":"\n<p>Javascript workloads for web developers with one workload. Looks single-threaded.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"960\" src=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-42.png\" alt=\"\" class=\"wp-image-755\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-42.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-42-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-42-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Topdown metrics shows somewhat balance between retiring, frontend stalls and backend stalls.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"960\" src=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-80.png\" alt=\"\" class=\"wp-image-757\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-80.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-80-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-80-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>AMD metrics show no floating point, and relatively low L2 access.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              193.506\non_cpu               0.092          # 1.47 \/ 16 cores\nutime                264.664\nstime                18.955\nnvcsw                389634         # 99.64%\nnivcsw               1393           # 0.36%\ninblock              0              # 0.00\/sec\nonblock              12608          # 65.16\/sec\ncpu-clock            282290321052   # 282.290 seconds\ntask-clock           282588487273   # 282.588 seconds\npage faults          5537585        # 19595.933\/sec\ncontext switches     391820         # 1386.539\/sec\ncpu migrations       681            # 2.410\/sec\nmajor page faults    2              # 0.007\/sec\nminor page faults    5537583        # 19595.926\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             534584331966   # 223.386 branches per 1000 inst\nbranch misses        6143624751     # 1.15% branch miss\nconditional          386345490893   # 161.442 conditional branches per 1000 inst\nindirect             39656923455    # 16.571 indirect branches per 1000 inst\ncpu-cycles           1905984820954  # 0.37 GHz\ninstructions         3950923528033  # 2.07 IPC\nslots                3817296212880  #\nretiring             1285761775496  # 33.7% (34.1%)\n-- ucode             3091446846     #     0.1%\n-- fastpath          1282670328650  #    33.6%\nfrontend             1220393600934  # 32.0% (32.4%)\n-- latency           755792374632   #    19.8%\n-- bandwidth         464601226302   #    12.2%\nbackend              1054452165568  # 27.6% (28.0%)\n-- cpu               96059498857    #     2.5%\n-- memory            958392666711   #    25.1%\nspeculation          207926867049   #  5.4% ( 5.5%)\n-- branch mispredict 203506937108   #     5.3%\n-- pipeline restart  4419929941     #     0.1%\nsmt-contention       48750467898    #  1.3% ( 0.0%)\ncpu-cycles           1160335787384  # 0.37 GHz\ninstructions         2420318909128  # 2.09 IPC\ninstructions         802844679531   # 31.611 l2 access per 1000 inst\nl2 hit from l1       22008524799    # 18.38% l2 miss\nl2 miss from l1      2503513440     #\nl2 hit from l2 pf    1209396338     #\nl3 hit from l2 pf    840344539      #\nl3 miss from l2 pf   1320182983     #\ninstructions         809679259606   # 7.574 float per 1000 inst\nfloat 512            39             # 0.000 AVX-512 per 1000 inst\nfloat 256            632            # 0.000 AVX-256 per 1000 inst\nfloat 128            6132237404     # 7.574 AVX-128 per 1000 inst\nfloat MMX            0              # 0.000 MMX per 1000 inst\nfloat scalar         5              # 0.000 scalar per 1000 inst\n<\/code><\/pre>\n\n\n\n<p>Intel metrics<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              198.826\non_cpu               0.088          # 1.41 \/ 16 cores\nutime                266.470\nstime                13.390\nnvcsw                364344         # 99.24%\nnivcsw               2808           # 0.76%\ninblock              138144         # 694.80\/sec\nonblock              1536           # 7.73\/sec\ncpu-clock            276563110404   # 276.563 seconds\ntask-clock           276793658113   # 276.794 seconds\npage faults          5242907        # 18941.572\/sec\ncontext switches     367978         # 1329.431\/sec\ncpu migrations       3611           # 13.046\/sec\nmajor page faults    659            # 2.381\/sec\nminor page faults    5242248        # 18939.191\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             508159370057   # 223.165 branches per 1000 inst\nbranch misses        5212517118     # 1.03% branch miss\nconditional          508159382601   # 223.165 conditional branches per 1000 inst\nindirect             46916194068    # 20.604 indirect branches per 1000 inst\nslots                5708641920134  #\nretiring             2040865896284  # 35.8% (35.8%)\n-- ucode             184219758410   #     3.2%\n-- fastpath          1856646137874  #    32.5%\nfrontend             1979204412504  # 34.7% (34.7%)\n-- latency           947316286686   #    16.6%\n-- bandwidth         1031888125818  #    18.1%\nbackend              784983592942   # 13.8% (13.8%)\n-- cpu               349233410715   #     6.1%\n-- memory            435750182227   #     7.6%\nspeculation          956593599239   # 16.8% (16.8%)\n-- branch mispredict 928481147334   #    16.3%\n-- pipeline restart  28112451905    #     0.5%\nsmt-contention       0              #  0.0% ( 0.0%)\ncpu-cycles           1047771315563  # 0.33 GHz\ninstructions         2404537385699  # 2.29 IPC\nl2 access            75511642368    # 34.000 l2 access per 1000 inst\nl2 miss              20354846951    # 26.96% l2 miss\n<\/code><\/pre>\n\n\n\n<p>Process summary<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>366 processes\n\t 24 node                  1873.02   116.83\n\t 68 clinfo                  15.02     8.31\n\t 38 vulkaninfo               0.76     1.52\n\t  6 glxinfo:gdrv0            0.11     0.13\n\t  4 vulkani:disk$0           0.08     0.16\n\t  6 php                      0.06     0.08\n\t  2 glxinfo                  0.05     0.05\n\t  2 glxinfo:cs0              0.05     0.05\n\t  2 glxinfo:disk$0           0.05     0.05\n\t  2 glxinfo:sh0              0.05     0.05\n\t  2 glxinfo:shlo0            0.05     0.05\n\t  2 llvmpipe-0               0.04     0.08\n\t  2 llvmpipe-1               0.04     0.08\n\t  2 llvmpipe-10              0.04     0.08\n\t  2 llvmpipe-11              0.04     0.08\n\t  2 llvmpipe-12              0.04     0.08\n\t  2 llvmpipe-13              0.04     0.08\n\t  2 llvmpipe-14              0.04     0.08\n\t  2 llvmpipe-15              0.04     0.08\n\t  2 llvmpipe-2               0.04     0.08\n\t  2 llvmpipe-3               0.04     0.08\n\t  2 llvmpipe-4               0.04     0.08\n\t  2 llvmpipe-5               0.04     0.08\n\t  2 llvmpipe-6               0.04     0.08\n\t  2 llvmpipe-7               0.04     0.08\n\t  2 llvmpipe-8               0.04     0.08\n\t  2 llvmpipe-9               0.04     0.08\n\t  6 clang                    0.03     0.09\n\t  3 rocminfo                 0.03     0.00\n\t  1 lspci                    0.00     0.02\n\t  1 ps                       0.00     0.01\n\t 81 sh                       0.00     0.00\n\t 12 gcc                      0.00     0.00\n\t 10 gsettings                0.00     0.00\n\t  8 stat                     0.00     0.00\n\t  8 systemd-detect-          0.00     0.00\n\t  6 llvm-link                0.00     0.00\n\t  5 gmain                    0.00     0.00\n\t  5 phoronix-test-s          0.00     0.00\n\t  3 node-web-toolin          0.00     0.00\n\t  2 lscpu                    0.00     0.00\n\t  2 uname                    0.00     0.00\n\t  2 which                    0.00     0.00\n\t  2 xset                     0.00     0.00\n\t  1 cc                       0.00     0.00\n\t  1 date                     0.00     0.00\n\t  1 dconf worker             0.00     0.00\n\t  1 dirname                  0.00     0.00\n\t  1 dmesg                    0.00     0.00\n\t  1 dmidecode                0.00     0.00\n\t  1 grep                     0.00     0.00\n\t  1 ifconfig                 0.00     0.00\n\t  1 ip                       0.00     0.00\n\t  1 lsmod                    0.00     0.00\n\t  1 mktemp                   0.00     0.00\n\t  1 qdbus                    0.00     0.00\n\t  1 readlink                 0.00     0.00\n\t  1 realpath                 0.00     0.00\n\t  1 sed                      0.00     0.00\n\t  1 sort                     0.00     0.00\n\t  1 stty                     0.00     0.00\n\t  1 systemctl                0.00     0.00\n\t  1 template.sh              0.00     0.00\n\t  1 wc                       0.00     0.00\n\t  1 xrandr                   0.00     0.00\n0 processes running\n47 maximum processes\n<\/code><\/pre>\n\n\n\n<p>Computation blocks<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>      2819646) node-web-toolin  cpu=12 start=5.75  finish=66.22\n        2819647) node             cpu=12 start=5.75  finish=66.20\n          2819648) node             cpu=8 start=5.77  finish=66.19\n          2819649) node             cpu=14 start=5.77  finish=66.20\n          2819650) node             cpu=2 start=5.77  finish=66.19\n          2819651) node             cpu=3 start=5.77  finish=66.19\n          2819652) node             cpu=7 start=5.77  finish=66.20\n          2819653) node             cpu=6 start=5.78  finish=66.20\n        2819655) node             cpu=5 start=66.21 finish=66.22\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Javascript workloads for web developers with one workload. Looks single-threaded. Topdown metrics shows somewhat balance between retiring, frontend stalls and backend stalls. AMD metrics show no floating point, and relatively low L2 access. Intel metrics Process summary Computation blocks<\/p>\n <a class=\"more-link\" href=\"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/node-web-tooling\/\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a>","protected":false},"author":1,"featured_media":0,"parent":58,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-733","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/comments?post=733"}],"version-history":[{"count":2,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/733\/revisions"}],"predecessor-version":[{"id":758,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/733\/revisions\/758"}],"up":[{"embeddable":true,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/58"}],"wp:attachment":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/media?parent=733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}