New Linux Patches Enhance Single-Threaded Performance On Many-Core CPUs
Posted by somerandomxander@reddit | linux | View on Reddit | 78 comments
Posted by somerandomxander@reddit | linux | View on Reddit | 78 comments
AndrewIsntCool@reddit
Nice. What exactly constitutes "many core CPUs"? I see this article mentions 256 cores, will patches with it in mind positively impact consumer chips with \~16-24 cores?
FunkyRider@reddit
Not reallcalculation it's more of an edge case where you run single threaded calculation intense program on a server or workstation system with many cores you get a bit of real world boost. For desktop system it's negligible. In the test even for a 256 core system you only get 1.5% boost so for your 16 core desktop you can forget about it.
gslone@reddit
Low-Usage KVM Hosts maybe?
sjphilsphan@reddit
I first thought it meant Intel
xe_xe_x3@reddit
Thats so funny, windows gets shittier every day while linux is evolvin. Feelsgoodman!
kombiwombi@reddit
The Windows kernel and Linux kernel are pretty much on a par. The issue for Windows is the user experience is substantially driven by marketing, which doesn't happen nearly so much in the Linux user experience (although if distributions could leave the desktop background alone, that might be nice).
sjphilsphan@reddit
I wonder what would happen if windows opened up the kernel
Mr_Lumbergh@reddit
It would quickly become the basis for something that could run Win apps but lacked all the BS they insist on stacking on top of it.
wolfannoy@reddit
I'll create a fork that will be called " Swodniw"
Mr_Lumbergh@reddit
My fork will be called Doors.
FLMKane@reddit
Of perception?
Mr_Lumbergh@reddit
The very same. Desktop theme would be “Riders on the Storm.”
FLMKane@reddit
Into this house we're born, into this world we're thrown
Dysfunctionator@reddit
Mine would be Roof(not to be confused with Roofis), The roof, the roof, the roof is on fire....we dont need no windows let the mnufncker burn, burn mnufncker, burn....hehe..."come on party people!..."
Mr_Lumbergh@reddit
Throw your hands in the air
Dysfunctionator@reddit
bew bew!! come on party people....
Crashman09@reddit
Mine would be called MacroHard
NatoBoram@reddit
ReactOS in shambles
Mr_Lumbergh@reddit
That’s really more of an academic thing anyhow, last I heard it was still only at about Win2000 level of compatibility.
cjc4096@reddit
Not a lot. There's a lot of user land that makes windows windows. Probably see Wine ported to the kernel. Similar to reactos using wine. That might give you something open with windows device drivers.
I don't think it would dramatically increase compatibility. Anticheat wouldn't support it.
deanrihpee@reddit
basically Explorer DE got ruined into oblivion
LordDeath86@reddit
Crashman09@reddit
I remember back in 2009 when I dipped my toes into Linux. My first distro was haiku, then I moved on to Ubuntu, but moved back to haiku for the longest time
It really wasn't spectacular, and it couldn't do a lot of what I used my PC for.
I ended up keeping it a dual boot system because windows was perfect for my music making, gaming, and CD ripping and burning while I used haiku for my homework and studying because it was harder for my ADHD brain to get distracted until I learned about the customizable nature of Linux.
Good times!
astasdzamusic@reddit
Haiku OS is definitely not linux, right? Or is there some distro that used to be called haiku?
Crashman09@reddit
Oh maybe it wasn't
It came on a disk from a Linux magazine with a few other OSs that I played around with
Dysfunctionator@reddit
It really wasn't spectacular
and it couldn't do a lot of what
I used my PC for
- Haiku....
Mr_Lumbergh@reddit
This is good, I write music on Linux and single-thread performance is often more important the multi-thread performance in that application.
FalloutGuy91@reddit
This is a bit of a tangent, but what drumming VSTs do you recommend for use in Reaper in Linux?
Mr_Lumbergh@reddit
I actually use the AVL pack, it installs a few drumkits like the "Red Zeppelin" based on artist kits and is native.
FLMKane@reddit
Red Zeppelin? Is it 3 times faster than Led Zeppelin?
spawncampinitiated@reddit
Have you tried yabridge with windows VSTs? What's the latency like? Sorry for the off topic
Mr_Lumbergh@reddit
Yes, I use it daily. I’m seeing about 3-4ms, so really on par with native windows. I’m also running the latest realtime kernel and have some other tweaks going on.
OffsetXV@reddit
What distro/version are you using, out of curiosity, and did you have to do anything special to get it working? I've tried Yabridge on Mint, Fedora, and Arch, and have yet to get it to work. Yabridge will work fine, plugins will show up in REAPER, etc., and the plugin UI will sometimes even show, but they're completely frozen and unresponsive for some reason, even with the correct WINE version
Been pretty annoying because I've been trying to get back into music production after a few years away, and I've had a hell of a time finding plugins that replace all of my old Windows ones. I need FabFilter Saturn back in my life lmao
Mr_Lumbergh@reddit
I'm using a Debian netinstall with pretty basic packages added on top to keep it pretty lean. KDE Standard instead of full and WINE Stable (so 10.2?).
The GUI issue with the VST's is pretty common for WINE 10+; to fix your issue run winecfg in the terminal. It'll bring up the WINE configuration screen. Select Graphics > Emulate Virtual Desktop, then set a low res such as 1024x768. Apply and close.
Next time you launch your DAW you'll have a blue "windows" desktop pop up in a window when the VST loads. Some VST's like Cherry Audio Atomika require you to keep it visible, but I find that you can typically just minimize it and it should allow GUI interaction in the VST.
PlushyGuitarstrings@reddit
Some up to date YouTube videos would be sick. I used Ubuntu / Mint from 2007-2020 dual booting with windows for music production. Just installed Linux mint after the 5 year hiatus and am amazed how far support has come, eg. Steam. Next on the list is getting music production working.
OffsetXV@reddit
I downgraded WINE to 9.21 like recommended on Arch, but it was still refusing to behave for some reason. I'll have to try that trick though, may still help. Thanks for the suggestion
Mr_Lumbergh@reddit
I'd go ahead and upgrade to Stable and give it a go. Just checking, you did enable 32bit arch?
IAMPowaaaaa@reddit
Do daws actually not take advantage of multiple threads? I thought having multiple threads is beneficial when you need to process many tracks/plugins in realtime?
Mr_Lumbergh@reddit
It’s not that there’s no benefit at all, but a lot of tasks need to handled serially and so don’t benefit from threading. For example, effects have to be handled downstream of the instrument it’s acing on.
BinkReddit@reddit
Anything that doesn't do multiple threads well will benefit.
se_spider@reddit
Not to be overly pessimistic, but isn't this more just a revert / fix for a performance regression that was introduced earlier rather than something completely new that improves performance?
Heittovaihtotiedosto@reddit
Yeah, and based on the RFC extract, it effects thread initialization and tear down, not overall performance as many seem to assume here.
TacticalSupportFurry@reddit
yayy, many of the games i play are single threaded only
carlyjb17@reddit
This is for high core count cpus, a 256 core cpu has a 1.5% performance improvement so i doubt a consumer cpu having any improvement at all
TacticalSupportFurry@reddit
aw
still good but aw
carlyjb17@reddit
Yup, i had the same reaction when i saw it
Secret_Wishbone_2009@reddit
Linux will spend its time optimizing instead of adding corpo cruft in the kernel, performance is going to continue to diverge from commercial OSs in a poaitive way
pachungulo@reddit
Of all of windows' problems, their kernel is pretty decent. What you have a problem with is their userland.
Secret_Wishbone_2009@reddit
Honestly I have had way more blue screens and scheduling weirdness on Windows than Linux if we are going to compare.
jabedude@reddit
Most delusional Reddit comment. The people optimizing Linux are employed to do so by the corpos.
Commercial OSs also have people employed to optimize them. The main difference is one has development happening in the public eye
wolfannoy@reddit
Isn't the Linux Foundation backed up by multiple corporations, including Microsoft? I could be getting the logic behind that wrong.
Secret_Wishbone_2009@reddit
I can choose what goes into my Linux kernel , i cant choose what goes into my windows kernel (or userspace at all at work). Corpo influence in Linux is for server loads and drivers to support their own endgoals moderated by the open source community.
Salander27@reddit
Yeah but the Linux Foundation is more of an oversight/administration thing and for paying Linus and Gregkh and the other core Linux maintainers. The people actually doing the majority of dev work are devs working for major corporations.
KilroyKSmith@reddit
Yes, but they’re mostly paid to optimize the kernel for server loads, which should be completely divorced from the telemetry, ads, and AI that does other OSs are spending their time on.
Lmaoboobs@reddit
The kernel devs aren’t spending their time on integrating co-pilot into edge.
Psionikus@reddit
Phrases like this poll well among readers not working for Big Software, but since their usage is really about identifying and belonging to group A by taking pot shots at group B, nothing can really be learned from these words.
MyNameIs-Anthony@reddit
It's not really divisive to say that having an AI system constantly reading the totality of your system and updating itself each time you open like a File Explorer isn't productive to user experience.
Psionikus@reddit
How do you jump from "corpo cruft" in Linux to AI? How do people upvote this?
Crashman09@reddit
Let's break it down.
Microsoft is pushing insane amounts of invasive telemetry and AI (the aforementioned "corpo cruft" to further exploit their userbase. Yes, the AI bit that confused you is included in Microsoft's cruft.
Linux developers aren't pushing any of that in our faces, and even if some try, we have the ability to just move on to another distro. Those developers are, instead, putting their time and resources towards proper improvements rather than the "corpo cruft" the other poster was talking about.
This isn't hard, the information and context can be found within the comment chain, you just gotta read a bit if you can.
A side note, I normally wouldn't be this passive aggressive, but if you're going to be insufferable, then it is fair game.
Psionikus@reddit
When some people (software engineers) talk about corporate influence on Linux, they might mean perceptions that it's hard for independent developers to get patches in.
Since the article was about a performance patch, I initially read the parent to be talking about that perception rather than implying something about AI, which OP is not about.
You felt compelled to introduce all of the other inference because it's not in the comment chain, so how about talking instead of playing Reddit?
Secret_Wishbone_2009@reddit
I think you just misunderstood my comment to be honest. Linux isnt adding corporate functionality whereas commercial OSs (windows, even ios, MacOS) closed source kernels and userspacea can and are. By corporate functionality i mean specifically cruft where there is no benefit for me as a user. The amount of monitoring and AI integration with the some intent of monitoring and “assisting” me with AI functionality I don’t need or want is incredible. For me on both mobile and stationary i want full open hardware and software or all I am doing is aiding and assisting technofascists.
Crashman09@reddit
They might mean that. But context from the comment chain you're contributing to suggests otherwise
The comment talking about AI is talking about corporations injecting invasive spyware into their technologies. This whole comment chain made sense for literally everyone else here.
It is in the comment chain. I didn't have to do any decryption or interpretation. It's all there.
This isn't playing reddit, this is basic reading comprehension and knowing how to talk with people.
PsyOmega@reddit
Root parent of this thread was referring to corpo cruft on the windows side, NOT being in linux.
Lately, that cruft is AI which is largely leveraged to spy on the user.
If that doesn't clear it up for you, you need to read more news.
Novel_Lie5519@reddit
“how can i be the most insufferable commenter today”
Psionikus@reddit
Reddit performing as usual.
Novel_Lie5519@reddit
“how can i double down on my insufferability”
Secret_Wishbone_2009@reddit
I think I touched a nerve maybe.
deanrihpee@reddit
there's nothing "interesting" in the kernel, unless you intend to add backdoor
but in Microsoft case, they basically just butchered the Explorer DE, at least the kernel is fine… for now, which i kinda curious what would it be like if their kernel is vibe coded lol
ECrispy@reddit
is this going to improve performance of nodejs and python apps?
there's many of those used in desktops, usually packaged in some app the user downloads even if they are an end user and not a dev, and most of them are single threaded.
not_a_novel_account@reddit
No, this is about server-class packages with hundreds of CPUs, not desktops
TheFumingatzor@reddit
The moment I don't need a PhD to play 90s (WIN)DO(W)S games on Linux and can play A-L-L "current" games on Linux, is the moment I finally ditch Windows. Nothing really holds me but gaming.
QuietRat56@reddit
At this point, most games on Steam that don't support Linux go out of their way to not support Linux. Proton is there, anti cheat developers have options for devs to support Linux, most major titles with anti cheat enable those, there's just a handful of stragglers that don't. It's good enough for major successful consoles like the Steam Deck, it's good enough for 90% of players
PsyOmega@reddit
Linux is an easier platform to run dosbox on than windows is, ironically.
LesChopin@reddit
Strange. Because 90’s windows games generally only work in an emulator. And I’d put Linux up against windows for old games any day of the week and twice on Sunday.
CaptainDarkstar42@reddit
Out of curiosity, have you tried a PC emulator for the 90s Windows games? That and or Dosbox should solve a lot of your issues no? I know a lot of multiplayer games won't work still on Linux but just about everything else should be good.
Sparky_Otter@reddit
I really really appreciate all the Linux devs out there for making the OS more and more optimized.
WarEagleGo@reddit
:)
PeacefulDays@reddit
appreciate linux devs.