http://bugzilla.spamassassin.org/show_bug.cgi?id=3839





------- Additional Comments From [EMAIL PROTECTED]  2004-10-04 13:46 -------
ok, now *THAT* works a lot better ;)

after spamd startup:

top -b -n1 | grep perl
11842 root       9   0  4816  444   444 S     0.0  0.0   0:01 perl
 2666 jm         9   0 18460  18M 17892 S     0.0  3.5   0:03 perl
 2670 jm         9   0 18460  18M 17784 S     0.0  3.5   0:00 perl
 2671 jm         9   0 18460  18M 17880 S     0.0  3.5   0:00 perl
 2672 jm         9   0 18460  18M 17872 S     0.0  3.5   0:00 perl
 2673 jm         9   0 18460  18M 17872 S     0.0  3.5   0:00 perl
 2674 jm         9   0 18460  18M 17884 S     0.0  3.5   0:00 perl

nice sharing, there!  but then, we haven't done anything yet ;)  after scanning
a single message ("t/data/spam/001"):

 2666 jm         9   0 18460  18M 17888 S     0.0  3.5   0:03 perl
 2670 jm        13   0 18676  18M 11720 S     0.0  3.6   0:00 perl <<<*NOTE*
 2671 jm         9   0 18460  18M 17872 S     0.0  3.5   0:00 perl
 2672 jm         9   0 18460  18M 17872 S     0.0  3.5   0:00 perl
 2673 jm         9   0 18460  18M 17872 S     0.0  3.5   0:00 perl
 2674 jm         9   0 18460  18M 17884 S     0.0  3.5   0:00 perl

6064k dropped immediately (that's 1516 4k pages).  after scanning another 111
messages, this time a wide selection of "real" spam:

 2666 jm         9   0 18460  18M 10968 S     0.0  3.5   0:03 perl
 2670 jm         9   0 19532  19M 10880 S     0.0  3.7   0:09 perl
 2671 jm        13   0 19840  19M 10888 S     0.0  3.8   0:09 perl
 2672 jm         9   0 20620  20M 10832 S     0.0  4.0   0:09 perl
 2673 jm         9   0 20672  20M 10836 S     0.0  4.0   0:09 perl
 2674 jm         9   0 20848  20M 10844 S     0.0  4.0   0:09 perl

I'd say that's about the typical low-water mark.  we should be able to increase
that.

btw, if you're curious -- test methodology used:

  cd t
  /usr/bin/perl -T -w ../spamd/spamd -D -x -s stderr -C log/test_rules_copy 
--siteconfigpath log/localrules.tmp -p 48373 -L &
  [wait for spamd to start]
  top -b -n1 | grep perl

  ../spamc/spamc -d localhost -p 48373 < data/spam/001
  top -b -n1 | grep perl

  for m in [corpus] ; do ../spamc/spamc -d localhost -p 48373 < $m > /dev/null; 
done
  top -b -n1 | grep perl


don't forget, this only works on vanilla linux 2.4.*; other kernels do not
report valid figures for copy-on-write shared pages.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to