I have tested clear linux against my good old arch linux.

Here are the specifications:

# Kernel

### Arch Linux

```
Linux version 5.8.12-xanmod1-1 (makepkg@archlinux) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP PREEMPT Wed, 30 Sep 2020 18:52:16 +0000
```

More about my Arch Linux’s Kernel:

Xanmod with Cachy CPU Scheduler, and mq-deadline IO sched)

Compiled with native optimization:

```
mtune=native, march=native, O3, NUMA disabled
```

### Clear Linux

```
Linux version 5.7.13-975.native (mockbuild@94d88f9413f140e797a978590df0fcba) (gcc version 10.2.1 20200804 releases/gcc-10.2.0-57-ge5907f3b63 (Clear Linux OS for Intel Architecture), GNU ld (GNU Binutils) 2.35.0.20190203) #1 SMP Wed Aug 5 03:03:05 PDT 2020
```

# Boot Time

Although this is a live boot to clear linux, the systemd-analyze should return the appropriate time after the live root is loaded.

### Arch

```
$ systemd-analyze time
Startup finished in 1.692s (kernel) + 1.000s (userspace) = 2.692s
graphical.target reached after 987ms in userspace
```

### Clear

```
$ systemd-analyze time
Startup finished in 4.695s (kernel) + 2.007s (userspace) = 6.702s
graphical.target reached after 1.894s in userspace
```

# Hardinfo Benchmarks

#### FPU Raytracing

[Lower is better]

Arch: **This Machine** Intel Core i3-4150 4x 3500.00 MHz 1.62

Clear: Intel® Core™ i3-4150 CPU @ 3.50GHz 4x 3500.00 MHz 1.66

#### FPU FFT

[Lower is better]

Arch: **This Machine** Intel Core i3-4150 4x 3500.00 MHz 1.49

Clear: Intel® Core™ i3-4150 CPU @ 3.50GHz 4x 3500.00 MHz 1.55

#### CPU N-Queens

[Lower is better]

Arch: **This Machine** Intel Core i3-4150 4x 3500.00 MHz 3.15

Clear: Intel® Core™ i3-4150 CPU @ 3.50GHz 4x 3500.00 MHz 3.63

#### CPU Fibonacci

[Lower is better]

Arch: **This Machine** Intel Core i3-4150 4x 3500.00 MHz 0.37

Clear: Intel® Core™ i3-4150 CPU @ 3.50GHz 4x 3500.00 MHz 0.37

#### CPU CryptoHash

[Higher is better]

Arch: **This Machine** Intel Core i3-4150 4x 3500.00 MHz 516.12

Clear: Intel® Core™ i3-4150 CPU @ 3.50GHz 4x 3500.00 MHz 486.19

#### CPU Blowfish (Multi-core)

[Higher is better]

Arch: **This Machine** Intel Core i3-4150 4x 3500.00 MHz 21.59

Clear: Intel® Core™ i3-4150 CPU @ 3.50GHz 4x 3500.00 MHz 21.54

#### CPU Blowfish (Multi-thread)

[Higher is better]

Arch: **This Machine** Intel Core i3-4150 4x 3500.00 MHz 35.97

Clear: Intel® Core™ i3-4150 CPU @ 3.50GHz 4x 3500.00 MHz 33.43

#### CPU Blowfish (Single-thread)

[Higher is better]

Arch: **This Machine** Intel Core i3-4150 4x 3500.00 MHz 10.73

Clear: Intel® Core™ i3-4150 CPU @ 3.50GHz 4x 3500.00 MHz 10.78

# Unigine Heaven

# My Ruby benchmark

