The AV Plugin (or dansguardian itself) stores the
downloads it needs to scan in a temporary file.
Right now all files, small and large, hit the same
directory.
To speed things up, files below a certain
file-size-threshold could be stored in a special
directory instead of the "normal" directory. If that
directory is located on a RAM-disk, latency would
probably drop significantly.
Logged In: YES
user_id=3416
Could you please put /tmp/dgvirus into RAMfs (on Linux just
mount it as tmpfs, e.g. put a line
tmpfs /tmp/dgvirus tmpfs defaults,size=1024M 0 0
in /etc/fstab and mount /tmp/dgvirus. Adjust ramdisk size
for your needs)
and test if it makes any difference?
Logged In: YES
user_id=838230
I had benchmarked clamav, using both clamdscan and clamscan,
scanning files on filesystem and on ramd-disk using /dev/shm.
Scan time is almost the same and no improvement was noticed.
I am closing this request as not implemented, then.