[clamav-users] Improving clamscan speed?
Dan Rawson
drawson1 at earthlink.net
Tue Dec 19 17:28:36 UTC 2017
Did some additional testing:
"clamscan -v --stdout -r" and "clamdscan -v --stdout" take approximately the same time.
They both use all of a single core on my quad-core machine (25% of the available CPU
cycles). Running "clamdscan -m -v --stdout" completes in approximately 1/4 the time, but
it uses essentially 100% of my available CPU cycles. Even starting the file manager took
20 or 30 seconds with that scan running.
Comment on other responses:
- Eliminating files with --exclude: I agree that this is a good strategy, but it doesn't
solve the base issue. Once I'm comfortable with the speed of operation, I'll definitely
do this as a refinement.
- Smaller file size: I don't know what this is for clamscan, but the default for clamd
(if I've understood correctly) is already set to 25Mb (and 150Mb of extracted archive data).
I added this info to bugzilla too.
HTH!
Dan
On 12/18/2017 01:07 PM, Dan Rawson wrote:
> Steve -
>
> Thanks - I'll do a bit of testing based on the offered suggestions and then add the
> results . . . .
>
> Dan
>
> On 12/18/2017 11:43 AM, Steven Morgan wrote:
>> Dan,
>>
>> I have opened ticket https://bugzilla.clamav.net/show_bug.cgi?id=11990 to
>> track ClamAV performance issues.
>>
>> Please post any additional ClamAV performance related info there.
>>
>> Steve
>> _______________________________________________
>> clamav-users mailing list
>> clamav-users at lists.clamav.net
>> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>>
>>
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>>
>> http://www.clamav.net/contact.html#ml
>>
>
> _______________________________________________
> clamav-users mailing list
> clamav-users at lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>
More information about the clamav-users
mailing list