[https://github.com/Souravgoswami/simple-ruby-benchmark/]

### Arch

```
$ ruby benchmark.rb
:: Details:
Ruby Version: 2.7.1 (x86_64-linux)
CC: gcc
CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC
--------------------------------------------------------------------------------
:: Please stop all your apps, perhaps reboot your system, and run the benchmark
:: Don't even move your mouse during the benchmark for consistent result!
| Ready? (0)...................................................................
CPU Blowfish Test
:: CPU Blowfish Iteration 1: 0.119s
:: CPU Blowfish Iteration 2: 0.068s
:: CPU Blowfish Iteration 3: 0.068s
:: CPU Blowfish Iteration 4: 0.068s
:: CPU Blowfish Iteration 5: 0.068s
:: CPU Blowfish Iteration 6: 0.068s
:: CPU Blowfish Iteration 7: 0.067s
:: CPU Blowfish Iteration 8: 0.067s
:: CPU Blowfish Iteration 9: 0.067s
:: CPU Blowfish Iteration 10: 0.071s
Total time taken: 0.731s
--------------------------------------------------------------------------------
FPU Test
:: FPU Math Iteration 1: 0.377s
:: FPU Math Iteration 2: 0.379s
:: FPU Math Iteration 3: 0.377s
:: FPU Math Iteration 4: 0.377s
:: FPU Math Iteration 5: 0.377s
:: FPU Math Iteration 6: 0.378s
:: FPU Math Iteration 7: 0.377s
:: FPU Math Iteration 8: 0.377s
:: FPU Math Iteration 9: 0.377s
:: FPU Math Iteration 10: 0.377s
Total time taken: 3.773s
--------------------------------------------------------------------------------
CPU Fibonacci Test
:: CPU Fibonacci Iteration 1: 0.476s
:: CPU Fibonacci Iteration 2: 0.438s
:: CPU Fibonacci Iteration 3: 0.412s
:: CPU Fibonacci Iteration 4: 0.408s
:: CPU Fibonacci Iteration 5: 0.396s
:: CPU Fibonacci Iteration 6: 0.401s
:: CPU Fibonacci Iteration 7: 0.403s
:: CPU Fibonacci Iteration 8: 0.402s
:: CPU Fibonacci Iteration 9: 0.407s
:: CPU Fibonacci Iteration 10: 0.419s
Total time taken: 4.162s
--------------------------------------------------------------------------------
CPU Anagram Hunt
:: CPU Anagram Iteration 1: 0.304s
:: CPU Anagram Iteration 2: 0.305s
:: CPU Anagram Iteration 3: 0.306s
:: CPU Anagram Iteration 4: 0.301s
:: CPU Anagram Iteration 5: 0.299s
:: CPU Anagram Iteration 6: 0.302s
:: CPU Anagram Iteration 7: 0.299s
:: CPU Anagram Iteration 8: 0.299s
:: CPU Anagram Iteration 9: 0.300s
:: CPU Anagram Iteration 10: 0.299s
Total time taken: 3.014s
--------------------------------------------------------------------------------
CPU 2 Million Prime Numbers
:: Prime Numbers Iteration 1: 0.326s
:: Prime Numbers Iteration 2: 0.327s
:: Prime Numbers Iteration 3: 0.325s
:: Prime Numbers Iteration 4: 0.325s
:: Prime Numbers Iteration 5: 0.328s
:: Prime Numbers Iteration 6: 0.325s
:: Prime Numbers Iteration 7: 0.330s
:: Prime Numbers Iteration 8: 0.326s
:: Prime Numbers Iteration 9: 0.325s
:: Prime Numbers Iteration 10: 0.325s
Total time taken: 3.262s
--------------------------------------------------------------------------------
CPU 2k Pi Digits
:: 2K Pi Digits Iteration 1: 0.362s
:: 2K Pi Digits Iteration 2: 0.391s
:: 2K Pi Digits Iteration 3: 0.392s
:: 2K Pi Digits Iteration 4: 0.394s
:: 2K Pi Digits Iteration 5: 0.335s
:: 2K Pi Digits Iteration 6: 0.390s
:: 2K Pi Digits Iteration 7: 0.392s
:: 2K Pi Digits Iteration 8: 0.392s
:: 2K Pi Digits Iteration 9: 0.336s
:: 2K Pi Digits Iteration 10: 0.389s
Total time taken: 3.773s
--------------------------------------------------------------------------------
Tests: 6 | Total time: 18.72s | Avg Test Time: 3.12s
```

### Clear

```
$ ruby benchmark.rb
:: Details:
Ruby Version: 2.7.1 (x86_64-linux-gnu)
CC: gcc
CFLAGS: -O2 -g -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -Wl,-z,now,-z,relro,-z,max-page-size=0x1000,-z,separate-code -Wno-error -ftree-vectorize -ftree-slp-vectorize -Wl,--enable-new-dtags -fcf-protection=return -Wl,--build-id=sha1 -Wa,-mbranches-within-32B-boundaries -march=westmere -mtune=haswell -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wp,-D_REENTRANT -fno-lto -fstack-protector-strong -mzero-caller-saved-regs=used -fPIC -fPIC
--------------------------------------------------------------------------------
:: Please stop all your apps, perhaps reboot your system, and run the benchmark
:: Don't even move your mouse during the benchmark for consistent result!
| Ready? (0)...................................................................
:: Downloading the words...
CPU Blowfish Test
:: CPU Blowfish Iteration 1: 0.067s
:: CPU Blowfish Iteration 2: 0.067s
:: CPU Blowfish Iteration 3: 0.067s
:: CPU Blowfish Iteration 4: 0.068s
:: CPU Blowfish Iteration 5: 0.067s
:: CPU Blowfish Iteration 6: 0.067s
:: CPU Blowfish Iteration 7: 0.067s
:: CPU Blowfish Iteration 8: 0.068s
:: CPU Blowfish Iteration 9: 0.067s
:: CPU Blowfish Iteration 10: 0.067s
Total time taken: 0.672s
--------------------------------------------------------------------------------
FPU Test
:: FPU Math Iteration 1: 0.410s
:: FPU Math Iteration 2: 0.411s
:: FPU Math Iteration 3: 0.410s
:: FPU Math Iteration 4: 0.411s
:: FPU Math Iteration 5: 0.410s
:: FPU Math Iteration 6: 0.410s
:: FPU Math Iteration 7: 0.412s
:: FPU Math Iteration 8: 0.410s
:: FPU Math Iteration 9: 0.410s
:: FPU Math Iteration 10: 0.411s
Total time taken: 4.105s
--------------------------------------------------------------------------------
CPU Fibonacci Test
:: CPU Fibonacci Iteration 1: 0.547s
:: CPU Fibonacci Iteration 2: 0.471s
:: CPU Fibonacci Iteration 3: 0.442s
:: CPU Fibonacci Iteration 4: 0.444s
:: CPU Fibonacci Iteration 5: 0.435s
:: CPU Fibonacci Iteration 6: 0.423s
:: CPU Fibonacci Iteration 7: 0.421s
:: CPU Fibonacci Iteration 8: 0.426s
:: CPU Fibonacci Iteration 9: 0.416s
:: CPU Fibonacci Iteration 10: 0.420s
Total time taken: 4.445s
--------------------------------------------------------------------------------
CPU Anagram Hunt
:: CPU Anagram Iteration 1: 0.302s
:: CPU Anagram Iteration 2: 0.302s
:: CPU Anagram Iteration 3: 0.303s
:: CPU Anagram Iteration 4: 0.301s
:: CPU Anagram Iteration 5: 0.302s
:: CPU Anagram Iteration 6: 0.301s
:: CPU Anagram Iteration 7: 0.301s
:: CPU Anagram Iteration 8: 0.304s
:: CPU Anagram Iteration 9: 0.302s
:: CPU Anagram Iteration 10: 0.302s
Total time taken: 3.020s
--------------------------------------------------------------------------------
CPU 2 Million Prime Numbers
:: Prime Numbers Iteration 1: 0.342s
:: Prime Numbers Iteration 2: 0.342s
:: Prime Numbers Iteration 3: 0.342s
:: Prime Numbers Iteration 4: 0.345s
:: Prime Numbers Iteration 5: 0.344s
:: Prime Numbers Iteration 6: 0.345s
:: Prime Numbers Iteration 7: 0.360s
:: Prime Numbers Iteration 8: 0.350s
:: Prime Numbers Iteration 9: 0.349s
:: Prime Numbers Iteration 10: 0.349s
Total time taken: 3.468s
--------------------------------------------------------------------------------
CPU 2k Pi Digits
:: 2K Pi Digits Iteration 1: 0.371s
:: 2K Pi Digits Iteration 2: 0.354s
:: 2K Pi Digits Iteration 3: 0.425s
:: 2K Pi Digits Iteration 4: 0.420s
:: 2K Pi Digits Iteration 5: 0.424s
:: 2K Pi Digits Iteration 6: 0.424s
:: 2K Pi Digits Iteration 7: 0.423s
:: 2K Pi Digits Iteration 8: 0.345s
:: 2K Pi Digits Iteration 9: 0.420s
:: 2K Pi Digits Iteration 10: 0.426s
Total time taken: 4.032s
--------------------------------------------------------------------------------
Tests: 6 | Total time: 19.74s | Avg Test Time: 3.29s
```

### Ruby on Arch with GCC `-mtune=native -march=native -O3`

:

```
$ ruby benchmark.rb
:: Details:
Ruby Version: 2.7.1 (x86_64-linux)
CC: gcc
CFLAGS: -O3 -pipe -fno-plt -march=native -mtune=native -fPIC
--------------------------------------------------------------------------------
:: Please stop all your apps, perhaps reboot your system, and run the benchmark
:: Don't even move your mouse during the benchmark for consistent result!
| Ready? (0)...................................................................
CPU Blowfish Test
:: CPU Blowfish Iteration 1: 0.092s
:: CPU Blowfish Iteration 2: 0.068s
:: CPU Blowfish Iteration 3: 0.068s
:: CPU Blowfish Iteration 4: 0.068s
:: CPU Blowfish Iteration 5: 0.067s
:: CPU Blowfish Iteration 6: 0.069s
:: CPU Blowfish Iteration 7: 0.067s
:: CPU Blowfish Iteration 8: 0.067s
:: CPU Blowfish Iteration 9: 0.067s
:: CPU Blowfish Iteration 10: 0.070s
Total time taken: 0.703s
--------------------------------------------------------------------------------
FPU Test
:: FPU Math Iteration 1: 0.386s
:: FPU Math Iteration 2: 0.386s
:: FPU Math Iteration 3: 0.386s
:: FPU Math Iteration 4: 0.386s
:: FPU Math Iteration 5: 0.387s
:: FPU Math Iteration 6: 0.386s
:: FPU Math Iteration 7: 0.387s
:: FPU Math Iteration 8: 0.386s
:: FPU Math Iteration 9: 0.386s
:: FPU Math Iteration 10: 0.386s
Total time taken: 3.862s
--------------------------------------------------------------------------------
CPU Fibonacci Test
:: CPU Fibonacci Iteration 1: 0.441s
:: CPU Fibonacci Iteration 2: 0.409s
:: CPU Fibonacci Iteration 3: 0.410s
:: CPU Fibonacci Iteration 4: 0.410s
:: CPU Fibonacci Iteration 5: 0.402s
:: CPU Fibonacci Iteration 6: 0.401s
:: CPU Fibonacci Iteration 7: 0.398s
:: CPU Fibonacci Iteration 8: 0.401s
:: CPU Fibonacci Iteration 9: 0.395s
:: CPU Fibonacci Iteration 10: 0.404s
Total time taken: 4.071s
--------------------------------------------------------------------------------
CPU Anagram Hunt
:: CPU Anagram Iteration 1: 0.309s
:: CPU Anagram Iteration 2: 0.310s
:: CPU Anagram Iteration 3: 0.308s
:: CPU Anagram Iteration 4: 0.303s
:: CPU Anagram Iteration 5: 0.303s
:: CPU Anagram Iteration 6: 0.302s
:: CPU Anagram Iteration 7: 0.301s
:: CPU Anagram Iteration 8: 0.302s
:: CPU Anagram Iteration 9: 0.302s
:: CPU Anagram Iteration 10: 0.302s
Total time taken: 3.042s
--------------------------------------------------------------------------------
CPU 2 Million Prime Numbers
:: Prime Numbers Iteration 1: 0.290s
:: Prime Numbers Iteration 2: 0.288s
:: Prime Numbers Iteration 3: 0.291s
:: Prime Numbers Iteration 4: 0.291s
:: Prime Numbers Iteration 5: 0.291s
:: Prime Numbers Iteration 6: 0.294s
:: Prime Numbers Iteration 7: 0.294s
:: Prime Numbers Iteration 8: 0.296s
:: Prime Numbers Iteration 9: 0.294s
:: Prime Numbers Iteration 10: 0.294s
Total time taken: 2.923s
--------------------------------------------------------------------------------
CPU 2k Pi Digits
:: 2K Pi Digits Iteration 1: 0.356s
:: 2K Pi Digits Iteration 2: 0.404s
:: 2K Pi Digits Iteration 3: 0.405s
:: 2K Pi Digits Iteration 4: 0.405s
:: 2K Pi Digits Iteration 5: 0.338s
:: 2K Pi Digits Iteration 6: 0.403s
:: 2K Pi Digits Iteration 7: 0.406s
:: 2K Pi Digits Iteration 8: 0.405s
:: 2K Pi Digits Iteration 9: 0.338s
:: 2K Pi Digits Iteration 10: 0.403s
Total time taken: 3.863s
--------------------------------------------------------------------------------
Tests: 6 | Total time: 18.46s | Avg Test Time: 3.08s
```

So the conclusion is Clear Linux is a little bit slower than Arch. Why?