Answer the question
In order to leave comments, you need to log in
Terrible brakes at compile time in Visual Studio?
Good afternoon!
Recently (perhaps after some updates) Visual Studio has become very heavy on the computer during compilation. Very strong - this is "stuttering" of music on Core i7, given that cl.exe (C ++ compiler) is executed with a "low" priority (the base priority of the application can be configured in the registry), this is simply nonsense. After some time trying to understand what is happening with the computer, I noticed that during compilation, the kernel time (“Kernel Time”) in the task manager reaches 90+% of the total CPU load time (which is probably leading to glitches). Stack analysis shows that this time is spent on synchronization (the process almost constantly hangs inside "ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x682"). These symptoms are treated by restarting the computer - after that, everything is fine for a while (the studio starts, compiles, the processor is loaded in normal mode, i.e. spending 10-15% of the time in the nucleus).
I would like to know if anyone else has this problem and what to do about it.
Please do not offer to reinstall the studio / Windows.
Answer the question
In order to leave comments, you need to log in
Maybe something with drivers or system services? a simple number-bite process is unlikely to hang the core. Also, check if there is enough memory and if the computer is not swapping. Also, try procmon, see what's going on in the system. Also, you can try the API Monitor program, which shows system calls. Procmonа process explorer and API monitor I recommend if you want to figure it out.
For music to stutter under Windows, the computer needs to be tortured very much, this almost never happens.
I don’t know how with VS 2010, but 11 beta generally puts the computer on the shoulder blades, as I understand it, some process switches to real-time priority and loads the percentage by 100%, the computer hangs up dead, approximately, what Intellisence does, because it happens sometimes before the prompt appears. I didn’t really understand it, but deleted it and returned to VS2010. And VS2010 seems to work fine.
Once faced with a similar problem. After a lot of googling, I found advice - delete all breakpoints via Debug -> Delete All BreakPoints. It worked for me, it might solve your problem too.
I remember having freezes due to IntelliTrace. Disabled - debugging has become faster, perhaps you have something to do with this.
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question