Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: BitcoinFX on February 01, 2010, 06:51:53 PM



Title: Win32 CPU Cycles vs 'Live Protection' Engines ?
Post by: BitcoinFX on February 01, 2010, 06:51:53 PM
I wanted to document an issue I encountered when first installing and using the Bitcoin software.

Despite a correct installation and port forward settings I noticed that Bitcoin was not generating any coins or 'blocks' despite having 20+ connections for the first 24hrs. The block count just remained at 0. After realizing that Bitcoin was not 'catching up' with the collective network block download or generation I opened up the Task Manager to investigate the issue further.

I noticed that the bitcoin.exe process seemed to be 'fighting' for CPU usage against MsMpEng.exe (Microsoft Security Essentials). I hadn't noticed any system slowdown due to having a fairly high spec. PC. After adding bitcoin.exe and the appropriate program folder locations to Exclude 'Files and Locations' and 'Exclude Processes' - Bitcoin instantly started generating blocks and the CPU processes returned to normal.

I did not have any virus alerts or even 'false positive' identifications for Bitcoin. I know that the software is 100% OK. I'm assuming that the 'Live Protection' engine in Microsoft Security Essentials just doesn't 'play well' with some aspect of the CPU hungry cycles used in 'block' generation.

I have yet to do more testing, however I also encountered the same issue when using Comodo Internet Security (free version).

This is obviously going to be an issue for lots of new Bitcoin users who will perhaps be less 'tech savvy'. Has anyone else encountered any similar issues ?


Title: Re: Win32 CPU Cycles vs 'Live Protection' Engines ?
Post by: satoshi on February 03, 2010, 11:36:54 PM
Thanks for that.  Which version of Windows?


Title: Re: Win32 CPU Cycles vs 'Live Protection' Engines ?
Post by: BitcoinFX on February 03, 2010, 11:41:02 PM
Windows XP - Home and Pro


Title: Re: Win32 CPU Cycles vs 'Live Protection' Engines ?
Post by: dkaparis on May 13, 2010, 11:53:53 PM
I confirm this is a problem on Vista Ultimate as well.

The software seems to work, but blocks are being downloaded at an extremely low rate (several thousand for over ten hours), and the process MsMpEng.exe, running under the SYSTEM account, described as 'AntiMalware Service Executable', part of Microsoft Security Essentials, is constantly consuming no less than 50% CPU time, which along with bitcoin bring the system to 100% CPU utilization (no significant slowdown is perceived though). After I added bitcoin.exe to the "Excluded processes" list of Microsoft Security Essentials settings, everything went to normal.

System Specs:
Windows Vista Ultimate (32-bit), AMD Athlon 64 X2 Dual Core Processor 5600+ 2.79GHz, 2GB RAM

Regards,
Dimitri


Title: Re: Win32 CPU Cycles vs 'Live Protection' Engines ?
Post by: bittard on July 30, 2010, 01:55:23 AM
Excellent tip. Just applied this fix to two very different computers, both running different versions of Windows 7 (64 bit). Looks to me like this is a universal issue (at least in the case of Microsoft Security Essentials virus protection).


Title: Re: Win32 CPU Cycles vs 'Live Protection' Engines ?
Post by: ram1 on February 03, 2012, 03:52:30 PM
Interesting.. I've been mining since August on a Windows Vista machine with Microsoft Security Essentials and had no problems.  I haven't added bitcoin to the "Excluded processes" list.  So, it would seem the problem doesn't affect every machine running MSE. 


Title: Re: Win32 CPU Cycles vs 'Live Protection' Engines ?
Post by: Gabi on February 04, 2012, 03:18:11 PM
http://www.strat-talk.com/forum/attachments/stratocaster-discussion-forum/20786d1304452679-questions-about-1991-usa-strat-necrothread.jpg

This thread is 2 years old  :D


Title: Re: Win32 CPU Cycles vs 'Live Protection' Engines ?
Post by: grue on February 04, 2012, 08:53:26 PM
fuck you