Skip to content

Instantly share code, notes, and snippets.

@cyring
Created December 11, 2022 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cyring/2d9c6e9b8b46d597e8a0c71a5bd6fe36 to your computer and use it in GitHub Desktop.
Save cyring/2d9c6e9b8b46d597e8a0c71a5bd6fe36 to your computer and use it in GitHub Desktop.
Benchmark
@cyring
Copy link
Author

cyring commented Dec 11, 2022

AMD Ryzen 3 5300U with Radeon Graphics

HW CPPC Enabled

7-Zip [64] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)

x64
CPU Freq: - - - - - - - - -

RAM size:    5774 MB,  # CPU hardware threads:  16
RAM usage:   3530 MB,  # Benchmark threads:     16

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:      16753   785   2075  16297  |     279489   793   3006  23838
23:      20310   783   2643  20694  |     298682   793   3258  25842
24:      19674   786   2691  21154  |     292609   787   3266  25684
25:      19788   778   2906  22594  |     287409   722   3544  25578
----------------------------------  | ------------------------------
Avr:             783   2579  20185  |              774   3269  25236
Tot:             778   2924  22710

***
amd-pstate

7-Zip [64] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)

x64
CPU Freq: 64000000 64000000 64000000 64000000 128000000 256000000 512000000 1024000000 2048000000

RAM size:    5774 MB,  # CPU hardware threads:  16
RAM usage:   3530 MB,  # Benchmark threads:     16

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:      16389   783   2036  15944  |     288349   796   3088  24593
23:      20333   789   2624  20717  |     298521   796   3245  25828
24:      20098   792   2728  21610  |     293000   794   3240  25718
25:      19757   786   2870  22558  |     285378   784   3240  25398
----------------------------------  | ------------------------------
Avr:             788   2565  20207  |              793   3203  25384
Tot:             790   2884  22796

***
Bare-Metal

corefreq-cli -k
Linux:                                                                          
|- Release                                                      [6.0.11-arch1-1]
|- Version              [#1 SMP PREEMPT_DYNAMIC Fri, 02 Dec 2022 17:25:31 +0000]
|- Machine                                                              [x86_64]
Memory:                                                                         
|- Total RAM                                                          5912808 KB
|- Shared RAM                                                            2136 KB
|- Free RAM                                                           4860896 KB
|- Buffer RAM                                                           34572 KB
|- Total High                                                               0 KB
|- Free High                                                                0 KB
Clock Source                                                  <            hpet>
CPU-Freq driver                                               [         Missing]
Governor                                                      [         Missing]
CPU-Idle driver                                               [         Missing]
|- Idle Limit                                                 [             N/A]


7-Zip [64] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)

x64
CPU Freq: 64000000 64000000 64000000 64000000 128000000 256000000 256000000 1024000000 2048000000

RAM size:    5774 MB,  # CPU hardware threads:  16
RAM usage:   3530 MB,  # Benchmark threads:     16

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:      19570   780   2440  19038  |     308063   793   3315  26275
23:      20036   783   2607  20415  |     294809   791   3227  25507
24:      19822   785   2714  21313  |     291655   792   3231  25600
25:      19299   791   2786  22035  |     286508   788   3235  25498
----------------------------------  | ------------------------------
Avr:             785   2637  20700  |              791   3252  25720
Tot:             788   2944  23210

@cyring
Copy link
Author

cyring commented Dec 11, 2022

AMD Ryzen 9 3950X 16-Core Processor

Bare-Metal Linux 6.0.12

                              Zen UMC  [1440]                              
