The Apple M1 compiles Linux 30% faster than my Intel i9
jeffgeerling.com
jeffgeerling.com
So, personally, I like to work on a desktop computer. I don't care all that much about the power efficiency as I do about performance. So, I was curious, and ran the same test on a regular good top-end desktop hardware, and the same test took 2 minutes and 53 seconds. In other words 4.3x faster, or "78% faster" if using the same metric. Compared to the M1 time it would be 3.1x and 68% respectively.
Just to be clear. This isn't a comment that "with my beefy computer I can outperform the M1". My desktop environment is not something I can commute with. My point is nothing more than, maybe to add some interesting data-points that I find are hard to come by. I seem to always see the M1 be compared to older apple hardware. Maybe that's all you wish to know. If MacOS is a must-have, then I suppose it doesn't really matter what else exists. And this is fine, I have no objection to it.
The other noticeable thing for me I think is driver related: instant wake, instant resolution change.
It’s noticeably nicer to use.
Is it faster than a desktop? No, but comparing it to a desktop feels like the weirder comparison to me.
I also agree that it is weird to compare it to a desktop. In fact, my larger point is that I feel these benchmarks, and subsequent comment discussions, tend to imply this comparison. And, I don't see the harm in then showing what those numbers would be. If power consumption isn't important, I sure would like to know.
M1 is really most impressive when compared to Intel parts and especially when compared to the underspec’ed Intel parts that Apple used to ship.
Yes, the M1 is good but I’m honestly just tired of hearing about it. The story seems to be about the decline of Intel’s fab supremacy more than anything.
I'm not sure how it compares in terms of power efficiency though I'd expect the ARM chips to be more efficient both because of the transistor size and the ARM CPU not needing to support instructions from the 60s.
I'm very excited to see a new competitor in the CPU game and I'm a big fan of ARM, hopefully we will see further disruption but in the PC space.
Imagine a 128 core desktop CPU. It will be interesting to see how software has to evolve in order to maximise utilization of the quantity of threads.
Apparently, those weird instructions only take up a teeny-tiny amount of space on the CPU and are basically implemented in micro-code.
To be backwards compatible those instructions just need to be supported, but they don't need to be fast. So they are implemented such that they don't get in the way much.
There's been a lot of comments about how ARM is going to revolutionise everything, but that doesn't seem to be the case for the chips you can actually buy (e.g. Qualcomm Vs AMD). Honestly, I don't see the M1 as a statement about how good ARM compared to x64, but how good Apple is compared to the rest of the field.
Not only this, but the PHP/Python/Javascript kiddos will need to learn:
1. Languages that get closer to the metal. 2. Utilize those languages to make their applications aware of data locality, temporality, and branching.
The bottleneck of the future is memory and pipeline stalls. Spraying objects all over the heap is one of the dumbest things you can do with modern processors, but developers do it all the time. This needs to get fixed.
I wouldn't expect large numbers of benchmarks of intels new mobile chip against AMDs fastest desktop chip so I don't know why people find it unusual in this particular circumstance.
When you see “M1 beats XXXXX at XXXXX task” I don’t think anyone really cares that much about that task, but it usually makes you think, “crap, imagine what their proper MacBook Pro pro / Mac Pro chip is going to be able to do. Or what it will do in 3 years...?
Also, everyone just loves watching Intel suffer.
( do some more search, adding “micro” )
Ok, so it IS a British Broadcasting Corporation spawn.
Ha. Excellent. I had no idea.
Thanks for spelling it out, I was about to reject the idea as funny but unlikely.
I have a hard time following the connection with M1 processors?
Though not sure how that would fit into the metaphor.
You get those from core dumps.
- https://old.reddit.com/r/sysadmin/comments/2gt7x5/just_sysad...
I say "sound" because I don't feel like an early adopter much; don't have one yet.
Got an M1 Pro and normal daily use just doesn't trigger the fans. I can do it by, e.g., charging whilst playing Minecraft or running something that uses all 8 cores at full speed for more than two minutes-ish (`wireguard-vanity-address`, Blender render, etc.) but it's an oddity to hear them these days.
You’re completely focusing on fan noise here, but of course it also enables tiny devices with great battery life and - this isn’t completely irrelevant when you run your computer for a significant part of the day - lowered electricity cost.
Oh, and I believe these processors have quite some head room before they will reach the physical thermal limits others have already run into, so expect some more raw performance on better cooled systems.
You're optimistic there. Where's my iPhone with a 7 day battery? Last time i had a phone that lasted 7 days it was a Nokia 6210 with a b&w screen.
> and - this isn’t completely irrelevant when you run your computer for a significant part of the day - lowered electricity cost.
I care about that too, but prolly not worth mentioning on an US centric site.
Always funny to see a European head to a "US-Centric" site just to constantly take jabs at the US, which your posting history confirms.
But HN is more California (and Bay Area)-centric, if you're being technical; which is generally considered energy and eco-conscious:
https://www.bobvila.com/slideshow/america-s-10-most-energy-e...
For future reference, and to realign your stereotypes.
Oh well, good job Trump. But we're getting political so let's shut up.
This is such a weird fucking statement.
Apple literally think they own your hardware after you buy it, and Intel are the evil ones?
I don't really do fanboyism, currently own Mac, windows, Linux, Intel, amd, android, iPhone, switch and PlayStation.
I just use what I use but I don't get so attached, apple has been lacking for years. M1 is ok but honestly it feels like they've only just caught up to everyone else.
Not if you've been in the industry for long enough. And it has absolutely nothing whatsoever to do with Apple, the "everyone just loves watching Intel suffer" (or more charitably, "watching Intel get a bit of comeuppance and much needed kick in the arse") bit stands on its own no matter who is dishing out the suffering because Intel has been a big PITA for everybody since the late 90s/early 00s. Intel is pretty much single-handedly responsible for lack of widespread ECC memory for example. They've nickle and dimed everyone and feature gated important functionality for pricing power and basically just exploited the ever living shit out of their dominant CPU position. And the last time they were getting threatened in terms of that position, they bought themselves what they needed with illegal tactics denying AMD a chance to get the ball rolling, dooming us to another 10-12 years before they could go for it again. And Intel has been this way for ages and ages. People still remember everything that went down around Itanium and how it choked off promising alternatives.
So yeah. Intel have indeed been the evil ones, and in a way that's been a lot harder to avoid than Apple which you might stop and recall has in fact always had only a tiny minority of the PC market. I mean, if you want to talk about Apple specifically:
>Apple literally think they own your hardware after you buy it, and Intel are the evil ones?
That's kind of amusing given the access Intel has given themselves at a deep level on every CPU.
>M1 is ok but honestly it feels like they've only just caught up to everyone else
This is just you being silly. "Only just caught up"? They were using Intel before so they were by definition the same as everyone else. What they've done in mobile CPU design has been genuinely remarkable. And that in turn is a genuinely good thing in general whether you use them or not, same as with AMD. We're already seeing Intel sluggishly but seriously start to respond and shift.
> ...given the access Intel has given themselves at a deep level on every CPU.
And they use that to stop end users from doing what?
Meanwhile Apple will have you paying them yearly to sign apps as they continue to build a dystopian new world order where only they control everything you can do with your own hardware. I honestly hope that their marketshare keeps growing in all categories though. The more successful they are the better chance people will rebel against them. You can't run an app business in the United States without dealing with Apple. Whatever Intel has done is hardly comparable.
Well, the new M1 computers have a built-in ability to run third-party OSes. It is not an oversight but rather something Apple intended to do and spend effort implementing in a way that fits their security model. That they did not provide any hardware documentation to go with it, is another thing.
And most of the time I forgot I did it in a matter of weeks.
I’m not sure what it’s in my current machines. It work really well.
On the other side, for some reasons all my work computers have been macs for a solid 10 years now. Basically after the intel shift.
And boy oh boy I had moment of annoyance toward Apple.
I think Intel has a huge challenge ahead but one thing that's helped them is that Skylake was competitive enough to get them through the process node mistakes (at least to this point). Maybe what we've learned is that fewer chip buyers care about performance and power tradeoffs than imagined (or at least, than I thought).
[1] - https://www.statista.com/statistics/263559/intels-net-revenu...
Commodore reported 7-year record revenue with good profit 4 years before going bankrupt. https://dfarq.homeip.net/commodore-financial-history-1978-19...
Intel's a little different though. It's not like consumer sentiment has changed like in the case of the C64->PC or BB->iPhone. AMD and ARM are strong competitors but Intel is in this position because they made a major technical misstep. Maybe more like Microsoft and the Longhorn/Vista debacle. I don't think we can conclusively say Intel or even x86 can't be competitive when they get their process figured out.
Intel has been selling same 4 core CPUs for almost 10 years now, only last year finally releasing something able to compete with Ryzens on $/core count.
If you’re on a tight budget and can only afford one, you don’t want to feel as though you’ve made the wrong choice and are missing out.
If you can afford to buy both then it’s not as big of a deal.
I'm interested if AMD/Intel will respond with their own beefed up desktop profile RISC/ARM processors.
Performance isn’t amazing, but it blows my mind that it works at all!
I bought in 2019 ThinkPad t490 (for nearly 1k $) after my Dell n5110 it's just wow. Speed, touchpad. And then two weeks ago I decided to give it a try to Macbook Air and bought minimal 8/256.
And this machine slightly (IMO something 2x in indexing my phpstorm project) faster then my t490 with i5-8265U 24/256 BUT its silent and cold and battery life. After full working 10h day I have 30-40% And I was shocked that 8 gigs is enough for me, on ThinkPad I used at least 10-12 gigs for my work.
I just bought minimum to try macos and planned to switch to 16 gig version or go back to ThinkPad, but now I can use it at least next couple of years
No regrets from switching
The implications are huge. Think about the competitive advantage a data center that operated with no cooling requirements and much lower power requirements would be if it got the same (or better!) performance than an equivalent intel based one.
It's not just faster, its faster than equivalent parts AND way more efficient.
I only use a laptop, like many others, and I believe it's very fair to compare M1 vs last generation Intel. Why? Because both are Apple computers (few differences in screen brightness, colors, etc), same OS (few differences in optimization, stability, support, etc) and similar constrains from being a laptop (thermal, power, etc). Intel's year over year improvements are minimal, so "last year" Intel vs "this year" m1 is a fair comparison. It'll not be so when we get to m3+, but even m2 would be fair-ish game and gain more from comparing an Apple Intel computer vs Apple m2 than comparing it with a totally different windows machine.
Regardless, it's good to see some innovation--no matter how much hype is involved.
The point here was the nostalgic "I miss the days when computer performance increased noticeably", which apparently hasn't happened for a while, until the M1 came along. If it is performance you're after, the only way that sentiment could hold true, was if you limiting yourself to the rather poor performance in older apple hardware. Just think about it... if a 1.33 speedup would give this feeling, imagine what a 4x speedup would feel like.
So, it's not that I think the M1 is bad. It's that these posts that keep popping up, week after week on Hacker News, which go to some lengths to show how the M1 is 30% faster at some heavy work load than the older, and much worse Intel processors. It just seems strange.
I'd be very happy to see comparison of other ultrabooks with the m1, but AFAIK everyone who "beats" the m1 are desktop workstations and not ultrabooks.
You could get that battery life before, but not without tradeoffs you really felt.
I can barely feel the perf difference between my 2015 mbp and my 2019; I'm dorkily excited to get a new laptop and actually feel a perf bump. It kind of feels like the 90s again.
And separately excited for what happens when Apple makes an m2 or whatever with more thermal budget to compete in the desktop space.
[1] https://techjourneyman.com/blog/apple-m1-vs-intel-core-i9/
1. If the smallest laptop chips are this efficient what do you think a full fat desktop chip will look like? 2. I think desktop/workstation is the only category where energy usage isn’t that important, it’s probably less than $100 per year with our usage patterns (don’t quote me on that)P. But for server and laptop it’s very important (for totally different reasons).
(Realistically it’s probably a max performance vs efficient trade off, but that may be in part because we’ve not seen any large apple chips, so we don’t know how it scales)s
We can blame Apple for using chips that are too intense for their laptops, and we can blame Intel for making garbage chips that can't really perform in real world cases while spending a decade not bothering to innovate. Apple at least is moving away from Intel as a result of all of this, and I'm really impressed with how well the M1 transition has been going.
Not to say that M1 isn't amazing, but I think Apple has been preparing for this for a while and needed to make sure it would succeed even if their ARM CPUs weren't quite as groundbreaking as they turned out to be.
Possibility 2: Apple had a master plan to intentionally torpedo performance in order to make their future first-party chips appear more competitive
I went to ifixit and clicked the very first laptop teardown I saw, it has one. https://guide-images.cdn.ifixit.com/igi/gnBU5dVYrIhInIXV.med...
Or, let's see, razer blade stealth, that's a 3 pound laptop. https://guide-images.cdn.ifixit.com/igi/nHPaankElOWQndsv.ful...
What's a light 15 inch laptop, XPS 15 7590? https://i0.wp.com/laptopmedia.com/wp-content/uploads/2020/01...
Acer swift 5 SF515, "lightest 15 inch laptop on the market" https://i1.wp.com/laptopmedia.com/wp-content/uploads/2019/01...
LG Gram https://guide-images.cdn.ifixit.com/igi/fFlFJB3PKThJs3TA.hug...
They've gotten around it with M1 by building an entirely new chip that's power efficient enough that it practically doesn't need good thermal design to perform near it's peak. It's an impressive technical accomplishment, but it's also hilarious that Apple had to go this far to cool a chip properly.
It's absolutely possible to do high end Intel in a compact laptop with relatively good thermals - look at thin Windows gaming laptops for plenty of examples of this (and these have way beefier GPUs than macbooks too).
The power draw drains batteries, and the heat is... very annoying at best. I have used a couple ThinkPads and a Dell XPS over the past 5 years too, and all of them had the same issues where they'd constantly be pushing out very hot air, and the battery life was never more than 4-6 hours.
Or longer, really; while everyone, of course, loves the 2015 MBP, they're mostly thinking of the integrated GPU one; the discrete GPU version was pretty thermally challenged. Arguably Apple's real problem with the post-2015 ones was that Intel stopped chips with fast integrated GPUs, so Apple put discrete GPUs in all SKUs.
That's just not a defensible position to take.
Intel's inability to execute a node transition has led to a situation where for years their only way to increase performance has come at the cost of major increases to power and heat.
>Whilst in the past 5 years Intel has managed to increase their best single-thread performance by about 28%, Apple has managed to improve their designs by 198%, or 2.98x (let’s call it 3x) the performance of the Apple A9 of late 2015.
https://www.anandtech.com/show/16226/apple-silicon-m1-a14-de...
https://discussions.apple.com/thread/250943808
It's clear they have hit a limit of what they could really do with Intel's top of the line processors from a thermal perspective, with the form factor they want to deliver.
Now I have sort of an expensive paper-weight sitting next to my M1.
That was a bug on Apple’s part, not a feature. Case in point my Kaby Lake Windows laptop package power draw is less than 2W when plugged into 1440p.
Why would you want to compare a desktop class i9 with a 10 watt M1 chip?
There was a Linus Tech Tips the other day about how even current gen Intel laptops can see better perf on an i7 than an i9. It looks like the i9s simply don't make sense in this thermal form factor and are essentially just overpriced chips for people who want to pay the most to have the biggest number.
It's been known for years that apple has been limiting the intel chips by providing insufficient cooling. I don't overly care about how fast an M1 chips in a macbook is compared to an intel chip in a macbook. I want to know how fast an M1 is compared to a desktop I9 (given mac minis have M1 chips now), or compared to a properly cooled laptop latest-gen I9.
All this experiment shows is that insufficiently cooled processors perform worse than sufficiently cooled ones. It's a classic example of cherrypicking data. Admittedly, my solution would be different to the article's author. Instead of using a badly cooled laptop to compile stuff, I'd setup a build server running linux.
If I wanted absolute best compile times I'd go build a threadripper workstation, but I need mobility and can't always rely on an Internet connection.
I think part of it is because I don't care about mac computers. I'm interested in how the M1 - a consumer ARM chip - stacks up against the best x86_64 chip, not how it performs in one particular laptop.
It just seems like a cherry picked fight - there's more to the laptop market watt/performance wise than 2019 macbooks.
M1X and M2X in the making, too?!
The whole point behind the effort of China and Russia is to have a CPU under their control, starting with the design but also including the manufacturing.
And TSMC uses technology for their nodes which is not under their control at all.
The amount of expertise China already has and will accumulate in the next decades should not be underestimated.
Note it's also not under TSMC's control - a lot of fab technology comes from other suppliers like ASML in Europe.
Apple is designing processors and GPUs at least since iPad2's tri-core GPU. They're neither coming out of the blue, nor newbies in this game.
Look at this from this POV:
- Apple started on custom ARM many years ago.
- Apple isn't really smaller then Amd, and Amd also rewrote and restructured their architecture some years ago.
- Apple hired many greatly skilled people with experience (e.g. which worked before with Intel)
- Apples uses state of the art TSMC production methods, Intel doesn't and the "slow" custom chips from China and Russia don't use that either as they want to have chips controlled by them produced with methods controlled by them. (TSMC production methods are based on tech not controlled by Taiwan).
- Apples had a well controlled "clean" use-case, where they bit by bit added more support. This includes that they could drop hardware 32 bit support and don't have any extensions they don't need for their Apple products, this can make thinks a lot easier. On the other hand x86 has a lot of old "stuff" still needing support and use cases are much less clear cut (wrt. thinks like how many PCI lanes need to be supported, how much RAM, etc.). This btw. is not limited to their CPUs but also (especially!) their GPUs and GPU drivers.
So while Apple did a grate job it isn't really that surprising.
Good point overall - the performance of Rosetta 2 helped facilitate much of this and - at least from what I've read - does seem to be surprising to folks in the space. So that also helped them out.
Do you mean "TSMC production methods are based on tech controlled by Taiwan", or "TSMC production methods are based on tech not controlled by China/Russia"?
Update: after reading the thread I think I understand that you meant TSMC production relies on tech/equipment from ASML, which is not controlled by Taiwan.
Sometimes it's hard to figure out all of the things left out of the plans that were stolen. Some engineer saw something not working, looked at the plans, and then noticed where the plans were wrong. The change gets implemented, but the plans don't get updated. Anyone receiving the plans will not have those changes. Becareful of those plans that fall of the back of trucks.
I’ve been thinking of doing the cooling mod too, where you pop open the back and add a thermal pad to the cpu. It increases conductivity with the back of the case, letting you roast your legs while you work, aka cool the cpu. :)
You bought a computer that crashes reliably when used "heavily"? I mean, if you heard that same statement from an individual PC user in past decades, you'd roll your eyes about the ridiculous overclockers and go back to work on your slightly slower but actually reliable development machine.
But this isn't a too-l33t-for-her-own-good overclocker. It's Apple Computer! Jobs is clearly still directing the reality distortion effect from the grave.
But it's rare enough that I just don't care much. The performance in other areas is too good to gripe about "if I run make -j8 for an hour, it'll hang for a few minutes."
Another possibility is system bugs that can be exposed when it thermal limits because it will stop running background QoS tasks, and things waiting on them will hang. It's pretty hard to stress it to that level.
I have done both these things by building compilers on M1. The memory pressure wasn't always from the host compiler but rather tools like dsymutil that may not be perfectly optimized themselves.
https://forums.macrumors.com/threads/macbook-pro-17-my-cooli...
https://hackaday.com/2017/12/14/cncd-macbook-breathes-easy/
https://www.ifixit.com/News/6882/why-i-drilled-holes-in-my-m...
I’ve lost track of how many times I’ve heard people wonder why their 10-year old computer is slow. “But I have an i7”
Honestly - it's not even the i3, i5, i7, i9 thing. It's the fact that two i5s, etc; can be ludicrously different in terms of performance from one another because of the sub-generations within the named generations.
Yes - it's ridiculous that I could buy an i7 ten years ago, buy an i7 today, and yet - of course - they are absolutely nothing close to each other in terms of performance.
IIRC the Pentium line did not make this mistake. (Though the Celeron line could be very confusing, if I recall correctly.)
In fact, lots of things are like this.
About 10 years ago. 7:19.63 (ZR1 / i9)
https://www.automobilemag.com/news/2020-chevrolet-corvette-s...
About a year ago 7:29.90 (base model / i3)
Better measure than top speed anyway
In CPU land, the architecture codename or process node might be part of such a "minimal tuple" but these are frequently omitted by OEMs and retailers in their advertising materials.
Let’s go to a full quarter mile, which show a bigger difference, but again not a huge one.
2009: 11.2 seconds/130.5 mph
2019: 10.6-seconds/134 mph
This would be a better comparison of Ford Mustang GT’s of the same year. Massive improvement.
Time to stop from 60 mph?
Effective turning radius at 60 mph?
Interior noise in decibels at 60 mph?
Maximum shock absorption at 60 mph?
Or 0-100-0.
7:06 vs 7:24 for the old car. Although in 'segmented' times it had went something like 6:54
The "pro" version might be an i8, while the budget version is i3. In a few years time, the pro version will be up to i12 while the budget version is now i8.
You have model numbers for when someone needs to look up some super specific detail.
Instead, you have designations like "Intel Core i7 8565U Whiskey Lake" or "Intel Core i7 10510U Comet Lake". The first one is 8th generation (=8xxx), the second one is 10th generation (10xxx, but the 14nm one, not the 10nm "Ice Lake"), and most OEMs do put these into their marketing materials and they are on their respective web shops (these two specifically were copied from two different Thinkpads X1 Carbon models).
This take is deceitful. Acer typically uses a very simple scheme to define their products, which goes something like "Acer <product line> <model>".
The scheme "XR382CQK bmijqphuzx" is more a kin to a product ID, which goes way beyond make and model and specifies exactly which hardware combination is shipped in a particular product.
Complaining that Acer names its products like "XR382CQK bmijqphuzx" makes as much sense as complaining that Apple names its laptops like MVFM2xx/A, which Apple uses for the same effect.
https://www.amazon.com/Acer-XR382CQK-bmijqphuzx-UltraWide-Fr...
Current Pentium and Celeron chips can either be mobile variants of the Core line or... Atoms.
I have a Celeron N4100 in my cheap netbook. It's listed as "Gemini Lake" in Intel ARK, which is a rebranding of its original lineage... Goldmont. (Goldmont Plus)
https://en.wikipedia.org/wiki/List_of_Intel_Celeron_micropro...
If you were to look at other Gemini Lake cores... You'll see that "Pentium Silver" also falls into that group.
https://ark.intel.com/content/www/us/en/ark/products/codenam...
TLDR: Intel has made it nearly impossible for anyone to know if they're getting Core based or Atom based mobile chips unless significant research is done beforehand.
This is not to say avoid Atoms at all costs. The N4100 I have is reasonably on par with the Core 2 Q6600 quad, which was quite the beast of a chip back in its day.
The current Atoms are nothing like the in-order-execution only monstrosities they originally launched as... but I still find Intel's branding a bit more than confusing. If incredibly deceitful.
My wife had a “my computer is slow” issue the other day. Fans blowing like crazy, extremely hot, battery draining fast. Turns out, lsof was stuck on some corrupt preferences file. Killed the process and file and all was fine. Regular people lack the tools to diagnose the problem and just deal with it, restart or buy a new one. We really should make diagnosing easier.
No, seriously. Once the root cause is found, humanize the description of the problem and ask the user what they want to do about it.
I bet they would to reduce labor costs.
Desktop Reliability Engineering ;-)
OSes, platform toolchains, and apps need to prioritize UX (UI response time and time-to-first-window) to lessen the perception and the reality of waiting on apps doing unimportant activities rather than appearing and beginning interaction.
https://web.archive.org/web/20110703091817/http://buyafuckin...
The memory hierarchy of a modern CPU with spinning rust might as well be the Parker Solar Probe waiting on a sea anemone.
I am remiss how someone these days can buy a laptop with spinning rust and 4 GiB and then complain it's "slow." Maybe they should've bought a real laptop for real work that's repairable and upgradable?
Unfortunately, the best ones aren't anymore.
I bought a T480 with dual batteries that does run for 10 hours. It has a 2 TiB SSD and 32 GiB. Works fine for me. Water-resistant, repairable, awesome keyboard, and MIL-SPEC drop rated too. Optional magnesium display top assembly cover.
And it's cycle- and power-efficiency figures are?
Only the frequency wars ended, the marketing and features wars continue the prohibition on computer architecture enlightenment unabated.
For years CPUs had numbers that went up: 286, 386, 486, Pentium.
After that, it was Mhz and Ghz that people used to rate a CPU.
But none of those things are as relevant as they used to be.
So what number goes up? i3, i5, i7, i9. That's what Intel is telling us. That's the number they want us to see.
> MacBook Pro (Retina, 15-inch, Mid 2015)
> Processor 2.8 GHz Quad-Core Intel Core i7
prettly clear there
How would you differentiate?
I don't get why not a single brand other than Apple gets product names remotely right. Every time a relative asks me for a laptop recommendation and shows me a list of models I have absolutely no clue what to tell them. All the model numbers look like they came from a password generator and the only discernible difference without hours of looking at spec sheets is the price.
(I know it’s a different product category. It’s relevant because it’s name and number is perfect)
It is worth noting that if you think GPU model numbers are fine, CPUs are actually very similar. There's the 2600k, 3770k, etc. (sandy bridge and ivy bridge CPUs respectively) The first number goes up each generation and the rest is how powerful it is within the generation. Similar to Nvidia having a GTX 980 and later a GTX 1080.
Maybe they did this in the hope that the i9 HEDT “brand halo” would help them sell more of these consumer CPUs. But if that’s the case, they don’t get to complain when someone posts that an M1 beat an i9 and people accidentally interpret that as “the M1 competes against Intel’s HEDT line”.
Is that true? If so, why? (I don't cross compile much, so it isn't something I've paid attention to).
The architecture the compiler is running on doesn't change what the compiler is doing. It's not like the fact that it's running on ARM64 gives it some special powers to suddenly compile ARM64 instructions better. It's the same compiler code doing the same things and giving the same exact output.
if your compiler binary is compiled for architecture A and emits code for an architecture B, it's going to perform the same as a compiler compiled for an architecture A and emitting code for the same architecture A.
-j8
real 5m53.255s
user 45m33.966s
sys 4m19.954s
-j16
real 4m31.947s
user 63m36.096s
sys 6m8.550s real 18m12.868s
user 131m55.267s
sys 11m29.005s -j8
real 16m22.244s
user 116m54.355s
sys 9m23.599s
After 6 years, using faster RAM and a much faster SSD, I honestly expected more than ~1.8 times faster compilation times from the M1.EDIT: all CPU issue mitigations were active, HT was disabled
Different graphics, though - MX150.
We clearly need to invent an over engineered system for condensation free freezing of an entire docked laptop, for science.
Though when I really want to avoid the fans I just disable the processor’s turbo boost. In my case that means the frequency never goes above 2.4GHz. For sustained workloads it doesn’t matter much since after boosting it’ll just throttle itself back to 2.4GHz or lower anyway.
Util for disabling turbo boost: http://tbswitcher.rugarciap.com/
The thermal performance on the 2019 16" MacBook Pro is not wonderful.
With an i7
(Though also using a thunderbolt -> DisplayPort cable might be helping? Connecting over HDMI could exacerbate things).
It's pretty baffling that it's not been solved really.
There are very few if any Laptops out there which handle a i9 well. And Apple is kinda well known to not do a very good job when it comes to moving heat out of their Laptops. This is often blamed on Intel due to their CPU producing to much heat, but there are other Laptops which do handle this CPUs just fine...
Anyway that doesn't change that Apples M1 are really good.
I mean he's compiling the Linux kernel inside of docker which runs on macOS Intel and M1. There's also hypervisor implementation involved - hardware and software.
If he booted ARM Linux on M1 and compared the kernel compile there with one on Linux on Intel MBP it would be more apt. But then again Linux isn't optimized for the Mac especially for IO workloads due to AHCI / NVME driver issues - see phoronix.
So yeah we will need a 8c Ryzen 5xxx mobile in Nuc form factor (PN50) vs Mac mini M1 benchmark when Linux is somewhat decent on that hardware.
Increasing L1 and L2 make intuitive sense.
Why this might help, ultimately, because the latency for getting something from L1 or L2 is a lot lower than the latency from L3 or main memory.
That said, this could hurt multithreaded performance. L1/2 are used for 1 core in the system. L3 is shared by all the cores and a package. So if you have a bunch of threads working on the same set of data, having no L3 would mean doing more main memory fetches.
M1 has a massive reorder buffer, so it needs and can use more L1 cache. It's pretty much that simple.
If my day to day development workflow lives in linux virtual machines 90% of the time, is it worth it to get an M1 for virtualization performance? I realize I'm hijacking but I haven't found any good resources for this kind of information...
Cross compiling is not good as well because one platform has disadvantage of compiling non-native code
Agreed that a better benchmark would be compiling for the same target architecture on both.
What can make a difference is the architecture. Examples:
- Register assignment is easier on orthogonal architectures.
- A compiler doesn’t need to spend time looking for auto-vectorization opportunities if the target architecture doesn’t have vector instructions.
Probably more importantly, there can be a difference in how much effort the compiler makes for finding good code. Typically, newer compilers start out with worse code generation that is faster to generate (make it work first, then make it produce good code)
I wouldn’t know whether any of these are an issue in this case.
I have the same problem with a 2018 (or 19? whichever's the latest) x86 Mac Mini connected over HDMI. Somehow I think Apple hasn't tested the Minis a lot with multiple monitors... or maybe with HDCP? Could be some HDCP renegotiation that you can't disable.
At least with the DisplayPort cable, the dropouts don't happen, it's just annoying to have to manually turn off my monitor every time I walk away lest it go into the on/off/on/off cycle while the Mac is asleep.
I did order a CableMatters USB-C to DisplayPort cable today to see if maybe going direct from the USB4->monitor will work better than TB3->CalDigit->DisplayPort->monitor.
I've never run into a bad HDMI cable honestly. But I have run into bad DisplayPort cables a few times. I am unsure why that is.
I'm still trying to unlearn my fear and trepidation surrounding the use of my laptop while not plugged into the wall. I was always nervous taking the laptop anywhere without the power adapter in hand, because 2-3 hours of video editing or compilation work would kill the battery.
The Air can go a full day!
The rumors really describe the perfect machine for me and many people's use cases.
These Macs may still be perfect for my needs though. 10G on the mini means I skip the giant external adapter, and the Air doesn't have the dumb Touch Bar.
While the M1 is great there are clearly issues to be ironed out even if it’s just the limited bandwidth available for peripherals.
I’m also betting on major GPU upgrades over the next 2 generations.
While M2 will undoubtedly be better yet, I see no downside to jumping aboard M1 today for must people who aren't running specialized software.
The M2/3 is when you’ll see a SoC that is finally designed for laptops and desktop computers and where you would likely see some additional ISA improvements on the CPU and on the GPU side too like hardware Ray Tracing support which will surely come.
If I had to guess I'd say they meant to call this just MacBook but tacked on the Pro since they discontinued the non-Pro line entirely.
The split started when Apple first tried to replace the MacBook Air with the MacBook Pro sans-touchbar (aka the MacBook escape), and the low end Pro hung around even after they reversed course and brought out the new retina Air.
My own personal theory is that the M1 was not originally designed for laptops it think it was originally intended as an iPad Pro/Pro+ SoC to compete with the higher end Surface devices. This is why likely external GPU support and bandwidth for peripherals wasn’t prioritized, its more than enough for a tablet.
I’m not sure if Apple really expected to get that much performance out of it from the get go, when their early samples did they made a decision to launch a full line including laptops despite the rest of the SoC not being designed for that.
It's not the only reason Apple switched to x86, but it perhaps the most commonly cited factor.
What laptop do you have? If it's a gaming or workstation laptop those are generally much better cooled then thin & lights like macbook pros.
Seems to me that Apple has invested a lot in this line of processors over many years and have been in the position to use their own processors in their macs when Intel faltered. That's an enormous win for them. Where's the part where give away anything to their competitors in order to get faster processors?