Live data from Hacker News

Docker on MacOS is slow and how to fix it

paolomainardi.com

191–200 of 211 posts

Re: Docker on MacOS is slow and how to fix it

#191
post #159

Earlier quoted context omitted.

So how you do you single step GPU shaders on your superior tooling?

Here is an extension for you to debug GLSL/HLSL shaders in VSCode on every platform: https://marketplace.visualstudio.com/items?itemName=dfranx.s... NVIDIA also has a multiplatform GPU debugging sdk. I’m sure if you look at extensions for whatever IDE you’re using, you’d find what you are looking for in under 5 minutes. You’d be surprised how good all the tooling is now days. It also isn’t my tooling, it’s everyones.…

[deleted]

Re: Docker on MacOS is slow and how to fix it

#192
post #159

Earlier quoted context omitted.

So how you do you single step GPU shaders on your superior tooling?

Here is an extension for you to debug GLSL/HLSL shaders in VSCode on every platform: https://marketplace.visualstudio.com/items?itemName=dfranx.s... NVIDIA also has a multiplatform GPU debugging sdk. I’m sure if you look at extensions for whatever IDE you’re using, you’d find what you are looking for in under 5 minutes. You’d be surprised how good all the tooling is now days. It also isn’t my tooling, it’s everyones.…

I know GNU/Linux since Slackware 2.0, know pretty well how it goes.

Re: Docker on MacOS is slow and how to fix it

#193
post #179

Earlier quoted context omitted.

Completely unrelated to how wonderful Linux tooling above anything else. By the way, for iOS I single step shaders using Metal tooling on XCode and Instruments, no need for Windows.

Nice! Now run any 32-bit program.

That wasn't what we were discussing about, goalkeeper.

Re: Docker on MacOS is slow and how to fix it

#194
post #193

Earlier quoted context omitted.

Nice! Now run any 32-bit program.

That wasn't what we were discussing about, goalkeeper.

The goal is so large though! You can't score on something as simple as running old software or using whichever graphics API you prefer?

Re: Docker on MacOS is slow and how to fix it

#195
post #192

Earlier quoted context omitted.

Here is an extension for you to debug GLSL/HLSL shaders in VSCode on every platform: https://marketplace.visualstudio.com/items?itemName=dfranx.s... NVIDIA also has a multiplatform GPU debugging sdk. I’m sure if you look at extensions for whatever IDE you’re using, you’d find what you are looking for in under 5 minutes. You’d be surprised how good all the tooling is now days. It also isn’t my tooling, it’s everyones.…

I know GNU/Linux since Slackware 2.0, know pretty well how it goes.

I’m sure you do, not questioning your competence nor intellect nor experience. There is just a lot of stuff to keep track of, so sharing this info for others who might happen upon our small exchange.

We’re all in this together, and there are always new things to discover for our finite selves interfacing with an infinite pool of knowledge.

Re: Docker on MacOS is slow and how to fix it

#196
I have a large, fairly complex Django application that I run in containers on a MBP with an M1 Pro, and it runs twice as fast as the AMD 16 core production server. It was a bit of a dog on an Intel Mac, but everything I use Docker for is blazing fast on Apple Silicon. Is there something about Python apps that makes this different?

Re: Docker on MacOS is slow and how to fix it

#197
post #91
post #86

Earlier quoted context omitted.

It cost money sounds like the big one

That's fair, but I think the value proposition is there for some :) I'm honestly not sure how pricing and licensing will work yet, but there will be some way to try it for free. Maybe something like Docker Desktop: free for personal use, license required for companies? That seems like a risky bet as an indie dev. There's also the whole question of one-time purchases vs. subscriptions. Subscriptions seem like the opti…

Oh, I'll certainly pay for it. I'm excited to do so; and if it's substantially better than Docker we'd consider moving Notion eng over to it.

Re: Docker on MacOS is slow and how to fix it

#198
post #173

Earlier quoted context omitted.

Podman has been a massive disappointment for me. I stupidly gave up my docker desktop because the company was trying to make cost savings and it was supposedly a drop-in replacement. Some short-lived containers like our repo’s linter takes easily 4x as long to run in podman as it did with Docker. Immediately I have lost productivity. It’s incredibly unreliable, every time I start my computer I have to podman machine…

When did you last use it? It _does_ support docker compose. Has for a while now actually. I love it on Linux. The Mac version is not as smooth yet, but, for my use case, still works a hell of a lot better than docker desktop. There is something deeply wrong with docker desktop's networking, and I literally have to restart it almost every time I make a change to one of our services. Not an issue with podman.

It does, but last time I tried „docker-compose build“ on podman it just failed. So it doesn’t seem to just work as a drop-in replacement

Re: Docker on MacOS is slow and how to fix it

#199
post #76

Earlier quoted context omitted.

AMD Cezanne chips were released in early 2021. Patches are still landing to fix suspend resume bugs in the Linux kernel: https://www.phoronix.com/news/Ryzen-5000-Laptop-Linux-6.1 This is a real issue with Linux. If you want the latest hardware, expect basic features like suspend resume not to work.

That's not a bug in the Linux kernel, it's a bug in the AMD hardware. You can generally spot this immediately, even without reading the code, by the way it's described as a "workaround".

Does it matter if I want my laptop to sleep properly? Somehow it works properly on Windows.

Re: Docker on MacOS is slow and how to fix it

#200
post #91
post #86

Earlier quoted context omitted.

It cost money sounds like the big one

That's fair, but I think the value proposition is there for some :) I'm honestly not sure how pricing and licensing will work yet, but there will be some way to try it for free. Maybe something like Docker Desktop: free for personal use, license required for companies? That seems like a risky bet as an indie dev. There's also the whole question of one-time purchases vs. subscriptions. Subscriptions seem like the opti…

The way I've seen this choice done that makes it easy (for me as a director of software dev) to buy into is a hybrid. You can pay $x/mo or $10x/yr. If you pay for the year, you don't have to do it as a subscription, but if you don't renew then you're stuck on the last version released during that year.

FontAwesome, TablePlus, and some others I've paid for multiple seats on do this and it's great. Some we just paid for the one year, and others we were able to see enough ongoing value to keep paying on the subscriptions.

Post reply on HN