🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #82442

Re: Xnews request (paying customer)

#82442
From: SSMP
Date: Fri, 03 Aug 2001 21:32
49 lines
3410 bytes
ToX1xBLuD <me@here.com> wrote in
news:Xns90F29FB1DC630toxicbludhotmailcom@63.209.170.216: 

>>>> 
>>>> The problem is probably a large score file.... if u want to avoid
>>>> that, empty the score file or disable scoring, say get hearders and
>>>> the enable scoring again... that works much better. 
>>> 
>>> I am not convinced -- my score file is quite large (see sample on my
>>> web page), and I don't see that behaviour.  
>>> 
>> 
>> Me on my 1.2 G athlon either, but if i look at the CPU usage in task
>> manager on win 2000 i can see, that it can be a problem on low equiped
>> machines and on win98. I have a similar problem with a 10.000 lines
>> score file and 3-4 get headers at the same time... If he has a 333 MHz
>> procesor or something and a 10000 lines score file and win98 then that
>> would be enough to cause the problem. 
>> 
>> Regards, ssmp
>> 
> 
> I run a 1ghz Athlon w/384mb ram and win2k. My score file has, i think,
> 4 entries in it...lol. And mine also takes some time to thread/mark all
> as read/ bla blah. Can't be the score file. XNews is just a HUGE memory
> leak and needs to be updated. But, no matter what you do, when you
> pulling info out of one HUGE file and sparsing it to your liking...it
> will always take a lot of CPU and MEM usage to do this. Not to mention
> is rough on the HD> 
> 
> 

Maybe i should tell u something about scoring... The algorythm works like: it 
downloads 100 headers, it checks the 100 headers with the 1000 entries in the score 
file, that means 100.000 comparisions and that string comparisions which means that 
the computer has to make a lot more (but that's multiplied by a fixed number, which i 
don't know)... if u have a full score file while getting headers it uses the procesor 
100% all the time, but if u turn off scoring while downloading headers and then say 
rescore it will use the CPU less time. The simpliest multiplying is: 1000 entries in 
score, 10000 headers, that means 10.000.000 comparisions and that takes approx. 20 
seconds on my 1.2 MHz w. 512 MB RAM. 8000 entries, 40000 entries means 32.000.000 
comparisions, takes 60 seconds and while doing that u can't do anything else with the 
xnews, but other processes work fine... esp. if u set the task priority of xnews to 
low.

Regards,

SSMP
Technical Details
Message-ID: <Xns90F2F00A8D81ASSMPGMXNet@212.18.32.8>
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.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews4
References: <9jml11$tsf$1@slb3.atl.mindspring.net> <9jo77f42n72@enews1.newsguy.com> <Xns90F0A30683271SSMPGMXNet@212.18.32.8> <Xns90F067DC1565Dfarkle@24.71.223.45> <Xns90F0C9AEEE859SSMPGMXNet@212.18.32.8> <Xns90F29FB1DC630toxicbludhotmailcom@63.209.170.216>

Show Full Headers
Complete Article Headers
Message-ID: <Xns90F2F00A8D81ASSMPGMXNet@212.18.32.8>
Subject: Re: Xnews request (paying customer)
Date: Fri, 03 Aug 2001 21:32:43 +0000
From: SSMP <SSMP@GMX.Net>
References: <9jml11$tsf$1@slb3.atl.mindspring.net> <9jo77f42n72@enews1.newsguy.com> <Xns90F0A30683271SSMPGMXNet@212.18.32.8> <Xns90F067DC1565Dfarkle@24.71.223.45> <Xns90F0C9AEEE859SSMPGMXNet@212.18.32.8> <Xns90F29FB1DC630toxicbludhotmailcom@63.209.170.216>
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.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews4
Newsgroups: news.software.readers
Organization: SSMP
Lines: 48
NNTP-Posting-Host: proxy.amis.net
User-Agent: Xnews/4.06.22
Cache-Post-Path: proxy.amis.net!unknown@9-48.ta.cable.kks.net
X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/)