Using Memory Caches - McAfee VCLCDE-AA-DA - VirusScan Command Line Scanner Standard Product Manual

Product guide
Table of Contents

Advertisement

®
VirusScan
Command Line 5.20.0 Product Guide

Using memory caches

When scanning a file for viruses and other potentially unwanted software, the scanner
reads the file into computer memory in amounts determined by the operating system.
Although changes are not normally necessary, you can improve the scanning speed by
increasing the amount of memory that the scanner uses. This can be controlled by the
following options:
/OCRS
/OCMAX
/AFC
Options
and
/OCRS
/OCMAX
as Hierarchical Storage Management (HSM). The
performance in some cases.
OCRS
Typically the scanner reads only a few kilobytes of a file at a time, therefore a large
number of reads might be required per file. The
a larger internal "cache" for each file read instead. The size of reads for this cache is
determined by a value in the range 0 through 4, as follows:
— 128
/OCRS=0
KB
— 256
/OCRS=1
KB
— 512
/OCRS=2
KB
— 1
/OCRS=3
MB
— 2
/OCRS=4
MB
OCMAX
The
option changes the maximum size of the internal cache for file reads. By
/OCMAX
default, the scanner typically caches up to eight reads per file and uses a cache read
size of 128KB — and therefore a maximum cache size of 1
When setting the maximum size explicitly, you must specify the value of
number of Megabytes. See the following examples for
Use 512
read size. This implies a maximum cache size (
KB
SCAN C:\ /OCRS=2
Use 1
read size. This implies a maximum cache size (
MB
SCAN C:\ /OCRS=3
Use a 1
read size, but limit the cache size to 4
MB
SCAN C:\ /OCRS=3 /OCMAX=4
Use a 2MB read size, but limit the cache size to 8
SCAN C:\ /OCRS=4 /OCMAX=8
AFC
When scanning files, the scanner places the contents into computer memory (or file
cache) before scanning them. This option allows you to vary the amount of cache that
the scanner uses.
are intended for use with offline or remote storage, such
option can improve scanning
/AFC
option causes the scanner to use
/OCRS
/OCRS
.
MB
.
MB
19
Using the Command-Line Scanner
Using memory caches
, which is 128
x 8).
M
KB
as a
/OCMAX
and
.
/OCMAX
) of 4
(8 x 512
).
MB
KB
OCMAX
) of 8
(8 x 1
).
MB
MB
OCMAX
3

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VCLCDE-AA-DA - VirusScan Command Line Scanner Standard and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Virusscan command line

Table of Contents