-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance difference vs Windows Instance #849
Comments
Hi, are the resources given to both WSL and Windows instance the same? Overall the SQL Server engine is the same when you run on Windows or Linux. Also, what is the storage associated with the database when you are using the WSL2, can you try SQL Server on dedicated Linux VM or container and then see if the same issue exists. SQL on WSL 2 is currently not supported for production or equivalent workload. |
Hi @amitkh-msft, yes, this is running on the same machine, and there is plenty of headroom in capacity for resource not to be the issue. Storage wise, both are running on the same NVMe SSD. For WSL2, its using the default file system and a folder in my home directory, so would be on the virtualised ext4 filesystem. I can't really run it on a like for like dedicated VM, and a different VM might reduce clarity further? I'm using this for my dev environment, so lack of production support isn't an issue as such. |
I was on docker using 2017 version and it was ok (not as good but usable), migrate to 2022 and at start it was faster, but after 2 weeks it became dog slow. services: I migrate again to Windows Server 2022 and SQL 2022 and it's the fastes. All is on Proxmox using as VM on same SSD's, same CPU.
Some forum threads: Same data base, same app, same users and on docker it's became painful slow. |
could you share sample queries for the purpose of context to understand the slowness that you describe? Additionally, could you please open a support ticket for our team to investigate this further? |
1 similar comment
could you share sample queries for the purpose of context to understand the slowness that you describe? Additionally, could you please open a support ticket for our team to investigate this further? |
i'm using ERP software INSert ERP from insert.com.pl and it's not depend on any specific query - but general reading, writing, updating etc. i see performance scale across the board. i test it on internal accounting to test some "real life" workload but accounting couldn't do it's work - it was so slow. |
Hi,
I've been migrating my Windows instance over to containerd on WSL2. I'm finding there is quite a performance difference between the two.
I've a dotnet core executable which provisions a database and runs scripts (about 4MB worth) on it. On windows it takes 28s to run, against the docker image it takes 1m5s. I've tried running the client from both WSL (1m5s) and from Windows(1m4.9s), and see similar issues.
My command to run up the instance is:
Can anyone shed any light on how to diagnose this?
Thanks,
Chris
The text was updated successfully, but these errors were encountered: