# Syd benchmark: linux-20241225045250

| Command | Mean [s] | Min [s] | Max [s] | Relative |
|:---|---:|---:|---:|---:|
| `sudo runsc do /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 185.435 ± 0.086 | 185.383 | 185.534 | 1.68 ± 0.00 |
| `bash /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 110.569 ± 0.045 | 110.521 | 110.610 | 1.00 |
| `syd -q -ppaludis -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 164.592 ± 1.870 | 162.634 | 166.360 | 1.49 ± 0.02 |
| `syd -ppaludis -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 162.584 ± 0.445 | 162.074 | 162.894 | 1.47 ± 0.00 |
| `syd -q -ppaludis -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 164.179 ± 0.999 | 163.037 | 164.888 | 1.48 ± 0.01 |
| `syd -ppaludis -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 162.617 ± 0.724 | 161.793 | 163.152 | 1.47 ± 0.01 |
| `syd -q -ppaludis -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 164.088 ± 1.299 | 162.591 | 164.916 | 1.48 ± 0.01 |
| `syd -ppaludis -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 162.920 ± 0.451 | 162.578 | 163.431 | 1.47 ± 0.00 |
| `syd -q -poci -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 169.933 ± 0.605 | 169.244 | 170.380 | 1.54 ± 0.01 |
| `syd -poci -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 172.429 ± 1.175 | 171.596 | 173.772 | 1.56 ± 0.01 |
| `syd -q -poci -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 171.301 ± 0.854 | 170.576 | 172.243 | 1.55 ± 0.01 |
| `syd -poci -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 172.887 ± 4.522 | 167.671 | 175.718 | 1.56 ± 0.04 |
| `syd -q -poci -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 172.642 ± 1.000 | 171.953 | 173.788 | 1.56 ± 0.01 |
| `syd -poci -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh` | 170.935 ± 2.999 | 167.498 | 173.024 | 1.55 ± 0.03 |

## Machine

```
alip@caissa.ai
--------------
OS: Arch Linux x86_64
Kernel: 6.10.9-arch1-2
Uptime: 101 days, 20 hours, 43 mins
Packages: 1057 (pacman)
Shell: zsh 5.9
Terminal: /dev/pts/11
CPU: AMD Ryzen 7 7700 (16) @ 5.389GHz
GPU: AMD ATI 0b:00.0 Raphael
Memory: 17111MiB / 63441MiB
```

## Syd

```
syd 3.29.4-456-g3932f550e (Dreamy Galileo)
Author: Ali Polatel
License: GPL-3.0
Features: -debug, +oci
Landlock ABI 5 is fully enforced.
LibSeccomp: v2.5.5 api:7
Host (build): 6.10.9-arch1-2 x86_64
Host (target): 6.10.9-arch1-2 x86_64
Environment: gnu-linux-64
CPU: 16 (8 cores), little-endian
CPUFLAGS: avx,avx2,bmi1,bmi2,cmpxchg16b,f16c,fma,fxsr,lzcnt,movbe,pclmulqdq,popcnt,rdrand,sse,sse2,sse3,sse4.1,sse4.2,ssse3,xsave,xsaveopt
Store Bypass Status: Speculation feature is enabled, mitigation is disabled.
Indirect Branch Status: Speculation feature is enabled, mitigation is disabled.
L1D Flush Status: Speculation feature is force-disabled, mitigation is enabled.
```

## GVisor

```
runsc version release-20241202.0
spec: 1.1.0-rc.1
```

## Output

```
Benchmark 1: sudo runsc do /tmp/tmp.S9JxIePWPl/linux-compile.sh
  Time (mean ± σ):     185.435 s ±  0.086 s    [User: 0.005 s, System: 0.000 s]
  Range (min … max):   185.383 s … 185.534 s    3 runs

  Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '
--warmup' or '--prepare' options.

Benchmark 2: bash /tmp/tmp.S9JxIePWPl/linux-compile.sh
  Time (mean ± σ):     110.569 s ±  0.045 s    [User: 1458.580 s, System: 65.809 s]
  Range (min … max):   110.521 s … 110.610 s    3 runs

Benchmark 3: syd -q -ppaludis -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
  Time (mean ± σ):     164.592 s ±  1.870 s    [User: 1538.892 s, System: 455.951 s]
  Range (min … max):   162.634 s … 166.360 s    3 runs

Benchmark 4: syd -ppaludis -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
  Time (mean ± σ):     162.584 s ±  0.445 s    [User: 1534.423 s, System: 436.373 s]
  Range (min … max):   162.074 s … 162.894 s    3 runs

Benchmark 5: syd -q -ppaludis -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
  Time (mean ± σ):     164.179 s ±  0.999 s    [User: 1539.643 s, System: 450.553 s]
  Range (min … max):   163.037 s … 164.888 s    3 runs

Benchmark 6: syd -ppaludis -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
  Time (mean ± σ):     162.617 s ±  0.724 s    [User: 1538.646 s, System: 433.423 s]
  Range (min … max):   161.793 s … 163.152 s    3 runs

Benchmark 7: syd -q -ppaludis -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
  Time (mean ± σ):     164.088 s ±  1.299 s    [User: 1542.751 s, System: 446.140 s]
  Range (min … max):   162.591 s … 164.916 s    3 runs

Benchmark 8: syd -ppaludis -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
  Time (mean ± σ):     162.920 s ±  0.451 s    [User: 1537.853 s, System: 438.139 s]
  Range (min … max):   162.578 s … 163.431 s    3 runs

Benchmark 9: syd -q -poci -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
  Time (mean ± σ):     169.933 s ±  0.605 s    [User: 1514.319 s, System: 488.083 s]
  Range (min … max):   169.244 s … 170.380 s    3 runs

Benchmark 10: syd -poci -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh                                                                         [0/29656]
  Time (mean ± σ):     172.429 s ±  1.175 s    [User: 1514.266 s, System: 517.428 s]
  Range (min … max):   171.596 s … 173.772 s    3 runs

Benchmark 11: syd -q -poci -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
  Time (mean ± σ):     171.301 s ±  0.854 s    [User: 1520.527 s, System: 496.863 s]
  Range (min … max):   170.576 s … 172.243 s    3 runs

Benchmark 12: syd -poci -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
  Time (mean ± σ):     172.887 s ±  4.522 s    [User: 1505.563 s, System: 531.388 s]
  Range (min … max):   167.671 s … 175.718 s    3 runs

  Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '
--warmup' or '--prepare' options.

Benchmark 13: syd -q -poci -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
  Time (mean ± σ):     172.642 s ±  1.000 s    [User: 1515.043 s, System: 519.394 s]
  Range (min … max):   171.953 s … 173.788 s    3 runs

Benchmark 14: syd -poci -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
  Time (mean ± σ):     170.935 s ±  2.999 s    [User: 1512.878 s, System: 500.024 s]
  Range (min … max):   167.498 s … 173.024 s    3 runs

Summary
  bash /tmp/tmp.S9JxIePWPl/linux-compile.sh ran
    1.47 ± 0.00 times faster than syd -ppaludis -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
    1.47 ± 0.01 times faster than syd -ppaludis -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
    1.47 ± 0.00 times faster than syd -ppaludis -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
    1.48 ± 0.01 times faster than syd -q -ppaludis -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
    1.48 ± 0.01 times faster than syd -q -ppaludis -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
    1.49 ± 0.02 times faster than syd -q -ppaludis -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
    1.54 ± 0.01 times faster than syd -q -poci -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
    1.55 ± 0.03 times faster than syd -poci -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
    1.55 ± 0.01 times faster than syd -q -poci -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
    1.56 ± 0.01 times faster than syd -poci -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
    1.56 ± 0.01 times faster than syd -q -poci -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
    1.56 ± 0.04 times faster than syd -poci -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.S9JxIePWPl/linux-compile.sh
    1.68 ± 0.00 times faster than sudo runsc do /tmp/tmp.S9JxIePWPl/linux-compile.sh
+ set +x
Results were written to the file /home/alip/src/syd/syd-bench-linux-20241225021815.md.
Share this file and spread the fun!
```
