由于不同的病毒扫描程序导致 Microsoft Visual Studio 速度变慢
与 Microsoft Visual Studio 一起使用的最慢的病毒扫描程序是什么
由于我的病毒检查器,我刚刚让 Microsoft Visual Studio 再次“变慢”...(数百个项目,其中一些包含超过 100 个 C# 文件,所以任何事情减慢构建速度是不好的。)
我们都知道开发工具会进行大量文件访问,因此病毒扫描程序会产生严重影响。由于多种原因,我们大多数人都必须运行病毒扫描程序。
那么,是否有人测量过不同病毒扫描程序(和设置)对 Microsoft Visual Studio 速度的影响?
有人将 Microsoft Security Essentials 与 Visual Studio 绑定在一起吗?
另请参阅(如果您有代表,请扩展列表)
- 真正减慢 Windows 速度的因素 (这有一些真实数据)
- Visual Studio 和病毒扫描Temp 文件夹
- Visual Studio 优化
- 开发计算机和防病毒策略 (Sophos Anti-Virus)
- 开发人员计算机的防病毒(Symantec Endpoint)配置
- 用于开发 PC 的侵入性最小的防病毒软件?
- 关于具有出色病毒防护功能的高效硬件设置的建议。
- 选择防病毒软件(编码恐怖)
人们对 Visual Studio 2010 和病毒检查程序的体验如何?
我从微软的某个人(将重命名为无名)代表他自己发言的有用电子邮件中收到了此信息。
目前尚不清楚我们(Microsoft) 将能够认可第3方 产品。考虑到这一点,我做了 请注意,在帖子中 Ian 链接 (这个问题)Computer Associates 被某人列为 表现最好的病毒之一 开发环境检查器, 有趣的是,这是一个 我相信很多微软的产品 开发人员在他们的桌面上使用。
自从提出这个问题以来,我在 Microsoft Security Essentials 方面遇到的问题最少,但我没有事实或测量结果来支持这一点。
What is the least slow Virus scanner to use with Microsoft Visual Studio
I have just had Microsoft Visual Studio “go slow” on me again due to my Virus Checker… (100s of Projects, some with over 100 C# files in them, so any thing that slows down builds is bad.)
We all know that development tools do a lot of file access so are badly effect by Virus Scanner. Most of us have to run a Virus scanner due to do many reasons.
So has anyone measured the effect of different virus scanners (and settings) on the speed of Microsoft Visual Studio?
Has anyone tied Microsoft Security Essentials with Visual Studio?
See also (if you have the rep, please extend the list)
- What Really Slows Windows Down (This has some real data)
- Visual Studio and Virus Scan of Temp folder
- Visual Studio Optimizations
- Development machines and anti-virus policy (Sophos Anti-Virus)
- Antivirus (Symantec Endpoint) configuration for developer machine
- Least intrusive antivirus software for development PC?
- Suggestions for a productive hardware setup with excellent virus protection.
- Choosing Anti-Anti-Virus Software (Coding Horror)
What are peoples experiences with Visual Studio 2010 and virus checkers?
I got this as part of a helpful email from someone (that will rename nameless) at Microsoft speaking on his own behalf.
It’s not clear that we (Microsoft)
would be able to endorse 3rd party
products. With that in mind, I did
notice that in the posting Ian linked
to (this question) that Computer Associates was listed by someone as
one of the best performing virus
checkers for development environments,
which interestingly enough is a
product that I believe many Microsoft
developers use on their desktops.
Since asking this question, I have had the least problems with Microsoft Security Essentials, however I have no facts or measurments to back this up.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(11)
我还没有真正做过任何测量,但我通常做的是排除对我的开发文件夹(通常是我的 :\Projects 文件夹)的实时扫描。
这样,编译器就可以在我日常重复性任务中尽可能快地工作。
我确实每天进行扫描,在其路径中包含有问题的文件夹,以便获取任何可能的威胁。
主观上,我更喜欢使用 NOD32。
I haven't really done any measurements, but what I usually do is to exclude the real time scanning of my development folder (usually my :\Projects folder).
That way, the compiler can work as fast as possible during my everyday repetitive tasks.
I do have a daily scan that have the folder in question in its path, in order to fetch any possible threat.
On a subjective note, I prefer to use NOD32.
根据以前在各种工作中的安装,根据经验从最慢(非常烦人)到最快(几乎没有影响)进行评级:
我不会打扰 AV 审查网站上显示的速度测试等,因为其中大多数都在受控环境中,通常启用审阅模式。影响还会因您的网络环境(工作组或域)和管理员强制执行的策略而异。
披露:我曾在 90 年代开发过另一个现已过时的防病毒软件包。
Based on previous installations at various jobs, empirically rated from slowest (very annoying) to quickest (almost no impact):
I wouldn't bother with the speed tests, etc. shown at the AV review sites since most of these are in controlled environments, often with review-mode enabled. The impact will also vary depending on your network environment (workgroup or domain) and administrator-enforced policies.
Disclosure: I used to work on another now-obsolete anti-virus package back in the 90's.
我必须同意第一个答案。
我发现这些问题在不同的工作中有所不同,具体取决于管理员保留开发人员配置不变的意图的准确性。正确设置病毒扫描程序仍然会阻碍开发,但至少是可以忍受的。
因此,我将扫描列表编辑为:
我发现这改善了磁盘抖动,否则 Visual Studio、Resharper 和病毒扫描程序都会对驱动器造成影响。一如既往,SysInternals 的 Filemon 可以帮助您定位恶意服务/进程。
I'd have to agree with the first answer.
I've seen such issues differ between jobs according to the verocity of the admins' intent to leave configs unchanged for devs. Correctly setup virus scanners still hinder dev, but at least it's bearable.
So I edit the scan lists to:
I find this improves the disk thrashing that otherwise occurs with Visual Studio, Resharper and a Virus Scanner all hammering the drive. As always SysInternals' Filemon can help you target rogue services/processes.
我们使用趋势科技防病毒软件,但它很糟糕。结帐似乎特别糟糕。
我们最近委托了一台新的构建机器,IS 团队没有为构建驱动器设置排除项,从 TFS 检查源代码需要 45 分钟。关闭 AV 后,检查完全相同的源代码大约需要 1 分 30 秒。
We have Trend Micro antivirus at work, and it's terrible. It seems particularly bad doing checkouts.
We commissioned a new build machine recently, and the IS team hadn't set up exclusions for the build drives, and it was taking 45 minutes to check out source code from TFS. With the AV turned off, the exact same source code took about 1 minute 30 seconds to check out.
我也没有测量,但有一些经验:
不要使用迈克菲:我们在许多安装中遇到了严重的性能问题(以及其他更严重的问题)。
使用 Avira AntiVir:据报道成功率最高,并且没有明显的延迟。我已经使用它很多年了。
I also dont have maesurements, but some experiences:
Dont use McAfee: We had serious performance problems (and other more serious ones) on a number of installations with that.
Use Avira AntiVir: Reportedly the highest success rates, and no noticeable delay. I use it since years.
会对@MagnusJohannsson<的答案发表评论/a> 或 @Rodrigo 但没有足够的声誉。只是为了真正同意,两者都+1。
我在两台非常相似的机器上有 NOD32 4.x,第二代英特尔 SSD 的充足 RAM,双核/四核的超频,干净安装的 win 7,VS2010。
已经在许多不同的机器和许多不同的版本上使用 NOD32 多年,没有任何问题,但在硬件升级和重新安装操作系统后,其中一台机器上出现了可怕的问题,其中 ekrn.exe(NOD 的服务)会发疯并吃掉所有的 CPU 都让我不得不物理关闭盒子。
经过多次与 ESET 支持的反复讨论后,确定这是由于 Visual Studio 文件访问看起来可疑/太快,最后我排除了我的项目文件夹,从那时起一切都很好。有趣的是,项目文件夹是我当时没有使用的解决方案,所以也许是 TFS 的东西?
无论如何,此链接对于任何遇到 NOD32 的 ekrn.exe 占用 CPU 问题的人来说都是一个简单的指南
从实时扫描中排除文件或文件夹
Would comment on answers from @MagnusJohannsson or @Rodrigo but don't have enough reputation. Just to agree really, and +1 for both.
I have NOD32 4.x on two very similar machines, 2nd Gen intel SSD's plenty of RAM, Duo / Quad Core's overclocked, clean installs of win 7, VS2010.
Have used NOD32 for years on many different boxes and many different builds without any problems, but had a horrible issue on one of the machines after a hardware upgrade and reinstall of OS where ekrn.exe (NOD's service) would go nuts and just eat up all the CPU leaving me having to physically shutdown the box.
After lots of to and fro with ESET support it was decided it was due to Visual Studio file access looking suspicious / being to quick, and in the end I excluded my project folders, and since then has been fine. Interestingly was project folder for a solution I was not using at the time, so maybe a TFS thing?
Anyhow this link is a simple guide for anyone having same problem with NOD32's ekrn.exe eating CPU
Excluding files or folders from real time scans
将启用 Fusion 程序集绑定日志记录与病毒扫描程序结合使用可能会导致应用程序启动期间出现性能问题。禁用 Fusion 日志记录或将其记录的文件夹添加为病毒扫描程序中的排除项。
Having Fusion assembly binding logging enabled in combination with a virus scanner can result in performance problems during startup of an application. Either disable the Fusion logging or add the folder that it logs to as an exclusion in your virus scanner.
您确实需要权衡防病毒程序的功能和支持与缓慢程度。就我而言,我使用过几种不同的,最好的选择是 Avast。家庭版是免费的,并且是在新威胁出现时更新病毒定义的最佳版本之一。
You really need to weigh the capabilities and support of the antivirus program against the slowness. In my case, I've used several different ones, and the best choice was Avast. The Home edition is free, and they are one of the best about updating their virus definitions as new threats appear.
不要使用卡巴斯基(旧的Tect Review),它会减慢正常资源管理器文件打开速度近10秒(是的,您需要等待10秒才能打开每个文件夹)。是的,它会影响 Visual Studio。新版本好像没有这个问题。 NOD32似乎没有这个问题,而且比卡巴斯基快一点(我什至不知道它是否像卡巴斯基那样扫描)。
但不管出于什么原因,NOD32 防火墙很糟糕!
Don't use Kaspersky(The old Tect Review one) it slows down normal explorer file opening for almost 10 second(Yes, you need to wait 10 second before opening each folder). And yes it affects Visual Studio. The new version does not seem the have the problem. NOD32 seem to not have this problem, and is a bit faster than Kaspersky(I don't even know if it's scan as much as Kaspersky does).
But for what ever reason, NOD32 firewall is bad!
排除项目文件夹和 Visual Studio 应用程序文件夹进行实时扫描,并在您感到安全的情况下尽可能频繁地安排扫描。
Exclude your project folders and the visual studio app folder for realtime scan, and schedule a scan as often as you can feel safe.
老实说,我的工作机器没有安装病毒扫描程序,而且近两年来,我从未遇到过病毒问题,因为我一直在公司网络巡逻后面,而且其他事情让我非常安全。
不过,在家里,我使用 NOD32,并且在 3 台不同的机器上都使用 Visual Studio,我从未注意到任何速度变慢。我很抱歉没有任何衡量基准,只是想扔掉我的“答案”。
Well to be honest, my work machine doesn't have a virus scanner installed, and for almost 2 years, I've never had a problem with viruses because I'm constantly behind corporate web patrol and other things keeps me pretty safe.
At home, though, I use NOD32, and on 3 different machines all using Visual Studio, I've never noticed any slowdowns. I apologize for not having any benchmarks to measure, just wanted to throw out my "answer."