Windows 10 performance terrible compared with linux
I have a dual boot win10 pro machine and an ubunto system.
I have a huge file repository, I think including all the horrible recursive node_modules dependencies I have something like 3.5million files.
The windows installation appears to be constantly indexing.
Running a full npm install on the 6 projects and an npm-link takes about 25-30 mins on windows with phpstorm and only 5 minutes on phpstorm with Linux.
Anyone know what different config options I might have between the two systems (if it's even that). I suspect this *Might* be a file system issue with windows (antivirus etc is turned off for my whole dev directory).
Also does anyone know what I could possibly do to increase the performance in windows?
Just to be clear it's not going to be a HARDWARE issue as it all appears to work fine in Linux, but my specs are:
i9-8950
32gb ram
2tb Samsung 970 nvme drive.
Firmware is up to date for the nvme drive.
请先登录再写评论。
Just to confirm, is it exactly the same project (with all the exclusions and settings) on both OS installations?
Did you try to measure and compare disk IO performance in both operating systems? (with iometer or something like this)
In the end, it could be a nice idea to collect log files (Help > Compress log and show...) from both installations and contact the support team.
Yup, it's the same project,
I am not sure it's Jetbrains related too. I know that people have tried to use windows as an OS and all given up before.
I will probably try VSCode on both just to ensure it's not phpStorm (I still think it's a windows issue). I realise that this is a Jetbrains forum but I figured there were plenty of helpful and knowledgable people here that might be able to point me in the right direction, either way :)
What's also worth trying is excluding the whole
C:\Users\Usernameor at leastC:\Users\Username\.PhpStorm2019.2- we write indexes there, and constant checking from the Defender side really slows us down.PhpStorm is supposed to detect such situations and throw a notification about that, but I am not sure what the triggers are.
Apart from that, there's a chance that the Linux-based project has
node_modulesexcluded, although you are saying that it's the exact same project. Or its copy?It's a cloned github project but they're marked as resource roots in both instances. I WILL double check.
.PhpStorm2019.2 folders were setup to be ignored. Antivirus ignores the Phpstorm process itself, too.
I honestly think it might be an issue with the windows filesystem itself as opposed to a specific phpstorm issue. I'm just frustrated I have to boot into linux to develop at the moment.