Wilders Security Forums  

Go Back   Wilders Security Forums > Archived Forums > Closed Sub-Forums > Archived ESET Support Forums > ESET Smart Security v3 Beta Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old September 20th, 2007, 04:43 PM
Ulpian Ulpian is offline
Infrequent Poster
 
Join Date: Sep 2007
Posts: 6
Exclamation Attention: Eset apps are single-threaded

Greetings,

NOD32 is one of the fastest av's on the market. In order to maintain this position I suggest making Eset apps v3 multi-threaded, so all CPUs/Cores could be used for computations.

Peter

Last edited by Ulpian : September 21st, 2007 at 09:41 AM.
  #2  
Old September 20th, 2007, 05:37 PM
Marcos Marcos is offline
Eset Moderator
 
Join Date: Nov 2002
Posts: 14,193
Default Re: Scaner (and probably rest of app) is single-threaded

Have you considered that each thread would be scanning different files at different places on the disk at a time and thus slowing down disk access for other applications?
  #3  
Old September 20th, 2007, 05:42 PM
The_Duality's Avatar
The_Duality The_Duality is offline
Frequent Poster
 
Join Date: Apr 2007
Location: Liverpool, UK
Posts: 276
Default Re: Scaner (and probably rest of app) is single-threaded

Perhaps have an option to switch between single/multi-threaded scans? If you arent doing anything else on your machine during the scan, multi-threaded would be a good idea. I find that a lot of programs (in my experience anyway) dont really take full advantage of Core2's or quads.
  #4  
Old September 20th, 2007, 06:46 PM
Ulpian Ulpian is offline
Infrequent Poster
 
Join Date: Sep 2007
Posts: 6
Default Re: Scaner (and probably rest of app) is single-threaded

I mean only computation threads, not I/O ones. For example, single thread loads 40mb exe file to memory and N threads analyze this exe. N = No of CPUs/Cores.
  #5  
Old September 20th, 2007, 07:09 PM
lucas1985's Avatar
lucas1985 lucas1985 is offline
Global Moderator
 
Join Date: Nov 2006
Location: France, May 1968
Posts: 4,047
Default Re: Scaner (and probably rest of app) is single-threaded

I guess that making Advanced Heuristics multithreaded could help a lot with the occasional freezes when processing SFX/UPX files.
I think that a optimized scanning engine could process files at the maximum speed allowed by the HDD.
__________________
"Pouvoir à l'Imagination. Power to the imagination. La imaginación al poder".

"Perfect is the enemy of good enough". Voltaire.
  #6  
Old September 20th, 2007, 07:48 PM
Marcos Marcos is offline
Eset Moderator
 
Join Date: Nov 2002
Posts: 14,193
Default Re: Scaner (and probably rest of app) is single-threaded

Currently the scan is run in one thread so that the other core can fully serve for the system and other applications. Or if you wish you can run another scan simultaneously and the OS will automatically use the other core for that scan.
  #7  
Old September 21st, 2007, 04:07 AM
pmi pmi is offline
Infrequent Poster
 
Join Date: Sep 2007
Posts: 18
Default Re: Scaner (and probably rest of app) is single-threaded

I need some help here, maybe I am wrong.
1. On-demand: I want to scan a file, folder, disk, system, and I want it now. Well, I think I want it to be done as fast as possible, I don't really care about the other applications running at that time.
2. Shield: from what I know, the shield is always scanning a file and after that allows access to it, or execution. Then the same ideea applies here also: faster/better. Example: Office or IE. When running any application, is not just the main exe file that is loaded (scan), there are also some dll's loaded (scan). I don't know if Word can be started just with the exe, with the dll's still beeing scanned (no access to them). Or am I wrong? How much CPU can this take? Will the scanner use 100% of a multi-core (2-4 now, maybe more next year) for <10 MB files and for how long?
3. Planned: well, here I don't want the scanner to use 100% of the multi-core. But from what I know the programmer can set a priority for the thread so that the OS can know how much of the CPU power (idle %) to assign to each application.

So the answer is YES, please support multi-core.
  #8  
Old September 21st, 2007, 08:18 AM
Ulpian Ulpian is offline
Infrequent Poster
 
Join Date: Sep 2007
Posts: 6
Default Re: Scaner (and probably rest of app) is single-threaded

PMI is right. Starting second instance to do another job is out of consideration. Just use all cores and add ability to set priority of scan (idle, below normal, normal, above normal, high; realtime not recommended even as option).

BTW. Office has plenty of dlls and exes which have >10mb size. Also scanning archives and email databases is cpu intensive.

PS. I don't know which compiler ESET use, but I heard that ICC is the fastest one.
  #9  
Old September 21st, 2007, 09:02 AM
pmi pmi is offline
Infrequent Poster
 
Join Date: Sep 2007
Posts: 18
Default Re: Scaner (and probably rest of app) is single-threaded

I asked about the 10MB files just to have a scale of how fast the scanner could be in multi-core. And Winword in Office 2003 has 8.4 MB, so files under 10MB could include more then 90% of the files one can have on a disk. (I don't have exact statistics)
  #10  
Old September 21st, 2007, 09:38 AM
Ulpian Ulpian is offline
Infrequent Poster
 
Join Date: Sep 2007
Posts: 6
Cool Re: Scaner (and probably rest of app) is single-threaded

Forget big exe files. Multicore support is especially needed for scanning archives and mail bases. Also advanced heuristcs is CPU intensive. Archives, e.g. 2gb size need to be unpacked before scanning. Unpacking of such big archive takes MUCH CPU power ! This is the reason why I never scan (or scan once) archives...

About numer of CPU cores. Two cores are now a standard for new computers. In 2008 4 cores will be standard, In 2009-2010 8 cores...

BTW. It looks like, that 8-core CPU is capable of realtime raytracing. Games support for this technology will boost multicore market.
Link: http://www.pcper.com/article.php?aid=455

Anyway, keep in mind: MULTIPLE CORES HAVE FUTURE, surely. This is direction, where cpu companies are heading.
 

Wilders Security Forums > Archived Forums > Closed Sub-Forums > Archived ESET Support Forums > ESET Smart Security v3 Beta Forum « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 11:16 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums