作者wei115 (ㄎㄎ)
看板Linux
标题[问题] cygwin & msys2 反应很慢
时间Fri Mar 2 15:36:51 2018
如题
之前intel处理器有bug,所以更新了windows10
(除了补丁还有之前杂七杂八的更新也一起安装了,所以我不确定问题在哪)
然後我的cygwin反应就变得很慢,把cygwin删掉重装也一样
因为当时懒的处理,所以就去用windows10 的 WSL了
但最近因为学习的问题,去装了MSYS2,但发现这样还是很卡
举个例子
在WSL下用 time ls 可以得到
real 0m0.011s
user 0m0.000s
sys 0m0.000s
但在MSYS2 下的时间则是
real 0m0.418s
user 0m0.031s
sys 0m0.390s
不管打什麽指令都会顿一下
请问这样有什麽解决办法吗?谢谢
环境: windows 10 (64bit) 1709 、 MSYS_NT-10.0 xxx-pc 2.10.0(0.325/5/3)
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 59.126.109.77
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Linux/M.1519976216.A.BC3.html
※ 编辑: wei115 (59.126.109.77), 03/02/2018 15:38:38
1F:→ GaliTW: google就有答案了... 03/02 23:35
感谢
因为范围太广了,不知道要用什麽关键字
3F:推 ddtsatan: 推楼上 03/03 01:22
再次求救
我照上面网址的教学做,但还是没有太大的改善,看来不是同样的问题
现在继续Google中
还有我照里面的打 strace ls 後,MSYS2并没有正确执行,而是出现
2 [main] strace (584) C:\msys64\usr\bin\strace.exe: *** fatal error -
cygheap base mismatch detected - 0x1802FF410/0x4D8F410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
Segmentation fault
这样的错误讯息
他说我缺少cygwin1.dll,可是我把DLL丢入里面却没有解决
请问这是什麽问题?谢谢
p.s. 我在我的笔电(x220 windows7_64x MSYS2同版本)下也有同样的问题...
※ 编辑: wei115 (59.126.109.77), 03/03/2018 21:05:19
4F:→ wei115: 是错误讯息(cygwin1.dll),笔电的MSYS2速度正常 03/03 21:06
6F:→ GaliTW: 笔电的msys2正常就代表问题出在win10 03/03 22:50
阿阿阿阿阿阿阿阿阿!!!!!!!
淦淦淦淦淦淦淦淦淦!!!!!!!
结果是MacType的锅阿阿阿阿!!!把bash加入例外名单内就好阿阿!!
之前PotPlayer也是这样出现问题!!
阿阿阿阿阿
浪费我的假日QQQQ
感谢G大的热心帮忙
顺便附上找到解决的办法
https://github.com/git-for-windows/git/issues/704#issuecomment-207587879
※ 编辑: wei115 (59.126.109.77), 03/04/2018 14:34:30