# Syd benchmark: linux-20241225011353

| Command | Mean [s] | Min [s] | Max [s] | Relative |
|:---|---:|---:|---:|---:|
| `sudo runsc do /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 186.058 ± 0.426 | 185.724 | 186.537 | 1.68 ± 0.00 |
| `bash /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 110.594 ± 0.074 | 110.538 | 110.679 | 1.00 |
| `syd -q -ppaludis -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 162.819 ± 0.327 | 162.450 | 163.072 | 1.47 ± 0.00 |
| `syd -ppaludis -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 163.240 ± 0.524 | 162.763 | 163.801 | 1.48 ± 0.00 |
| `syd -q -ppaludis -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 164.951 ± 0.309 | 164.707 | 165.298 | 1.49 ± 0.00 |
| `syd -ppaludis -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 163.364 ± 2.488 | 161.900 | 166.237 | 1.48 ± 0.02 |
| `syd -q -ppaludis -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 163.241 ± 1.526 | 161.962 | 164.930 | 1.48 ± 0.01 |
| `syd -ppaludis -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 163.635 ± 1.263 | 162.208 | 164.608 | 1.48 ± 0.01 |
| `syd -q -poci -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 175.101 ± 0.986 | 174.190 | 176.148 | 1.58 ± 0.01 |
| `syd -poci -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 171.982 ± 2.187 | 170.256 | 174.442 | 1.56 ± 0.02 |
| `syd -q -poci -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 172.028 ± 1.190 | 170.668 | 172.879 | 1.56 ± 0.01 |
| `syd -poci -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 170.360 ± 1.938 | 168.239 | 172.037 | 1.54 ± 0.02 |
| `syd -q -poci -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 172.835 ± 2.012 | 170.513 | 174.023 | 1.56 ± 0.02 |
| `syd -poci -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh` | 171.686 ± 0.792 | 170.778 | 172.233 | 1.55 ± 0.01 |

## Machine

```
alip@caissa.ai
--------------
OS: Arch Linux x86_64
Kernel: 6.10.9-arch1-2
Uptime: 101 days, 17 hours, 4 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: 17088MiB / 63441MiB
```

## Syd

```
syd 3.29.4-443-g475ba3eaa-dirty (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.HCuRn1x7GL/linux-compile.sh
  Time (mean ± σ):     186.058 s ±  0.426 s    [User: 0.005 s, System: 0.000 s]
  Range (min … max):   185.724 s … 186.537 s    3 runs

Benchmark 2: bash /tmp/tmp.HCuRn1x7GL/linux-compile.sh
  Time (mean ± σ):     110.594 s ±  0.074 s    [User: 1457.841 s, System: 65.546 s]
  Range (min … max):   110.538 s … 110.679 s    3 runs

Benchmark 3: syd -q -ppaludis -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh
  Time (mean ± σ):     162.819 s ±  0.327 s    [User: 1541.989 s, System: 429.203 s]
  Range (min … max):   162.450 s … 163.072 s    3 runs

Benchmark 4: syd -ppaludis -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh
  Time (mean ± σ):     163.240 s ±  0.524 s    [User: 1537.904 s, System: 436.690 s]
  Range (min … max):   162.763 s … 163.801 s    3 runs

Benchmark 5: syd -q -ppaludis -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh
  Time (mean ± σ):     164.951 s ±  0.309 s    [User: 1536.484 s, System: 457.355 s]
  Range (min … max):   164.707 s … 165.298 s    3 runs

Benchmark 6: syd -ppaludis -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh
  Time (mean ± σ):     163.364 s ±  2.488 s    [User: 1532.149 s, System: 443.073 s]
  Range (min … max):   161.900 s … 166.237 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 7: syd -q -ppaludis -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh
  Time (mean ± σ):     163.241 s ±  1.526 s    [User: 1539.287 s, System: 437.592 s]
  Range (min … max):   161.962 s … 164.930 s    3 runs

Benchmark 8: syd -ppaludis -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh
  Time (mean ± σ):     163.635 s ±  1.263 s    [User: 1535.542 s, System: 444.011 s]
  Range (min … max):   162.208 s … 164.608 s    3 runs

Benchmark 9: syd -q -poci -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh
  Time (mean ± σ):     175.101 s ±  0.986 s    [User: 1511.103 s, System: 544.211 s]
  Range (min … max):   174.190 s … 176.148 s    3 runs
Benchmark 10: syd -poci -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh                                                                         [0/28734]
  Time (mean ± σ):     171.982 s ±  2.187 s    [User: 1507.948 s, System: 512.996 s]
  Range (min … max):   170.256 s … 174.442 s    3 runs

Benchmark 11: syd -q -poci -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh
  Time (mean ± σ):     172.028 s ±  1.190 s    [User: 1519.368 s, System: 502.856 s]
  Range (min … max):   170.668 s … 172.879 s    3 runs

Benchmark 12: syd -poci -plandlock -mallow/lock/write+/ -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh
  Time (mean ± σ):     170.360 s ±  1.938 s    [User: 1518.894 s, System: 483.305 s]
  Range (min … max):   168.239 s … 172.037 s    3 runs

Benchmark 13: syd -q -poci -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh
  Time (mean ± σ):     172.835 s ±  2.012 s    [User: 1515.416 s, System: 517.911 s]
  Range (min … max):   170.513 s … 174.023 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 14: syd -poci -pimmutable -mbind-tmpfs:/tmp -pP -mallow/all+/*** -mlock:on /tmp/tmp.HCuRn1x7GL/linux-compile.sh
  Time (mean ± σ):     171.686 s ±  0.792 s    [User: 1511.852 s, System: 506.106 s]
  Range (min … max):   170.778 s … 172.233 s    3 runs

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