Hello,

I'm using clamav 1.4.1.

In the Message; 

  Subject    : [clamav-users] Clamd CPU usage
  Message-ID : <3d9ff8d4-005e-4f14-a632-b0c481a54...@fibertel.com.ar>
  Date & Time: Mon, 14 Oct 2024 11:06:59 +0200

Limaunion via clamav-users <clamav-users@lists.clamav.net> has written:

[...]
> /dev/urandom test:

> CMD1: time -p for i in {0..25}; do dd if=/dev/urandom of=rnd.file.$i bs=10M
> count=1 oflag=dsync > /dev/null 2>&1;done
> CMD2: time -p for i in {0..25} ; do cat rnd.file.$i > /dev/null; done

> AV ON:
> DD 1.1 [CMD1]
> CAT: 76.5 [CMD2]

In my case;

   1. DD
   real 1.35
   user 0.01
   sys 0.62

   2. CAT
   real 0.06
   user 0.02
   sys 0.03

[...]
> /dev/zero test"

> CMD1: time -p for i in {0..25}; do dd if=/dev/zero of=rnd.file.$i bs=10M 
> count=1
> oflag=dsync > /dev/null 2>&1;done
> CMD2: time -p for i in {0..25} ; do cat rnd.file.$i > /dev/null; done

> AV ON:
> DD: 2.8 [CMD1]
> CAT: 52.8 [CMD2]

  3. DD
  real 0.30
  user 0.00
  sys 0.19

  4. CAT
  real 0.06
  user 0.01
  sys 0.05
[...]

I think there is a problem with your clmad.conf settings.

Why don't you check it with this?

    https://docs.clamav.net/manual/OnAccess.html?highlight=clamonacc

Best Regards.

---
┏━━┓彡     Masaru Nomiya                   mail-to: nomiya @ lake.dti.ne.jp
┃\/彡
┗━━┛       "During testing, Sakana found that its system began unexpectedly
               attempting to modify its own experiment code to extend the time
               it had to work on a problem."
               
               -- Research AI model unexpectedly attempts to modify its own code
                  to extend runtime (ars TECHNICA) --
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

Reply via email to