看板 Linux 關於我們 聯絡資訊
如題 之前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://www.ptt.cc/bbs/Linux/M.1519976216.A.BC3.html ※ 編輯: wei115 (59.126.109.77), 03/02/2018 15:38:38
GaliTW: google就有答案了... 03/02 23:35
GaliTW: 我好心貼個網址好了... http://bjg.io/guide/cygwin-ad/ 03/02 23:35
感謝 因為範圍太廣了,不知道要用什麼關鍵字
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
wei115: 是錯誤訊息(cygwin1.dll),筆電的MSYS2速度正常 03/03 21:06
GaliTW: 看一下這個 https://stackoverflow.com/a/47635287 03/03 22:44
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