{"id":1763,"date":"2024-02-23T01:15:22","date_gmt":"2024-02-23T01:15:22","guid":{"rendered":"https:\/\/mvermeulen.org\/perf\/?page_id=1763"},"modified":"2024-02-24T10:35:55","modified_gmt":"2024-02-24T10:35:55","slug":"inkscape","status":"publish","type":"page","link":"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/inkscape\/","title":{"rendered":"inkscape"},"content":{"rendered":"\n<p>This test measures how quickly operations are performed in an open source graphics editor.  There is one quick running test to change SVG files to PNG.  Looks like the test is 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\/02\/systemtime-56.png\" alt=\"\" class=\"wp-image-1771\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/systemtime-56.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/systemtime-56-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/systemtime-56-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Topdown profile shows few backend stalls, some frontend stalls and a moderate retirement rate.<\/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\/02\/amdtopdown-58.png\" alt=\"\" class=\"wp-image-1772\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/amdtopdown-58.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/amdtopdown-58-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/amdtopdown-58-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>AMD metrics show low levels of floating point and not many L2 accesses. Overall 1\/5 of the instructions are branches.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              75.140\non_cpu               0.056          # 0.90 \/ 16 cores\nutime                48.363\nstime                19.046\nnvcsw                281463         # 99.32%\nnivcsw               1939           # 0.68%\ninblock              0              # 0.00\/sec\nonblock              39168          # 521.27\/sec\ncpu-clock            71217239933    # 71.217 seconds\ntask-clock           71415670354    # 71.416 seconds\npage faults          4313925        # 60405.860\/sec\ncontext switches     283261         # 3966.370\/sec\ncpu migrations       8622           # 120.730\/sec\nmajor page faults    1              # 0.014\/sec\nminor page faults    4313924        # 60405.846\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             128994424037   # 203.213 branches per 1000 inst\nbranch misses        2855000706     # 2.21% branch miss\nconditional          92040780567    # 144.998 conditional branches per 1000 inst\nindirect             6111938814     # 9.629 indirect branches per 1000 inst\ncpu-cycles           243500760439   # 0.21 GHz\ninstructions         577507690987   # 2.37 IPC\nslots                582705619578   #\nretiring             210908914196   # 36.2% (36.6%)\n-- ucode             970288830      #     0.2%\n-- fastpath          209938625366   #    36.0%\nfrontend             227617083412   # 39.1% (39.5%)\n-- latency           162381527298   #    27.9%\n-- bandwidth         65235556114    #    11.2%\nbackend              103959933786   # 17.8% (18.0%)\n-- cpu               18214442621    #     3.1%\n-- memory            85745491165    #    14.7%\nspeculation          34117647898    #  5.9% ( 5.9%)\n-- branch mispredict 33487539142    #     5.7%\n-- pipeline restart  630108756      #     0.1%\nsmt-contention       6092831936     #  1.0% ( 0.0%)\ncpu-cycles           244600110638   # 0.21 GHz\ninstructions         577150652996   # 2.36 IPC\ninstructions         209285482206   # 23.848 l2 access per 1000 inst\nl2 hit from l1       4354427372     # 14.40% l2 miss\nl2 miss from l1      450869656      #\nl2 hit from l2 pf    368553461      #\nl3 hit from l2 pf    176427380      #\nl3 miss from l2 pf   91531088       #\ninstructions         211792926285   # 19.526 float per 1000 inst\nfloat 512            188            # 0.000 AVX-512 per 1000 inst\nfloat 256            107370         # 0.001 AVX-256 per 1000 inst\nfloat 128            4135310979     # 19.525 AVX-128 per 1000 inst\nfloat MMX            0              # 0.000 MMX per 1000 inst\nfloat scalar         0              # 0.000 scalar per 1000 inst\ninstructions         2368326        #\nopcache              888726         # 375.255 opcache per 1000 inst\nopcache miss         472984         # 53.2% opcache miss rate\nl1 dTLB miss         5408           # 2.283 L1 dTLB per 1000 inst\nl2 dTLB miss         942            # 0.398 L2 dTLB per 1000 inst\ninstructions         2476839        #\nicache               1204427        # 486.276 icache per 1000 inst\nicache miss          115782         #  9.6% icache miss rate\nl1 iTLB miss         10             # 0.004 L1 iTLB per 1000 inst\nl2 iTLB miss         0              # 0.000 L2 iTLB per 1000 inst\ntlb flush            19             # 0.008 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              84.499\non_cpu               0.055          # 0.88 \/ 16 cores\nutime                60.622\nstime                13.690\nnvcsw                281470         # 98.67%\nnivcsw               3784           # 1.33%\ninblock              29536          # 349.54\/sec\nonblock              39328          # 465.43\/sec\ncpu-clock            76677954607    # 76.678 seconds\ntask-clock           76886548233    # 76.887 seconds\npage faults          4401586        # 57247.803\/sec\ncontext switches     285008         # 3706.864\/sec\ncpu migrations       12805          # 166.544\/sec\nmajor page faults    194            # 2.523\/sec\nminor page faults    4401392        # 57245.280\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             128104451230   # 198.995 branches per 1000 inst\nbranch misses        1405306166     # 1.10% branch miss\nconditional          128104846878   # 198.996 conditional branches per 1000 inst\nindirect             7224675400     # 11.223 indirect branches per 1000 inst\nslots                1501564029356  #\nretiring             607696013527   # 40.5% (40.5%)\n-- ucode             59391596028    #     4.0%\n-- fastpath          548304417499   #    36.5%\nfrontend             430736572640   # 28.7% (28.7%)\n-- latency           194393784953   #    12.9%\n-- bandwidth         236342787687   #    15.7%\nbackend              276977102664   # 18.4% (18.4%)\n-- cpu               158763414912   #    10.6%\n-- memory            118213687752   #     7.9%\nspeculation          190458002482   # 12.7% (12.7%) high\n-- branch mispredict 182003070361   #    12.1%\n-- pipeline restart  8454932121     #     0.6%\nsmt-contention       0              #  0.0% ( 0.0%)\ncpu-cycles           269915203919   # 0.20 GHz\ninstructions         653169437609   # 2.42 IPC\nl2 access            13318731594    # 21.137 l2 access per 1000 inst\nl2 miss              2937801854     # 22.06% l2 miss\ncpu-cycles           260272717836   # 18.7% memory latency\nload stalls          46416975810    #  3.1% l1 bound\nl1 miss              38470872573    #  8.1% l2 bound\nl2 miss              17367761103    #  3.6% l3 bound\nl3 miss              8049136887     #  3.1% dram bound\nstore_stalls         2203256808     #  0.8% store bound\n<\/code><\/pre>\n\n\n\n<p>Process profile shows many inkscape processes in a short time period<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>56263 processes\n\t47473 inkscape              6094.47  1935.78\n\t1711 gmain                  233.68    70.88\n\t1708 pool-inkscape          233.66    70.89\n\t1708 gdbus                  233.55    70.87\n\t 38 vulkaninfo               1.52     0.96\n\t  4 vulkani:disk$0           0.16     0.11\n\t  6 glxinfo:gdrv0            0.13     0.09\n\t  6 glxinfo:gl0              0.13     0.09\n\t  2 llvmpipe-0               0.08     0.06\n\t  2 llvmpipe-1               0.08     0.06\n\t  2 llvmpipe-10              0.08     0.06\n\t  2 llvmpipe-11              0.08     0.06\n\t  2 llvmpipe-12              0.08     0.06\n\t  2 llvmpipe-13              0.08     0.06\n\t  2 llvmpipe-14              0.08     0.06\n\t  2 llvmpipe-15              0.08     0.06\n\t  2 llvmpipe-2               0.08     0.06\n\t  2 llvmpipe-3               0.08     0.06\n\t  2 llvmpipe-4               0.08     0.06\n\t  2 llvmpipe-5               0.08     0.06\n\t  2 llvmpipe-6               0.08     0.06\n\t  2 llvmpipe-7               0.08     0.06\n\t  2 llvmpipe-8               0.08     0.06\n\t  2 llvmpipe-9               0.08     0.06\n\t  2 glxinfo                  0.07     0.03\n\t  2 glxinfo:cs0              0.07     0.03\n\t  2 glxinfo:disk$0           0.07     0.03\n\t  2 glxinfo:sh0              0.07     0.03\n\t  2 glxinfo:shlo0            0.07     0.03\n\t  6 php                      0.06     0.16\n\t1711 dconf worker             0.00   233.62\n\t1694 &#91;pango] FcInit           0.00   180.56\n\t  1 lspci                    0.00     0.02\n\t  1 ps                       0.00     0.01\n\t 67 sh                       0.00     0.00\n\t 15 grep                     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  5 phoronix-test-s          0.00     0.00\n\t  2 clinfo                   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 dirname                  0.00     0.00\n\t  1 dmesg                    0.00     0.00\n\t  1 dmidecode                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 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\n1 processes running\n48 maximum processes\n<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This test measures how quickly operations are performed in an open source graphics editor. There is one quick running test to change SVG files to PNG. Looks like the test is single-threaded. Topdown profile shows few backend stalls, some frontend <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/inkscape\/\"><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-1763","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/1763","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=1763"}],"version-history":[{"count":3,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/1763\/revisions"}],"predecessor-version":[{"id":1808,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/1763\/revisions\/1808"}],"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=1763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}