Docker on M1 Pro and M1 Max | against M1 and Intel

  Рет қаралды 170,833

Alex Ziskind

Alex Ziskind

Күн бұрын

Testing Docker on M1 Max, M1 Pro, Intel Core i9 MacBook Pros and the good old M1 MacBook Air.
CPU temperatures and fan speed readings via TG Pro: www.tunabellys... (affiliate link)
▶️ Docker on Apple Silicon Playlist: • Docker
Related Docker videos:
▶️ Docker on M1 MacBook vs Ryzen 7 Lenovo - • Docker on M1 MacBook v...
▶️ M1 MacBook SSD and Docker - • M1 MacBook SSD and Docker
▶️ Apple M1 vs Intel Core i9 and Docker Preview - First Look - • Apple M1 vs Intel Core...
▶️ M1 With Docker Live Stream - • Live Stream: M1 With D...
▶️ Apple M1 and VSCode Performance - • Apple M1 and VSCode Pe...
#m1 #m1pro #docker
💻NativeScript training courses - nativescriptin...
(Take 15% off any premium NativeScript course by using the coupon code YT2020)
👕👚iScriptNative Gear - nuvio.us/isn
- - - - - - - - -
❤️ SUBSCRIBE TO MY KZbin CHANNEL 📺
Click here to subscribe: / alexanderziskind
- - - - - - - - -
🏫 FREE COURSES
NativeScript Core Getting Started Guide (Free Course) - nativescriptin...
NativeScript with Angular Getting Started Guide (Free Course) - nativescriptin...
Upgrading Cordova Applications to NativeScript (Free Course) - nativescriptin...
- - - - - - - - -
📱LET'S CONNECT ON SOCIAL MEDIA
ALEX ON TWITTER: / digitalix
NATIVESCRIPTING ON TWITTER: / nativescripting

Пікірлер: 258
@tonistiigi3183
@tonistiigi3183 2 жыл бұрын
(Docker employee here) Bit surprising results on the build side. I looked into it, and the issue seems to be that when you run "yarn install" it installs sqlite3 that has C dependencies. For this package in x86_64 yarn will download the prebuilt sqlite3 library directly, but for arm64 no such prebuilt version exists so it needs to compile it from source code on the machine instead. Hopefully, as these machines become more popular, package authors will start uploading the prebuilt version for arm as well. So users might definitely hit this issue as even sqlite3 itself is a very common package but don't take it as a reflection of raw container build performance on M1.
@AZisk
@AZisk 2 жыл бұрын
Thanks for the explanation.
@zmou2412
@zmou2412 2 жыл бұрын
big thanks. hope docker for apple chip grow faster,I almost give up my ordered new m1 max after reading tons of docker img error for arm, but I stick to it because guys like you
@zmou2412
@zmou2412 2 жыл бұрын
@@AZisk also thanks this video help me a lot
@markosth09
@markosth09 2 жыл бұрын
You can add this behaviour to the other machines too by setting the npm_config_build_from_source enviroment variable to true while installing the sqlite3 package
@CanyonWanderer
@CanyonWanderer 2 жыл бұрын
Excellent to get an explanation by a Docker employee, very insightful!
@therealmarv
@therealmarv 2 жыл бұрын
Thanks for this review (very helpful). Just one correction: Docker is using QEMU for x86 CPU emulation (as also shown on your process window on M1 Macs) because Rosetta2 is only working for translating x86 macOS applications and cannot be used for entirely virtualised environments.
@nickr753
@nickr753 2 жыл бұрын
This is actually a huge oversight IMO and should have been analyzed in further detail for this review to be useful. QEMU adds a ton of overhead compared to Rosetta 2.
@JLK89
@JLK89 2 жыл бұрын
Docker docs says QEMU comes with 6-7x performance decrease, so its significant. But it also means there's room for improvement.
@nickr753
@nickr753 2 жыл бұрын
@@JLK89 Part of the improvement potential comes from QEMU being able to leverage the Apple Silicon features that allow Rosetta 2 to be so fast. Unfortunately at present, these features are not exposed to third party developers by the kernel, so it’s only possible to experiment by disabling SIP and using a kernel extension.
@josephangelodelosreyes4206
@josephangelodelosreyes4206 2 жыл бұрын
Thanks for doing this test. Not a lot of reviewers get to this technical stuff.
@PaulHojda
@PaulHojda 2 жыл бұрын
The more comparisons I watch, the happier I am with my M1 MacBook Air. The fact that it beats the best intel Macs and keeps up with the m1 pros is truly a testamente of how good the regular M1 chip is.
@abneryao5357
@abneryao5357 2 жыл бұрын
can't agree more
@ppizarror
@ppizarror 2 жыл бұрын
I love my MacBook air. The only problem is that I bought the 8gb ram version and pycharm plus emulator raise my ram pressure into Infinity
@kasvith
@kasvith 2 жыл бұрын
I wish next air will also introduce ports like in old days :) and I will surely go for it
@Fozzedout
@Fozzedout 2 жыл бұрын
The only thing I want in my MacBook Air is ram. Lots of ram.
@sivakrishnat5471
@sivakrishnat5471 2 жыл бұрын
apple should kill 8gb ram configuration. 16gb should be the minimum requirement.
@EvilUmpire
@EvilUmpire 2 жыл бұрын
Tests like this are great because everyone can easily recreate them on their own machine and see how their own machine compares to the MacBooks.
@AZisk
@AZisk 2 жыл бұрын
True
@dfm705
@dfm705 2 жыл бұрын
Agree
@dfm705
@dfm705 2 жыл бұрын
@@AZisk thanks for your tests. They helped me a lot
@rattlehead7q
@rattlehead7q 2 жыл бұрын
Unfortunatelly there is an "unknown" variable in the formula - the Internet connection speed.
@AZisk
@AZisk 2 жыл бұрын
@@rattlehead7q i mentioned it in the video so it’s know. I have 1g down
@a_macaulay
@a_macaulay 2 жыл бұрын
My experience with the M1 mini, is that it amazing for 80% of my dev work flow. The other 20% is usually doable but is very slow, so I have a Linux server that I offload those tasks to. For me seeing that the M1 pro/max isn't really speeding up those last 20% significantly, I don't see any reason for me to even be temped to upgrade.
@biwecka9114
@biwecka9114 2 жыл бұрын
Could you please explain your workflow and what the 20% are?
@a_macaulay
@a_macaulay 2 жыл бұрын
@@biwecka9114 I can be working on assembly code / c/c++, .net, node, angular/react, machine learning, dev-ops with kubernetes, PLC industrial automation, etc... So the fact that the M1 is able to work well for this variety of projects is very impressive to me. A recent example of when the M1 didn't work so well was me trying to build a 32bit Atom optimized x86 c++ application in a docker container.
@biwecka9114
@biwecka9114 2 жыл бұрын
@@a_macaulay Thanks for the insight :)
@romanwednesday4401
@romanwednesday4401 2 жыл бұрын
@@a_macaulay how long did you learn these things? It seems like it was a long time)
@endeavour9Satsuma
@endeavour9Satsuma 2 жыл бұрын
@Tiger Steel what ml framework are you using?
@VoyagerMaldives
@VoyagerMaldives 2 жыл бұрын
Hei man. Thanks for the consistency in the MacBook videos. Love it
@123berno
@123berno 2 жыл бұрын
Thanks for not leaving base M1 behind in all your reviews.
@briancase6180
@briancase6180 2 жыл бұрын
Wow, super good and useful video. It's interesting to see the Air finally brought to its knees so that it throttles in a meaningful way. Thanks!
@hugo9618
@hugo9618 2 жыл бұрын
Finally, some benchmarks that does not involve video editing
@arvs7356
@arvs7356 2 жыл бұрын
Finally, some real world tests for devs like me. There's just too much performance tests out there for photo/video/audio editing tools. Just proves the sad state of the M1 chips currently. Until most libraries are built/prebuilt for the arm64 architecture, the M1/Pro/Max's performance can only be fully utilized by the creatives. I would probably stick to my (hot and noisy) Intel MBP 16 until the M1 chips become more developer-friendly.
@MrSaifkamal
@MrSaifkamal 2 жыл бұрын
"That Macbook Air, Keeps up being a champion" - can't make me any more happier with that comment. sincerely, an M1 Air user.
@rattlehead7q
@rattlehead7q 2 жыл бұрын
You gotta watch till the end of the video then :)
@CitAllHearItAll
@CitAllHearItAll 2 жыл бұрын
M1 Air is a beast. I've been using just the base model for the past year. SUCH as great portable.
@user-ux3vq8km5h
@user-ux3vq8km5h 2 жыл бұрын
Same here.
@jonathanschober1032
@jonathanschober1032 2 жыл бұрын
I love the idea of this test, but I wish there were more knowledge about docker. Half of the tests docker ended up failing and bailing early. The M1 Air wasn’t taking 50+ seconds, docker itself was getting (probably) OOM killed or watchdog killed and the timer was just waiting for the timeout
@yougallini
@yougallini 2 жыл бұрын
Why am I so fascinated with your videos? very technical … but bloody mind blowing 😂 keep going!
@davidraymond8994
@davidraymond8994 2 жыл бұрын
I get my Macbook Pro 16 32gb ram 1tb tomorrow and will be running this test along with a bunch of others around Docker so I can see if I really need the 64gb version or not. Thanks for this video extremely helpful.
@grigoryryabov1552
@grigoryryabov1552 2 жыл бұрын
Hi David, that is main question now for me also. Can you please share your results/thoughts here after trying? :)
@seiferkinsdale1097
@seiferkinsdale1097 2 жыл бұрын
Hey Alex! Keep it up with the great content man! You're my favorite dev KZbinr right now. Kudos to you and more power to your channel! 🤘 ^ + d
@gregorykotsiuba3514
@gregorykotsiuba3514 2 жыл бұрын
Thanks, man, very useful content. Could you please try to collect results in some table? A bit hard to compare numbers without seeing them all at once.
@AZisk
@AZisk 2 жыл бұрын
Should do that yep
@AlejandroLZuvic
@AlejandroLZuvic 2 жыл бұрын
@@AZisk thanks Alex! The benchmarks are really useful. Any kind of table or similar would be the cherry on top.
@garykapoor5122
@garykapoor5122 2 жыл бұрын
Hey Alexander, what about ML preprocessing tasks? And some other workloads to test the neural engine like tensorflow?
@marcdenty7921
@marcdenty7921 2 жыл бұрын
Please test Machine learning performance. Great video as usual 👍🏻
@AZisk
@AZisk 2 жыл бұрын
Got your link - thanks. Will try it
@podhuprassie4510
@podhuprassie4510 2 жыл бұрын
Thanks for the effort. This seems to demonstrate how the 14"/16" enclosures with fans would help avoid thermal throttling - even when they are constrained to match the M1 Air (cores, RAM). Wonder how those beasts perform when completely unleashed - 100% of CPU+RAM as configured in M1 Air.
@janithcooray5546
@janithcooray5546 2 жыл бұрын
I had the option of either a M1 air or a MBP 15 2016. I went with the intel since I’m developing software for x86 machines. I’m glad I did. Specially seeing this video.
@isdeonf
@isdeonf 2 жыл бұрын
Check the fixed comment..
@janithcooray5546
@janithcooray5546 2 жыл бұрын
@@isdeonf that’s just docker. I’m talking x86 In general.
@GuneyCanGokoglu
@GuneyCanGokoglu 2 жыл бұрын
Thank you for the content. As a control group, can you also run the same commands in a linux machine maybe the xps that was in your recent videos? I am in the process of choosing a new laptop and i am thorn between whats best for my work (docker, backend/devops stuff) and the 15+ hour battery that the m1/m2 macbooks offer :)
@dima_storozhuk
@dima_storozhuk 2 жыл бұрын
Many web developers use lando/docksal for web development (Drupal, wordpress, other php frameworks). Would be nice to also see how that tools works on m1 in comparison to intel.
@judymontesa9872
@judymontesa9872 2 жыл бұрын
I use Lando myself for Drupal development, it’s really fast on Linux but struggles when running on my intel i7 MacBook. Would really like to see a test as well.
@SebastianMBraun
@SebastianMBraun 2 жыл бұрын
You have forgotten to show an overview of the results! 😉
@ToddRoseman
@ToddRoseman 2 жыл бұрын
I'm getting faster speeds using the new option in silicon Docker Deskop to use Big Sur virtualization (instead of hypervisor), in Experimental Features settings. Also using option for gRPC FUSE and seeing faster speeds from host to container file access. Drupal runs fast even with xdebug on.
@Kappakomben
@Kappakomben Жыл бұрын
The build took 17s on my MBP M1 Pro machine so I guess the underlying issues are fixed by now :)
@user-vu7my6kd4g
@user-vu7my6kd4g 2 жыл бұрын
You're doing interesting benchmarks! I just miss one: could you benchmark docker on M1 MacOS vs docker on Linux system? That would be really helpful as there are many developers working on Linux and docker, and I'm curious of results:)
@AlejandroLZuvic
@AlejandroLZuvic 2 жыл бұрын
You mean Linux running inside a VM on Mac?
@user-vu7my6kd4g
@user-vu7my6kd4g 2 жыл бұрын
​@@AlejandroLZuvic Thanks for asking. I meant to benchmark docker on: 1. a PC laptop (dell/lenovo/hp/whatever non Apple) with some top CPU (i.e. Rizen7 58XX or intel i7 11gen) and Linux (i.e.Ubuntu/Fedora/etc.) installed as main system (so not Windos WSL, not VM) 2. Apple Macbook (air/pro) with M1 chip and to show comparison :) It would be interesting to see, cause Docker is native for Linux. Docker for Mac uses VM, so it's slower. But on the other hand some benchmarks show that new M1 chip is way faster than most Intel, Amd, so it would be really cool to see benchmark results :) .
@hblockx16
@hblockx16 2 жыл бұрын
I love your videos but it would be nice to have 1 screen with all the results in comparison at the end. Otherwise i jump back and forth to compare the numbers :D
@iliakhablak9203
@iliakhablak9203 2 жыл бұрын
That was exactly the answer I've been looking for! Thanks for your videos. It's interesting how long it'll take to add all packages for arm, so we will not run in this kind of situations.
@gayanperera7273
@gayanperera7273 2 жыл бұрын
Could the delay in M1s because of the builds are running on a x86 emulation mode like qemu VM ? i have read at some point docker was using qemu for supporting x86 images since apple hypervisor will only provide virtualization of aarch64 vms.
@rattlehead7q
@rattlehead7q 2 жыл бұрын
Yes, it is probably because of that
@CardinalityOfNothing
@CardinalityOfNothing 2 жыл бұрын
It is 100% because of that. I just got a 14" M1 Max MBP today and have been doing all kinds of playing around with it and have noted that docker is SIGNIFICANTLY slower on it than my old Dell XPS running PopOS when using x86 based images. While this was disappointing (albeit understandable because of the x86 emulation) it's not too big of a deal since I can still offload that work to a local Linux Server and just use a Podman client on my Mac.
@gayanperera7273
@gayanperera7273 2 жыл бұрын
@@CardinalityOfNothing Does the 14" better when it comes to all aspects like performance, tool support out of the box etc comparing to Dell XPS ?
@CardinalityOfNothing
@CardinalityOfNothing 2 жыл бұрын
@Gayan Perera In general, the 14" MBP performs better overall. As long as everything you are using is fully optimized for m1 (i.e. using arm64 instead of x86), it's wicked quick. I typically work in Java and have noted my compile times on my MBP are less than HALF than that of my XPS. That being said, I sometimes compile artifacts using GRAALVM which spits out native binaries instead of normal jars. My XPS compiles using GRAALVM roughly 25% faster than my MBP. The problem here is that GRAALVM currently does not have an arm implementation for macOS so its running in Rosetta2 making it slower. In general I think 80% of use cases the MBP performs FANTASTICALLY, but there is for sure still rough edges for the remaining 20% of work flows. I still have hope that over the next year or so more support from more platforms and dev kits will hit the market.
@ToddRoseman
@ToddRoseman 2 жыл бұрын
In Experimental Features you can now use Big Sur virtualization and still run x64 containers. Overall, faster.
@FlorianWendelborn
@FlorianWendelborn 2 жыл бұрын
Could you do a "rm -rf node_modules yarn install" test on the M1 Max vs the Intel one? yarn install is often a very slow and tedious command that takes ages in my workflow when I’m troubleshooting dependency stuff and it would be a shame if the non-docker yarn is also SO significantly slower (yarn 1 would be best as it’s unfortunately still the industry standard)
@peppolicchiopappo7274
@peppolicchiopappo7274 2 жыл бұрын
Yes, a test with a big project with a lot of node modules and some yarn build times would be appreciated
@alejkun4923
@alejkun4923 2 жыл бұрын
Independently of processor arquitecture, have you used the new yarn berry plug and play zero install?
@captainlennyjapan27
@captainlennyjapan27 2 жыл бұрын
Thank you Alex! I wonder there would be a difference betweeen 8gb vs 16gb vs 32gb ram!
@grzegorz__
@grzegorz__ 2 жыл бұрын
Fantastic video :) That's the kind of videos that made KZbin great. (unfortunately it's like 1 % of all videos on youTube ;( )
@renambot
@renambot 2 жыл бұрын
Port 5000 is now used in Monterey by AirPlay. Disable it in system pref in sharing tab.
@varshniveralevel8347
@varshniveralevel8347 2 жыл бұрын
Thanks for the graphics text above the lappts, it really helps
2 жыл бұрын
Why didn't one of MBPs have 16GB ram? 😊 People say, "16GB ram enough for almost everything thanks to blazing fast SSD". I wonder if it Is it true. Because no one wants to spent more money for a powerful MBP that generally has a lot of Ram idle!
@CaimAstraea
@CaimAstraea 2 жыл бұрын
Yes I think so to. The latest node image 16 and 17 has the arm version. And npm instead of yarn I think is also arm process. Definitely the macbook air m1 comes on top for the price to performance ratio I think. What's not to love , it's fanless , light weight , powerful enough and cheap. You can just toss it in your bag and plop down at a a cafe , in the airport and get some work done.
@seshreddy8616
@seshreddy8616 2 жыл бұрын
Thank you very much. This is what I'm after and my workflow is exactly the same and willl run 10+ containers. My intel (32 GB mac book pro) sucks and freeze at times and fan goes to 6K rpm :-) and goes to unusable state. I've ordered M1 Max with 64 GB and 1 TB SSD and will receive by mid dec. Thanks again. I don't care the build time being more. But once the containers are up and running, it should be smooth :-)
@adil_elkhallouki
@adil_elkhallouki 2 жыл бұрын
With 4 machines is more interesting, thanks 👌
@felixpcll
@felixpcll 2 жыл бұрын
It's a very interesting video, but since the cores of M1 air/pro/max I couldn't see why have you limited the cores to the same in all of them. The major progress on those pro/max is to have more cores, right?
@matt1988ish
@matt1988ish 2 жыл бұрын
Docker can't use the efficiency cores.
@felixpcll
@felixpcll 2 жыл бұрын
@@matt1988ish Ooooh, now it make sense. Thanks Matt
@nakulkumar4197
@nakulkumar4197 2 жыл бұрын
Whats the point of performance when many companies aren't releasing docker images compatible with arm based machines ex : mysql, mockserver etc to name a few.
@fabricedevos4273
@fabricedevos4273 2 жыл бұрын
Very interesting benchmark, thanks for that 👍🏻 What about another developer use case: java developer. How behave M1(/pro/max) with Java? Did you already try to compile a big java project on M1 + x86 arch and did the comparison?
@badr_mo
@badr_mo 2 жыл бұрын
thanks for this test it’d have been nice if there’s a summary at the end of the videos though :)
@wojciechbancer
@wojciechbancer 2 жыл бұрын
So when using yarn, some packages can be pre-compiled for x86, while they are rarely pre-compiled for ARM. So when x86 downloads packages, ARM might take some time for compilation under the hood.
@azatecas
@azatecas 2 жыл бұрын
i wish more images would be optimized, i get timeout errors while running 6 containers with large wordpress sites
@oleksandrleskiv
@oleksandrleskiv 2 жыл бұрын
M1, M1 pro and m1 max have different amount of processors and RAM, while core performance for each CPU and GPU core is roughly the same. So it doesn't make much sense for me to compare them side by side with the same limiting factors in Docker Desktop and say they perform no different from each other, so it doesn't matter what to choose
@luke-urban
@luke-urban 2 жыл бұрын
FUN FACT: the port 5000 was taken by Apple for an AirPlay Receiver ( I read the first few comments and I didn't see anyone mentioning this)
@danieldosen5260
@danieldosen5260 2 жыл бұрын
Why run a comparison with non-native containers? Why not pick a sample that has both x86_64 and arm64 support? or multi-arch support? And is it a common scenario for you to run 100 threads on a dev machine?
@AZisk
@AZisk 2 жыл бұрын
These are the available samples. If you have another, send a link
@AcePineda
@AcePineda 2 жыл бұрын
Doesn’t make sense to to me to lower down the resources just so to make it fair for the air. We don’t do this in real life. We want to utilize all the resources thats available to us.
@Eisermann91
@Eisermann91 2 жыл бұрын
I thought the same - the only reason for me is that if you would like to use 8 cores (old 16 cores on intel) and 16 GB RAM for docker - which is quite a bit honestly - to spare some place for OS and other things. And moreover CPU is maxed for all 3 computers and is limited only by 2 cores for Max - only RAM is discussable here, but still - 16GB RAM is quite a lot. I would buy 32 GB just to have rest exclusively for Chrome, IDE, OS, etc.
@AcePineda
@AcePineda 2 жыл бұрын
@@Eisermann91 thats right. But not for the purpose of this test. Btw, hyperthreading does give advantage to the intel machine. Though it only use 8 physical cores it actually allow to do 2 actions per core at the same time.
@AZisk
@AZisk 2 жыл бұрын
You know you might be right, but if i maxed out the resources 100 more people would complain that I didn’t give them equal resources. 😂
@tomasbaranauskas8142
@tomasbaranauskas8142 2 жыл бұрын
Not working if you slide all the way up to use all 10 CPUs in the resource tab...
@kasvith
@kasvith 2 жыл бұрын
Can you do a Flutter version as well
@RohitKhatri49
@RohitKhatri49 2 жыл бұрын
Would you suggest buying a 14 inch Macbook Pro with M1 Pro 10 core for NodeJS development and DevOps (Docker, Kubernetes) running a lot of containers or 2020 m1 machine is fine?
@amine132
@amine132 Жыл бұрын
How about M1 pro but juste with 8gb ram? It's good for Docker?
@pxv2005
@pxv2005 2 жыл бұрын
I am new to mac world here. What app is used to show the temp, fan and cpu for mac? I see a lot of folks have it but I don't know what the app is.
@misscoolperson9970
@misscoolperson9970 2 жыл бұрын
Thanks for the video! It helped answer a few questions I have, I'm currently looking into getting a new 2021 Macbook and I can't decide between the 16 and 32 GB of RAM and the M1 Pro and M1 Max. I use Docker quite a bit currently for work, and recently had to upgrade my Windows machine to 32GB because it was really struggling with the 16. But I do have a colleague who uses her 13" 2017 Macbook Pro with 8BG of RAM for Docker and says it works just fine. I just can't decide.
@LogopedLTD
@LogopedLTD 2 жыл бұрын
What did you decide? 16 or 32?)
@misscoolperson9970
@misscoolperson9970 2 жыл бұрын
@@LogopedLTD I went with the 32gb. I've had the MacBook now for about 3 months and it runs well. The extra RAM ensures it won't be out of date in a few short years when 32gb becomes standard in most laptops and devices.
@LogopedLTD
@LogopedLTD 2 жыл бұрын
@@misscoolperson9970 sounds great, but different in 400$ upsets((( I hope 16 gb enough for web development)
@meo4291
@meo4291 2 жыл бұрын
​@@misscoolperson9970 Do you have any problems with x86 images bc I also consider buying one with M1 but don't know if I'm able to find solutions. (Will be my first time using MB)
@misscoolperson9970
@misscoolperson9970 2 жыл бұрын
@@meo4291 no issues. Neither with my old 2012 MacBook and my new MacBook.
@samuelolayemi1930
@samuelolayemi1930 2 жыл бұрын
The m1 MacBook Air is always trying to compete with the pros and max 😂😂
@sumantyavatkar4636
@sumantyavatkar4636 2 жыл бұрын
Nice test! I was able to run a spring boot app on docket just fine on my 13 macbook pro m1
@hoseadaniel1283
@hoseadaniel1283 2 жыл бұрын
Could you Test unreal or unity on the M1Pro and M1 Max Machines @Alexander Ziskind?
@Mmg123-masked12G
@Mmg123-masked12G 2 жыл бұрын
Yeah, I had an issue with the x64 images while I was installing gitlab from the container. I dealt with it by installing linux by UTM/qemu and then the gitlab inside. What else I want to try is Lima but need to find some time to do it
@YuriySamorodov
@YuriySamorodov 2 жыл бұрын
Hey Alex. That's all cool, but is RDP still slow? Just compare Mac with RDP started in Parallelised (=)) Windows
@azatecas
@azatecas 2 жыл бұрын
thank you, many people would just start 3 containers and call it a day.
@aibarra11
@aibarra11 2 жыл бұрын
can you run the tests again but max out the docker allocated resources per laptop? curious to see the differences
@MauricioSierra
@MauricioSierra 2 жыл бұрын
it is not a race, it is like a pole position test :)
2 жыл бұрын
Hola Alex, could you (please please please) compare your macs with the razer lambda laptop? I am buying a new computer and would like to know how much better docker is in that ubuntu power machine, thank you and god bless you
@overTheGFW
@overTheGFW 2 жыл бұрын
The yarn part is a big wildcard, tho, consider it was hosted in an external network. Maybe you wanna use nexus or artifactory or verdaccio as the npm repo to eliminate this possible variable.
@leofonseca8144
@leofonseca8144 2 жыл бұрын
Agreed. Didn't do his homework comparing apples to oranges instead of baselining the builds properly and you raise a good point withe the network latency wildcard. Speculating for 15+ minutes. Ugh.
@jk8190
@jk8190 2 жыл бұрын
What about Vagrant and Terraform?
@christianbaer2897
@christianbaer2897 2 жыл бұрын
And now do the same thing with a Thinkpad running Linux or even Windows. My Desktop i7 10700 did not break a sweat, did not even use 4 GB of RAM (25 per container). Docker is still starting up a virtual machine on macOS and this so resource hungry.
@stakhovskiy
@stakhovskiy 2 жыл бұрын
Thanks for the video. Is it possible to have a timecodes in videos? 🙏
@pvmilk
@pvmilk 2 жыл бұрын
I don't get the point of the test. the main difference between these two are the CPUs and whether the visualization supported of the CPUs effector the performance or not, since the kernel of Linux would be running differently underneath. what you need to be testing is the CPUs intense tasks, e.g. c++ compiling or deep learning training, not the network intense stuffs. thanks for the effort, but I think you miss the main point of it.
@alivarfan4240
@alivarfan4240 2 жыл бұрын
Great video thanks. Can you please also run a single node kubernetes test? You can use minikube or microk8s for it.
@brentgreeff1115
@brentgreeff1115 2 жыл бұрын
You want to make a computer cry? - run KIND.
@shubhamrauniyar101
@shubhamrauniyar101 2 жыл бұрын
Your videos helps a lot. 😄
@mnwqm11297
@mnwqm11297 2 жыл бұрын
can i please has some summary next time (a simple table will do the job)? and/or timeline breakdown, maybe? too many details and i can't skip because i lose context - which one you are talking about. will have to rewatch with a pencil writing down the results. because i just want to understand how these guys compare to each other. and i still don't know. thank for the effort though
@briancase6180
@briancase6180 2 жыл бұрын
It shouldn't be lost on anyone that Apple still hasn't implemented mutithreading (hyperthreading in Intel parlance) in the M1 scalar cores. That's not an oversight or dumb mistake. Hyperthreading is a dumb mistake on Intel's part. I have many Intel microarchitects as friends, and they all say they tried hard to get Intel to drop hyperthreading to no avail (marketing has ruled at Intel far, far too long). It actually hurts overall performance and increases power dissipation. It's amazing that AMD has been able to do a good job with their implementation, but take note of the fact that Intel efficiency cores in their latest processors *do not* implement hyperthreading. It's because it wouldn't help and would only increase power dissipation. They're learning....slowly.
@davidfield2030
@davidfield2030 2 жыл бұрын
Is a base 8GB MacBook Air enough for running docker? Thank
@roboticflamingo234
@roboticflamingo234 2 жыл бұрын
How does docker affect battery life on M1 max Vs M1 Pro Vs M1? Is there a real benefit to having the 14 over the 16 with the M1 Pro or max? These are the things I want to know. The 14 is so much lighter and portable in comparison to the 16. Great to see it's so fast on power.
@roboticflamingo234
@roboticflamingo234 2 жыл бұрын
Also will the 14 with M1 max / pro throttle...?
@jozott817
@jozott817 2 жыл бұрын
Comparing apple silicons with limited cores and limited RAM doesn't make sense because the cores themselves are the same for all chips. So there are no differences to expect.
@platerplane
@platerplane 2 жыл бұрын
i got 16" m1 max running docker images with ubuntu 20.04 lts, python 3.8 and django and it smokes away my previous intel 6-core macbook 2018 doing docker builds and repetitive things such as reloading django dev server. I think any m1 with 16gb ram at least is a good choice for this kind of stuff. Very satisfied so far.
@nitrowad
@nitrowad 2 жыл бұрын
M1 Max is limited on 8 cores, but it can do 10 (since it has 10 cores). Why would you limit it when you're benchmarking. Isn't the point of benchmark to see what it can achieve by using everything it has?
@spinthma
@spinthma 2 жыл бұрын
Your Vid shows to be really in front off the M1 chip , the pro and the max would need 12 or even 16 cpu cores.
@jonbikaku6133
@jonbikaku6133 2 жыл бұрын
Could someone tell me what terminal font is being used? Is it Input?
@gurugamer8632
@gurugamer8632 2 жыл бұрын
Hey Alexander, how much ram and ssd your m1 Max has?
@ArielCacha
@ArielCacha 2 жыл бұрын
I'm actually more surprised that the m1 max doesn't make it significantly better than the m1 pro. Yeah, the macbook air is awesome but for hardcore processing I thing the m1 pro is the cost/benefit winner.
@lemonade3015
@lemonade3015 2 жыл бұрын
Have any use cases where you had to go back to an Intel-based Mac?
@lalpremi
@lalpremi 2 жыл бұрын
I am looking to see how many VMs can we run on M1 Max 64GB). My application is to create a portable lab on M1 Max. Usually run Linux servers (Web, NFS, SFTP, SMB, Open Virtual Switch, syslog), windows servers (AD, MSDB, EPO server), windows workstations, load balances (F5 VM) and BSD firewalls or palo alto firewalls.
@aeonlancer
@aeonlancer 2 жыл бұрын
It seems that a MacBook Pro M1 with 8 GB of RAM, may be enough for a computer programming beginner. ...could be?
@Buttface1981
@Buttface1981 2 жыл бұрын
Probably but I would always recommend trying to spec at least 16GB to really extend the life of the laptop. You can never have too much RAM!
@PixDev_01
@PixDev_01 2 жыл бұрын
Thanks ♥️
@alexrusanovschi218
@alexrusanovschi218 2 жыл бұрын
a nice test, but i think a cool finishing touch would have been to remove all the restrictions from the non-Air machines, and do the scale test with maxed out settings to see which one is faster/better suited for this type of workflow.
@AZisk
@AZisk 2 жыл бұрын
Yep - next time
@Ruptured_AU
@Ruptured_AU 2 жыл бұрын
If anyone is interested in another comparison. I tried the voting app test on the 11th gen Intel CPU and got 26.5seconds / 34.8seconds on battery. 11800H in Windows with Docker Desktop on WSLv2 file system. (was a little bit slower on NTFS with Ming 28.7/47.9)
@Ruptured_AU
@Ruptured_AU 2 жыл бұрын
PS - I have slow internet too. I was getting only 37mb/sec on a speed test at the time so I'm guessing the net speed isn't that important in this test.
@bakalito4601
@bakalito4601 2 жыл бұрын
end of waiting for this docker test in macbook pro 14 (I wish the test is in 16gb which is the one I can afford after selling my right kidney)
@gsanjeevkumar
@gsanjeevkumar 2 жыл бұрын
Is it possible to run Windows 10 in a Docker on M1 based MacBooks? (I want to use the Windows 10 Pro like we do on VirtualBox)
@AZisk
@AZisk 2 жыл бұрын
Hmm I don’t know. I use parallels and it works well
@youerny
@youerny 2 жыл бұрын
I like this! Let’s see the outcome
@Ruptured_AU
@Ruptured_AU 2 жыл бұрын
@Alex can you please run a project with lots of unit tests against a test database? Docker in windows slows this down a LOT like 50x slower than Linux while causing 80% SSD usage and I'm wondering if M1s would suffer this same performance loss with MySql. If you need me to make a project to run Im happy to invest the time but basically just be tons of database calls on a test DB via PHP PDO to be specific.
@johnnyguzman2519
@johnnyguzman2519 2 жыл бұрын
So which one was or is the best ?
@octavianstincel7624
@octavianstincel7624 2 жыл бұрын
Would like to see maxed out m1 pro 16” vs maxed out m1 max 16” on battery to also see battery drain
@mayikx
@mayikx 2 жыл бұрын
Would be nice a final image with all summary.
@eysikal
@eysikal Жыл бұрын
Nice video. Thanks. What are you using to monitor CPU temps?
@AZisk
@AZisk Жыл бұрын
using this: a.paddle.com/v2/click/114/137247?link=48
@eysikal
@eysikal Жыл бұрын
Right on.
@moimoi2579
@moimoi2579 2 жыл бұрын
Tu collectionnes les MacBook Pro ??
@sivakrishnat5471
@sivakrishnat5471 2 жыл бұрын
I am surprised why Apple still selling 8gb ram configurations. For an average developer 8gb ram is not enough. Here Apple should do the right thing and kill 8gb ram configurations.
@powerlogic1992
@powerlogic1992 2 жыл бұрын
Everyone is not a developer. I guess.
@jaironino6545
@jaironino6545 2 жыл бұрын
Docker on PHP base apps like WordPress are quite slow on Mac compared with Linux o even windows.
@DenisEneotescu
@DenisEneotescu 2 жыл бұрын
Please put graphs, I don't want to look at 16 minute video in order to compoare some times...
@AZisk
@AZisk 2 жыл бұрын
you looking at my video for 16 min is how i can keep making these videos :)
@DenisEneotescu
@DenisEneotescu 2 жыл бұрын
@@AZisk fair enough, but I am not coming back if I feel like the creator is taking advantage of my time instead of keeping me engaged through his content using concise and precise information.
@AZisk
@AZisk 2 жыл бұрын
@@DenisEneotescu i never purposely try to stretch out my videos by babbling about stuff. sometimes i like to have fun and shoot a skit, but only in hopes of entertaining. also, i have started to include more charts recently. cheers
Which M1 Pro/Max for which Programmer?
20:00
Alex Ziskind
Рет қаралды 168 М.
Docker mistakes corrected by pro
36:48
Alex Ziskind
Рет қаралды 23 М.
小丑在游泳池做什么#short #angel #clown
00:13
Super Beauty team
Рет қаралды 36 МЛН
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 98 МЛН
💰 Best VALUE MacBook is NOT ☝️
13:25
Alex Ziskind
Рет қаралды 85 М.
Apple M2 Pro vs M1 Pro vs M1 Max - что лучше?
25:37
BIG GEEK
Рет қаралды 128 М.
Thinking about running Docker on M2?
14:34
Alex Ziskind
Рет қаралды 80 М.
How 3 Phase Power works: why 3 phases?
14:41
The Engineering Mindset
Рет қаралды 909 М.