<?xml version="1.0" encoding="utf-16"?><html><head><style type="text/css"><!--blockquote.cite
{margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right: 0px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204);}
blockquote.cite2
{margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right: 0px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 3px; padding-top: 0px;}
a img
{border: 0px;}
body, #x616b6e0fd50148e, #x616b6e0fd50148e #x0861557ba932445
{font-family: Tahoma; font-size: 12pt;}
--></style></head><body><div>Yes, this is it!</div><div><br /></div><div>I deactivated Windows Defender real time protection mode, then I compiled again: normal compilation times.</div><div><br /></div><div>Thanks for the hint!</div><div>Nicu</div><div><br /></div>
<div>------ Originalnachricht ------</div>
<div>Von: "Nicu Ionita" <<a href="mailto:nicu.ionita@acons.at">nicu.ionita@acons.at</a>></div>
<div>An: "haskell-cafe@haskell.org" <<a href="mailto:haskell-cafe@haskell.org">haskell-cafe@haskell.org</a>></div>
<div>Gesendet: 17.09.2016 09:14:18</div>
<div>Betreff: Re: [Haskell-cafe] Very _very_ slow compiles on Windows 10</div><div><br /></div>
<div id="x616b6e0fd50148e"><blockquote cite="em3ca95b21-0718-4819-a7a8-311060683777@woo" type="cite" class="cite2">
<div>Sorry, I forgot to answer to all...</div><div><br /></div>
<div>------ Originalnachricht ------</div>
<div>Von: "Nicu Ionita" <<a href="mailto:nicu.ionita@acons.at">nicu.ionita@acons.at</a>></div>
<div>An: "Malcolm Wallace" <<a href="mailto:malcolm.wallace@me.com">malcolm.wallace@me.com</a>></div>
<div>Gesendet: 17.09.2016 09:12:30</div>
<div>Betreff: Re[2]: [Haskell-cafe] Very _very_ slow compiles on Windows 10</div><div><br /></div>
<div id="x0861557ba932445"><blockquote cite="em485bebab-9922-4681-a58d-7afb71f23c61@woo" type="cite" class="cite2">
<div>Oh, this could be a good hint! I don't have other protection except windows defender, which is own Windows AV. (Reviews suggest that this should be enough, altough on other PC - not with Windows 10 - I use different AVs) But maybe the Windows own AV exhibits the same behaviour. I will check this, thanks!</div><div>Nicu</div><div><br /></div>
<div>------ Originalnachricht ------</div>
<div>Von: "Malcolm Wallace" <<a href="mailto:malcolm.wallace@me.com">malcolm.wallace@me.com</a>></div>
<div>An: "Nicu Ionita" <<a href="mailto:nicu.ionita@acons.at">nicu.ionita@acons.at</a>></div>
<div>Cc: "<a href="mailto:haskell-cafe@haskell.org">haskell-cafe@haskell.org</a>" <<a href="mailto:haskell-cafe@haskell.org">haskell-cafe@haskell.org</a>></div>
<div>Gesendet: 17.09.2016 08:44:30</div>
<div>Betreff: Re: [Haskell-cafe] Very _very_ slow compiles on Windows 10</div><div><br /></div>
<div id="xd33914d1bafa4bf"><blockquote cite="FBEAD519-F70C-44EE-8932-BF7B4A3D89ED@me.com" type="cite" class="cite2">
<div>Do you have Symantec Endpoint Protection or similar antivirus? We found that under certain paranoid settings, even  "ghc --version"  took upwards of seven seconds, and compilation was slowed by a couple of orders of magnitude. We think the AV was scanning the (large) compiler binary, plus any DLLs it loads, plus the source, interface, and object files read and generated, On every invocation. Linking was absolutely dog slow.  We also think the AV was deliberately throttled to never use more than 10% of CPU time, to avoid being noticeable to the user.</div><div><br /></div><div>It is possible that there are AV settings you can tweak to avoid the paranoia, and trust the compiler, and any other file that has already been scanned once.<br /><br /> Regards,<div>    Malcolm (iPhone)</div></div><div><br />On 17 Sep 2016, at 07:04, Nicu Ionita <<a href="mailto:nicu.ionita@acons.at">nicu.ionita@acons.at</a>> wrote:<br /><br /></div><div><!--?xml version="1.0" encoding="utf-16"?-->


<div>No virtualisation, it is a dual boot maschine.</div><div>1 CPU would be good :-) In my case it is a very small fraction of it.</div><div>Nicu</div><div><br /></div>
<div>------ Originalnachricht ------</div>
<div>Von: "A.M." <<a href="mailto:agentm@themactionfaction.com">agentm@themactionfaction.com</a>></div>
<div>An: <a href="mailto:haskell-cafe@haskell.org">haskell-cafe@haskell.org</a></div>
<div>Gesendet: 17.09.2016 03:20:38</div>
<div>Betreff: Re: [Haskell-cafe] Very _very_ slow compiles on Windows 10</div><div><br /></div>
<div id="x57b301861fd544d" class="plain"><blockquote cite="aa8277c1-fadf-4c98-bc00-aa9726640e82@themactionfaction.com" type="cite" class="cite2">

<tt style="word-wrap:break-word"><div>On 09/16/2016 06:10 PM, Nicu Ionita wrote:</div>
<blockquote type="cite" class="cite">
<div> Is anybody else experiencing really slow compilations with GHC 7.10.2 on</div>
<div> Windows 10?</div>
<div> </div>
<div> I use stack to compile the project and run it under a mingw64</div>
<div> environment provided by Github bash. The CPU usage is very low all the</div>
<div> time (meaning: GHC does barely use the CPU). On same computer with</div>
<div> Ubuntu 16.04 it just compiles normally, but under Windows it is for sure</div>
<div> 10x slower, maybe even more.</div>
</blockquote>
<div> </div>
<div>Are you using virtualization? I see the same thing under virtualbox on</div>
<div>Ubuntu. Specifically, even after allocating 12 real CPUs to the VM, I</div>
<div>never see stack-invoked ghc use more than one CPU. On rare occasions,</div>
<div>the linker phase hangs. I have confirmed that ghc reports 12 capabilities.</div>
<div> </div>
<div>I'm just glad that Windows is not my primary development platform; it's</div>
<div>entirely possible that virtualization is the cause. VirtualBox is not</div>
<div>known for being a speed demon, but the compilation speed is indeed</div>
<div>embarrassing.</div>
<div> </div>
<div>Cheers,</div>
<div>M</div>
<div> </div>
<div> </div>
</tt></blockquote></div>


</div><div><span>_______________________________________________</span><br /><span>Haskell-Cafe mailing list</span><br /><span>To (un)subscribe, modify options or view archives go to:</span><br /><span><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a></span><br /><span>Only members subscribed via the mailman list are allowed to post.</span></div></blockquote></div>
</blockquote></div>
</blockquote></div>
</body></html>