Controller #0                                                Dual Channel  
 Bus Rate  1833 MHz       Bus Speed 1833 MHz           DDR4 Speed 3666 MT/s
                                                                           
 Cha   CL  RCDr RCDw  RP  RAS   RC  RRDs RRDl FAW  WTRs WTRl  WR  clRR clWW
  #0   16   16   16   16   36   52    4    6   16    4   10   16    3    3 
  #1   16   16   16   16   36   52    4    6   16    4   10   16    3    3 
      CWL  RTP RdWr WrRd scWW sdWW ddWW scRR sdRR ddRR drRR drWW drWR drRRD
  #0   16    8    8    3    1    7    6    1    5    4    0    0    0    0 
  #1   16    8    9    2    1    7    6    1    5    4    0    0    0    0 
      REFI RFC1 RFC2 RFC4 RCPB RPPB  BGS:Alt  Ban  Page  CKE  CMD  GDM  ECC
  #0 14312  631  469  289   0    0   OFF  ON  R1W1   0    0   1T    ON   0 
  #1 14312  631  469  289   0    0   OFF  ON  R1W1   0    0   1T    ON   0 
      MRD:PDA   MOD:PDA  WRMPR STAG PDM RDDATA WRD  WRL  RDL  XS   XP CPDED
  #0    8  19    28  28    24  215 0:F:0   11   2   11   26  661   11    4 
  #1    8  19    28  28    24  215 0:F:0   11   2   11   28  661   11    4 
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1    16    2     65536      1024          16384   F4-3600C16-16GTZN
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1    16    2     65536      1024          16384   F4-3600C16-16GTZN

7-Zip [64] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,32 CPUs x64)

x64
CPU Freq: - - - - - - - - -

RAM size:   32010 MB,  # CPU hardware threads:  32
RAM usage:   7060 MB,  # Benchmark threads:     32

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:     120836  3009   3906 117550  |    1428766  3168   3846 121844
23:     111879  2946   3870 113992  |    1412569  3169   3857 122231
24:     108449  2961   3938 116605  |    1392209  3171   3853 122198
25:     105747  2968   4068 120739  |    1378592  3188   3849 122686
----------------------------------  | ------------------------------
Avr:            2971   3945 117221  |             3174   3851 122240
Tot:            3073   3898 119730

***
amd-pstate Linux 6.0.12

7-Zip [64] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,32 CPUs x64)

x64
CPU Freq: - - - - - - - - -

RAM size:   32010 MB,  # CPU hardware threads:  32
RAM usage:   7060 MB,  # Benchmark threads:     32

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:     118806  2979   3880 115575  |    1423901  3162   3840 121429
23:     110803  2958   3817 112896  |    1388848  3127   3844 120179
24:     106871  2950   3895 114908  |    1364682  3130   3827 119782
25:     104403  2958   4030 119203  |    1365997  3172   3833 121565
----------------------------------  | ------------------------------
Avr:            2961   3905 115645  |             3148   3836 120739
Tot:            3054   3871 118192

***
amd_pstate_epp


cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference
performance
...
performance


Linux:                                                                          
|- Release                                               [6.0.12-1-cachyos-bore]
|- Version              [#1 SMP PREEMPT_DYNAMIC Sun, 11 Dec 2022 17:21:39 +0000]
|- Machine                                                              [x86_64]
Memory:                                                                         
|- Total RAM                                                         32776796 KB
|- Shared RAM                                                           66780 KB
|- Free RAM                                                          29644988 KB
|- Buffer RAM                                                           94808 KB
|- Total High                                                               0 KB
|- Free High                                                                0 KB
Clock Source                                                  <            hpet>
CPU-Freq driver                                               [  amd_pstate_epp]
Governor                                                      [         Missing]
CPU-Idle driver                                               [         Missing]
|- Idle Limit                                                 [             N/A]


7-Zip [64] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,32 CPUs x64)

x64
CPU Freq: 64000000 64000000 64000000 - 128000000 256000000 512000000 - 2048000000

RAM size:   32008 MB,  # CPU hardware threads:  32
RAM usage:   7060 MB,  # Benchmark threads:     32

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:     118465  2944   3915 115243  |    1424869  3148   3861 121511
23:     111441  2938   3865 113546  |    1410380  3158   3865 122042
24:     106675  2896   3961 114697  |    1375411  3132   3855 120724
25:     105233  2936   4093 120152  |    1369411  3160   3857 121868
----------------------------------  | ------------------------------
Avr:            2928   3958 115910  |             3149   3859 121536
Tot:            3039   3909 118723

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment