Article View: news.software.readers
Article #6121Re: load on server due to trn-mthread threading via nntp
From: Jon Cargille
Date: Fri, 01 Oct 1993 16:31
Date: Fri, 01 Oct 1993 16:31
51 lines
2781 bytes
2781 bytes
In article <28ff0mINN9e2@network.ucsd.edu>, Michael J. Corrigan <corrigan@weber.ucsd.edu> wrote: >I am running trn on a client and also running mthreads which builds >thread databases on the client but is accessing the articles via >nntp from a server. The mthreads process' corresponding server nntp >process is running up significant cpu time on the server and is a >non-negligible stress on the server. > >The flags I use on mthreads are -d60. >I have turned it down to -d180 -s, but the nntp server's corresponding >process is still gaining significant cpu time. I don't think you want to increase the -d flag. This really only makes the mthreads load activity more "bursty". It will have more of a "backlog" of work accumulated for it to do if it hasn't run in an hour, or three hours. > >What is the least server-strenuous method of setting up threading ? >(NFS export overview files ? ftp headers from server to client and >then build client thread databases locally ?...) If you want to stick with a client-based mthreads setup, you can still reduce the server load by increasing the "-s" flag arbitrarily large. I use "-s2000000", which means "wait two seconds between nntp request". If that's not enough, you could increase this to 5000000, 10000000, or something even higher. It seems to me that you can choose to make the load on the server arbitrarily low, though you will have to worry about setting this delay so high that news headers are processed more slowly than they arrive... ;-) That would be a bad thing, since you could fall behind and never catch up... I'll have to leave the "least server-strenuous method of threading" to someone else, since I've only worked with client-based threading myself. > >Thanks for any replies. > >-Mike Corrigan > > Jon -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. Jon Cargille jcargill@cs.wisc.edu Want your .sig compressed? Reasonable rates and fast turnaround. Call today!
Technical Details
Message-ID:
<1993Oct1.163106.7756@cs.wisc.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!yale.edu!nigel.msen.com!sdd.hp.com!usc!math.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!gatech!rutgers!uwvax!oka.cs.wisc.edu!jcargillReferences:
<28ff0mINN9e2@network.ucsd.edu>Show Full Headers
Complete Article Headers
Message-ID: <1993Oct1.163106.7756@cs.wisc.edu> Subject: Re: load on server due to trn-mthread threading via nntp Date: Fri, 01 Oct 1993 16:31:06 +0000 From: jcargill@oka.cs.wisc.edu (Jon Cargille) References: <28ff0mINN9e2@network.ucsd.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!yale.edu!nigel.msen.com!sdd.hp.com!usc!math.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!gatech!rutgers!uwvax!oka.cs.wisc.edu!jcargill Newsgroups: news.software.readers Sender: news@cs.wisc.edu (The News) Organization: U of Wisconsin CS Dept Lines: 51