Thread View: news.software.readers
5 messages
5 total messages
Started by Garrett Wollman
Tue, 15 Oct 1991 04:20
Re: minimum field in the active file
Author: Garrett Wollman
Date: Tue, 15 Oct 1991 04:20
Date: Tue, 15 Oct 1991 04:20
33 lines
2571 bytes
2571 bytes
In article <BDAxAE.Hu6@world.std.com> geoff@world.std.com (Geoff Collyer) writes: >Just stat'ing madly until you hit an article is not a >smart thing to do. Even ancient old news readers like B 2.10.1 readnews >would read the directory after 5 consecutive misses. What news reader >are you using that won't read the spool directory after a few misses? rtrn, for one. rtrn's idea of the minimum valid article number in any given non-threaded newsgroup is determined solely by the minimum field in the active2 file, which is in turn copied directly from the same field in the active file. It is my recollection that rrn works (worked?) the same way. Granted, with modern version of nntpd (and the one we had for a long time just took that active file at its word), there is a way to find out a more accurate estimate of the minimum article, but on the whole, I don't much care, since I the groups I care to read are *always* threaded beforehand anyway (one of the benefits of owning the mthreads spool directory. (As for mthreads efficiency, I've never had any problems with it; with the amount of loading this machine gets, it doesn't make a real difference. People who receive their news via UUCP will obviously have different experiences, but the only problem I have had with mthreads of late is having it get stuck sleeping on a read which will never succeed because the server died while it was waiting... perhaps I will hack it up to turn on SO_KEEPALIVE. Either that, or hope that uvm-gen doesn't crash so often.) -GAWollman -- Garrett A. Wollman - wollman@emily.uvm.edu - uvm-gen!wollman Disclaimer: I'm not even sure this represents *my* opinion, never mind UVM's, EMBA's, EMBA-CF's, or indeed anyone else's.
Re: minimum field in the active file
Author: Geoff Collyer
Date: Wed, 16 Oct 1991 00:21
Date: Wed, 16 Oct 1991 00:21
28 lines
1957 bytes
1957 bytes
I asked: >>What news reader are you using that won't read the spool directory >>after a few misses? Garrett Wollman comments: >rtrn, for one. rtrn's idea of the minimum valid article number in any >given non-threaded newsgroup is determined solely by the minimum field >in the active2 file, which is in turn copied directly from the same >field in the active file. It is my recollection that rrn works >(worked?) the same way. Sigh. Well, they'll have to be fixed, if only to deal with gaps in numbering. >(As for mthreads efficiency, I've never had any problems with it; with >the amount of loading this machine gets, it doesn't make a real >difference. How full a feed do you get? We get almost everything UUNET gets and mthreads used to beat world (a Sun 4/280 with 32Mb at the time) into the ground with disk i/o, even though we ran it at nice 19 (by contrast, nnmaster runs at nice 0 and we never notice it). Barry Shein whaled the tar out of mthreads and it's quite a bit better now, but it's still a CPU hog and it's still hard on our disks, so we still run it at nice 19 (and we have 64Mb now). Mthreads must go. -- Geoff Collyer world.std.com!geoff, uunet.uu.net!geoff
Re: minimum field in the active file
Author: Ian Dickinson
Date: Wed, 16 Oct 1991 09:39
Date: Wed, 16 Oct 1991 09:39
24 lines
1949 bytes
1949 bytes
In article <BDD2CA.1Eu@world.std.com> geoff@world.std.com (Geoff Collyer) writes: >How full a feed do you get? We get almost everything UUNET gets and >mthreads used to beat world (a Sun 4/280 with 32Mb at the time) into the >ground with disk i/o, even though we ran it at nice 19 (by contrast, >nnmaster runs at nice 0 and we never notice it). Barry Shein whaled the >tar out of mthreads and it's quite a bit better now, but it's still a CPU >hog and it's still hard on our disks, so we still run it at nice 19 (and >we have 64Mb now). Mthreads must go. I don't understand this. I use a Sun 3/160 with 8Mb (partially diskless) getting a normal full feed. The same machine is our mail gateway and handles quite a few printers. Mthreads doesn't hammer the machine particularly, and it only uses about 3Mb for 12 days worth of news. It wakes up every 2 minutes to check for new articles. Cheers, -- \/ato - Ian Dickinson Let the Bobbies come running to vato@csv.warwick.ac.uk *this* user unfriendly package! ..!mcsun!uknet!warwick!vato @c=GB@o=University of Warwick@ou=Computing Services@cn=Ian Dickinson
Re: minimum field in the active file
Author: Garrett Wollman
Date: Wed, 16 Oct 1991 12:30
Date: Wed, 16 Oct 1991 12:30
30 lines
2091 bytes
2091 bytes
In article <BDD2CA.1Eu@world.std.com> geoff@world.std.com (Geoff Collyer) writes: >How full a feed do you get? We get almost everything UUNET gets and >mthreads used to beat world (a Sun 4/280 with 32Mb at the time) into the >ground with disk i/o, even though we ran it at nice 19 (by contrast, >nnmaster runs at nice 0 and we never notice it). Well, this machine (emily) is an Encore MultiMax 310 which serves primarily as an XDM server for our X terminals. The trick is that I only run mthreads against groups that I know people using trn are interested in reading. Thus, I avoid indexing most groups. The NNTP server runs on a Sun-4/380 which is quite used to getting beaten into the ground with NFS loads anyway. (Obviously, this is much more difficult to do for a public-access system.) On this machine, there are almost invariable two ot three free processors on which mthreads could run, when it wakes up from its 10-minute slumber: wollman 1420 1.27 0.00 516 0 ? E 18:46 mthreads (We get a full feed from uunet, with a backup channel through matrox and U. Montreal when the uunet feed dies.) -GAWollman -- Garrett A. Wollman - wollman@emily.uvm.edu - uvm-gen!wollman Disclaimer: I'm not even sure this represents *my* opinion, never mind UVM's, EMBA's, EMBA-CF's, or indeed anyone else's.
Re: minimum field in the active file
Author: Wayne Davison
Date: Thu, 17 Oct 1991 01:23
Date: Thu, 17 Oct 1991 01:23
24 lines
1940 bytes
1940 bytes
Geoff Collyer (geoff@world.std.com) writes: >mthreads used to beat world (a Sun 4/280 with 32Mb at the time) into the >ground with disk i/o, even though we ran it at nice 19 (by contrast, >nnmaster runs at nice 0 and we never notice it). Which serves to point out a fundamental difference between the two. Nnmaster simply appends a brief summary of the article's header to the end of a file. Mthreads takes the article's data, finds its correct spot in the article tree (which requires reading in the old data), and writes out the new revised data. This is admittedly slower, though I haven't found it intrusive on the machines I use. All suggestions on improving the process are welcomed. >Barry Shein whaled the tar out of mthreads and it's quite a bit better now I believe I have Barry's changes in trn 2.0 (coming soon), but if there's any recent changes, please let me know. Trn 2.0 will allow you to run mthreads less often (thus amortizing each group's build-up and tear-down time) while allowing the user to access the latest articles as soon they arrive. -- \ /| / /|\/ /| /(_) Wayne Davison (_)/ |/ /\|/ / |/ \ davison@borland.com (W A Y N e)
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