{"id":1356,"date":"2024-02-03T15:09:54","date_gmt":"2024-02-03T15:09:54","guid":{"rendered":"https:\/\/mvermeulen.org\/perf\/?page_id=1356"},"modified":"2024-02-03T20:11:09","modified_gmt":"2024-02-03T20:11:09","slug":"aircrack-ng","status":"publish","type":"page","link":"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/aircrack-ng\/","title":{"rendered":"aircrack-ng"},"content":{"rendered":"\n<p>A tool for assessing WiFi\/WLAN network security. Overall profile runs on all cores and overall not long running.<\/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-18.png\" alt=\"\" class=\"wp-image-1386\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/systemtime-18.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/systemtime-18-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/systemtime-18-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Topdown profile shows a high retirement rate and some backend stalls. The frontend stalls are very low as are speculation misses.<\/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-18.png\" alt=\"\" class=\"wp-image-1388\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/amdtopdown-18.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/amdtopdown-18-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/amdtopdown-18-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>AMD metrics show very little floating point, and very little L2 access. Branches are also extremely low and also branch misprediction. Backend stalls are CPU and not memory.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              106.221\non_cpu               0.849          # 13.58 \/ 16 cores\nutime                1438.359\nstime                4.281\nnvcsw                419767         # 49.29%\nnivcsw               431839         # 50.71%\ninblock              0              # 0.00\/sec\nonblock              12768          # 120.20\/sec\ncpu-clock            1442674894509  # 1442.675 seconds\ntask-clock           1442683865829  # 1442.684 seconds\npage faults          179826         # 124.647\/sec\ncontext switches     851918         # 590.509\/sec\ncpu migrations       356            # 0.247\/sec\nmajor page faults    2              # 0.001\/sec\nminor page faults    179822         # 124.644\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             100670205778   # 8.679 branches per 1000 inst\nbranch misses        386381901      # 0.38% branch miss\nconditional          65648933549    # 5.659 conditional branches per 1000 inst\nindirect             2539166709     # 0.219 indirect branches per 1000 inst\ncpu-cycles           5661422600351  # 3.33 GHz\ninstructions         11574238266437 # 2.04 IPC\nslots                11321536244112 #\nretiring             3897694469452  # 34.4% (63.0%) high\n-- ucode             342319396      #     0.0%\n-- fastpath          3897352150056  #    34.4%\nfrontend             75979705092    #  0.7% ( 1.2%) low\n-- latency           49559680782    #     0.4%\n-- bandwidth         26420024310    #     0.2%\nbackend              2208436978580  # 19.5% (35.7%)\n-- cpu               1992986954518  #    17.6%\n-- memory            215450024062   #     1.9%\nspeculation          2889765213     #  0.0% ( 0.0%) low\n-- branch mispredict 2706752105     #     0.0%\n-- pipeline restart  183013108      #     0.0%\nsmt-contention       5136520722620  # 45.4% ( 0.0%)\ncpu-cycles           5656143520750  # 3.27 GHz\ninstructions         11560517762361 # 2.04 IPC\ninstructions         3854594606822  # 0.300 l2 access per 1000 inst\nl2 hit from l1       1103799129     # 6.59% l2 miss\nl2 miss from l1      62982112       #\nl2 hit from l2 pf    38688005       #\nl3 hit from l2 pf    6876032        #\nl3 miss from l2 pf   6353595        #\ninstructions         3849645119382  # 2.221 float per 1000 inst\nfloat 512            59             # 0.000 AVX-512 per 1000 inst\nfloat 256            672            # 0.000 AVX-256 per 1000 inst\nfloat 128            8549859082     # 2.221 AVX-128 per 1000 inst\nfloat MMX            0              # 0.000 MMX per 1000 inst\nfloat scalar         0              # 0.000 scalar per 1000 inst\ninstructions         2672501        #\nopcache              999922         # 374.152 opcache per 1000 inst\nopcache miss         536175         # 53.6% opcache miss rate\nl1 dTLB miss         5747           # 2.150 L1 dTLB per 1000 inst\nl2 dTLB miss         1164           # 0.436 L2 dTLB per 1000 inst\ninstructions         2713299        #\nicache               1315776        # 484.936 icache per 1000 inst\nicache miss          109361         #  8.3% icache miss rate\nl1 iTLB miss         11             # 0.004 L1 iTLB per 1000 inst\nl2 iTLB miss         0              # 0.000 L2 iTLB per 1000 inst\ntlb flush            19             # 0.007 TLB flush per 1000 inst\n<\/code><\/pre>\n\n\n\n<p>Intel metrics have slight differences, more of the backend stalls are tagged as memory. The L2 access is still low. This report now has L1\/L2\/L3\/dram metrics and almost all is with L1 and not further in the memory hierarchy.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              105.465\non_cpu               0.855          # 13.68 \/ 16 cores\nutime                1441.663\nstime                1.369\nnvcsw                239565         # 50.45%\nnivcsw               235338         # 49.55%\ninblock              3440           # 32.62\/sec\nonblock              1528           # 14.49\/sec\ncpu-clock            1443138290326  # 1443.138 seconds\ntask-clock           1443145572727  # 1443.146 seconds\npage faults          169266         # 117.290\/sec\ncontext switches     475213         # 329.290\/sec\ncpu migrations       450            # 0.312\/sec\nmajor page faults    50             # 0.035\/sec\nminor page faults    169214         # 117.254\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             55148794625    # 8.756 branches per 1000 inst\nbranch misses        65319097       # 0.12% branch miss\nconditional          55148809537    # 8.756 conditional branches per 1000 inst\nindirect             14769959782    # 2.345 indirect branches per 1000 inst\nslots                7326018436796  #\nretiring             3279104639029  # 44.8% (44.8%)\n-- ucode             59220772205    #     0.8%\n-- fastpath          3219883866824  #    44.0%\nfrontend             1900527422973  # 25.9% (25.9%)\n-- latency           1858995130353  #    25.4%\n-- bandwidth         41532292620    #     0.6%\nbackend              2133027687843  # 29.1% (29.1%)\n-- cpu               1050005934149  #    14.3%\n-- memory            1083021753694  #    14.8%\nspeculation          3931277836     #  0.1% ( 0.1%) low\n-- branch mispredict 2579533304     #     0.0%\n-- pipeline restart  1351744532     #     0.0%\nsmt-contention       0              #  0.0% ( 0.0%)\ncpu-cycles           2467183520151  # 1.46 GHz\ninstructions         3282486858868  # 1.33 IPC\nl2 access            953649962      # 0.294 l2 access per 1000 inst\nl2 miss              126532226      # 13.27% l2 miss\ncpu-cycles           3238078056998  # 24.5% memory latency\nload stalls          794625463536   # 24.4% l1 bound\nl1 miss              5181123582     #  0.1% l2 bound\nl2 miss              3243273034     #  0.1% l3 bound\nl3 miss              263341563      #  0.0% dram bound\nstore_stalls         209677084      #  0.0% store bound\n<\/code><\/pre>\n\n\n\n<p>Process overview says mostly aircrack-ng proceses.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>447 processes\n\t 81 aircrack-ng          24449.23    39.78\n\t 68 clinfo                  16.53     6.21\n\t 38 vulkaninfo               1.14     1.14\n\t  4 vulkani:disk$0           0.12     0.12\n\t  6 glxinfo:gdrv0            0.10     0.07\n\t  6 glxinfo:gl0              0.10     0.07\n\t  6 php                      0.06     0.07\n\t  2 llvmpipe-0               0.06     0.06\n\t  2 llvmpipe-1               0.06     0.06\n\t  2 llvmpipe-10              0.06     0.06\n\t  2 llvmpipe-11              0.06     0.06\n\t  2 llvmpipe-12              0.06     0.06\n\t  2 llvmpipe-13              0.06     0.06\n\t  2 llvmpipe-14              0.06     0.06\n\t  2 llvmpipe-15              0.06     0.06\n\t  2 llvmpipe-2               0.06     0.06\n\t  2 llvmpipe-3               0.06     0.06\n\t  2 llvmpipe-4               0.06     0.06\n\t  2 llvmpipe-5               0.06     0.06\n\t  2 llvmpipe-6               0.06     0.06\n\t  2 llvmpipe-7               0.06     0.06\n\t  2 llvmpipe-8               0.06     0.06\n\t  2 llvmpipe-9               0.06     0.06\n\t  2 glxinfo                  0.05     0.04\n\t  2 glxinfo:cs0              0.05     0.04\n\t  2 glxinfo:disk$0           0.05     0.04\n\t  2 glxinfo:sh0              0.05     0.03\n\t  2 glxinfo:shlo0            0.05     0.03\n\t  6 clang                    0.04     0.08\n\t  3 rocminfo                 0.03     0.00\n\t  1 lspci                    0.00     0.02\n\t 82 sh                       0.00     0.00\n\t 13 gcc                      0.00     0.00\n\t 11 gsettings                0.00     0.00\n\t 10 sed                      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 gmain                    0.00     0.00\n\t  3 awk                      0.00     0.00\n\t  3 ls                       0.00     0.00\n\t  3 tr                       0.00     0.00\n\t  2 cc                       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 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 ps                       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 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 look as follows<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>      336713) aircrack-ng      cpu=9 start=5.60  finish=35.64\n        336714) aircrack-ng      cpu=0 start=5.60  finish=35.64\n          336717) aircrack-ng      cpu=7 start=5.60  finish=5.61 \n            336718) aircrack-ng      cpu=14 start=5.61  finish=5.61 \n          336719) aircrack-ng      cpu=0 start=5.61  finish=5.61 \n          336720) aircrack-ng      cpu=9 start=5.61  finish=5.61 \n            336721) aircrack-ng      cpu=3 start=5.61  finish=5.61 \n            336722) sed              cpu=13 start=5.61  finish=5.61 \n          336723) aircrack-ng      cpu=0 start=5.61  finish=5.61 \n            336724) ls               cpu=7 start=5.61  finish=5.61 \n            336725) sed              cpu=14 start=5.61  finish=5.61 \n          336726) aircrack-ng      cpu=13 start=5.61  finish=5.62 \n          336727) aircrack-ng      cpu=9 start=5.62  finish=5.62 \n            336728) aircrack-ng      cpu=2 start=5.62  finish=5.62 \n            336729) sed              cpu=4 start=5.62  finish=5.62 \n          336730) aircrack-ng      cpu=0 start=5.63  finish=35.64\n          336731) aircrack-ng      cpu=8 start=5.63  finish=35.64\n          336732) aircrack-ng      cpu=1 start=5.63  finish=35.64\n          336733) aircrack-ng      cpu=9 start=5.63  finish=35.64\n          336734) aircrack-ng      cpu=2 start=5.63  finish=35.64\n          336735) aircrack-ng      cpu=10 start=5.63  finish=35.64\n          336736) aircrack-ng      cpu=3 start=5.63  finish=35.64\n          336737) aircrack-ng      cpu=11 start=5.63  finish=35.64\n          336738) aircrack-ng      cpu=4 start=5.63  finish=35.64\n          336739) aircrack-ng      cpu=12 start=5.63  finish=35.64\n          336740) aircrack-ng      cpu=5 start=5.63  finish=35.64\n          336741) aircrack-ng      cpu=13 start=5.63  finish=35.64\n          336742) aircrack-ng      cpu=6 start=5.63  finish=35.64\n          336743) aircrack-ng      cpu=14 start=5.63  finish=35.64\n          336744) aircrack-ng      cpu=7 start=5.63  finish=35.64\n          336745) aircrack-ng      cpu=15 start=5.63  finish=35.64\n        336715) tr               cpu=0 start=5.60  finish=35.64\n        336716) awk              cpu=4 start=5.60  finish=35.64\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A tool for assessing WiFi\/WLAN network security. Overall profile runs on all cores and overall not long running. Topdown profile shows a high retirement rate and some backend stalls. The frontend stalls are very low as are speculation misses. AMD <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/aircrack-ng\/\"><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-1356","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/1356","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=1356"}],"version-history":[{"count":2,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/1356\/revisions"}],"predecessor-version":[{"id":1389,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/1356\/revisions\/1389"}],"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=1356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}