On Mon, Oct 25, 2021 at 12:46:45PM -0400, Jeff King wrote: > It's like spawning processes is somehow faster on your machine than > mine. I wonder if it's a CPU governor thing. This is a laptop, and those > numbers come from using "powersave". Doing "cpufreq-set -g performance", > I get: > > 'sh generate-cmdlist.sh command-list.txt' ran > 14.35 ± 0.23 times faster than 'sh generate-cmdlist.sh.old command-list.txt' > 33.15 ± 0.50 times faster than 'sh generate-cmdlist.sh.master command-list.txt' > > which is closer. But most notably all versions are 3-5x faster than > their "powersave" counterparts. I wonder if that has been driving some > of the confusion in our timings in this thread. BTW, I should have mentioned these governors are used with the intel_pstate driver. So "powersave" here is not the default "use the lowest frequency" governor in linux, but the pstate-specific one which is more like "ondemand". Not that I expect anybody to look into or pontificate on governor issues, but I wanted to make sure I didn't confuse anyone. -Peff