Program Tip

다른 바이러스 스캐너로 인한 Microsoft Visual Studio의 속도 저하

programtip 2020. 10. 17. 12:04
반응형

다른 바이러스 스캐너로 인한 Microsoft Visual Studio의 속도 저하


Microsoft Visual Studio에서 사용할 가장 느린 바이러스 스캐너는 무엇입니까?

바이러스 검사기 때문에 Microsoft Visual Studio를 다시 "느리게"했습니다. (100 개의 프로젝트, 일부는 100 개 이상의 C # 파일이 포함되어 있으므로 빌드 속도를 늦추는 것은 좋지 않습니다.)

우리 모두는 개발 도구가 많은 파일 액세스를 수행하므로 바이러스 스캐너에 의해 나쁜 영향을 받는다는 것을 알고 있습니다. 우리 대부분은 여러 가지 이유로 바이러스 스캐너를 실행해야합니다.

그렇다면 Microsoft Visual Studio의 속도에 대한 다양한 바이러스 스캐너 (및 설정)의 영향을 측정사람이 있습니까?

Visual Studio와 Microsoft Security Essentials연결 한 사람이 있습니까?

참조 (담당자가 있으면 목록을 확장하십시오)

Visual Studio 2010 및 바이러스 검사기에 대한 사람들의 경험은 무엇입니까?


이 이메일은 Microsoft의 누군가가 자신을 대신하여 말하는 유용한 이메일의 일부로 받았습니다.

우리 ( Microsoft )가 타사 제품을 보증 할 수 있을지는 확실하지 않습니다 . 이를 염두에두고 Ian ( 이 질문 )에 연결된 게시물에서 Computer Associates 가 개발 환경에서 가장 성능이 좋은 바이러스 검사기 중 하나로 누군가에 의해 나열되었다는 것을 알았습니다. 흥미롭게도 많은 Microsoft 개발자가 믿는 제품입니다. 데스크탑에서 사용하십시오.


이 질문을 한 후 Microsoft Security Essentials에 대한 문제가 가장 적었지만이를 뒷받침 할 사실이나 측정 방법이 없습니다.


실제로 측정을 수행하지 않았지만 일반적으로 개발 폴더 (일반적으로 내 : \ Projects 폴더)의 실시간 스캔을 제외하는 것입니다. 이렇게하면 매일 반복되는 작업 중에 컴파일러가 최대한 빠르게 작동 할 수 있습니다. 가능한 위협을 가져 오기 위해 경로에 문제의 폴더가있는 일일 검사가 있습니다. 주관적으로 나는 NOD32를 선호합니다.


나는 첫 번째 답변에 동의해야합니다.

이러한 문제는 개발자를 위해 구성을 변경하지 않은 상태로 두려는 관리자의 의도에 따라 작업마다 다릅니다. 올바르게 설정된 바이러스 스캐너는 여전히 개발을 방해하지만 적어도 견딜 수 있습니다.

그래서 스캔 목록을 다음과 같이 편집합니다.

  • 모든 개발 코드 디렉토리 제외
  • 임시 ASP.Net 생성 영역 제외
  • Resharper 캐시 제외

이것은 Visual Studio, Resharper 및 바이러스 스캐너가 모두 드라이브를 망치고있을 때 발생하는 디스크 스 래싱을 개선합니다. 항상 그렇듯이 SysInternals의 Filemon 은 불량 서비스 / 프로세스를 대상으로 할 수 있습니다.


다양한 작업의 이전 설치를 기반으로 가장 느린 (매우 성가신)에서 가장 빠른 (거의 영향 없음)까지 경험적으로 평가되었습니다.

AV 리뷰 사이트에 표시되는 속도 테스트 등은 대부분이 통제 된 환경에 있고 종종 리뷰 모드가 활성화되어 있기 때문에 신경 쓰지 않습니다. 영향은 네트워크 환경 (작업 그룹 또는 도메인)과 관리자가 적용한 정책에 따라 달라집니다.

공개 : 저는 90 년대에 지금은 사용되지 않는 또 다른 안티 바이러스 패키지를 작업했습니다.


우리는 Trend Micro 바이러스 백신이 작동 중이며 끔찍합니다. 체크 아웃을하는 것이 특히 나빠 보입니다.

최근에 새 빌드 머신을 의뢰했는데 IS 팀은 빌드 드라이브에 대한 제외를 설정하지 않았으며 TFS에서 소스 코드를 확인하는 데 45 분이 걸렸습니다. AV가 꺼진 상태에서 정확히 동일한 소스 코드를 확인하는 데 약 1 분 30 초가 걸렸습니다.


나는 또한 maesurements가 없지만 몇 가지 경험이 있습니다.

  • McAfee를 사용하지 마십시오. 우리는 여러 설치에서 심각한 성능 문제 (및 기타 더 심각한 문제)가있었습니다.

  • Avira AntiVir 사용 : 가장 높은 성공률을 보이며 눈에 띄는 지연이 없습니다. 나는 수년 동안 그것을 사용합니다.


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


I've been trying to find the answer to this question for years. I finally did my own tests so I could make a proposal to my boss when we renew our anti-virus licenses. Some of the tests were a little inconclusive, but overall I think they are accurate enough for your consideration. Here are some real benchmarks.


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.


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.


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!


Exclude your project folders and the visual studio app folder for realtime scan, and schedule a scan as often as you can feel safe.


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."

참고URL : https://stackoverflow.com/questions/1305709/slowdown-of-microsoft-visual-studio-due-to-different-virus-scanner

반응형