|Main Archive Page > Month Archives > clamav-users archives|
> On 08/15/2009 08:09 AM, Strykar wrote:
> > Good question, could ClamAV developers comment on this?
> > Would TmpFS be more effective as it would start writing to /swap if the
> > system runs out of memory instead of stating "Out of memory" and stopping
> > the process?
On 15.08.09 10:57, Jason Haar wrote:
> These are HAVP questions - not ClamAV. You should have been asking them
> on the HAVP list.
I think that using temporary directory for clamav is as much ClamAV question as possible :-)
> Anyway, your choice of filesystem is probably irrelevant. The bottleneck
> for AV scanning will be the scanner itself - not the filesystem. I use
> the standard (disk) filesystem instead of ramdisk and CPU is my
> bottleneck - as expected. (I mean there is always a bottleneck in any
> process, it's only a matter of deciding whether it matters or not).
if the syustem uses much of disk I/O, the temporary filesystem can became the bottleneck very fast. And while talking about the CPU, tmpfs has smaller overhead I guess.
I think that due to how tmpfs processes files, it may give us speed benefits even when system is swapping.
but we can always try some tests to see how much it helps in what situations... -- Matus UHLAR - fantomas, uhlar_at_fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. I don't have lysdexia. The Dog wouldn't allow that. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml