Hacker News Comments on
Fixing Apple's Engineering in an Hour
Linus Tech Tips
·
Youtube
·
43
HN points
·
9
HN comments
- This course is unranked · view top recommended courses
Hacker News Stories and Comments
All the comments and stories posted to Hacker News that reference this video.> Preference of thin&light vs upgradeability/cooling.I recently watched something[0] about the Macbook cooling (Intel, at least) and you seem to be right.
The newer ones might, but the older ones seem to have the worst thermal solution of just about any modern laptop if that Linus Tech Tips video is to be believed.If I opened my computer that was thermal throttling and found that I would demand a refund. An undersized heatsink that wasn't making proper contact to the die. With a fan that 1. Isn't sucking air in from anywhere. And 2. Isn't blowing anything over the heat sink.
"Think different" as in "be dumb". Or smart; Because that makes their new computers that are properly amazing look even better in comparison.
Edit: paste mistake. the video link is here. Can't edit the original commet. https://youtu.be/MlOPPuNv4Ec
They should have had better thermals in the previous 13" Pro, but...https://www.youtube.com/watch?v=MlOPPuNv4Ec&t=3m56s https://www.youtube.com/watch?v=MlOPPuNv4Ec&t=5m30s
That's just a headscratcher.
⬐ reader_modeI have an 2018 MBP with an i9/Vega20 - I can testify how terrible their thermals are. But given that this thing can be passively cooled - even apple crappy venting will probably do a decent job with this chip. Need to see what happens when the reviews land.
Sure, if by "more creative" you mean handicap the CPUs by not delivering them any power because they know they can't cool them.
⬐ kube-systemIntel processors use Intel designed throttling solutions... which exist to keep their own processors from overheating because they have no control over the final implementation.These new M1 laptops are the first laptops that have complete thermal solutions designed by a single company.
As an example, there is the potential to design a computer with no throttling at all if you are able to control the entire thermal design.
⬐ dahfizz> As an example, there is the potential to design a computer with no throttling at all if you are able to control the entire thermal design.This is not true. A laptop needs to work in a cold room, in a hot room, when its radiator is dusty, etc. If your CPU is not willing to throttle itself then a company with Apple's scale will have machines overheating and dying left and right.
For a computer to never _need_ to throttle, either (1)the cooling system has to be good enough to keep up with the max TDP of the CPU, or (2) you "pre-throttle" your CPU by never delivering it more power than the cooling system could handle. Apple refuses to accept solution 1, so they went with solution 2. If you watch the video I posted, it shows that even when there is adequate cooling, the new macbooks will not deliver more power to the CPU. In effect, the CPU is always throttled below its limit.
https://www.youtube.com/watch?v=MlOPPuNv4EcThis is a video from Linus Tech Tips that demonstrates that no matter how much you cool it, they've physically prevented the chip from taking advantage of it.
And if it could be fixed with software, they would have worked out how, they're into that kinda tweaking.
How it compares to normal i9 device. Linus took apart a macbook air and the cooling was so bad that it may be the reason the i9 cooling so badly designed. It may be badly designed on purpose to show that the performance of arm chips in macbooks is comparable to an i9 without cooling https://youtube.com/watch?v=MlOPPuNv4Ec
⬐ rowanG077The i9 is not in an Macbook air. It's in a Macbook pro 16 inch which has a completely different design. But you are right that all ultra mobile laptops on the market have way too shitty cooling. You could easily get an additional 10% of performance if the OEM would stop the insane thinness war.⬐ tonyedgecombeInterestingly the latest MacBook Pro did get thicker than its predecessor. Not a lot but perhaps they have got to the point where they are thin enough.⬐ the_luciferThe added thickness was attributed to the keyboard changing back to the Scissor mechanism from the Butterfly mechanism that was plagued with issues
Not really, Apple's CPU/GPU teams are very good, hey chaps and chapesses, but their primary advantage comes from the fact that Apple is looking at revenue for the entire device, the SOC is not the product. They can afford a little more cache etc. It's also right to point out that the margin is pretty narrow in A13 and Snapdragon 865 guise. So saying they are year(s) ahead is hyperbole, perhaps 6 months! In anycase the relatively close performance of the current SOCs makes me eager to see what they do with Apple Silicon in order to bridge the gap to Desktop/Laptop class performance? I do wonder whether the current cooling solutions in Apple's laptops are more about delivering the best product to the consumer or creating a favourable comparison to their own silicon. I found this LTT, https://youtu.be/MlOPPuNv4Ec?t=321, intriguing and wonder if this is deliberate or a manufacturing defect. Note the gap between the CPU lid and the die. It's a fairly entertaining video, the things they try but that gap, the entire cooling solution actually, are a little hard to understand.
⬐ rattycI came here expecting an in depth view of Apple's Software Engineering practices... I am disappointed.⬐ ToniCipriani⬐ eqvinoxThat would be Louis, not Linus.Consumer hardware engineering these days is all about getting away as close to the edge as possible. And that'd be fine, if there was an option for better margins at a higher price. But there isn't...⬐ jam3snCan't have that MBA beating the base spec MBP... -_-⬐ ScottFree⬐ OldTechSucksWatch the whole video. They managed to keep the laptop ice cold with a custom heatsink, but even then only managed to eek out a 12% performance improvement. As it turns out, Apple actually knows what they're doing.⬐ NextgridFrom what I understand it's the CPU power management/frequency profile that is limiting it. Even when satisfying the thermal requirements they were still getting sub-par performance because presumably the CPU was being limited in software anyway.A combination of good cooling + a tweaked power management profile to accommodate the better thermals should give a substantial performance increase.
⬐ dfobfdc⬐ LunrtickApple ran that experiment for you. It’s called a 13” MBP.⬐ ScottFree> A combination of good cooling + a tweaked power management profile to accommodate the better thermals should give a substantial performance increase.Give it a try and report back.
edit: Wow, HN has changed. There was a time when experimentation was encouraged here.
⬐ Nextgrid⬐ slantyyz> Give it a try and report back.Modifying the thermal & power management profile is very difficult as it would require reverse-engineering the firmware.
I guess a temporary hack would be to mess with the current sensing circuitry to make the machine believe the CPU is drawing less current that it actually is and encourage it to give it more power.
⬐ eqvinoxI don't think that's terribly useful. Regardless of how much processing power you can extract from the CPU, there is the parallel question of CPU lifetime.You can see in the video how hot the CPU runs. If I remember correctly, a 20°C temperature increase halves the lifetime of electronics. "Normal" laptops tend to stick around 60°C-70°C. Apple apparently decided that halving or even quartering the CPU lifetime compared to that is fine.
That said, most MBA CPUs probably spend their CPU lifetime closer to idle. It'd be interesting to get temperature numbers for that. Still, it's worse than it could - and IMHO should - be.
⬐ ScottFree> I don't think that's terribly useful.The entire overclocking community would disagree with you.
⬐ eqvinoxThe entire overclocking community also decided lifetime is secondary to performance, yet I still feel rather displeased with Apple deciding to make lifetime secondary to saving a few cents on a better cooling solution :D⬐ ScottFreeIf the CPUs on your macbook pros are dying, you're doing something very wrong. If they're not, then you're creating an issue where none exists.> presumably the CPU was being limited in software anywayWould this be in the OS or the bios (or whatever they call it on a Mac)?
If it's the former, I wonder if the test would have been more interesting if the MBA was running a different OS.
⬐ kalium-xyzFirmware, good luck overclocking a macbook⬐ NextgridFirmware.Doing it within the operating system is suicidal as a malfunction of the OS (whether accidental or due to malware) would force the machine to operate beyond its thermal limits and potentially damage itself.
⬐ cassianolealThe thermal management is done in userland. This is probably the same.⬐ eqvinoxThis is another misunderstanding/misconnection. "kernel_task" is used to report "missing" CPU time so the CPU usage accounting remains consistent even when the CPU is throttled. That does not mean either the kernel or userland have any input to the thermal throttling functions.There's also multiple levels of protection and throttling. At the lowest level, various ICs on the board (e.g. power regulators) will turn themselves off if they overheat. Somewhere above that, firmware will definitely exert /some/ control, to cover odd situations like the machine hanging while booting. Above that, the kernel or userspace can add another layer — but like each of the layers before, that layer can only lower the limits further.
Having thermal management in userland (and nowhere else) would be legal suicide. Imagine the lawsuits from people accidentally burning their legs...
⬐ cassianolealThanks for this.I believe you are correct, although I did think that kernel_task was there to help cool the components down, and not simply as a devide to report throttled CPU usage consistently with unthrottled.
That said, I didn't mean to say that thermal throttling only happened in userland but rather that it did happen there, even though it might also happen elsewhere.
Within the context of this thread, this is relevant since in this case the CPU was not being thermally throttled as it was running cool, but something was still throttling the amount of power going to it.
I was merely suggesting that Nextgrid's affirmation that it must have been the firmware throttling the CPU is not necessarily true. Given that there is a software component to thermal management (or at least I thought so), it's only logical to assume that there may be a software component of whatever other throttling was occurring without it necessarily being suicidal as suggested.
They dropped the temperature under load by a good 10 degrees C just by milling a few mm off the heatsink so it actually made contact with the CPU... sure, that didn't increase the performance drastically, but it seems like a massive oversight on Apple's part⬐ jam3snI have, but the fact the heatsink didn't event mount properly is kind of annoying... I agree, they know what they're doing, but I also wish they'd have designed better cooling.⬐ carlosrg12% is a pretty decent improvement.⬐ bluedino⬐ glitchcThe problem is that the 13" MBP is over twice as fast in many benchmarks, but people think "if they had just put a better fan/heatsink on the air" they would be the same speed.I wonder how much faster the 13" Pro would be if they did a similar setup.
⬐ jedieastonIn this[0] iFixit teardown (of last year's 13-inch, they don't have one for this year yet, but I assume the inside layout hasn't changed much), the cooling setup is a lot more traditional with a heatpipe from the CPU to the fan. I don't think it'd get a lot of benefit from the watercooling that LTT did (at least, without Apple's power profile taking over and throttling).The only reason I can think of that Apple set up the MacBook Air like that was because it was supposed to be fanless and at the last second they couldn't figure out a way to eek out performance, so they added a fan where it would fit. That doesn't sound much like Apple's engineering though, so I don't know why they did it.
0: https://www.ifixit.com/Teardown/MacBook+Pro+13-Inch+Two+Thun...
Yeah, I was kinda disappointed by the end. They really didn't gain that much performance.⬐ netsharc⬐ eqvinoxBecause Apple limited the CPU to only be able to use x amount of Watts, because otherwise the cooling/the power consumption would be outside of their "product design goals".But they probably still advertise "latest Intel CPU with xyz GHz and blah blah amount of cores.". But that would be like buying a Ferrari with advertised "an engine capable of gazillion horsepowers", but having it limited to only be able to go up to 2000 RPM...
⬐ II2II> But they probably still advertise "latest Intel CPU with xyz GHz and blah blah amount of cores."From what I have seen of LTT, their biggest criticism of Apple is their tendency to emphasize the turbo boost clock speed when the CPU is nearly always being throttled (presumably below the base clock speed) due to the machine being unable to dissipate the heat.
If you want to see an example of Apple advertising the turbo boost speed in very large print, check out the "Overview" page on the 13" MacBook Pro.
I think you misunderstood that. They hit the power limit, which just means after deciding the thermal limit Apple saw no reason to give it a CPU power supply that can go much beyond that. (Which might be either a hardware or a software limitation.)I found it unreasonable that ipad keyboard is only $300. simultaneously, Windows is very bad OS: bitlocker, updates, userland, no solution for game anti cheats so every game has to run a special program to create anti cheat program, visual studio is terrible.yet, in the long run I think the OS itself is beast!
⬐ code4teeTo be fair isn’t this probably the case with just about every laptop? Kit it out with some crazy totally impractical cooling setup and you can squeeze out a bit more performance. Even after all the craziness they edged out enough performer to detect it on a stress test but probably not enough to materially impact user experience.This video sort of misses the point that real-world design is balancing multiple factors, not just over-optimizing one factor at the cost of others.
People don’t buy a MacBook Air because their looking for the fastest processor performance processor. That’s not the point of the product or the market it’s made for.
⬐ devxpyHmm, fair point, but I do expect the CPU and the fan to at least be to be connected!The machine quickly jumps to 100 degrees on load, which is something I do care about, from a usability perspective. I have to regularly turn on the aircon to make the keyboard on my MacBook Pro even usable -- something I did not have to do on a ThinkPad T440p.
And then there's the chance of damaging internal components because of the sustained high heat over a long time.
I think the intention of the video, initially, was to "squeeze out a bit more performance.", but it ended up demonstrating some arguably obvious oversights in the thermal solution of a rather expensive machine.
Everything you said is echoed in this LTT video from yesterday[0].It does appear to be a very poor thermal design, but you can see that most of the issues appear to be from trying to make the user not feel the heat.
It feels a bit icky to leave performance on the table like that; since you paid for a CPU and are getting a marginal performance from it. But I remember Jobs giving a talk before about how "Computers are tools, and people don't care if their tools give them all it can, they care if they can get their work done with them well"
That's not a defense of a shitty cooling solution, but it is a defence of why they power limit the chips. When I got my first (and only) Macbook in 2011, it had more than twice the real battery life of any machine on the market. That meant that I was _actually_ untethered. That's what I cared about at the time much more than how much CPU I was getting.