Article View: news.software.readers
Article #78651Re: [Hamster] search in messagebodies
From: Martin Niedernolte
Date: Wed, 16 May 2001 00:07
Date: Wed, 16 May 2001 00:07
47 lines
3725 bytes
3725 bytes
On Tue, 15 May 2001 19:02:38 +0200, Martin Niedernolte <Martin.Niedernolte@post.rwth-aachen.de> wrote: >On Tue, 15 May 2001 12:13:03 GMT, "Markus G. Kloetzer" ><DengejaaUveso@mgk.freeuk.com> wrote: > >>Martin Niedernolte <Martin.Niedernolte@post.rwth-aachen.de> >>wrote/schrieb: >> >>>>>> Hamster gains speed when you use threading. >>>>>> Look in <Hampath>/Server/Servername/server.ini >Too bad that Agent doesn't do that (or is there a hidden option, >too?). Now I think of using Hamster with Agent as it would be roughly >estimated twice as fast. I thought a little more about threading. Hamster doesn't allow to have more than 4 threads, even if you set a higher number in the ini or start multiple hamsters. But Agent doesn't! Guess what I thought of? I divided my newsgroups into 8 parts and configured 8 data folders for Agent, each with one of the 8 parts. And I created 8 shortcuts for Agent with the data folders as parameter. When I now start the 8 Agents, I finally use my full bandwith (in fact it is not reached until I use 7 or 8 Agents), and each of the Agents is absolutely not slowed down by this (at least when downloading bodies, the headers download faster). I didn't expect the results so good. The CPU load is not more than 16%. It's perhaps a bit complicating to start 8 Agents but if you have many newsgroups it could be practical. And I don't have to start Hamster and synchronize between Hamster and Agent and so on. It should be possible to automize the starting of the 8 Agents. Or perhaps one could even (after downloading) move the files to one Data directory so that they can be accessed by one Agent to read them. And I found something in an Agent FAQ, which is also described in the Agent help: In Agent.ini, section [Misc], set "FlushFileBuffers=0". This prevents Agent from writing each message one by one to disk. Now one thread of Agent will be nearly as fast as one thread of Hamster. It is said that there could be problems in the case of a computer crash. I hope I didn't bore anyone with my ideas ;-) Martin
Technical Details
Message-ID:
<4se3gt8c6an6vo3knsf383409t5ipqgkmh@4ax.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!newsfeed.freenet.de!news.rwth-aachen.de!not-for-mailReferences:
<9dnct0.3vs3qh1.1@news.mgk.org.uk> <89kuftg16joabslcseuetjmqbpufepg1ip@4ax.com> <2j20gtgsudv3gf89jntm5dlh7dt6ce5jgc@4ax.com> <9dp90p.3vs1md1.1@news.mgk.org.uk> <qlj0gtstsi6o0q27hkvnrqija8t4mb373o@4ax.com> <9dppd9.3vs3rip.1@news.mgk.org.uk> <ecp0gtkeifj2vsq64c4l36ha5ktt40inrg@4ax.com> <9dqope.3vs3rbh.1@news.mgk.org.uk> <18t1gt83d1l62476st47o3f73d6topuu6p@4ax.com> <9dra0v.3vs2rfp.1@news.mgk.org.uk> <bjn2gtkjots7q8f9u7ps5gubigu14v47mv@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <4se3gt8c6an6vo3knsf383409t5ipqgkmh@4ax.com> Subject: Re: [Hamster] search in messagebodies Date: Wed, 16 May 2001 02:07:32 +0200 From: Martin Niedernolte <Martin.Niedernolte@post.rwth-aachen.de> References: <9dnct0.3vs3qh1.1@news.mgk.org.uk> <89kuftg16joabslcseuetjmqbpufepg1ip@4ax.com> <2j20gtgsudv3gf89jntm5dlh7dt6ce5jgc@4ax.com> <9dp90p.3vs1md1.1@news.mgk.org.uk> <qlj0gtstsi6o0q27hkvnrqija8t4mb373o@4ax.com> <9dppd9.3vs3rip.1@news.mgk.org.uk> <ecp0gtkeifj2vsq64c4l36ha5ktt40inrg@4ax.com> <9dqope.3vs3rbh.1@news.mgk.org.uk> <18t1gt83d1l62476st47o3f73d6topuu6p@4ax.com> <9dra0v.3vs2rfp.1@news.mgk.org.uk> <bjn2gtkjots7q8f9u7ps5gubigu14v47mv@4ax.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!newsfeed.freenet.de!news.rwth-aachen.de!not-for-mail Newsgroups: news.software.readers Organization: Aachen University of Technology (RWTH) Lines: 46 Sender: mn805809@p3ee200ec.dip.t-dialin.net NNTP-Posting-Host: p3ee200ec.dip.t-dialin.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: nets3.rz.RWTH-Aachen.DE 989971655 1500 62.226.0.236 (16 May 2001 00:07:35 GMT) X-Complaints-To: abuse@rwth-aachen.de NNTP-Posting-Date: 16 May 2001 00:07:35 GMT X-Newsreader: Forte Agent 1.8/32.548