🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Thomas Tonino Fri, 06 Oct 2000 00:00
Cleanfeed performance
#48653
Author: Thomas Tonino
Date: Fri, 06 Oct 2000 00:00
19 lines
1416 bytes
I'm running Cleanfeed on a dual CPU Sun E220 (450 MHz) - but Cleanfeed
is not able to keep up with a full feed which is around 220 GB here (why
oh why).

So now I'm pondering - don't let Cyclone feed the article bodies to
Cleanfeed, which will severely impact its ability to weed out spam - or
maybe dig up a patch somewhere so Cleanfeed does not pick up all lines
of the article - or switch to Spam Hippo?

My experience with Spam Hippo is that it lets more spam through than
Cleanfeed.

What dothe other think? I'm trying to be a good net.neighbour, but I'd
like to have a decent performance news feeder as well.


Thomas

Re: Cleanfeed performance
#49055
Author: bill davidsen
Date: Tue, 14 Nov 2000 00:00
20 lines
1576 bytes
In article <39DDD7FB.8390A63A@bio.vu.nl>,
Thomas Tonino  <ttonino@bio.vu.nl> wrote:
| I'm running Cleanfeed on a dual CPU Sun E220 (450 MHz) - but Cleanfeed
| is not able to keep up with a full feed which is around 220 GB here (why
| oh why).

As I recall the bCandid stuff used to run posts through a separate
Cleanfeed instead of the attached perl of INN. While this is more
overhead, I would also have hoped that SMP would allowed the perl to run
at its own pace. In practive the overhead part was true, the SMP part
wasn't.

Do you see lots of system time due to IPC? I haven't looked at this in a
while, so all of this may be old news.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Make the rules? I don't make the rules. I don't even FOLLOW the rules!

Re: Cleanfeed performance
#49061
Author: Thomas Tonino
Date: Wed, 15 Nov 2000 00:00
32 lines
2129 bytes
bill davidsen wrote:

> | I'm running Cleanfeed on a dual CPU Sun E220 (450 MHz) - but Cleanfeed
> | is not able to keep up with a full feed which is around 220 GB here (why
> | oh why).
> 
> As I recall the bCandid stuff used to run posts through a separate
> Cleanfeed instead of the attached perl of INN. While this is more
> overhead, I would also have hoped that SMP would allowed the perl to run
> at its own pace. In practive the overhead part was true, the SMP part
> wasn't.

Actually the Cleanfeed process gets up to 50% of CPU thus making full
use of that CPU. But this also serializes the article flow of course -
Cyclone will not send out the article before it is OKed by Cleanfeed.
Don't remember the system time to be extremely high.
 
> Do you see lots of system time due to IPC? I haven't looked at this in a
> while, so all of this may be old news.

I'd think we would be much better off if there was an option in
cleanfeed to pass only bodies if they are shorter than X bytes or pass
only the first X bytes of a body. Or even setting it up the paramaters
to use as a special feed perhaps: all locally posted articles get
filtered, but the huge volume binary groups don't.

Or something like that.


Thomas

Re: Cleanfeed performance
#49082
Author: bill davidsen
Date: Thu, 16 Nov 2000 00:00
27 lines
2099 bytes
In article <3A125840.5BEEF538@bio.vu.nl>,
Thomas Tonino  <ttonino@bio.vu.nl> wrote:
| bill davidsen wrote:

| > Do you see lots of system time due to IPC? I haven't looked at this in a
| > while, so all of this may be old news.
| 
| I'd think we would be much better off if there was an option in
| cleanfeed to pass only bodies if they are shorter than X bytes or pass
| only the first X bytes of a body. Or even setting it up the paramaters
| to use as a special feed perhaps: all locally posted articles get
| filtered, but the huge volume binary groups don't.

  If you started with an old version of Cleanfeed, there may be some
ugly code in there to count the lines in the body, instead of taking the
$hdr{'__LINES__'} value. This adds a good bit of overhead. And after you
have the $lines and the length of the body, you can bypass some checks
if you want. I was amazed at how much time is taken to check large
articles, but I haven't bypassed much logic, they keep letting me get
faster filtering hosts, and I don't refilter on the reader machines, so
I don't care there.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Make the rules? I don't make the rules. I don't even FOLLOW the rules!

Re: Cleanfeed performance
#49083
Author: Russ Allbery
Date: Thu, 16 Nov 2000 00:00
20 lines
1730 bytes
bill davidsen <davidsen@tmr.com> writes:

> If you started with an old version of Cleanfeed, there may be some ugly
> code in there to count the lines in the body, instead of taking the
> $hdr{'__LINES__'} value. This adds a good bit of overhead. And after you
> have the $lines and the length of the body, you can bypass some checks
> if you want. I was amazed at how much time is taken to check large
> articles, but I haven't bypassed much logic, they keep letting me get
> faster filtering hosts, and I don't refilter on the reader machines, so
> I don't care there.

Yeah, you can get much faster than the current Cleanfeed.  (I really need
to polish up and release my current filters, but I've been not doing that
because you can get much faster than *that* with a few ideas I have for
improving INN's filter interface that I need to write....)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: Cleanfeed performance
#49091
Author: bill davidsen
Date: Fri, 17 Nov 2000 00:00
18 lines
1688 bytes
In article <yl66lnifjk.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

| Yeah, you can get much faster than the current Cleanfeed.  (I really need
| to polish up and release my current filters, but I've been not doing that
| because you can get much faster than *that* with a few ideas I have for
| improving INN's filter interface that I need to write....)

  I'd like to see the improved filters, without needing to upgrade my
news software, thank you. I still find that the biggest bottleneck is
the article write time, WTF is it *doing*? Behaves as if every article
was fflush()ed after write, or some such thing.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Make the rules? I don't make the rules. I don't even FOLLOW the rules!

Re: Cleanfeed performance
#49096
Author: Thomas Tonino
Date: Fri, 17 Nov 2000 00:00
15 lines
1500 bytes
Russ Allbery wrote:

> Yeah, you can get much faster than the current Cleanfeed.  (I really need
> to polish up and release my current filters, but I've been not doing that
> because you can get much faster than *that* with a few ideas I have for
> improving INN's filter interface that I need to write....)

Any release would be an improvement for news as a whole. Currently I do
not do body filtering (yeahm, it has to run on sun). And I bet the wider
a filter is implemented the better.


Thomas

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads