The site I’ve imported to DevKinsta is unusably slow, so I’m trying these recommendations. I was already on Win10 Pro, so I started with enabling Hyper-V, did all the restarts, and … oops, how do I import the databases in the new environment (step 8)? Do I have to delete and re-add the site in DevKinsta?
@DavidMitchell what I find easiest is to just export the mysql databases in the old local environment and import them in the new environment. So if you already switched to Hyper-V, and in case you didn’t export the dbs yet, then temporarily switch back to WSL 2, then you can access the mysql dbs of the “old” local environment. You export them, and then switch again to Hyper-V, and then you import the mysql dbs.
The exports, and imports of the mysql dbs can be done simply via the Adminer environment that you launch from Devkinsta via the “three dots” and then > Open database manager
@GoldyOnline, thank you very much. Apparently I skipped right over step 3 in your post above — sorry about that. Thanks for patiently getting me back on track!
The site I’ve imported is still much slower than on Kinsta’s staging server (not at all what I was hoping for!), but several times faster than it was to start with, so it’s at least somewhat usable.
I came across Microsoft’s “Exceptions for using WSL 1 rather than WSL 2” a while ago. Is this why WSL 2 is problematic with DevKinsta?
Consider using WSL 1 if:
- Your project files must be stored in the Windows file system. WSL 1 offers faster access to files mounted from Windows.
- If you will be using your WSL Linux distribution to access project files on the Windows file system, and these files cannot be stored on the Linux file system, you will achieve faster performance across the OS files systems by using WSL 1.
Like many people on this thread, I follow all the tricks to make things better (performances are really really bad on my Ryzen 5 Pro with 8Gb of RAM, Win10 Pro), but I’m stuck on creating containers (error DK0005) when I launch DevKinsta with WSL2 disabled (Hyper-V is installed and Up). So I have to revert back to WSL2 to make DevKinsta working.
I would like to know when this will be fixed. Honestly it is not possible to work in good condition. This is frustrating as your tool is really a good one.
Thanks for your support!
All the best,
I had the DK0005 issue in the past as well, fortunately, there is an easy fix for this:
(assuming that it’s the same folder access issue that you are having)
Hopefully that helps?
It works! Many thanks for your help!
Is there any news on this? I’ve followed the suggestions in the thread and fortunately, it’s worked for me with a bit of trial and error. It’s still not super ideal though.
Switching between hyper-v and wsl to fix the database every time you make a new local site is a little too round about. It doesn’t look like I can just switch to hyper-v and forget it either, but correct me if someone else has a different experience. Adding a site when I’m it’s set to hyper-v doesn’t work and throws me a DDK0029 error (iirc).
I tried placing the kinsta files (settings > site path) on the wsl side of things hoping being on the same filesystem would speed it up but it didn’t work quite well. The sites are downloaded as expected and I think most things are working but opening the site
gives me a 404 error instead.
Any new experience from anyone still working with it? Or is the de facto way to get around this still switching back and forth wsl and hyper-v?
I also experience very bad performance: around 7-8 seconds to load a page.
I’m on a MacBook Pro with a M1 pro cpu, running MacOs Monterey. I installed DevKinsta v2.6.
I followed the recommendations of @philippstracker without much success.
Has anyone (Mac user) found a way to make DevKinsta run a little faster?
Also running into this issue
2019 MacBook Pro,
16GB DDR4 RAM
Had no problems with dev kinsta up until a couple of weeks ago I rebuilt my entire dev environment from scratch because of an accidental database deletion locally (when testing migrations) - my first time building an env since ~Feb 2021.
Not sure what’s happened in that time, but pages now taking 40+ seconds to load sometimes, with an average of 20+ seconds overall. It’s kind of completely unworkable and really slows down my ability to be productive. (Production is near-instant when performing similar/the same operations)
Double posting here, but I’ve yet to find any solution - my entire local environment is bricked. It’s not that pages load slowly, they just don’t load now full stop.
I’m effectively prevented from doing my day job because of this for a service that my company is paying for.
Tried re-installing multiple times, updating everything from docker to system OS so that I’m on the latest version, and nothing has worked.
What on earth am I supposed to do about it? The only solution I can think of at this point in time is go away and create my own local staging environment and completely remove the use of DevKinsta within our company’s development process, because there’s no clear fix to this within the forum thread, and no active line of support from Kinsta.
Hi everyone, I’m taking over gathering information for this issue/thread and have been reviewing Windows performance issues this week/advocating for more Mac testing.
For Windows Users: our developers are currently working on prioritizing Hyper-V support over WSL2, since WSL2 is the main cause for performance issues. Right now, Hyper-V sort of works but is not too easy to set up.
For Mac Users: Mac issues seem more complex but less common. Our developers are working to reproduce issues to track down solutions. Right now our advice is to update to Docker Desktop 4.6 then follow Docker’s recommendation to enable “vritiofts.”. If this still does not improve performance for you on Mac, please open a new thread so that we can gather more information for testing purposes.
For Linux Users: We recommend using Docker Engine instead of Docker Desktop for the best performance/experience.
In the long term, we are looking to change how local files are stored for DevKinsta to hopefully tackle all the performance issues at once. We apologize for how long this has been an issue but we’ll do all we can to make sure we make DevKinsta perform as well as it should. Please feel free to message me privately/directly with any information/issues or create a new thread in the forum so that we can start looking at cases individually. If I discover any new solutions/improvements that can be made I will post them here.
@devstagr, can you please start a new Bug Report listing your current versions of everything? Your loading times seem exceptionally high and there may be something else going on besides just the Docker issues.
Sure - fwiw just tried updating docker to the latest version (4.9.1) and enabling
vritiofts but no dice still
Hi @Kevin & all,
On my end, activating “Enable VirtioFS accelerated directory sharing” works.
Now it’s really fast, loading pages around 50 times faster!
MacBook Pro 2021 (M1)
macOS Monterey 12.4
Hi everyone, major news for Windows Users who prefer Hyper-V:
We’ve released version 2.7.0 of DevKinsta, which fixes some permission issues that Hyper-V started causing earlier this year. You can now switch Docker to Hyper-V and create/pull sites without running into errors.
As for general performance, we have also updated the number of PHP Workers from 4 to 8(pm.max_children). This should help people with larger sites who were struggling with just 4 php workers. Please continue to use this thread to report interactivity issues.
Windows 11 Pro
A simple wordpress site 6.0 version of only 100+ MB is very slow to interact with, a simple page refresh takes more than 7 seconds.
Sites are installed on SSD;
CPU: Intel Xeon e5-2665 v1;
RAM: 32GB ;
Website has only ACF, CPT ui plugins installed and uses Timber StarterTheme.
Simple Wordpress Theme like TwentyTwentyTwo takes more than 5 secs to load :
Tried to give higher priority for DevKinsta/ Docker processes but with no result. Also added the site folder to Windows Security Exclusions.
Sometimes when installing plugins have to reload the page to see that the process is done.
Any solutions ?
Hi @Ion_T, welcome to DevKinsta!
I’m assuming you are running DevKinsta with WSL? It’s been found that Docker works better on Windows(due to how site files are currently stored by DevKinsta) when you use Hyper-V.
My main suggestion is to go to your settings and deselect “Use the WSL 2 based engine.”
Note: sites created under WSL will no longer be able to connect to the old database volume so you’ll need to either transfer the old database or just recreate the sites when switching to Hyper-V.
If you need any more help please feel free to create a new thread in Application Support.
Hi, yes you are right. WSL was activated .
Again thanks for your support. Now the website loads significantly faster !