On Sat, 7 May 2005, Joanna Roman wrote:
If I ran clamav on multi processor box, will the
scanning thread be distributed among multiple
processors ? Or this is pthread specific ? Have anyone
try this yet ?
I only run the milter (not clamd), but this might answer your question:
16:10:14 up 43 days, 11:23, 68 users, load average: 0.59, 0.45, 0.38
356 processes: 353 sleeping, 2 running, 1 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 2.2% 0.0% 1.0% 0.0% 0.0% 0.3% 96.2%
cpu00 0.1% 0.0% 1.1% 0.0% 0.0% 0.3% 98.2%
cpu01 1.1% 0.0% 0.5% 0.0% 0.0% 0.3% 97.8%
cpu02 5.7% 0.0% 1.9% 0.0% 0.0% 0.3% 91.8%
cpu03 1.9% 0.0% 0.3% 0.0% 0.0% 0.3% 97.2%
Mem: 3792668k av, 3757060k used, 35608k free, 0k shrd, 139452k buff
2740352k actv, 515016k in_d, 58448k in_c
Swap: 4192924k av, 127288k used, 4065636k free 2577328k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
2186 clamav 16 0 14280 13M 1460 S 0.0 0.3 0:26 2 clamav-milter
2187 clamav 15 0 14280 13M 1460 S 0.0 0.3 1:04 3 clamav-milter
2188 clamav 25 0 14280 13M 1460 S 0.0 0.3 0:00 3 clamav-milter
9393 clamav 20 0 14280 13M 1460 S 0.0 0.3 0:00 1 clamav-milter
Note that clamav-milter has threads running on three different CPUs.
Damian Menscher
--
-=#| Physics Grad Student & SysAdmin @ U Illinois Urbana-Champaign |#=-
-=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=-
-=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=-
-=#| <[EMAIL PROTECTED]> www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=-
-=#| The above opinions are not necessarily those of my employers. |#=-
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html