Eljött a linux (desktop?) éve

Van már linuxos PassMark test:
 

PassMark PerformanceTest Linux


AMD Ryzen 7 PRO 4750G with Radeon Graphics (x86_64)
8 cores @ 3600 MHz  |  30.7 GiB RAM
Number of Processes: 16  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            70219.82 MOps/s
Floating Point Math                Complete            41652.19 MOps/s
Prime Numbers                      Complete            35.89 Million Primes/s
Sorting                            Complete            30212.16 Thousand Strings/s
Encryption                         Complete            19571.75 MB/s
Compression                        Complete            303.17 MB/s
CPU Single Threaded                Complete            2789.89 MOps/s
Physics                            Complete            830.23 Frames/s
Extended Instructions (SSE)        Complete            18507.04 Million Matrices/s
Cross-platform Mark                Complete            42693.29

CPU Mark                           Complete            20489.55

 

Hát ezt már nem gondoltam volna :)  (A la paraszt bá'...)

Hozzászólások

$ sudo apt install libncurses5  # és utána megy :)
Összehasonlításképpen egy régebbi Intel laptop CPU-val:

                          PassMark PerformanceTest Linux


Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz (x86_64)
2 cores @ 2700 MHz  |  7.6 GiB RAM
Number of Processes: 4  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 1/3
Tests                              Status              Result
Integer Math                       Complete            8277 Million Operations/s
Floating Point Math                Complete            4265 Million Operations/s
Prime Numbers                      Complete            13 Million Primes/s
Sorting                            Complete            6014 Thousand Strings/s
Encryption                         Complete            785 MB/s
Compression                        Complete            37 MB/s
CPU Single Threaded                Complete            1509 Million Operations/s
Physics                            Complete            284 Frames/s
Extended Instructions (SSE)        Running             -

SSE rész úgy néz ki, elakadt, ezért eltekintettem tőle.

Egyúttal egy fiatalabb laptop proci, SSE rész lefutott:

Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (x86_64)
4 cores @ 3400 MHz  |  15.5 GiB RAM
Number of Processes: 8  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            24818.82 MOps/s
Floating Point Math                Complete            15417.52 MOps/s
Prime Numbers                      Complete            21.97 Million Primes/s
Sorting                            Complete            13585.66 Thousand Strings/s
Encryption                         Complete            1991.82 MB/s
Compression                        Complete            54.72 MB/s
CPU Single Threaded                Complete            2114.77 MOps/s
Physics                            Complete            522.98 Frames/s
Extended Instructions (SSE)        Complete            1795.62 Million Matrices/s
Cross-platform Mark                Complete            18473.19

CPU Mark                           Complete            5171.15

ARM fronton is két hardver eredménye:

Hardkernel ODROID-C2
Cortex-A53 (aarch64)
4 cores @ 1536 MHz  |  1.9 GiB RAM
Number of Processes: 4  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            9209.19 MOps/s
Floating Point Math                Complete            1211.57 MOps/s
Prime Numbers                      Complete            2.86 Million Primes/s
Sorting                            Complete            2589.21 Thousand Strings/s
Encryption                         Complete            21.71 MB/s
Compression                        Complete            2.81 MB/s
CPU Single Threaded                Complete            184.45 MOps/s
Physics                            Complete            59.51 Frames/s
Extended Instructions (NEON)       Complete            155.10 Million Matrices/s
Cross-platform Mark                Complete            1839.89

CPU Mark                           Complete            188.08

 

Raspberry Pi 4 Model B Rev 1.1
Cortex-A72 (aarch64)
4 cores @ 1500 MHz  |  3.7 GiB RAM
Number of Processes: 4  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            10751.61 MOps/s
Floating Point Math                Complete            3765.49 MOps/s
Prime Numbers                      Complete            3.16 Million Primes/s
Sorting                            Complete            2721.72 Thousand Strings/s
Encryption                         Complete            62.14 MB/s
Compression                        Complete            6.96 MB/s
CPU Single Threaded                Complete            396.56 MOps/s
Physics                            Complete            78.29 Frames/s
Extended Instructions (NEON)       Complete            601.56 Million Matrices/s
Cross-platform Mark                Complete            2504.76

CPU Mark                           Complete            505.13

A fejlődés inkább a floating point feldolgozás részen tapasztalható, ami a NEON eredményt is befolyásolja.
x86 ezekhez az ARM-okhoz képest is a floating point terén igazán erős, integeres számításban hamar beérhetik az ARM-os lapkák.

Szerkesztve: 2021. 05. 01., szo – 19:48

És egy szintén 2010q1-ben gyártottból 2 darab [DUAL] alaplapon:

Intel(R) Xeon(R) CPU           X5670  @ 2.93GHz (x86_64)
12 cores @ 2934 MHz  |  47.2 GiB RAM
Number of Processes: 24  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            54999.31 MOps/s
Floating Point Math                Complete            24742.72 MOps/s
Prime Numbers                      Complete            68.74 Million Primes/s
Sorting                            Complete            31021.32 Thousand Strings/s
Encryption                         Complete            1984.82 MB/s
Compression                        Complete            213.75 MB/s
CPU Single Threaded                Complete            1528.69 MOps/s
Physics                            Complete            1017.98 Frames/s
Extended Instructions (SSE)        Complete            6716.98 Million Matrices/s
Cross-platform Mark                Complete            39628.31

CPU Mark                           Complete            9951.14

Jól látszik, hogy a floating point és SSE/AVX irányban (multimédia igények) és hardvertitkosító környékén történt hatalmas előrelépés, az integeres (szerver) irányban mérsékeltebb a fejlődés.

Ezt jó tudni, szoktam nézegetni a passmark eredményeket. Nem tudtam hogy van linux meg macos verziója is. Az M1 macbook eredményén meglepődtem.

Jó régi PC (3gen i7)

PassMark PerformanceTest Linux

Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (x86_64)
4 cores @ 3900 MHz  |  7.7 GiB RAM
Number of Processes: 8  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            24377.33 MOps/s
Floating Point Math                Complete            12838.84 MOps/s
Prime Numbers                      Complete            25.45 Million Primes/s
Sorting                            Complete            15294.85 Thousand Strings/s
Encryption                         Complete            2328.12 MB/s
Compression                        Complete            109.29 MB/s
CPU Single Threaded                Complete            2219.80 MOps/s
Physics                            Complete            442.47 Frames/s
Extended Instructions (SSE)        Complete            4452.29 Million Matrices/s
Cross-platform Mark                Complete            18964.46

CPU Mark                           Complete            6998.43

Macbook pro 15 2019

PassMark PerformanceTest Mac

MacBookPro15,1
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (x86_64)
6 cores @ 2600 MHz  |  32.0 GiB RAM
Number of Processes: 12  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            42278.61 MOps/s
Floating Point Math                Complete            24140.12 MOps/s
Prime Numbers                      Complete            34.54 Million Primes/s
Sorting                            Complete            20674.49 Thousand Strings/s
Encryption                         Complete            4711.09 MB/s
Compression                        Complete            168.43 MB/s
CPU Single Threaded                Complete            2732.29 MOps/s
Physics                            Complete            800.79 Frames/s
Extended Instructions (SSE)        Complete            7702.82 Million Matrices/s
Cross-platform Mark                Complete            30858.76

CPU Mark                           Complete            11821.50

Macbook pro 13 2020 (M1)
PassMark PerformanceTest Mac

MacBookPro17,1
Apple M1 (arm64)
8 cores @ 3200 MHz  |  16.0 GiB RAM
Number of Processes: 8  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            36688.35 MOps/s
Floating Point Math                Complete            37488.81 MOps/s
Prime Numbers                      Complete            158.18 Million Primes/s
Sorting                            Complete            22513.62 Thousand Strings/s
Encryption                         Complete            9145.75 MB/s
Compression                        Complete            159.03 MB/s
CPU Single Threaded                Complete            3566.95 MOps/s
Physics                            Complete            1377.49 Frames/s
Extended Instructions (NEON)       Complete            8857.41 Million Matrices/s
Cross-platform Mark                Complete            33526.79

CPU Mark                           Complete            15423.26

"Everything fails, all the time."

Hát a Linux Desktop éve az valamikor az IPv4 elfogyása okozta világvége táján volt várható... Ja, hogy ez a fajta világvég még nincs itt...?

AMD Ryzen 5 2600X Six-Core Processor (x86_64)
6 cores @ 3600 MHz  |  19.5 GiB RAM
Number of Processes: 12  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            50512.98 MOps/s
Floating Point Math                Complete            26217.78 MOps/s
Prime Numbers                      Complete            36.66 Million Primes/s
Sorting                            Complete            22787.03 Thousand Strings/s
Encryption                         Complete            15315.44 MB/s
Compression                        Complete            206.28 MB/s
CPU Single Threaded                Complete            2527.51 MOps/s
Physics                            Complete            710.45 Frames/s
Extended Instructions (SSE)        Complete            7579.00 Million Matrices/s
Cross-platform Mark                Complete            35829.97

CPU Mark                           Complete            14547.17

nem hiszem h ettől jön el a linux desktop éve, de én is egész pozitívan csalódtam.

Szerkesztve: 2021. 05. 01., szo – 22:22

   

                          PassMark PerformanceTest Linux


AMD A8-5600K APU with Radeon(tm) HD Graphics (x86_64)
2 cores @ 3600 MHz  |  10.7 GiB RAM
Number of Processes: 4  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            19398.81 MOps/s
Floating Point Math                Complete            5158.50 MOps/s
Prime Numbers                      Complete            10.39 Million Primes/s
Sorting                            Complete            6028.20 Thousand Strings/s
Encryption                         Complete            1000.55 MB/s
Compression                        Complete            45.85 MB/s
CPU Single Threaded                Complete            1435.78 MOps/s
Physics                            Complete            202.96 Frames/s
Extended Instructions (SSE)        Complete            1055.33 Million Matrices/s
Cross-platform Mark                Complete            8128.65

CPU Mark                           Complete            2842.10

Nem egy mai cpu, 2012-es, de még mostanság is elmegy.

                         PassMark PerformanceTest Linux


Intel(R) Core(TM)2 Duo CPU     L9600  @ 2.13GHz (x86_64)
2 cores @ 2134 MHz  |  3.7 GiB RAM
Number of Processes: 2  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            4244.63 MOps/s
Floating Point Math                Complete            2221.92 MOps/s
Prime Numbers                      Complete            8.06 Million Primes/s
Sorting                            Complete            2365.86 Thousand Strings/s
Encryption                         Complete            244.76 MB/s
Compression                        Complete            17.09 MB/s
CPU Single Threaded                Complete            950.30 MOps/s
Physics                            Complete            139.92 Frames/s
Extended Instructions (SSE)        Complete            379.95 Million Matrices/s
Cross-platform Mark                Complete            2776.00

CPU Mark                           Complete            982.42

Megnéztem a seedelésre használt laptopban is... :D Nem mai cpu ez se.

Intel(R) Pentium(R) CPU G870 @ 3.10GHz (x86_64)
2 cores @ 3100 MHz  |  3.7 GiB RAM
Number of Processes: 2  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            7176.73 MOps/s
Floating Point Math                Complete            3732.85 MOps/s
Prime Numbers                      Complete            12.08 Million Primes/s
Sorting                            Complete            4496.60 Thousand Strings/s
Encryption                         Complete            342.56 MB/s
Compression                        Complete            31.56 MB/s
CPU Single Threaded                Complete            1564.29 MOps/s
Physics                            Complete            221.18 Frames/s
Extended Instructions (SSE)        Complete            1100.39 Million Matrices/s
Cross-platform Mark                Complete            4653.09

CPU Mark                           Complete            1733.64

Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz (x86_64)
4 cores @ 2415 MHz  |  3.6 GiB RAM
Number of Processes: 4  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            7383.37 MOps/s
Floating Point Math                Complete            1724.65 MOps/s
Prime Numbers                      Complete            4.97 Million Primes/s
Sorting                            Complete            3931.14 Thousand Strings/s
Encryption                         Complete            341.02 MB/s
Compression                        Complete            31.84 MB/s
CPU Single Threaded                Complete            683.71 MOps/s
Physics                            Complete            120.11 Frames/s
Extended Instructions (SSE)        Complete            478.88 Million Matrices/s
Cross-platform Mark                Complete            2710.03

CPU Mark                           Complete            1225.86

És a leglassabb, ám legkisebb ARM lapkám, amit a frankó GPIO képessége miatt a mai napig használok: PocketBeagle:
Ez sem bírt a SIMD teszttel.

TI AM335x PocketBeagle
Cortex-A8 (armv7l)
1 cores @ 1000 MHz  |  0 MiB RAM
Number of Processes: 1  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 1/3
Tests                              Status              Result
Integer Math                       Complete            377.80 MOps/s
Floating Point Math                Complete            73.91 MOps/s
Prime Numbers                      Complete            0.08 Million Primes/s
Sorting                            Complete            156.24 Thousand Strings/s
Encryption                         Complete            24.96 MB/s
Compression                        Complete            1.54 MB/s
CPU Single Threaded                Complete            88.99 MOps/s
Physics                            Complete            5.92 Frames/s
Extended Instructions (NEON)       Running             -
Cross-platform Mark                Complete            68.61

CPU Mark                           Incomplete          -

Érdemes összevetni a fenti, normális ARM lapkákkal. Ég és föld a tempóbeli különbség a 16 éve kiadott sorozatindító ARM Cortex A8 és az 5 éve megjelent ARM Cortex A72 között.
Kíváncsi lennék egy ARM Cortex A78 alapú lapkára, továbbá egy ARM Cortex X1 lapra is.

Intel(R) Xeon(R) CPU           X3363  @ 2.83GHz (x86_64)
4 cores @ 2826 MHz  |  7.6 GiB RAM
Number of Processes: 4  |  Test Iterations: 3  |  Test Duration: Short

                                                       Iteration: 3/3
Tests                              Status              Result
Integer Math                       Complete            11984.00 MOps/s
Floating Point Math                Complete            7044.31 MOps/s
Prime Numbers                      Complete            20.44 Million Primes/s
Sorting                            Complete            6189.43 Thousand Strings/s
Encryption                         Complete            671.09 MB/s
Compression                        Complete            48.92 MB/s
CPU Single Threaded                Complete            1237.16 MOps/s
Physics                            Complete            260.60 Frames/s
Extended Instructions (SSE)        Complete            936.75 Million Matrices/s
Cross-platform Mark                Complete            7675.53

CPU Mark                           Complete            2596.96

Nálam nem működik: feljön ez a táblázat, ami mindenkinek, de 0-kkal, és utána nem csinál semmit. Venti nem pörög, a top alatt nem látszik terhelés. Valami scam oldalról töltöttem le véletlenül egy trójait?

Intel(R) Celeron(R) CPU J3455 @ 1.50GHz (x86_64)
4 cores @ 2300 MHz  |  7.5 GiB RAM
Number of Processes: 4  |  Test Iterations: 1  |  Test Duration: Medium
--------------------------------------------------------------------------
CPU Mark:                          2077
  Integer Math                     10345 Million Operations/s
  Floating Point Math              2723 Million Operations/s
  Prime Numbers                    4 Million Primes/s
  Sorting                          4412 Thousand Strings/s
  Encryption                       1407 MB/s
  Compression                      30 MB/s
  CPU Single Threaded              814 Million Operations/s
  Physics                          135 Frames/s
  Extended Instructions (SSE)      958 Million Matrices/s

Memory Mark:                       821
  Database Operations              906 Thousand Operations/s
  Memory Read Cached               6316 MB/s
  Memory Read Uncached             4458 MB/s
  Memory Write                     3555 MB/s
  Available RAM                    1520 Megabytes
  Memory Latency                   71 Nanoseconds
  Memory Threaded                  9992 MB/s
--------------------------------------------------------------------------

Az elmélet az, amikor mindent ismerünk, de semmi nem működik. A gyakorlat az, amikor minden működik, de senki nem tudja, miért.