A hardened Linux desktop, rebuilt from scratch, with your Windows apps built in. Free and open source.
Benchmarks: Windows 11, its scripts and raw results
Danfc44d1265951
diff --git a/benchmarks/README.md b/benchmarks/README.mdindex b58a9c6..4c1711a 100644--- a/benchmarks/README.md+++ b/benchmarks/README.md@@ -57,6 +57,12 @@ Things to know before comparing:- SQLite varied more between passes than any other test on both systems, so treat a single pass with care.- Wild OS pauses its secure time sync during the Phoronix pass, because a clock correction in the middle of a test changes its timing.+## Windows 11++The Phoronix tests used here do not run on Windows, so `windows/wtests.ps1` runs the official Windows build of each program three times, with the settings the Phoronix profiles use on Linux: 7-Zip 26.01 (`7z b`), Stockfish 19 (`bench 128 4 24 default depth`), zstd 1.5.4 (level 19 on the same silesia.tar) and OpenSSL 3.5.5 (AES-256-GCM, four processes, as `ssl.sh` does). Stockfish and zstd are the versions the Phoronix tests build on Linux. `windows/winbench.ps1 boot` times start-up from the kernel starting to Explorer starting. Tests with no fair match on Windows (the kernel compile, x265, SQLite, PHP, Python, simdjson and git) are not run. The Windows virtual machine had a 64 GB disk, because Windows Setup will not install on 40 GB, with Secure Boot and a TPM 2.0 on.++`results/windows11/`: `info.txt`, `boot-1.txt` to `boot-3.txt`, and `tests.txt` with each test's runs, average and spread. The disk runs in `tests.txt` varied too much between runs to compare and are not on the site.+## Results so far| System | Version | Tested |@@ -66,3 +72,4 @@ Things to know before comparing:| CachyOS | Desktop (KDE Plasma), August 2026 ISO, Linux 7.3, Btrfs | 15 and 16 November 2026 || Linux Mint | 22.3 Cinnamon, Linux 7.0, ext4 | 16 November 2026 || Zorin OS | 18.1 Core, Linux 7.0, ext4 | 16 November 2026 |+| Windows 11 | Pro 26H2, build 26300, NTFS | 16 November 2026 |diff --git a/benchmarks/results/windows11/boot-1.txt b/benchmarks/results/windows11/boot-1.txtnew file mode 100644index 0000000..3d39c6e--- /dev/null+++ b/benchmarks/results/windows11/boot-1.txt@@ -0,0 +1,6 @@+firmware_ms 0+event100 BootTime_ms 20597 MainPathBootTime_ms 4597 BootPostBootTime_ms 16000 BootUserProfileProcessingTime_ms 138 BootExplorerInitTime_ms 1800 written_after_s 98+shell_start explorer 5.45+start_menu_host 6.09+uptime_s 101+event100 BootTime_ms 20597 MainPathBootTime_ms 4597 BootPostBootTime_ms 16000 BootUserProfileProcessingTime_ms 138 BootExplorerInitTime_ms 1800 written_after_s 98diff --git a/benchmarks/results/windows11/boot-2.txt b/benchmarks/results/windows11/boot-2.txtnew file mode 100644index 0000000..a95f47c--- /dev/null+++ b/benchmarks/results/windows11/boot-2.txt@@ -0,0 +1,6 @@+firmware_ms 0+event100 BootTime_ms 20585 MainPathBootTime_ms 4685 BootPostBootTime_ms 15900 BootUserProfileProcessingTime_ms 174 BootExplorerInitTime_ms 1729 written_after_s 98+shell_start explorer 5.32+start_menu_host 5.93+uptime_s 101+event100 BootTime_ms 20585 MainPathBootTime_ms 4685 BootPostBootTime_ms 15900 BootUserProfileProcessingTime_ms 174 BootExplorerInitTime_ms 1729 written_after_s 98diff --git a/benchmarks/results/windows11/boot-3.txt b/benchmarks/results/windows11/boot-3.txtnew file mode 100644index 0000000..600ac71--- /dev/null+++ b/benchmarks/results/windows11/boot-3.txt@@ -0,0 +1,6 @@+firmware_ms 0+event100 BootTime_ms 20757 MainPathBootTime_ms 4657 BootPostBootTime_ms 16100 BootUserProfileProcessingTime_ms 189 BootExplorerInitTime_ms 1800 written_after_s 98+shell_start explorer 5.30+start_menu_host 5.97+uptime_s 101+event100 BootTime_ms 20757 MainPathBootTime_ms 4657 BootPostBootTime_ms 16100 BootUserProfileProcessingTime_ms 189 BootExplorerInitTime_ms 1800 written_after_s 98diff --git a/benchmarks/results/windows11/info.txt b/benchmarks/results/windows11/info.txtnew file mode 100644index 0000000..db8a692--- /dev/null+++ b/benchmarks/results/windows11/info.txt@@ -0,0 +1,40 @@+== os+Microsoft Windows 11 Pro 26H2 build 26300.9974+== cpu+12th Gen Intel(R) Core(TM) i9-12900K+logical 4+== memory_mb 8154+== disk++FileSystem Size SizeRemaining+---------- ---- -------------+NTFS 67646779392 33794285568++++== secure_boot True+== tpm True+== vbs_status 0 services_running 0+== bitlocker protection Off volume FullyDecrypted encrypted_pct 0 method None+== manage-bde+Conversion Status: Fully Decrypted+Percentage Encrypted: 0.0%+Encryption Method: None+Protection Status: Protection Off+Key Protectors: None Found+== defender realtime True antivirus True tamper True engine 1.1.26110.3 signatures 1.463.324.0+== smart_app_control 2+== hvci vbs_configured hypervisor_present True+== power plan+Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced)== hotfixes++HotFixID InstalledOn+-------- -----------+KB5132061 16/11/2026 00:00:00+KB5132688 16/11/2026 00:00:00+KB5127694 16/11/2026 00:00:00+KB5121794 16/11/2026 00:00:00+KB5128942 16/11/2026 00:00:00+++diff --git a/benchmarks/results/windows11/tests.txt b/benchmarks/results/windows11/tests.txtnew file mode 100644index 0000000..151caa5--- /dev/null+++ b/benchmarks/results/windows11/tests.txt@@ -0,0 +1,14 @@+7zip 26.01 compression rating (Avr)|35,333.00 MIPS|runs 35,456.00 / 34,848.00 / 35,695.00|stdev 1.24%|range 2.40%+7zip 26.01 decompression rating (Avr)|32,793.33 MIPS|runs 32,809.00 / 32,931.00 / 32,640.00|stdev 0.45%|range 0.89%+stockfish 19 bench 128 4 24 default depth|4,676,819.67 nodes/s|runs 4,381,484.00 / 4,829,120.00 / 4,819,855.00|stdev 5.47%|range 9.57%+zstd 1.5.4 level 19 compression (-T4 -S -i30 -b19 silesia.tar)|8.68 MB/s|runs 8.77 / 8.38 / 8.88|stdev 3.03%|range 5.76%+zstd 1.5.4 level 19 decompression|1,577.07 MB/s|runs 1,586.60 / 1,547.80 / 1,596.80|stdev 1.64%|range 3.11%+openssl OpenSSL 3.5.5 27 Jan 2026 (Library: OpenSSL 3.5.5 27 Jan 2026) aes-256-gcm 16 KB, 4 processes|27.08 GB/s|runs 27.31 / 26.37 / 27.57|stdev 2.34%|range 4.44%+fio randread-4k iops|71,749.33 IOPS|runs 70,498.00 / 71,882.00 / 72,868.00|stdev 1.66%|range 3.30%+fio randread-4k bandwidth|286,999.33 KB/s|runs 281,993.00 / 287,531.00 / 291,474.00|stdev 1.66%|range 3.30%+fio randwrite-4k iops|58,463.67 IOPS|runs 62,295.00 / 48,319.00 / 64,777.00|stdev 15.18%|range 28.15%+fio randwrite-4k bandwidth|233,856.67 KB/s|runs 249,183.00 / 193,279.00 / 259,108.00|stdev 15.18%|range 28.15%+fio read-2m iops|4,524.00 IOPS|runs 4,779.00 / 4,811.00 / 3,982.00|stdev 10.38%|range 18.32%+fio read-2m bandwidth|9,265,844.00 KB/s|runs 9,787,407.00 / 9,854,510.00 / 8,155,615.00|stdev 10.38%|range 18.34%+fio write-2m iops|2,503.67 IOPS|runs 2,493.00 / 2,492.00 / 2,526.00|stdev 0.77%|range 1.36%+fio write-2m bandwidth|5,128,123.33 KB/s|runs 5,106,927.00 / 5,104,163.00 / 5,173,280.00|stdev 0.76%|range 1.35%diff --git a/benchmarks/windows/winbench.ps1 b/benchmarks/windows/winbench.ps1new file mode 100644index 0000000..8fd34b2--- /dev/null+++ b/benchmarks/windows/winbench.ps1@@ -0,0 +1,72 @@+# winbench.ps1 <info|nolock|boot>: the Windows side of bench.sh, measured+# the same way where Windows allows it. Runs as SYSTEM through the guest agent.+param([string]$Action = "info")+$ErrorActionPreference = "Continue"+$Out = "C:\bench-out"; New-Item -ItemType Directory -Force $Out | Out-Null++function Info {+ $os = Get-CimInstance Win32_OperatingSystem+ $cv = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion"+ "== os"; "$($os.Caption) $($cv.DisplayVersion) build $($cv.CurrentBuild).$($cv.UBR)"+ "== cpu"; (Get-CimInstance Win32_Processor).Name; "logical $((Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors)"+ "== memory_mb $([int]($os.TotalVisibleMemorySize/1024))"+ "== disk"; Get-Volume -DriveLetter C | Format-Table -AutoSize FileSystem, Size, SizeRemaining | Out-String+ "== secure_boot $(try { Confirm-SecureBootUEFI } catch { 'unknown' })"+ "== tpm $((Get-Tpm).TpmPresent)"+ $dg = Get-CimInstance -ClassName Win32_DeviceGuard -Namespace root\Microsoft\Windows\DeviceGuard -ErrorAction SilentlyContinue+ "== vbs_status $($dg.VirtualizationBasedSecurityStatus) services_running $($dg.SecurityServicesRunning -join ',')"+ $bl = Get-BitLockerVolume -MountPoint C: -ErrorAction SilentlyContinue+ "== bitlocker protection $($bl.ProtectionStatus) volume $($bl.VolumeStatus) encrypted_pct $($bl.EncryptionPercentage) method $($bl.EncryptionMethod)"+ "== manage-bde"; manage-bde -status C: | Select-String "Conversion|Percentage|Protection|Method|Key Protectors" | ForEach-Object { $_.Line.Trim() }+ $mp = Get-MpComputerStatus -ErrorAction SilentlyContinue+ "== defender realtime $($mp.RealTimeProtectionEnabled) antivirus $($mp.AntivirusEnabled) tamper $($mp.IsTamperProtected) engine $($mp.AMEngineVersion) signatures $($mp.AntivirusSignatureVersion)"+ "== smart_app_control $((Get-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Control\CI\Policy' -ErrorAction SilentlyContinue).VerifiedAndReputablePolicyState)"+ "== hvci $((Get-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity' -ErrorAction SilentlyContinue).Enabled) vbs_configured $($dg.VirtualizationBasedSecurityConfigured -join ',') hypervisor_present $((Get-CimInstance Win32_ComputerSystem).HypervisorPresent)"+ "== power plan"; powercfg /getactivescheme+ "== hotfixes"; Get-HotFix | Sort-Object InstalledOn | Select-Object -Last 5 | Format-Table -AutoSize HotFixID, InstalledOn | Out-String+}++# Keeps the machine awake through the runs: no lock, no screen blanking and no sleep.+function NoLock {+ powercfg /change monitor-timeout-ac 0+ powercfg /change standby-timeout-ac 0+ powercfg /change hibernate-timeout-ac 0+ $k = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization"+ New-Item -Force $k | Out-Null; Set-ItemProperty $k NoLockScreen 1 -Type DWord+ "nolock: done"+}++# Windows writes event 100 only once the boot trace ends (the system has gone+# idle after sign-in), often minutes after the desktop is up, so this can wait.+function Ev100([int]$WaitS) {+ $bootT = (Get-CimInstance Win32_OperatingSystem).LastBootUpTime+ $until = (Get-Date).AddSeconds($WaitS)+ do {+ $e = Get-WinEvent -FilterHashtable @{LogName = "Microsoft-Windows-Diagnostics-Performance/Operational"; Id = 100} -MaxEvents 1 -ErrorAction SilentlyContinue+ if ($e -and $e.TimeCreated -gt $bootT) {+ $x = [xml]$e.ToXml(); $d = @{}; foreach ($i in $x.Event.EventData.Data) { $d[$i.Name] = $i.'#text' }+ return "event100 BootTime_ms $($d.BootTime) MainPathBootTime_ms $($d.MainPathBootTime) BootPostBootTime_ms $($d.BootPostBootTime) BootUserProfileProcessingTime_ms $($d.BootUserProfileProcessingTime) BootExplorerInitTime_ms $($d.BootExplorerInitTime) written_after_s $('{0:N0}' -f ($e.TimeCreated - $bootT).TotalSeconds)"+ }+ if ((Get-Date) -ge $until) { return "event100 not written for this boot (waited $WaitS s)" }+ Start-Sleep 10+ } while ($true)+}++function Boot {+ $n = (Get-ChildItem "$Out\boot-*.txt" -ErrorAction SilentlyContinue).Count + 1+ $os = Get-CimInstance Win32_OperatingSystem+ $bootT = $os.LastBootUpTime+ $r = @()+ $fw = (Get-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Power" -ErrorAction SilentlyContinue).FwPOSTTime+ $r += "firmware_ms $fw"+ $r += Ev100 0+ $ex = Get-Process explorer -IncludeUserName -ErrorAction SilentlyContinue | Where-Object UserName -like "*bench" | Sort-Object StartTime | Select-Object -First 1+ if ($ex) { $r += "shell_start explorer $('{0:N2}' -f ($ex.StartTime - $bootT).TotalSeconds)" }+ $sh = Get-Process StartMenuExperienceHost, SearchHost -ErrorAction SilentlyContinue | Sort-Object StartTime | Select-Object -First 1+ if ($sh) { $r += "start_menu_host $('{0:N2}' -f ($sh.StartTime - $bootT).TotalSeconds)" }+ $r += "uptime_s $('{0:N0}' -f ((Get-Date) - $bootT).TotalSeconds)"+ $r | Set-Content "$Out\boot-$n.txt"; $r+}+++switch ($Action) { "info" { Info } "nolock" { NoLock } "boot" { Boot } "ev100" { Ev100 600 } }diff --git a/benchmarks/windows/wtests.ps1 b/benchmarks/windows/wtests.ps1new file mode 100644index 0000000..4b2a545--- /dev/null+++ b/benchmarks/windows/wtests.ps1@@ -0,0 +1,104 @@+# wtests.ps1 <fetch|run>: the CPU and disk tests on Windows, matched to the+# PTS profiles and bench.sh the Linux systems ran. fetch downloads everything;+# run measures, three runs each, nothing downloaded meanwhile.+param([string]$Action = "run")+$ErrorActionPreference = "Continue"+$ProgressPreference = "SilentlyContinue"+$T = "C:\bt"; $Out = "C:\bench-out\tests"; New-Item -ItemType Directory -Force $T, $Out | Out-Null++function Fetch {+ $files = @{+ "7z2601-x64.exe" = "https://www.7-zip.org/a/7z2601-x64.exe"+ "stockfish.zip" = "https://github.com/official-stockfish/Stockfish/releases/download/sf_19/stockfish-windows-x86-64-universal.zip"+ "zstd.zip" = "https://github.com/facebook/zstd/releases/download/v1.5.4/zstd-v1.5.4-win64.zip"+ "silesia.tar" = "http://wanos.co/assets/silesia.tar"+ "openssl.zip" = "https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.5.5.zip"+ "fio.msi" = "https://github.com/axboe/fio/releases/download/fio-3.43/fio-3.43-x64.msi"+ }+ foreach ($f in $files.Keys) {+ if (-not (Test-Path "$T\$f")) { Invoke-WebRequest -UseBasicParsing $files[$f] -OutFile "$T\$f" }+ "$f $((Get-Item "$T\$f").Length)"+ }+ $h = (Get-FileHash "$T\silesia.tar" -Algorithm SHA256).Hash+ "silesia sha256 $h (profile: EA122ED051DC7A6C58D2BB56BB05B34D9F1537C4DC9E71519142E2CA8CD6338D)"+ Start-Process "$T\7z2601-x64.exe" -ArgumentList "/S" -Wait+ Start-Process msiexec -ArgumentList "/i `"$T\fio.msi`" /qn /norestart" -Wait+ foreach ($z in "stockfish", "zstd", "openssl") {+ if (-not (Test-Path "$T\$z")) { Expand-Archive "$T\$z.zip" "$T\$z" -Force }+ }+ "7z: $(& 'C:\Program Files\7-Zip\7z.exe' i | Select-Object -First 2 | Select-Object -Last 1)"+ "stockfish: $(Get-ChildItem -Recurse "$T\stockfish" -Filter *.exe | ForEach-Object FullName)"+ "zstd: $(& (Get-ChildItem -Recurse "$T\zstd" -Filter zstd.exe | Select-Object -First 1).FullName -V)"+ "openssl: $(Get-ChildItem -Recurse "$T\openssl" -Filter openssl.exe | ForEach-Object FullName)"+ "fio: $(& 'C:\Program Files\fio\fio.exe' --version)"+}++function Stat($name, $vals, $unit) {+ $m = ($vals | Measure-Object -Average).Average+ $sd = if ($vals.Count -gt 1) { [math]::Sqrt(($vals | ForEach-Object { ($_ - $m) * ($_ - $m) } | Measure-Object -Sum).Sum / ($vals.Count - 1)) } else { 0 }+ "$name|$('{0:N2}' -f $m) $unit|runs $(($vals | ForEach-Object { '{0:N2}' -f $_ }) -join ' / ')|stdev $('{0:N2}' -f (100 * $sd / $m))%|range $('{0:N2}' -f (100 * (($vals | Measure-Object -Maximum).Maximum - ($vals | Measure-Object -Minimum).Minimum) / $m))%"+}++function Run {+ $r = @()+ # 7-Zip: PTS reads the Avr: line's Rating columns; Tot: kept in the raw log.+ $c = @(); $d = @()+ for ($i = 1; $i -le 3; $i++) {+ $o = & "C:\Program Files\7-Zip\7z.exe" b 2>&1 | Out-String; $o | Set-Content "$Out\7zip-$i.txt"+ $a = ($o -split "`n" | Where-Object { $_ -match '^Avr:' }) -replace '\|', ' ' -split '\s+' | Where-Object { $_ }+ $c += [double]$a[4]; $d += [double]$a[8]+ }+ $r += Stat "7zip 26.01 compression rating (Avr)" $c "MIPS"+ $r += Stat "7zip 26.01 decompression rating (Avr)" $d "MIPS"++ $sf = (Get-ChildItem -Recurse "$T\stockfish" -Filter *.exe | Select-Object -First 1).FullName+ $v = @()+ for ($i = 1; $i -le 3; $i++) {+ $o = cmd /c "`"$sf`" bench 128 4 24 default depth 2>&1" | Out-String; $o | Set-Content "$Out\stockfish-$i.txt"+ $v += [double](($o -split "`n" | Where-Object { $_ -match 'Nodes/second' }) -replace '\D', '')+ }+ $r += Stat "stockfish 19 bench 128 4 24 default depth" $v "nodes/s"++ $zs = (Get-ChildItem -Recurse "$T\zstd" -Filter zstd.exe | Select-Object -First 1).FullName+ $c = @(); $d = @()+ Push-Location $T+ for ($i = 1; $i -le 3; $i++) {+ $o = cmd /c "`"$zs`" -T4 -S -i30 -b19 silesia.tar 2>&1" | Out-String; $o | Set-Content "$Out\zstd-$i.txt"+ $last = ($o -replace "`r", "`n" -split "`n" | Where-Object { $_ -match 'MB/s.*MB/s' } | Select-Object -Last 1)+ $mb = [regex]::Matches($last, '([\d.]+) MB/s') | ForEach-Object { [double]$_.Groups[1].Value }+ $c += $mb[0]; $d += $mb[1]+ }+ Pop-Location+ $r += Stat "zstd 1.5.4 level 19 compression (-T4 -S -i30 -b19 silesia.tar)" $c "MB/s"+ $r += Stat "zstd 1.5.4 level 19 decompression" $d "MB/s"++ $ossl = (Get-ChildItem -Recurse "$T\openssl" -Filter openssl.exe | Where-Object FullName -match 'x64' | Select-Object -First 1).FullName+ $v = @()+ for ($i = 1; $i -le 3; $i++) {+ $ps = 1..4 | ForEach-Object { Start-Process $ossl -ArgumentList "speed -seconds 10 -evp aes-256-gcm" -NoNewWindow -PassThru -RedirectStandardOutput "$Out\ssl-$i-$_.txt" -RedirectStandardError "$Out\ssl-$i-$_.err" }+ $ps | Wait-Process+ $sum = 0; foreach ($k in 1..4) { $l = Get-Content "$Out\ssl-$i-$k.txt" | Where-Object { $_ -match '^AES-256-GCM' }; $sum += [double](($l -split '\s+' | Where-Object { $_ })[-1] -replace 'k', '') }+ $v += $sum / 1e6+ }+ $r += Stat "openssl $(& $ossl version) aes-256-gcm 16 KB, 4 processes" $v "GB/s"++ $fio = "C:\Program Files\fio\fio.exe"+ New-Item -ItemType Directory -Force C:\fio | Out-Null; Push-Location C:\fio+ foreach ($job in "randread 4k", "randwrite 4k", "read 2m", "write 2m") {+ $rw, $bs = $job -split ' '+ $iops = @(); $bw = @()+ for ($i = 1; $i -le 3; $i++) {+ $o = & $fio --name=$rw-$bs --rw=$rw --bs=$bs --size=2g --ioengine=windowsaio --thread --direct=1 --iodepth=32 --numjobs=1 --runtime=30 --time_based --group_reporting --output-format=terse --terse-version=3 2>&1 | Out-String+ $o | Set-Content "$Out\fio-$rw-$bs-$i.txt"+ $f = ($o -split "`n" | Where-Object { $_ -match '^3;' } | Select-Object -First 1) -split ';'+ if ($rw -match 'read') { $iops += [double]$f[7]; $bw += [double]$f[6] } else { $iops += [double]$f[48]; $bw += [double]$f[47] }+ Remove-Item C:\fio\* -Force+ }+ $r += Stat "fio $rw-$bs iops" $iops "IOPS"+ $r += Stat "fio $rw-$bs bandwidth" $bw "KB/s"+ }+ Pop-Location+ $r | Set-Content "C:\bench-out\tests.txt"; $r+}++switch ($Action) { "fetch" { Fetch } "run" { Run } }