News for hackers. Stuff that matters.
Re:Apple Unveils M2 by smlacy on Monday June 06, 2022 @04:47PM (#31646023)
So you're saying that BSD has better power management than Linux? Would love to see some real research and analysis on this.
Re:Apple Unveils M2 by atq2119 on Monday June 06, 2022 @04:59PM (#31646176)
It's not a BSD vs. Linux thing. It's the entire software stack including user space, e.g. how much is the CPU woken up by silly background tasks doing useless things. That thing can be fixed regardless of the underlying kernel if people care enough. The total investment in desktop Linux is tiny compared to what Apple puts into macOS.
Re:Apple Unveils M2 by urthor on Friday June 10, 2022 @07:53AM (#31692774)
The vast majority of power management is less background services while active.

It's mostly about reducing idle power consumption sleep mode, and closed lid hibernation.

Most battery loss in mobile devices can be attributed to two things.

The screen, and how much is lost when the device is idle in your pocket/backpack.

Re:Apple Unveils M2 by corrral on Monday June 06, 2022 @04:56PM (#31646140)
My claim is that macOS and iOS have far better power management than Linux or Windows, or Android, respectively. Possibly that's directly due to their BSD heritage, but I doubt it.
Re:Apple Unveils M2 by mwcampbell on Monday June 06, 2022 @04:58PM (#31646166)
Apple's kernel isn't merely one of the BSD derivatives. And of course their userland is mostly proprietary.
Re:Apple Unveils M2 by olliej on Monday June 06, 2022 @05:01PM (#31646202)
No, macOS does its own power management - the base kernel may be BSD, but macOS has vastly more work in it than simply shipping a basic BSD system.
Re:Apple Unveils M2 by Klonoar on Monday June 06, 2022 @05:26PM (#31646505)
The base kernel is not really BSD.

https://wiki.freebsd.org/Myths#FreeBSD_is_Just_macOS_Without...

>Darwin - which consists of the XNU kernel, IOkit (a driver model), and POSIX compatibility via a BSD compatibility layer - makes up part of macOS (as well as iOS, tvOS, and others) includes a few subsystems (such as the VFS, process model, and network implementation) from (older versions of) FreeBSD, but is mostly an independent implementation. The similarities in the userland, however, make it much easier to port macOS code to FreeBSD than any other system - partially because a lot of command-line utilities were imported along with the BSD bits from FreeBSD. For example, both libdispatch (Grand Central Dispatch in Apple's marketing) and libc++ were written for macOS and worked on FreeBSD before any other OS.

Re:Apple Unveils M2 by astrange on Monday June 06, 2022 @08:07PM (#31648210)
It’s pretty BSD. Sure Mach is under there, but that doesn’t mean it “is” Mach. There’s a lot more original work that doesn’t belong to either ancestor.