One weird trick for better performance
And of course, the thing this is referencing
Hungry, But Too Tired To Cook? Try 30 to 40 Olives | Know Your Meme

Hungry, But Too Tired To Cook? Try 30 to 40 Olives refers to an exploitable image macro that suggests the reader eat 30-40 olives directly out of the jar w

Know Your Meme
@KayOhtie @thezoq2 I use a dessert fork. It's less messy, but not by a whole lot.
@KayOhtie Aight but they better be both green and black olives
@thezoq2 This is oddly specific, is there some context I don't get?
@quantensalat if there is, I'm not sure what it is. I just made the threads meme because I find the motor meme hilarious
@thezoq2 It is funny somehow. And I'm sure 67 amps give a lot of torque, too.
@thezoq2 THIRTY TWO KILOWATTS OF POWWWAAAAHH!
@thezoq2
Imagine there's a cluster
Of 64 G5s
Or 128 Opterons
Between them only CAT5
Imagine all the boxen
Benching Quake FPS...

Imagine no shared memory
It isn't hard to do
Nothing to spinlock or thrash for
No cache coherence too
Imagine all the boxen
Crunching local tasks...

Imagine there's no mainframes
I wonder if you can
No need for Crays or S/390s
A cluster loosely bound
Imagine all the boxen
Sharing all the LAN...

You may say that I'm a uniprocessor
But I'm not the only one
I hope someday you'll join us
And we'll simulate nukes as one
(src:
https://hardware.slashdot.org/comments.pl?sid=117178&cid=9912008)
10 Years of Beowulf Clustering - Slashdot

Imagine there's a cluster Of 64 G5s Or 128 Opterons Between them only CAT5 Imagine all the boxen Benching Quake FPS... Imagine no shared memory It isn't hard to do Nothing to spinlock or thrash for No cache coherence too Imagine all the boxen Crunching local tasks... Imagine there's no mainframes ...

@thezoq2 @firstyear programs were never meant to have predictable behaviour
@thezoq2 would work great for Minecraft.
1 game thread, 49 threads of Java garbage collector
@wolf480pl @thezoq2 You could also just try zgc.
@lispi314 @thezoq2 I think it didn't exist back when a friend of mine ran a modded minecraft server with that many gc threads.
@thezoq2 meanwhile at work: my dude we're already spawning 320 threads

@thezoq2 why 320 when it's 64 cores?

well it's 128 HW threads.

...wait, why 320 though?

look stuff on the thread pool was waiting for work to finish on other threads, and that got deadlock-y, so we just added another thread pool

...wait, why 320 though?

@thezoq2 (FWIW, no that's not the actual reason, there actually is 2 128-thread pools and stuff in category A must not depend on stuff in category B for deadlock reasons, but the other 60+ threads are just there because other things love to spawn a thread or 10 or 40 too)
@thezoq2 @julia Well, if you do have a semi-recent Xeon or EPYC processor, yes, that's a perfectly legit piece of advice.
@thezoq2 how does this help me with my scheduler delay woes?
@noah I think the scheduler would be much faster with 50 threads doing the scheduling!
@thezoq2 In 5 years we'll be writing programs in verilog for Maximum Parallelism™️

@avesbury_rosetta oh god, please no!

I don't want to have spent years writing a Verilog replacement just to have software people adopt Verilog

@thezoq2 you are joking, but gamers
Yes, you can have too many CPU cores - Ampere's 192-core chips break ARM64 Linux kernel in two-socket systems, company requests higher core count support

Core counts for ARM-based server CPUs are overwhelming Linux operating systems.

Tom's Hardware