this post was submitted on 26 Oct 2023
773 points (95.4% liked)

Linux Gaming

15516 readers
192 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 45 points 1 year ago* (last edited 1 year ago) (2 children)

Could be both. Who knows. For high performance computing Linux is the de facto standard because it has better performances than windows, and Linux distros are usually better, stabler OSes overall when one needs raw performances. In this case, who knows, someone should investigate further

[–] sugar_in_your_tea 5 points 1 year ago (1 children)

I think it has more to do with Linux being easier to tweak, not some inherent performance difference. You can tweak the scheduler, page sizes, and all manner of other things to get a bit more performance if you know what your workload looks like. So it being open source and ubiquitous is a bigger contributor imo than anything inherent to the design of the kernel.

Regular users aren't going to go through that level of tweaking, so the difference should be a lot smaller and will benefit more from general code-level optimizations than system tweaks. General purpose, high performance computing works just fine on Windows, it's just easier to tweak Linux for production compute use cases.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

No no, it is better. Take a real hpc library, install debian and test it yourself. No tweak needed. Linux as kernel and the overall OS manages resources much better. Linux is a better kernel than windows kernel.

I've been doing hpc for over 15 years now. People install standard distros on their workstations and clusters. No tweak needed

[–] sugar_in_your_tea 1 points 1 year ago (1 children)

How big are we talking? I looked and couldn't find benchmarks, but then again I'm not familiar enough with HPC to know what benchmarks to look for.

I've been Linux exclusive for something like 15 years now (before Steam even came to Linux), so I'm not exactly familiar with Windows performance on the stuff I use. I casually look at larger projects and benchmarks they run (for example, I remember async on Linux vs Windows was a significant issue in the early days of node.js).

I do dabble a bit in hpc, but only on Windows and macOS. I've done signal processing and some high thread count number crunching, but I haven't needed to run benchmarks, just get things running well enough (as in, minutes vs hours, not 10-20% difference).

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

When I talk about hpc, I don't talk about a script in Matlab. I talk about the work you do on supercomputers, real computing intensive jobs that takes weeks or months on hundreds or thousands of processors. I guess you don't find benchmarks simply because no one uses windows, same reason you probably don't find a fiat panda in the Nürburgring rankings.

[–] sugar_in_your_tea 1 points 1 year ago* (last edited 1 year ago) (1 children)

K. Everything I've done is basically translating a Matlab script to Python using numpy or tensorflow or something. So we'd go from Matlab taking hours to Python taking minutes. The biggest project was a Monte Carlo simulation of signals produced from explosions (looking for seismographic impact) that takes something like 45 min per run when run on our cloud infra.

So something a little more interesting than plotting an FFT if overlaid signals, but still on the simpler end of the spectrum.

We're nowhere near the point where tuning the OS is interesting, we just use Linux because it's convenient. I wonder how much of the HPC crowd has a similar perspective, at least until you get to the higher end where tuning the OS becomes important.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

You don't really need to tune the operating system, you just need a good one. The hpc crowd has a pretty unique perspective. You won't find anyone doing any real hpc on windows, not even Microsoft