-
Notifications
You must be signed in to change notification settings - Fork 13
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
"checking available disk space" is slow #32
Comments
Here is the code: msys2-pacman/lib/libalpm/diskspace.c Line 421 in 4cfaf53
|
I've tested it with MSYS2 installed on ST1000DX002 drive and reproduced the problem ( Did the same experiment with MSYS2 extracted to Windows 11 Dev Drive created as VHDX on the same drive. This time So I ran more tests are here are the results:
Before the install I made sure the archives are cached with |
Did we ever attempt to prove why it's so slow? My understanding was that it was the cygwin msys2-pacman/lib/libalpm/diskspace.c Line 251 in 2eabe53
statvfs to see if there's enough free space. That should be quick.
|
I hacked up the callback in pacman when checking disk space starts and ends, and output the time in ms it took (jeremyd2019@b1180c2). Trying to install mingw-w64-i686-clang in an env that didn't have any of the i686 toolchain. It was consistently Disabling Anyway, that was consistent with what I expected, but not with what @mati865 seemed to be saying above (emphasis mine):
|
Interesting, either something has changed in recent updates or there is some branch that wasn't hit in your case. |
See msys2/MSYS2-packages#4176
We should look into why it potentially is slow.
The text was updated successfully, but these errors were encountered: