https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
t

thankful-sandwich-80010

10/13/2022, 6:10 PM
Somewhat new to Rancher Desktop, hoping someone can point me in the right direction to understand the following issue, i.e. is there something obvious to explain this or where to begin in understanding the difference/cause… Our dev team has a MySQL container with a couple dozen stored procedures. We noticed with Rancher Desktop (container engine: dockerd) on macOS Montery (16 GB mem), the stored procedures are extremely slow compared to Docker Desktop using the same docker image and data. My team mate just uninstalled Rancher Desktop and reinstalled Docker Desktop, then grabbed some timings on the stored procedures. Here are two examples of the extreme differences in execution time Rancher Desktop Docker Desktop 0 hr 39 min 0 hr 02 min 1 hr 10 min 0 hr 04 min
edit msg above timed out before finishing edit… My teammate’s mac book pro has 16 GB mem, about 4 GB unused in both cases Docker Desktop: shows 1.3 GB mem for the MySQL container, 3.5 GB mem for the VM Rancher Desktop: VM settings: 4 GB mem, 2 CPU. I think he has latest RD version (1.6)
f

fast-garage-66093

10/13/2022, 6:46 PM
Where do you store the data? Inside the container, in a docker volume, or a host-mounted volume?
t

thankful-sandwich-80010

10/18/2022, 10:28 PM
@fast-garage-66093 We are just using the MySQL image and exposing the port, so storing in the container. We are not specifying any volumes nor mapping any folders from our system. Our Gradle build simply pulls the image mysql:latest, starts the container, and runs some Liqubase commands to setup the schema. The same Dockerfile and Gradle cmd was used on the same laptop in both environments (Docker Desktop & Rancher Desktop).
f

fast-garage-66093

10/18/2022, 10:31 PM
Thanks! Is there some open source project that I could use to repro your findings? If yes, could you file a Github issue for it?
t

thankful-sandwich-80010

10/18/2022, 11:17 PM
unfortunately no, it is corporate confidential code. When I get time I could try and come up with a generic way to reproduce the issue. I was hoping there was some obvious/known things to try. Maybe know issues on macos with heavy IO, and/or known differences between VM settings on mac os with Rancher Desktop vs Docker Desktop?
f

fast-garage-66093

10/18/2022, 11:20 PM
Sorry, I don't know, which is why I'm keen to get a repro case, so we can actually investigate this
t

thankful-sandwich-80010

10/18/2022, 11:22 PM
makes sense. Thanks for the responses. I’ll post back to this thread if I can get some time to cook up a way to reproduce it and post on github
f

fast-garage-66093

10/18/2022, 11:23 PM
Thanks! Posting on Github is the important thing; that will be preserved. Things on Slack become inaccessible after 3 months
34 Views