Funny how a perf regression can seem to be one thing, you're convinced it is, but then turns into being about... how C macro expansions work... :/
$ strings /dev/urandom | grep -i hax
my blog: github.com/lewurm/blog/issues
$ strings /dev/urandom | grep -i hax
my blog: github.com/lewurm/blog/issues
Funny how a perf regression can seem to be one thing, you're convinced it is, but then turns into being about... how C macro expansions work... :/
@kloenk @navi Back when 128 kB was the limit for argv+envp, Google was hitting it too because they passed all the configuration for their whole software stack on the command line as --long-option=value switches.
Their solution? Compress the command line. So every binary started by ungzipping argv[1] and parsing it to get the configuration.
The person explaining this to me saw my horrified face, and said with the perfect Hide The Pain Harold smile: "a series of individually completely rational and reasonable decisions led to this." and I have been thinking a lot about it since.
My wife told me to take the spider out instead of killing him.
Went out. Had a few drinks. Nice guy. He's a web designer.
Specialises in debugging.
I had a feeling that kernel compilation got slower recently and tried to find the slowest file across randconfig builds. It turned out to be arch/x86/xen/setup.c, which takes 15 seconds to preprocess on a reasonably fast Apple M1 Ultra.
This all comes from one line "extra_pages = min3(EXTRA_MEM_RATIO * min(max_pfn, PFN_DOWN(MAXMEM)), extra_pages, max_pages - max_pfn);" that expands to 47MB of preprocessor output after commits 80fcac55385c..867046cc70277.
I missed that party train: https://twitter.com/davidecci/status/1665835119331135488
Apparently Apple announced a new linker at the last WWDC.
Still, I would be curious to hear more details about it.
"i use linux as my operating system," i state proudly to the unkempt, bearded man. he swivels around in his desk chair with a devilish gleam in his eyes, ready to mansplain with extreme precision.
"actually," he says with a grin, "linux is just the kernel. you use GNU+linux."
i don't miss a beat and reply with a smirk, "i use alpine, a distro that doesn't include the GNU coreutils, or any other GNU code. it's linux, but it's not GNU+linux."
the smile quickly drops from the man's face. his body begins convulsing and he foams at the mouth as he drop to the floor with a sickly thud. as he writhes around he screams "I-IT WAS COMPILED WITH GCC! THAT MEANS IT'S STILL GNU!"
coolly, i reply "if windows was compiled with gcc, would that make it GNU?" i interrupt his response with "and work is being made on the kernel to make it more compiler-agnostic. even if you were correct, you won't be for long."
with a sickly wheeze, the last of the man's life is ejected from his body. he lies on the floor, cold and limp. i've womansplained him to death.
Anyone with a USB 4 host running Linux and a USB 4 hub (preferably Goshen Ridge based, e.g. the OWC USB4 hub) plus a few more devices they can plug in here? I’d like to see the kernel messages when debug is enabled for both thunderbolt and pci.
Right now there‘s an issue where hotplug interrupts aren’t triggered on the pcie bus and I‘d like to compare what happens on my M1 to a host that is known to work.