lima-vm / lima

Linux virtual machines, with a focus on running containers
https://lima-vm.io/
Apache License 2.0
14.97k stars 582 forks source link

Disk or network access speed is slow from Lima 0.15 #1862

Open kawahara-kunio opened 11 months ago

kawahara-kunio commented 11 months ago

Description

The processing speed of the PHP web application on Rancher Desktop(Lima) in the local development environment has dropped more than 10 times from Rancher Desktop 1.8. Specifically, it has been slow since this PR (which upgrades Lima to 0.15) was merged into Rancher Desktop.

I don't know which PR of Lima 0.15 is affecting it.

Detailed information about Lima (Rancher Desktop) (mostly default values)

Local machine CPU

Application container base OS

Below is the file retrieval time when accessing the PHP web application on Rancher Desktop from local Chrome.

Rancher Desktop 1.8

スクリーンショット 2023-09-29 11 05 08

Rancher Desktop 1.7 スクリーンショット 2023-09-29 11 04 35

ChaseOnTheWeb commented 11 months ago

Is Xdebug on in your container? If so, does turning it off improve performance?

I also had a recent significant performance degradation with PHP that I've had a hard time troubleshooting, and turning Xdebug off helped a lot.

My setup is quite different, so my issue may not be related.

kawahara-kunio commented 11 months ago

Is Xdebug on in your container?

Yes.

If so, does turning it off improve performance?

I tried and it worked. The performance is as it was with Rancher Desktop 1.7 Xdebug on. Thank you for the information.

Previously, with Rancher Desktop Ver.1.7(Lima v0.14.2), I didn't have any problems even if it was Xdebug on ...