Thread View: news.software.nntp
119 messages
119 total messages
Page 3 of 3
Started by Wang Haw
Mon, 13 Sep 1999 00:00
Page 3 of 3 • 119 total messages
Re: news spool area exported from NFS
Author: Chris Adams
Date: Sat, 18 Sep 1999 00:00
Date: Sat, 18 Sep 1999 00:00
19 lines
1738 bytes
1738 bytes
Once upon a time, Stephen R. van den Berg <srb@cuci.nl> said: >Russ Allbery <rra@stanford.edu> wrote: >>Out of curiousity, do you take a speed hit from using shared memory rather >>than normal process-specific memory on most platforms implementing shared >>memory? It's an aspect of IPC that I don't know a great deal about. > >No. It's even a speed boost in most cases, because the shared pages >should be in the same cache between contexts. Although if you have multiple CPUs and the news feed process is running on one CPU and the filter process is on another CPU, the pages won't be in the CPU cache on the second CPU. If the system has a third level cache (outside the CPUs) the pages may be there though, helping some. -- Chris Adams <cmadams@hiwaay.net> Systems and Network Administrator - HiWAAY Information Services I don't speak for anybody but myself - that's enough trouble.
Re: news spool area exported from NFS
Author: Joe Greco
Date: Sun, 19 Sep 1999 00:00
Date: Sun, 19 Sep 1999 00:00
41 lines
3190 bytes
3190 bytes
In news.software.nntp article <aDVE3.19285$N77.1445858@typ11.nn.bcandid.com>, cmadams@fly.hiwaay.net (Chris Adams) wrote: :Once upon a time, Stephen R. van den Berg <srb@cuci.nl> said: :>Russ Allbery <rra@stanford.edu> wrote: :>>Out of curiousity, do you take a speed hit from using shared memory rather :>>than normal process-specific memory on most platforms implementing shared :>>memory? It's an aspect of IPC that I don't know a great deal about. The real answer: no, except perhaps for any mutex/locking stuff you need to do to maintain overall coherency. The speed benefit in a Usenet news operation, if any, is that you do not need to directly involve the kernel in IPC operations. And that's meaningless, except for binaries, or _maybe_ if you have a really-close-to-the-edge machine. :>No. It's even a speed boost in most cases, because the shared pages :>should be in the same cache between contexts. : :Although if you have multiple CPUs and the news feed process is running :on one CPU and the filter process is on another CPU, the pages won't be :in the CPU cache on the second CPU. If the system has a third level :cache (outside the CPUs) the pages may be there though, helping some. Oh, please. Really, this is inane. The _real_ situation is that you're going to be shuffling the data around and you're not going to make use of CPU caching even on a uniprocessor machine, because the machine is too busy thrashing around doing other things in its spare time to still have that same data in cache when the filter process comes up to run state. And nobody's going to care or be sad, because even my slowest machines have no problem moving around the 3K times 12 articles per second == 36K per second from main memory to the CPU cache, many more times per second than is needed. There are a hundred other more substantial (not to mention noticeable) factors that'll have a lot more impact on your performance. Now, if this were an application where I was moving multimegabytes per second between two processes which had the majority of CPU run time, I'd agree that you could be legitimately concerned with caching side effects of a SMP environment, because you'd be likely to notice a few percent (or maybe more) speed improvement for such details. ... JG
Re: news spool area exported from NFS
Author: Brad Knowles
Date: Sun, 19 Sep 1999 00:00
Date: Sun, 19 Sep 1999 00:00
51 lines
3372 bytes
3372 bytes
In article <7s0jho$kc$1@xs4.xs4all.nl>, sico@xs4.xs4all.nl (Sico Bruins) wrote:
> Just what exactly is a "larger scale operation"?
For me, it's more a state of mind and a statement of where I have
intentions of going.
> All I am interested in is that my users get all the news (including,
> unfortunately, binaries) and that the articles they post get good
> propagation. With my measly 20k users I consider myself a small-scale
> operation. ;-) I do about 45G news per day, which I consider OK.
We do a lot less binaries than you do (our average daily inbound
bandwidth is more like 5-6GB, with 9-11GB outbound), although we have more
customers (slightly over 100k). However, there are also some other goals.
My boss is good friends with Marc Roger at Belnet, and we've always
had a bit of a friendly rivalry going. In addition, our "marQueting"
department (as Jeremey would say it ;-) is *very* happy that we now have
the highest rated news transit server in Belgium, and they and other
members of my management are very happy to help me do what it will take to
stay there.
For myself, I don't think I have any illusions as to what it means to
have a server that is highly ranked on the Freenix list. It's all just a
load of bullsh*t. The fact that I get more news in and back out again a
few milliseconds faster than many other sites doesn't help my customers
get any more news, nor does it help them get it any faster by any measure
that they can distinguish.
It does help them get their news out a few milliseconds faster than it
might have been in the past, but again, that's not really a measure that
they can distinguish. And I've had enough redundant peers for some time
now to ensure that I could lose dozens of them and still get virtually all
the same news in and out, if only a few milliseconds slower.
Still, I have hopes that I can continue to improve our ranking, and
that with hard work over the next couple of years or so, we might rise
high enough in the rankings that we might be one of the best rated news
transit servers in Europe.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Re: news spool area exported from NFS
Author: Russ Allbery
Date: Sun, 19 Sep 1999 00:00
Date: Sun, 19 Sep 1999 00:00
17 lines
1434 bytes
1434 bytes
Joe Greco <jgreco@ns.sol.net> writes: > And here's something where you actually have a meaningful volume where > optimizations might actually mean something. But you're not feeding 650 > articles per second into your filter, which is what we were talking > about. :-) Well, you're feeding 650 message IDs into your filter per second if you're using message ID filtering, but that's a different case. :) (That's something else, though, that I don't see how Diablo's filter mechanism could do with reasonable speed without a lot of pain, but it's not as widely used and not as widely useful so it doesn't matter as much.) -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: news spool area exported from NFS
Author: Joe Greco
Date: Sun, 19 Sep 1999 00:00
Date: Sun, 19 Sep 1999 00:00
59 lines
3955 bytes
3955 bytes
In news.software.nntp article <brad-1909991815200001@dialup261.brussels2.skynet.be>, brad@shub-internet.org (Brad Knowles) wrote: :In article <37e504a1$0$11106@news.execpc.com>, jgreco@ns.sol.net (Joe :Greco) wrote: : :> And :> nobody's going to care or be sad, because even my slowest machines have no :> problem moving around the 3K times 12 articles per second == 36K per second :> from main memory to the CPU cache, many more times per second than is needed. : : Obviously, I'm missing something here. When talking about a 55GB/day :full newsfeed, I thought that the average article size worked out to :around 50KB. Wouldn't that be more like 600KB a second? Think about a histogram of the size of your articles. Where's the vast, vast, vast majority of articles? Answer: .5KB-5KB, or, approximately, an average of 3KB. When you start considering those big guys, you're talking about cache destroyers anyways, because your average CPU cache is maybe 256K or 512K. You're not going to be concerned about that case since it is not the normal case, and will be much harder to correctly optimize for at a cache level. : Of course, I wouldn't be surprised if a machine had no problem moving :around that kind of data, but if you've got 75 peers, each offering you :something like 750,000 articles per day, that'd be something like 650 :history lookups per second. And here's something where you actually have a meaningful volume where optimizations might actually mean something. But you're not feeding 650 articles per second into your filter, which is what we were talking about. :-) Even so, in general, it's going to be impossible to keep sufficient quantities of history in L1 or L2 cache. Diablo offers between an 8MB (I think) and 64MB hash table, and you're just not going to see many cache hits on your average 512KB cache CPU. So, again, the cache doesn't buy you anything from the data perspective, although it buys you code execution speed. Now, shared memory, that's a different story, and using shared memory for the history makes lots of sense, especially in a Diabloesque architecture, since a competent VM system will optimize your available RAM to hold the pages which are being hit most frequently - the best you can really hope for. And if you have a sucky VM implementation, your life sucks and you need to compensate with additional RAM... :> There are a hundred other more substantial (not to mention noticeable) :> factors that'll have a lot more impact on your performance. : : I'd be very interested to hear what some of these other factors are. Nearly anything. You're never going to notice (or be able to measure, performancewise) whether or not there was a CPU cache hit or miss for an article en-route to a filter. You will more likely notice increased performance by doing any number of other things, like using better disk I/O algorithms or using shared memory in creative ways. ... JG
Re: news spool area exported from NFS
Author: Brad Knowles
Date: Sun, 19 Sep 1999 00:00
Date: Sun, 19 Sep 1999 00:00
30 lines
2287 bytes
2287 bytes
In article <37e504a1$0$11106@news.execpc.com>, jgreco@ns.sol.net (Joe
Greco) wrote:
> And
> nobody's going to care or be sad, because even my slowest machines have no
> problem moving around the 3K times 12 articles per second == 36K per second
> from main memory to the CPU cache, many more times per second than is needed.
Obviously, I'm missing something here. When talking about a 55GB/day
full newsfeed, I thought that the average article size worked out to
around 50KB. Wouldn't that be more like 600KB a second?
Of course, I wouldn't be surprised if a machine had no problem moving
around that kind of data, but if you've got 75 peers, each offering you
something like 750,000 articles per day, that'd be something like 650
history lookups per second.
> There are a hundred other more substantial (not to mention noticeable)
> factors that'll have a lot more impact on your performance.
I'd be very interested to hear what some of these other factors are.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Re: Liability for content
Author: sukey1
Date: Sun, 19 Sep 1999 00:00
Date: Sun, 19 Sep 1999 00:00
51 lines
3065 bytes
3065 bytes
Kai Henningsen wrote in message <7P2Fq20Hw-B@khms.westfalen.de>... >brad@shub-internet.org (Brad Knowles) wrote on 17.09.99 in <brad-1709991222080001@brad.techos.skynet.be>: > >> In article <7OyEtpoHw-B@khms.westfalen.de>, >> kaih=7OyEtpoHw-B@khms.westfalen.de (Kai Henningsen) wrote: >> >> > It's less clear what happens with prohibited-to-posess stuff, a.k.a. child >> > pornography. Not knowing about it is just about the only defense >> > available, it seems. >> >> Consider this. >[...] >> We don't have any AI programs that can look at a JPEG and determine >> whether the parties involved are two consenting 18-year olds performing >> legal sexual acts (while perhaps repugnant to some, that's probably not >> illegal in most jurisdictions), or if it's a 35-year old man having sex >> with a six year old boy. >> >> >> Okay, now let's assume we had to look at each binary manually. > >But in the case of child porn, the law actually doesn't allow you that. > >The moment I know that something is child porn *because I have seen it*, >I've committed a crime. > >Yes, this is silly. > >It seems the police has now invented a way to be contacted anonymously, >just to make it possible to report child porn without going to jail. > >I hope the politicians wake up and smell the coffee sometime soon ... >Idiots. In the UK things are done a differently. The law enforcement agencies *advice* the participating ISP community (ISPA) of the list of groups and may be the articles that need to be deleted from their servers so that they are not propagated. There is no policing of the servers themselves. The participating ISPs can *pretend* that they do not know that any illegal material exists as long as they follow the guidelines. The law enforcement agencies have the means to monitor the postings and may indeed be setting the mouse traps with salivating cheese to trap the unwitting mouse. The cat and mouse game goes on all the time. Probably *off topic* but is of interest to the participants in this group. sukey
Re: news spool area exported from NFS
Author: Dale Ghent
Date: Sun, 19 Sep 1999 00:00
Date: Sun, 19 Sep 1999 00:00
32 lines
2289 bytes
2289 bytes
Brad Knowles <brad@shub-internet.org> wrote:
: Obviously, I'm missing something here. When talking about a 55GB/day
: full newsfeed, I thought that the average article size worked out to
: around 50KB. Wouldn't that be more like 600KB a second?
Well, I've calculated a 60GB/24hrs feed to be (on average) able to fill
3.61 1.536Mb/sec T1's (1.536 is what's available for IP after subtracting
endcoding and framing overhead.)
Also, on average I'm seeing 12 articles a second come in, but I dont have
any stats for the article sizes.
: Are you a USENET news server administrator outside of North America or
: Western Europe? Would you like a newsfeed from a site in the Freenix
: Top 100? If so, please contact me via private e-mail for details.
I am no longer running DIGEX's server, but I am with a new company and I'll
be deploying a peering hub feeder that will be right off of LINX around the
middle of October. We should talk then. This goes for anyone else, with
descent connectivity to LINX as well. Drop a mail to news@pgexpress.net
/dale
--
Dale Ghent
----------
"All men know the wisdom of useful things,
but true wisdom lies in knowing the utility of futility."
- Chuang-Tzu
Re: news spool area exported from NFS
Author: Chris Sedore
Date: Mon, 20 Sep 1999 00:00
Date: Mon, 20 Sep 1999 00:00
35 lines
2379 bytes
2379 bytes
Brad Knowles <brad@shub-internet.org> wrote in message news:brad-2009991151000001@brad.techos.skynet.be... > > Even so, in general, it's going to be impossible to keep sufficient > > quantities of history in L1 or L2 cache. Diablo offers between an 8MB (I > > think) and 64MB hash table, and you're just not going to see many cache > > hits on your average 512KB cache CPU. So, again, the cache doesn't buy > > you anything from the data perspective, although it buys you code execution > > speed. > > If you're going for absolute maximum performance, it sounds to me like > the goal should be to make the primary code loops small enough to fit > entirely within the cache, even if this makes the code more difficult to > maintain, debug, or to add new functionality. This would be the last thing on my list of things to worry about. NNTPRelay has some pretty gross inefficiencies and the only time I've seen it run out of CPU (on a P-II 333) is when it's got more than 15-20 minutes of backlog, and then it typically is doing more than 1200 history lookups/sec while simultaneously doing more than 1000 outgoing offers per second and committing 30-50 articles/sec. With a more recent technology (our box is actually an overdrive'd PP200), one could easily triple or quadruple capacity. I suspect that diablo is largely in the same boat--it's cheap and easy to buy CPU, but a pain in the neck to write, maintain, and debug code when you're cache watching (at least in any serious way). -Chris
Re: news spool area exported from NFS
Author: Brad Knowles
Date: Mon, 20 Sep 1999 00:00
Date: Mon, 20 Sep 1999 00:00
51 lines
3179 bytes
3179 bytes
In article <37e5631f$0$11115@news.execpc.com>, jgreco@ns.sol.net (Joe
Greco) wrote:
> Think about a histogram of the size of your articles.
We ain't got no such thang.
Seriously, Diablo doesn't log information with sufficient resolution
to allow me to generate the kinds of reports that you can find at
<http://www.news-feed.inet.tele.dk/innreport/news-notice.1999.09.19-05_00_46.html#inn_dist>.
Wanna help me change that? ;-)
> Where's the vast,
> vast, vast majority of articles? Answer: .5KB-5KB, or, approximately, an
> average of 3KB.
Referencing the page above, about 70% of all articles are about 5KB or
smaller. The 50th percentile would appear to be around 1.75KB, although
it's not marked on the graph (1.5KB appears to be about 40%, 2KB appears
to be about 60%). You have to go to something close to 65KB to hit 80%,
and 90% wouldn't appear to be anything less than about 425KB.
> Even so, in general, it's going to be impossible to keep sufficient
> quantities of history in L1 or L2 cache. Diablo offers between an 8MB (I
> think) and 64MB hash table, and you're just not going to see many cache
> hits on your average 512KB cache CPU. So, again, the cache doesn't buy
> you anything from the data perspective, although it buys you code execution
> speed.
If you're going for absolute maximum performance, it sounds to me like
the goal should be to make the primary code loops small enough to fit
entirely within the cache, even if this makes the code more difficult to
maintain, debug, or to add new functionality.
> You will more likely notice increased
> performance by doing any number of other things, like using better disk
> I/O algorithms or using shared memory in creative ways.
And those better disk I/O algorithms or creative use of shared memory
would be???
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Re: Liability for content
Author: Kai Henningsen
Date: Mon, 20 Sep 1999 00:00
Date: Mon, 20 Sep 1999 00:00
90 lines
4614 bytes
4614 bytes
ss@@dial.pipex.com (sukey1) wrote on 19.09.99 in <7s208c$l4i$2@lure.pipex.net>: > Kai Henningsen wrote in message <7P2Fq20Hw-B@khms.westfalen.de>... > >brad@shub-internet.org (Brad Knowles) wrote on 17.09.99 in > <brad-1709991222080001@brad.techos.skynet.be>: > > > >> In article <7OyEtpoHw-B@khms.westfalen.de>, > >> kaih=7OyEtpoHw-B@khms.westfalen.de (Kai Henningsen) wrote: > >> > >> > It's less clear what happens with prohibited-to-posess stuff, a.k.a. > child > >> > pornography. Not knowing about it is just about the only defense > >> > available, it seems. > >> > >> Consider this. > >[...] > >> We don't have any AI programs that can look at a JPEG and determine > >> whether the parties involved are two consenting 18-year olds performing > >> legal sexual acts (while perhaps repugnant to some, that's probably not > >> illegal in most jurisdictions), or if it's a 35-year old man having sex > >> with a six year old boy. > >> > >> > >> Okay, now let's assume we had to look at each binary manually. > > > >But in the case of child porn, the law actually doesn't allow you that. > > > >The moment I know that something is child porn *because I have seen it*, > >I've committed a crime. > > > >Yes, this is silly. > > > >It seems the police has now invented a way to be contacted anonymously, > >just to make it possible to report child porn without going to jail. > > > >I hope the politicians wake up and smell the coffee sometime soon ... > >Idiots. > In the UK things are done a differently. The law enforcement agencies > *advice* the participating ISP community (ISPA) of the list of groups and I'm not talking about lists of groups, though. > may be the articles that need to be deleted from their servers so that they > are not propagated. There is no policing of the servers themselves. The > participating ISPs can *pretend* that they do not know that any illegal > material exists as long as they follow the guidelines. The law enforcement > agencies have the means to monitor the postings and may indeed be setting > the mouse traps with salivating cheese to trap the unwitting mouse. The cat > and mouse game goes on all the time. > Probably *off topic* but is of interest to the participants in this group. > sukey That's all fine, but it really isn't what I was talking about. Let's forget about Usenet for a moment. Maybe preconceived notions are blocking your view here. Let's say you're browsing the Web. Suddenly, following a seemingly innocuous link, you happen on a child porn jpeg. What now? You'd think the right thing would be to call the police and tell them about this. Unfortunately, your browser has loaded this jpeg into memory so it could display it, so you found out about it. That means you are currently in possession of a piece of child porn. That means (according to this law) you are a criminal. (I said it's silly, remember?) So if you tell the police like a honest citizen ... Problem is, the law doesn't give the police a choice in this matter. It's a must-prosecute offense (like, say, murder). The police, of course, are in favour of being told about this stuff, so they can get at the real culprits. Which is why they invented a method of being contacted that they can't trace back, so you *can* report that link without being prosecuted. It's not that the people who buy or trade this stuff shouldn't be prosecuted. But I'd sure like it if the politicians were better at aiming. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: news spool area exported from NFS
Author: Brad Knowles
Date: Mon, 20 Sep 1999 00:00
Date: Mon, 20 Sep 1999 00:00
51 lines
3398 bytes
3398 bytes
In article <adbF3.94$QQ3.1769498@dca1-nnrp1.news.digex.net>, Dale Ghent
<daleg@elemental.org> wrote:
> Well, I've calculated a 60GB/24hrs feed to be (on average) able to fill
> 3.61 1.536Mb/sec T1's (1.536 is what's available for IP after subtracting
> endcoding and framing overhead.)
You're absolutely right. When converting GB/day to Mbits/sec, you can
basically just reduce the order of magnitude by one (divide by ten), and
that will be a very close approximation.
The actual math goes something like this:
X * 1024 MB/GB * 8 bits/byte 8192
------------------------------------- = ----- = 0.094814814...
24 hours/day * 60 min/hr * 60 sec/min 86400
So, applied to this case, 60GB/day is an average of 5.68888 Mbits/sec,
or 0.7111111 MBytes/sec. This is a little larger than the 600KBytes/sec I
had previously calculated. I don't know what I was smoking when I posted
that -- maybe I had somehow mis-calculated and come up with the numbers
for 50GB/day?
> Also, on average I'm seeing 12 articles a second come in, but I dont have
> any stats for the article sizes.
That's about the right number of articles per second, according to
<http://transit.us-va.remarq.com>. Distribution of article sizes is
something that I usually go to TeleDanmark for (see
<http://www.news-feed.inet.tele.dk/innreport/news-notice.1999.09.19-05_00_46.html#inn_dist>).
> I am no longer running DIGEX's server, but I am with a new company and I'll
> be deploying a peering hub feeder that will be right off of LINX around the
> middle of October. We should talk then. This goes for anyone else, with
> descent connectivity to LINX as well. Drop a mail to news@pgexpress.net
We're in the process of standing up our T-3 to LINX. At the moment,
we're trying to get as many EGP/BGP peers as we can, so that we can get
most of our traffic routed through this connection. We'd be interested in
peering with most anyone that is directly connected to LINX or which would
be routed to us through LINX.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Re: news spool area exported from NFS
Author: Russ Allbery
Date: Mon, 20 Sep 1999 00:00
Date: Mon, 20 Sep 1999 00:00
36 lines
2380 bytes
2380 bytes
Brad Knowles <brad@shub-internet.org> writes: > Russ Allbery <rra@stanford.edu> wrote: >> Well, you're feeding 650 message IDs into your filter per second if >> you're using message ID filtering, but that's a different case. :) > Would it really be useful to attempt to filter on message-ids within > cleanfeed or somesuch? Ask Jeremy; IIRC, he was doing it for the job-spew from headhunter.net and said it was faster than rejecting a whole article and then doing history lookups against the rejected message ID. Remember, looking things up in the history file often requires disk I/O whereas Perl filtering just requires processor speed, and you often have way more processor than disk. > It seems to me that the best way to filter on message-ids is to leave > that code in the news server, I don't want code in the news server to reject all message IDs from headhunter.net. (I don't particularly want the code in the server to reject all message IDs starting with <cancel., but it's already there now and I don't care enough to take it out.) > Only once you get past that check should you then get down to filters > within the Perl script, and although you certainly could filter on the > message-id among many other things, this would typically be something > that would be called perhaps twelve times a second and not 650 times a > second. INN intentionally calls the Perl filter before doing a history lookup because the Perl filter was usually faster. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: news spool area exported from NFS
Author: Brad Knowles
Date: Mon, 20 Sep 1999 00:00
Date: Mon, 20 Sep 1999 00:00
25 lines
2163 bytes
2163 bytes
In article <yl4sgqgv0h.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:
> Well, you're feeding 650 message IDs into your filter per second if you're
> using message ID filtering, but that's a different case. :)
Would it really be useful to attempt to filter on message-ids within
cleanfeed or somesuch? It seems to me that the best way to filter on
message-ids is to leave that code in the news server, and the primary
thing it should be looking for is "Have I seen this message-id recently?",
i.e., something that can be feasibly done 650 times a second. ;-)
Only once you get past that check should you then get down to filters
within the Perl script, and although you certainly could filter on the
message-id among many other things, this would typically be something that
would be called perhaps twelve times a second and not 650 times a second.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Re: news spool area exported from NFS
Author: Russ Allbery
Date: Mon, 20 Sep 1999 00:00
Date: Mon, 20 Sep 1999 00:00
21 lines
1795 bytes
1795 bytes
Chris Sedore <cmsedore@maxwell.syr.edu> writes: > With a more recent technology (our box is actually an overdrive'd > PP200), one could easily triple or quadruple capacity. I suspect that > diablo is largely in the same boat--it's cheap and easy to buy CPU, but > a pain in the neck to write, maintain, and debug code when you're cache > watching (at least in any serious way). I think the days of watching the cache usage of normal code have gone the same place the days of lifting critical routines into hand-tuned assembly language have gone. Maybe if you're writing an operating system kernel or some incredibly high-performance computational code, but otherwise just don't worry about it and trust your compiler and CPU architecture to do something reasonable or be fast enough that it just doesn't matter. Particularly with stuff like news that's disk and network bound anyway. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: news spool area exported from NFS
Author: Jeremy
Date: Tue, 21 Sep 1999 00:00
Date: Tue, 21 Sep 1999 00:00
21 lines
1607 bytes
1607 bytes
Russ Allbery <rra@stanford.edu> wrote:
>> Would it really be useful to attempt to filter on message-ids within
>> cleanfeed or somesuch?
>
> Ask Jeremy; IIRC, he was doing it for the job-spew from headhunter.net and
> said it was faster than rejecting a whole article and then doing history
> lookups against the rejected message ID. Remember, looking things up in
> the history file often requires disk I/O whereas Perl filtering just
> requires processor speed, and you often have way more processor than disk.
Yeah, I was using it on HeadHunter.Net stuff, and /none\d+\.yet>/ spam,
stuff like that. It was a patch someone sent me, and it seems to work
well, though only on INN of course.
--
Jeremy | jeremy@exit109.com
"I wish to have no connection with any ship that does not sail fast;
for I intend to go in harm's way." --John Paul Jones
Re: news spool area exported from NFS
Author: Jeremy
Date: Fri, 24 Sep 1999 00:00
Date: Fri, 24 Sep 1999 00:00
33 lines
2037 bytes
2037 bytes
<mooring@tymnet.com> wrote: >> Yeah, I was using it on HeadHunter.Net stuff, and /none\d+\.yet>/ >> spam, stuff like that. It was a patch someone sent me, and it seems >> to work well, though only on INN of course. > > That would be me. It really was faster. Of course, I was attempting to > cope with MCI/C&W's idea of a full feed on a Sparc 10 (36MHz) with 3 > old full-height 5.25" 1.3G drives for a spool. The poor beast was > running 97% disk utilization and 30% CPU. On more modern hardware, it's > probably less of a win. Yep. One must recall that Cleanfeed was born of the following assumptions: 1. Your server is hopelessly underpowered and is pushing the limit of its abilities and your skill trying to keep up with Usenet 2. You have plenty of CPU to spare 3. Dropping the spam inbound can free up enough I/O to keep you running news, without affecting articles people want to read It has grown into something more, but a lot of the underlying design still has these assumptions left over, as this was the situation I was in, and this was the original problem I was trying to solve, when I first wrote it. -- Jeremy | jeremy@exit109.com "You've never seen the British Parliament in action, have you? You ought to. It's very similar to Usenet." --Tim Thorne
Re: news spool area exported from NFS
Author: mooring
Date: Fri, 24 Sep 1999 00:00
Date: Fri, 24 Sep 1999 00:00
32 lines
2287 bytes
2287 bytes
In article <ruenrp3flg780@news.supernews.com>, Jeremy <jeremy@exit109.com> wrote: >Russ Allbery <rra@stanford.edu> wrote: > >>> Would it really be useful to attempt to filter on message-ids within >>> cleanfeed or somesuch? >> >> Ask Jeremy; IIRC, he was doing it for the job-spew from headhunter.net and >> said it was faster than rejecting a whole article and then doing history >> lookups against the rejected message ID. Remember, looking things up in >> the history file often requires disk I/O whereas Perl filtering just >> requires processor speed, and you often have way more processor than disk. > >Yeah, I was using it on HeadHunter.Net stuff, and /none\d+\.yet>/ spam, >stuff like that. It was a patch someone sent me, and it seems to work >well, though only on INN of course. That would be me. It really was faster. Of course, I was attempting to cope with MCI/C&W's idea of a full feed on a Sparc 10 (36MHz) with 3 old full-height 5.25" 1.3G drives for a spool. The poor beast was running 97% disk utilization and 30% CPU. On more modern hardware, it's probably less of a win. Another thing to remember is that rejecting an article results in a call to syslog(), meaning IPC and a disk write, where the Perl filter as implemented just results in an overall reduction of network I/O. It was also my first shot at adding to INN's perl callbacks. -- Ed Mooring (edward.mooring@wcom.com)
Page 3 of 3 • 119 total messages
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