-
Notifications
You must be signed in to change notification settings - Fork 815
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
Waiting long for something happen #1305
Comments
I forget, what's the default value of |
You might be hitting an performance issue we are actively investigating with NTFS. Git was written using certain operations that are very fast on Linux but slow on Windows. |
@aseering Looks like 'core.fscache' option is only respected on Git for Windows. But I think you might have shed a bright light. This link has some pertinent info also. In particular |
The agnoster theme on both zsh and bash is incredibly slow. Pressing return inside a sizable git repo will trigger a large delay. Spamming return will consume 100% CPU. Most of the delay is attributed to running git commands:
Commenting out the git commands helps however the terminal is still quite slow (multi-second delay) when pressing return. |
Why was this closed? |
It'd be nice to have a link to some ticket that's tracking the performance issues? If there's not already a ticket, then this should remain open. |
@bootstraponline - Agreed. I couldn't find one in the user voice page. It might be worthwhile to get one logged there so that people can up vote. |
Filesystem is slow is probably the closest existing user voice ticket. |
@bootstraponline - Thanks. Yes, that's the right one. I was searching with the keyword "perf" :). |
@nesl247 indead I reopend it again ;) |
I know that some of the performance issues are outside the realm of WSL, but any updates on improving performance? Slow performance, especially for Git and Ruby, really hurts my productivity. |
I've noticed the same issue, but I also noticed that the issue is much worse when the directory I cloned the project to was in the windows filesystem. I double checked and for some reason, the cloned project on the windows directory is 369G where the same cloned project is 741M on the linux filesystem. In the following output, "projects" is a symlink to /mnt/c/Users/me/projects.
|
@mo18 - Do you know what is taking up that much room on the Windows directory? Maybe |
@sunilmut - In Windows explorer, the mygitproject directory reports 731 MB. |
So, it looks like |
What build was the "du" output from? There was a bug with block counts reported in both LxFs and DrvFs that leads to "du" giving wildly inaccurate numbers that is fixed in current insider builds, but would be broken in the Creator's Update. |
@SvenGroot - I'm on 1703 |
Dupe #981. |
A brief description
There are some problems with loading things like git status. It takes to long sometime more then a minute. When my virtual machine does this in milliseconds for the same project. It is also with ssh to other machines, sometimes ssh user@server1156 as example will take 5 a 6 seconds before connection which putty or virtualbox-ubuntu does this imedatelly (server is on the same switch).
Expected results
waiting long for something happen
Windows build number
Microsoft Windows [Version 10.0.14393]
Repro Steps
start bash
$ ssh [user@server1156]
or
go to project git directory
$ git status
output
strace git status
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f5793940a10) = 13611
close(6) = 0
read(5, "", 1) = 0
close(5) = 0
close(4) = 0
read(3,
The last point he is waiting...
The text was updated successfully, but these errors were encountered: