ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Just an idea, would this work?
Trigon


Joined: 04 Jul 2007
Posts: 0
Reply with quote
I Just had an idea, you know how clamWin scans only one file at a time, would it be faster if it scanned multiple files at the same time? eg say break it up into say 3 to 4 scans running at the same, each scanning a different file.

E.g.

Normal scan

Files: 1 2 3 4 5 6 7 8 9 10

Scans: 1 2 3 4 5 6 7 8 9 10

My idea

Files: 1 2 3 4 5 6 7 8 9 10

Scan1: 1 2 3
Scan2: 4 5 6
Scan3: 7 8 9
Scan4: 10

All running at the same time.

Would this be faster?
View user's profileSend private message
sherpya


Joined: 22 Mar 2006
Posts: 0
Location: Italy
Reply with quote
uh? you mean multi threaded? unfortunately clamscan it's a single threaded application
View user's profileSend private message
Trigon


Joined: 04 Jul 2007
Posts: 0
Reply with quote
I don't mean multi threaded, how can i explain this.

when ClamWin scans it scans one file at a time, eg c:\files\file1.exe | then c:\files\file2.exe c:\files\file3.exe and so on. Say this takes 10 seconds.

What i am asking is would it be faster to do multiple cans at one time eg.

Start scan

c:\files\file1.exe
c:\files\file2.exe
c:\files\file3.exe

And it scans all 3 files all at once, So instead of cheeking one files at a time it cheeks 3 at a time.

See what i mean?

Just say you have a box of apples, and you cheek one apple at a time to see if there is a worm on it, now if you where able to look at 3 apples at a time(and taking the same time to look at 1) you would be able to sort all the apples faster.
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
it won't be any faster. bottleneck in clamav is IO rather than CPU
View user's profileSend private message
Just an idea, would this work?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic