{"id":1849,"date":"2024-02-29T18:58:12","date_gmt":"2024-02-29T18:58:12","guid":{"rendered":"https:\/\/mvermeulen.org\/perf\/?page_id=1849"},"modified":"2024-03-01T02:02:12","modified_gmt":"2024-03-01T02:02:12","slug":"git","status":"publish","type":"page","link":"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/git\/","title":{"rendered":"git"},"content":{"rendered":"\n<p>Static git operations on the Gnome GTK tool-kit repository. There is one test that runs in less than a minute. The test looks to be 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\/03\/systemtime-2.png\" alt=\"\" class=\"wp-image-1868\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/03\/systemtime-2.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/03\/systemtime-2-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/03\/systemtime-2-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Topdown profile shows a higher amount of branch mis-prediction.<\/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\/03\/amdtopdown-2.png\" alt=\"\" class=\"wp-image-1870\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/03\/amdtopdown-2.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/03\/amdtopdown-2-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/03\/amdtopdown-2-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>AMD metrics show little floating point and not much L2 activity. The opcache miss rate is low.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              131.796\non_cpu               0.057          # 0.91 \/ 16 cores\nutime                112.253\nstime                7.422\nnvcsw                47968          # 97.55%\nnivcsw               1207           # 2.45%\ninblock              0              # 0.00\/sec\nonblock              3607424        # 27371.36\/sec\ncpu-clock            119667693734   # 119.668 seconds\ntask-clock           119704040224   # 119.704 seconds\npage faults          1984347        # 16577.110\/sec\ncontext switches     49597          # 414.330\/sec\ncpu migrations       804            # 6.717\/sec\nmajor page faults    5              # 0.042\/sec\nminor page faults    1984342        # 16577.068\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             235222962408   # 177.479 branches per 1000 inst\nbranch misses        8196065833     # 3.48% branch miss\nconditional          205496270282   # 155.050 conditional branches per 1000 inst\nindirect             2650864251     # 2.000 indirect branches per 1000 inst\ncpu-cycles           546385786951   # 0.26 GHz\ninstructions         1324592611227  # 2.42 IPC\nslots                1100081784528  #\nretiring             405260310962   # 36.8% (36.9%)\n-- ucode             143677763      #     0.0%\n-- fastpath          405116633199   #    36.8%\nfrontend             332143853033   # 30.2% (30.3%)\n-- latency           190794876906   #    17.3%\n-- bandwidth         141348976127   #    12.8%\nbackend              215900183476   # 19.6% (19.7%)\n-- cpu               42674006107    #     3.9%\n-- memory            173226177369   #    15.7%\nspeculation          143903238808   # 13.1% (13.1%) high\n-- branch mispredict 143502363445   #    13.0%\n-- pipeline restart  400875363      #     0.0%\nsmt-contention       2873318285     #  0.3% ( 0.0%)\ncpu-cycles           544251653091   # 0.25 GHz\ninstructions         1322152825803  # 2.43 IPC\ninstructions         443435340050   # 19.177 l2 access per 1000 inst\nl2 hit from l1       5295834666     # 26.43% l2 miss\nl2 miss from l1      544871939      #\nl2 hit from l2 pf    1505236510     #\nl3 hit from l2 pf    1205993772     #\nl3 miss from l2 pf   496625248      #\ninstructions         441542185448   # 5.639 float per 1000 inst\nfloat 512            68             # 0.000 AVX-512 per 1000 inst\nfloat 256            928            # 0.000 AVX-256 per 1000 inst\nfloat 128            2489794488     # 5.639 AVX-128 per 1000 inst\nfloat MMX            0              # 0.000 MMX per 1000 inst\nfloat scalar         0              # 0.000 scalar per 1000 inst\ninstructions         1326160588377  #\nopcache              305502087387   # 230.366 opcache per 1000 inst\nopcache miss         8123047661     #  2.7% opcache miss rate\nl1 dTLB miss         1060294462     # 0.800 L1 dTLB per 1000 inst\nl2 dTLB miss         101316249      # 0.076 L2 dTLB per 1000 inst\ninstructions         1327860259496  #\nicache               16324891615    # 12.294 icache per 1000 inst\nicache miss          2325560685     # 14.2% icache miss rate\nl1 iTLB miss         61416665       # 0.046 L1 iTLB per 1000 inst\nl2 iTLB miss         0              # 0.000 L2 iTLB per 1000 inst\ntlb flush            100325         # 0.000 TLB flush 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              164.491\non_cpu               0.057          # 0.92 \/ 16 cores\nutime                146.579\nstime                4.725\nnvcsw                48888          # 96.51%\nnivcsw               1766           # 3.49%\ninblock              472            # 2.87\/sec\nonblock              3596160        # 21862.33\/sec\ncpu-clock            150883248946   # 150.883 seconds\ntask-clock           150922653465   # 150.923 seconds\npage faults          1809077        # 11986.782\/sec\ncontext switches     51242          # 339.525\/sec\ncpu migrations       1974           # 13.080\/sec\nmajor page faults    8              # 0.053\/sec\nminor page faults    1809069        # 11986.729\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             234648916955   # 176.744 branches per 1000 inst\nbranch misses        7833700980     # 3.34% branch miss\nconditional          234648938299   # 176.744 conditional branches per 1000 inst\nindirect             3129201772     # 2.357 indirect branches per 1000 inst\nslots                3387615982166  #\nretiring             1224686147984  # 36.2% (36.2%)\n-- ucode             63651837000    #     1.9%\n-- fastpath          1161034310984  #    34.3%\nfrontend             752027801342   # 22.2% (22.2%)\n-- latency           267936226727   #     7.9%\n-- bandwidth         484091574615   #    14.3%\nbackend              505710887104   # 14.9% (14.9%) low\n-- cpu               283034548949   #     8.4%\n-- memory            222676338155   #     6.6%\nspeculation          910116339086   # 26.9% (26.9%) high\n-- branch mispredict 900602621886   #    26.6%\n-- pipeline restart  9513717200     #     0.3%\nsmt-contention       0              #  0.0% ( 0.0%)\ncpu-cycles           568774584615   # 0.22 GHz\ninstructions         1325039777825  # 2.33 IPC\nl2 access            23579100188    # 17.886 l2 access per 1000 inst\nl2 miss              9316851559     # 39.51% l2 miss\ncpu-cycles           566495925915   # 15.2% memory latency\nload stalls          79622841783    #  5.0% l1 bound\nl1 miss              51403989333    #  5.9% l2 bound\nl2 miss              17824816622    #  1.8% l3 bound\nl3 miss              7616033591     #  1.3% dram bound\nstore_stalls         6305559124     #  1.1% store bound\n<\/code><\/pre>\n\n\n\n<p>Process overview shows many short git processes. Also looks like we lost track of a few.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>669 processes\n\t313 git                    129.26     6.13\n\t 68 clinfo                  16.96     5.32\n\t 38 vulkaninfo               1.31     1.14\n\t  6 php                      0.14     0.60\n\t  4 vulkani:disk$0           0.13     0.12\n\t  2 llvmpipe-0               0.07     0.06\n\t  2 llvmpipe-1               0.07     0.06\n\t  2 llvmpipe-10              0.07     0.06\n\t  2 llvmpipe-11              0.07     0.06\n\t  2 llvmpipe-12              0.07     0.06\n\t  2 llvmpipe-13              0.07     0.06\n\t  2 llvmpipe-14              0.07     0.06\n\t  2 llvmpipe-15              0.07     0.06\n\t  2 llvmpipe-2               0.07     0.06\n\t  2 llvmpipe-3               0.07     0.06\n\t  2 llvmpipe-4               0.07     0.06\n\t  2 llvmpipe-5               0.07     0.06\n\t  2 llvmpipe-6               0.07     0.06\n\t  2 llvmpipe-7               0.07     0.06\n\t  2 llvmpipe-8               0.07     0.06\n\t  2 llvmpipe-9               0.07     0.06\n\t  3 cp                       0.05     1.68\n\t  6 clang                    0.04     0.06\n\t  3 rocminfo                 0.03     0.00\n\t  4 rm                       0.00     0.39\n\t  1 lspci                    0.00     0.02\n\t  1 ps                       0.00     0.01\n\t 86 sh                       0.00     0.00\n\t 12 gcc                      0.00     0.00\n\t 11 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 phoronix-test-s          0.00     0.00\n\t  4 bash                     0.00     0.00\n\t  4 glxinfo                  0.00     0.00\n\t  3 gmain                    0.00     0.00\n\t  3 mv                       0.00     0.00\n\t  2 dconf worker             0.00     0.00\n\t  2 lscpu                    0.00     0.00\n\t  2 setterm                  0.00     0.00\n\t  2 uname                    0.00     0.00\n\t  2 which                    0.00     0.00\n\t  1 cc                       0.00     0.00\n\t  1 date                     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\n11 processes running\n58 maximum processes\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Static git operations on the Gnome GTK tool-kit repository. There is one test that runs in less than a minute. The test looks to be single-threaded. Topdown profile shows a higher amount of branch mis-prediction. AMD metrics show little floating <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/git\/\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":58,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1849","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/1849","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=1849"}],"version-history":[{"count":2,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/1849\/revisions"}],"predecessor-version":[{"id":1871,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/1849\/revisions\/1871"}],"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=1849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}