News for hackers. Stuff that matters.
Re:An app for M1 Macs that plays the sound of a fan as CPU u... by heavyset_go on Sunday July 18, 2021 @08:33PM (#27878041)
> The thing macOS on M1 does very cleverly is scheduling threads on cores. IIRC all UI threads run on high-power cores, while all background tasks run on low-power ones. So they never interfere with each other. iOS probably does the same; Android probably does none of this.

This feature has been in the Linux kernel for ages[1]. Android and ChromeOS are based on the Linux kernel, and have had this feature for quite some time. This is nothing new.

[1] https://community.arm.com/developer/ip-products/processors/b...

Re:An app for M1 Macs that plays the sound of a fan as CPU u... by sooheon on Sunday July 18, 2021 @11:00PM (#27878827)
So why does linux ux feel slower?
Re:An app for M1 Macs that plays the sound of a fan as CPU u... by cosmojg on Monday July 19, 2021 @12:08AM (#27879152)
Because in many cases, it is. Unfortunately, there isn't as much communication between the GUI people and the kernel people in the Linux community as there is between those same groups at Apple Inc. Not to mention, there are multiple competing groups of GUI people in the Linux community making coordination across these levels difficult. Also, there are many competing interests working on the kernel who might oppose kernel-level optimizations which favor desktop usage at the cost of, for example, server usage. As a result of these and many other factors, Linux's desktop UX remains far less optimized when compared to macOS's desktop UX.

As with most of Linux's rough edges, however, this is trivially fixable if you're technical enough. Of course, that's exactly macOS's advantage. If you want the best experience on macOS, you don't need to be technical.

Personally, I run Linux with a tiling window manager and lots of custom keybindings and little scripts. Having used the default macOS experience a few times at work (on machines far more powerful than my dinky laptop), I can assure you that my highly customized setup feels far more responsive. On the flip side, it required a lot of up-front investment to get it to this point.

Re:An app for M1 Macs that plays the sound of a fan as CPU u... by qwerty456127 on Monday July 19, 2021 @03:26AM (#27880071)
I never felt the UI responsive difference between Linux and MacOS but Windows (including freshly installed on powerful many-core machines when) is a different story. The number one reason I ever switched from Windows to Linux is the latter always feeling way more swift - UI responsiveness always remaining perfect and some background tasks also working much faster. And I never actually used lightweight WMs - only KDE, GNOME and XFCE. The first time I've noticed some slowness in Lunux was on RaspberryPI (4, with the default LXDE).
Re:An app for M1 Macs that plays the sound of a fan as CPU u... by vladvasiliu on Monday July 19, 2021 @02:42AM (#27879883)
This.

I think the main advantage with macOS is that it's above all else a system designed to be used interactively, as opposed to a server, so they don't have to put out a configuration "good enough for most things".

I also run Linux with a tiling window manager on an old machine (3rd gen i7), and it flies. One thing that made a huge difference in perceived latency for me was switching the generic kernel with one having Con Kolivas' patch set [0].

I'm using Arch and sign my own EFI binaries, so I don't care about out of tree patches, but for Ubuntu users and similar who don't want to mess with this, there's an official `linux-lowlatency` package which helps [1].

---

[0] https://wiki.archlinux.org/title/Linux-ck

[1] https://packages.ubuntu.com/search?keywords=linux-lowlatency...

Re:An app for M1 Macs that plays the sound of a fan as CPU u... by DonHopkins on Monday July 19, 2021 @05:59AM (#27880790)
X-Windows: …A mistake carried out to perfection. X-Windows: …Dissatisfaction guaranteed. X-Windows: …Don’t get frustrated without it. X-Windows: …Even your dog won’t like it. X-Windows: …Flaky and built to stay that way. X-Windows: …Complex non-solutions to simple non-problems. X-Windows: …Flawed beyond belief. X-Windows: …Form follows malfunction. X-Windows: …Garbage at your fingertips. X-Windows: …Ignorance is our most important resource. X-Windows: …It could be worse, but it’ll take time. X-Windows: …It could happen to you. X-Windows: …Japan’s secret weapon. X-Windows: …Let it get in your way. X-Windows: …Live the nightmare. X-Windows: …More than enough rope. X-Windows: …Never had it, never will. X-Windows: …No hardware is safe. X-Windows: …Power tools for power fools. X-Windows: …Putting new limits on productivity. X-Windows: …Simplicity made complex. X-Windows: …The cutting edge of obsolescence. X-Windows: …The art of incompetence. X-Windows: …The defacto substandard. X-Windows: …The first fully modular software disaster. X-Windows: …The joke that kills. X-Windows: …The problem for your problem. X-Windows: …There’s got to be a better way. X-Windows: …Warn your friends about it. X-Windows: …You’d better sit down. X-Windows: …You’ll envy the dead.

https://donhopkins.medium.com/the-x-windows-disaster-128d398...

Re:An app for M1 Macs that plays the sound of a fan as CPU u... by grishka on Monday July 19, 2021 @06:52AM (#27881095)
> like Sun’s Open Look clock tool, which gobbles up 1.4 megabytes of real memory!

It's funny to read this in an era when smartphones come with 6 GB of RAM to compensate for developers' laziness and unprofessionalism.

Re:An app for M1 Macs that plays the sound of a fan as CPU u... by heavyset_go on Monday July 19, 2021 @02:54PM (#27886073)
Almost all major distributions use Wayland as of today.
Re:An app for M1 Macs that plays the sound of a fan as CPU u... by CTOSian on Monday July 19, 2021 @06:59AM (#27881149)
move on its 2021....
Re:An app for M1 Macs that plays the sound of a fan as CPU u... by heavyset_go on Monday July 19, 2021 @12:43AM (#27879329)
I use Plasma Desktop and it's been more responsive than macOS was, so I don't know.
Re:An app for M1 Macs that plays the sound of a fan as CPU u... by jcelerier on Monday July 19, 2021 @03:58AM (#27880248)
On the exact same hardware linux always felt much faster to me, I remember doing stuff like resizeing finder windows vs KDE's dolphin, finder would be all janky and laggy and KDE wouldn't miss a frame
Re:An app for M1 Macs that plays the sound of a fan as CPU u... by kaba0 on Tuesday July 20, 2021 @07:24AM (#27892408)
Re:An app for M1 Macs that plays the sound of a fan as CPU u... by heavyset_go on Monday July 19, 2021 @02:53PM (#27886067)
Yeah, my go-to for speeding up Macs is to throw Linux on them.