Menu

#8 Write small files to RAM-disk

closed
nobody
Performance (2)
5
2012-09-14
2005-06-27
No

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.

Feature idea:

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.

Discussion

  • Nerijus Baliūnas

    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?

     
  • Aecio F. Neto

    Aecio F. Neto - 2005-08-09

    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.

     

Log in to post a comment.