blog

Personal blog
git clone git://git.laack.co/blog.git
Log | Files | Refs

commit d93f936e62bb50acac65a815a9523f29ad156891
parent b379f344ef613be308750ed514ce30493e875220
Author: Andrew Laack <andrew@laack.co>
Date:   Sun, 11 Oct 2026 16:26:44 -0500

Polished outputs

Diffstat:
ATODO.txt | 4++++
Mposts/wip/basic-software-profiling-cpu-usage.md | 62+++++++++++++++++++++++++++++++-------------------------------
2 files changed, 35 insertions(+), 31 deletions(-)

diff --git a/TODO.txt b/TODO.txt @@ -0,0 +1,4 @@ +- make sure http works (no abs paths to my stuff) +- see if there's a way to get svgs to be better + - doesn't work well with dillo right now + - remove js from them too diff --git a/posts/wip/basic-software-profiling-cpu-usage.md b/posts/wip/basic-software-profiling-cpu-usage.md @@ -148,7 +148,7 @@ perf stat ./ex1 63,706,083,988 branches:u # 1964.0 M/sec branch_frequency (88.89%) 134,126,037,336 cpu-cycles:u # 4.1 GHz cycles_frequency (88.89%) 300,951,617,557 instructions:u # 2.2 instructions insn_per_cycle (88.89%) - TopdownL1 # 4.4 % tma_backend_bound + TopdownL1 # 4.4 % tma_backend_bound # 61.4 % tma_bad_speculation (88.89%) # 0.0 % tma_frontend_bound (77.78%) # 34.2 % tma_retiring (88.89%) @@ -203,14 +203,14 @@ Performance counter stats for 'amfora lf.txt': 0 cpu-migrations:u # 0.0 migrations/sec migrations_per_second 2,742 page-faults:u # 9306.7 faults/sec page_faults_per_second 294.63 msec task-clock:u # nan CPUs CPUs_utilized - 1,052,499 branch-misses:u # 0.2 % branch_miss_rate (90.02%) - 575,712,764 branches:u # 1954.1 M/sec branch_frequency (89.14%) - 955,922,330 cpu-cycles:u # 3.2 GHz cycles_frequency (87.42%) + 1,052,499 branch-misses:u # 0.2 % branch_miss_rate (90.02%) + 575,712,764 branches:u # 1954.1 M/sec branch_frequency (89.14%) + 955,922,330 cpu-cycles:u # 3.2 GHz cycles_frequency (87.42%) 2,669,651,845 instructions:u # 2.8 instructions insn_per_cycle (88.36%) - TopdownL1 # 6.7 % tma_backend_bound - # 24.9 % tma_bad_speculation (90.11%) - # 16.4 % tma_frontend_bound (79.92%) - # 52.0 % tma_retiring (90.37%) + TopdownL1 # 6.7 % tma_backend_bound + # 24.9 % tma_bad_speculation (90.11%) + # 16.4 % tma_frontend_bound (79.92%) + # 52.0 % tma_retiring (90.37%) 0.473990805 seconds time elapsed @@ -228,14 +228,14 @@ perf stat foreseen lf.txt 0 cpu-migrations:u # 0.0 migrations/sec migrations_per_second 8,936 page-faults:u # 104842.2 faults/sec page_faults_per_second 85.23 msec task-clock:u # nan CPUs CPUs_utilized - 209,148 branch-misses:u # 0.1 % branch_miss_rate (88.30%) - 176,970,330 branches:u # 2076.3 M/sec branch_frequency (88.29%) - 248,919,966 cpu-cycles:u # 2.9 GHz cycles_frequency (88.29%) + 209,148 branch-misses:u # 0.1 % branch_miss_rate (88.30%) + 176,970,330 branches:u # 2076.3 M/sec branch_frequency (88.29%) + 248,919,966 cpu-cycles:u # 2.9 GHz cycles_frequency (88.29%) 736,194,375 instructions:u # 3.0 instructions insn_per_cycle (88.99%) - TopdownL1 # 3.9 % tma_backend_bound - # 29.7 % tma_bad_speculation (89.50%) - # 21.2 % tma_frontend_bound (77.84%) - # 45.2 % tma_retiring (88.33%) + TopdownL1 # 3.9 % tma_backend_bound + # 29.7 % tma_bad_speculation (89.50%) + # 21.2 % tma_frontend_bound (77.84%) + # 45.2 % tma_retiring (88.33%) 0.354029324 seconds time elapsed @@ -256,14 +256,14 @@ perf stat foreseen lf.gmi 0 cpu-migrations:u # 0.0 migrations/sec migrations_per_second 6,551 page-faults:u # 90396.7 faults/sec page_faults_per_second 72.47 msec task-clock:u # nan CPUs CPUs_utilized - 154,134 branch-misses:u # 0.1 % branch_miss_rate (88.98%) - 166,258,529 branches:u # 2294.2 M/sec branch_frequency (88.99%) - 232,523,911 cpu-cycles:u # 3.2 GHz cycles_frequency (88.96%) - 705,288,446 instructions:u # 3.0 instructions insn_per_cycle (88.93%) - TopdownL1 # 7.6 % tma_backend_bound - # 23.2 % tma_bad_speculation (88.96%) - # 18.8 % tma_frontend_bound (77.41%) - # 50.4 % tma_retiring (88.45%) + 154,134 branch-misses:u # 0.1 % branch_miss_rate (88.98%) + 166,258,529 branches:u # 2294.2 M/sec branch_frequency (88.99%) + 232,523,911 cpu-cycles:u # 3.2 GHz cycles_frequency (88.96%) + 705,288,446 instructions:u # 3.0 instructions insn_per_cycle (88.93%) + TopdownL1 # 7.6 % tma_backend_bound + # 23.2 % tma_bad_speculation (88.96%) + # 18.8 % tma_frontend_bound (77.41%) + # 50.4 % tma_retiring (88.45%) 0.381682961 seconds time elapsed @@ -284,7 +284,7 @@ perf stat amfora lf.gmi 62,713,218,442 branches:u # 842.3 M/sec branch_frequency (88.85%) 153,193,058,619 cpu-cycles:u # 2.1 GHz cycles_frequency (88.97%) 306,159,421,078 instructions:u # 2.0 instructions insn_per_cycle (88.90%) - TopdownL1 # 0.6 % tma_backend_bound + TopdownL1 # 0.6 % tma_backend_bound # 97.8 % tma_bad_speculation (88.83%) # -0.1 % tma_frontend_bound (77.86%) # 1.7 % tma_retiring (88.91%) @@ -336,14 +336,14 @@ perf stat amfora lf.gmi 0 cpu-migrations:u # 0.0 migrations/sec migrations_per_second 6,039 page-faults:u # 4871.9 faults/sec page_faults_per_second 1,239.55 msec task-clock:u # nan CPUs CPUs_utilized - 3,631,996 branch-misses:u # 0.1 % branch_miss_rate (89.02%) - 3,017,891,055 branches:u # 2434.7 M/sec branch_frequency (88.96%) - 4,654,531,574 cpu-cycles:u # 3.8 GHz cycles_frequency (88.93%) + 3,631,996 branch-misses:u # 0.1 % branch_miss_rate (89.02%) + 3,017,891,055 branches:u # 2434.7 M/sec branch_frequency (88.96%) + 4,654,531,574 cpu-cycles:u # 3.8 GHz cycles_frequency (88.93%) 14,168,541,807 instructions:u # 3.1 instructions insn_per_cycle (88.81%) - TopdownL1 # 2.2 % tma_backend_bound - # 36.9 % tma_bad_speculation (88.80%) - # 18.5 % tma_frontend_bound (77.83%) - # 42.5 % tma_retiring (88.90%) + TopdownL1 # 2.2 % tma_backend_bound + # 36.9 % tma_bad_speculation (88.80%) + # 18.5 % tma_frontend_bound (77.83%) + # 42.5 % tma_retiring (88.90%) 1.185772969 seconds time elapsed