[clamav-users] How to boost clamav? Reloading database results in a talking timeout?

G.W. Haywood clamav at jubileegroup.co.uk
Wed Sep 4 22:30:41 UTC 2019


Hi there,

> On 9/4/19, 1:40 PM, Thomas Barth via wrote:
>
> >  Why not using half of the cores to also reduce the loading time? Many
> >  years ago when I used eMule for downloading big files, I was so
> >  fascinated by the download mechanism: one big file, many download
> >  sources to get the file together piece by piece. And it didn't have to
> >  follow any order. That would be fun to programm for loading the
> >  databases, am I right? :-)

You might be right that it might be fun, but torrents are completely
irrelevant to this issue, and they exist elsewhere to sove a problem
which does not exist here.

On Wed, 4 Sep 2019, Micah Snyder (micasnyd) via clamav-users wrote:

> ... There might be some performance to be gained by using multiple
> threads.  I'm not certain.  Definitely a bunch of thread safety code
> would need to be written.

The database load times are a couple of orders of magnitude shorter
than the database update periods.  It makes no sense to try to make
the load times shorter when they can already be done by a separate
thread, while scanning continues, if necessary, in another thread.

-- 

73,
Ged.



More information about the clamav-users mailing list