🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.free.newsservers
8 messages
8 total messages Started by John Jarosek Tue, 13 Nov 2001 09:27
Re: [NewsPlex/Agent] - How do I improve local article retrieval speed?
#20562
Author: John Jarosek
Date: Tue, 13 Nov 2001 09:27
44 lines
2975 bytes
According to TH <not@home.not-for-mail>  (and I quote):

>Hello,
>
>Sorry, I should have included this question in my previous post.
>
>I am using NewsPlex 3.6 with Agent 1.8/32 build 553.  Both NewsPlex
>and Agent are running on the same machine.  The NewsPlex and Agent
>data directories reside on physically seperate hard drives on
>different controller cables.  I am on a home cable modem service.
>
>My problem is that using Agent to retrieve articles from the Async
>group is very, very slow.  I notice that NewsPlex can grab articles
>super quick when using Async mode. I don't have a way to benchmark it,
>but in the time Agent retrieves a single 5000 line article, NewsPlex
>has already grabbed several more of the same sized article.
>I see that NewsPlex puts retrieved articles in the Async folder, named
>as ".ok" files. However,  Agent cannot seem to import any of the ".ok"
>files directly using "import messages".  Are there utilities out there
>to convert these ".ok" files into somthing suitable for import into
>Agent?
>
>I have tried waiting until NewsPlex finishes Async activity before
>starting retrieval from Agent, but I still see no speed improvement.
>
>What else can I try to speed things up?
>
>
>-Regards

I'm using the same combination as you are. You don't import .ok files, you
just retrieve new headers for the 'async' newsgroup that newsplex creates
for you. You will need to subscribe to async first. The ok files are
managed by newsplex. You don't have to worry about them at all. Once the
header for an article that has been retrieved asynchronously appears in the
async ng, it should be available to you instantly. Select 'save attachment'
from the context menu, and it should be saved to your hard disk straight
away. Is this what you are doing?

Btw, apologies if the question has already been answered. We're kind of
lagged here.

Regards
John
Re: [NewsPlex/Agent] - How do I improve local article retrieval speed?
#20621
Author: Joseph Morlan
Date: Wed, 14 Nov 2001 00:33
25 lines
2624 bytes
On Tue, 13 Nov 2001 17:27:51 +0800, John Jarosek
<jjjjarosek@iinet.com.au> wrote:

> Once the
>header for an article that has been retrieved asynchronously appears in the
>async ng, it should be available to you instantly. Select 'save attachment'
>from the context menu, and it should be saved to your hard disk straight
>away. 

I have the same setup, but it doesn't work quite like that for me.
When you say "instantly," what size async binaries are you getting?
Small image files are fast, but big multimedia files can take a long
time.

The headers in the async newsgroup load quickly, but large bodies
which are in the NewsPlex async directory can take a relatively long
time to load in Agent.  I can watch the process in Tiny Personal
Firewall, and the speed I get is only about 120 kB/sec.  I believe the
problem is that Agent gets the files using the NNTP protocol instead
of just copying the files.  Furthermore the process maxes out Kernel
Processor Usage to 100% making it difficult to do other tasks while
Agent is getting async bodies.

I also would be interested in any suggestions to improve the speed of
this process.
Re: [NewsPlex/Agent] - How do I improve local article retrieval speed?
#20622
Author: John Jarosek
Date: Wed, 14 Nov 2001 03:09
37 lines
2656 bytes
According to Joseph Morlan <jmoNOrlan@ccSPAMsf.org>  (and I quote):

>On Tue, 13 Nov 2001 17:27:51 +0800, John Jarosek
><jjjjarosek@iinet.com.au> wrote:
>
>> Once the
>>header for an article that has been retrieved asynchronously appears in the
>>async ng, it should be available to you instantly. Select 'save attachment'
>>from the context menu, and it should be saved to your hard disk straight
>>away. 
>
>I have the same setup, but it doesn't work quite like that for me.
>When you say "instantly," what size async binaries are you getting?
>Small image files are fast, but big multimedia files can take a long
>time.

10 Mb would be about the largest. Instantly meaning 20 seconds max. It's
really just 2 file reads + decoding, which is negligible.

>The headers in the async newsgroup load quickly, but large bodies
>which are in the NewsPlex async directory can take a relatively long
>time to load in Agent.  I can watch the process in Tiny Personal
>Firewall, and the speed I get is only about 120 kB/sec.  I believe the
>problem is that Agent gets the files using the NNTP protocol instead
>of just copying the files.  Furthermore the process maxes out Kernel
>Processor Usage to 100% making it difficult to do other tasks while
>Agent is getting async bodies.
>
>I also would be interested in any suggestions to improve the speed of
>this process.

I found a huge amount of difference in the performance of newsplex
generally when I added 256 Mb of ram to my 64 Mb. Before this, newsplex
pretty much took over my system. It's a memory hog, and now's a good time
to buy memory. Only thing I can think of at this point. Good luck!

John
Re: [NewsPlex/Agent] - How do I improve local article retrieval speed?
#20625
Author: John Jarosek
Date: Wed, 14 Nov 2001 03:17
48 lines
3195 bytes
According to TH <not@home.not-for-mail>  (and I quote):

>On Tue, 13 Nov 2001 17:27:51 +0800, John Jarosek
><jjjjarosek@iinet.com.au> wrote:
>>According to TH <not@home.not-for-mail>  (and I quote):
>>My problem is that using Agent to retrieve articles from the Async
>>>group is very, very slow.  I notice that NewsPlex can grab articles
>>>super quick when using Async mode.
>>>
>>>What else can I try to speed things up?
>>>
>>I'm using the same combination as you are. You don't import .ok files, you
>>just retrieve new headers for the 'async' newsgroup that newsplex creates
>>for you. You will need to subscribe to async first. The ok files are
>>managed by newsplex. You don't have to worry about them at all. Once the
>>header for an article that has been retrieved asynchronously appears in the
>>async ng, it should be available to you instantly. Select 'save attachment'
>>from the context menu, and it should be saved to your hard disk straight
>>away. Is this what you are doing?
>
>Hello,
>
>Yes, I have always been doing what you mention above, however, it is
>really, really slow.  I have timed it now.  It takes Agent a minimum
>of 7 minutes to get a 15 MB file from NewsPlex's Async group.  This is
>an article that NewsPlex has already downloaded onto my HD and is
>visible in the Async directory of NewsPlex.  So, something must be
>throttling either NewsPlex or my computer's loopback (127.0.0.1)
>connection.

Yep, sounds way too slow.

>I am looking for a faster way to bring the already downloaded NewsPlex
>Async group articles into Agent.  That is all.  I was hoping to speed
>this up by reconfiguring NewsPlex, Agent, and/or my computer.  Or even
>by directly importing the ".ok" files into Agent (this would probably
>be the fastest method.)
>
>-Regards

If you get really desperate, you can decode the ok files directly. Windows
Commander is one program that will do this. Might get a bit messy with
multi-part posts, though. Make sure you have lots of memory. I emailed the
author of newsplex with an issue some time ago. He sent back a helpful and
detailed response. As a last resort maybe?

Good luck
John
Re: [NewsPlex/Agent] - Workaround for slow speed article/header retrieval problem
#20629
Author: Bill
Date: Wed, 14 Nov 2001 07:37
95 lines
5854 bytes
On Wed, 14 Nov 2001 03:33:39 GMT, TH <not@home.not-for-mail> wrote:

>[Sorry to all, in advance, for cross posting.  I originally had posted
>similar questions, regarding the speed issue, in all three groups.
>This article illustrates a work around method.  Rather than leave a
>group hanging, or posting the same info three times, I chose to cross
>post. -TH]
>
>>On Tue, 13 Nov 2001 17:27:51 +0800, John Jarosek
>><jjjjarosek@iinet.com.au> wrote:
>[snip]
>>What size async binaries are you getting? Small image files are
>>fast, but big multimedia files can take a long time.
>>The headers in the async newsgroup load quickly, but large bodies
>>which are in the NewsPlex async directory can take a relatively long
>>time to load in Agent.  I can watch the process in Tiny Personal
>>Firewall, and the speed I get is only about 120 kB/sec.  I believe the
>>problem is that Agent gets the files using the NNTP protocol instead
>>of just copying the files.  Furthermore the process maxes out Kernel
>>Processor Usage to 100% making it difficult to do other tasks while
>>Agent is getting async bodies.
>
>Hello,
>
>I notice on my system that retrieving headers from any NewsPlex served
>group can be, and often is, slow.
>
>However, just this morning, I discovered a real "Pain in the
>Finger(TM)" work around for my slow speed issue.  I was getting bored
>waiting for some large articles from Async to complete, and was moving
>the mouse in various patterns on the screen and just basically goofing
>off.
>
>Well, imagine my surprise when some of my mouse hyjinks actually
>seemed to greatly improve Agent's retrieval rate!  OK, now it's your
>(yes, you, the reader) turn to try this and report back to the group
>if it works for you as well:
>1)   In Agent, queue retrieval of a couple of large articles, all of
>the same size.
>2)  Time how long it takes the first couple to be retrieved, without
>doing anything else on your computer, such as task switching, typing,
>moving the mouse, etc.
>3)  Stop the retrieval process.
>4)  Again, queue up a couple of different, but still the same size,
>articles for retrieval in Agent.
>5)  Using your mouse, immediately grab (read, hold down the left
>button, and do not release it) any active slider bar on Agent (found
>inside any horizontal or versicle scroller).
>6)  Now, time how long your retrievals take.
>
>Amazing, huh?  This really could get to be a "pain in the finger(tm),"
>though...  I now use a can full of screws to weight down my left mouse
>button whenever I'm downloading from Async.  This, of course,
>precludes me from doing anything else on my computer.  I wonder if
>this problem is caused by Agent, NewsPlex, or some weird interaction
>between them?  Only the programmers know, I guess.  I would be great
>to actually fix the problem.
>
>Again, please verify if this really works for you as well and then
>report back to the group.  Thanks.
>
>-Regards

I'm going by memory since I don't have a local copy of NewsPlex
running.  It's off on a utility machine on my LAN I use to free up
this main machine as much as possible.

Guess why?  I think it's very very similar to what you're seeing.
Yes, the difference can be dramatic.

I'm running Win2K and the combo of Agent and Newsplex on the same
machine runs like a pig.  The priorities are screwy and Agent seems to
be the controlling factor.  To me, the difference was to make sure
Agent IS NOT in foreground - it really speeds it up!  My Win2K is set
to favor foreground and I didn't change it (and don't want to :-)).
I'm not sure if you have such priority settings (what o/s?) so maybe
you won't see this.

Your holding the scroll bar sounds just as likely to do the same thing
- it holds Agent down from doing *whatever* it likes to do when it's
in foreground and downloading that makes it such a pig.  Normally
you'd think it was decoding the download or something - but then why
would it speed up in the background???  Something silly there,
alright!

CPU priority/APPswitching is a science in itself.  I'd guess when in
background here (and probably when you hold the scroll) Agent slows
down the screen calls or something similar.

Same affect... different way.  I'm sure it's the *combo* of
NewPlex/Agent battling for CPU time doing that.  Sound likely?

BTW, with NewsPlex off the box the affect goes away here.

Bill
Re: [NewsPlex/Agent] - Workaround for slow speed article/header retrieval problem
#20636
Author: DevilsPGD
Date: Thu, 15 Nov 2001 05:23
11 lines
2169 bytes
In message <<qk64vt0u86hmi80rnkouvgo5gh6813190q@4ax.com>> Bill
<noSPAMwdc@telocity.com> did so spew forth:

>Same affect... different way.  I'm sure it's the *combo* of
>NewPlex/Agent battling for CPU time doing that.  Sound likely?

Thrashing of CPU, or disk?  I found Agent performs much better after
moving Newsplex to it's own hard drive.

-- 
The nice thing about standards, there is enough for everyone to have their own.
Re: [NewsPlex/Agent] - Workaround for slow speed article/header retrieval problem
#20637
Author: Bill
Date: Thu, 15 Nov 2001 08:50
38 lines
3048 bytes
On Thu, 15 Nov 2001 05:23:58 GMT, DevilsPGD
<devilsplayground@crazyhat.net> wrote:

>In message <<qk64vt0u86hmi80rnkouvgo5gh6813190q@4ax.com>> Bill
><noSPAMwdc@telocity.com> did so spew forth:
>
>>Same affect... different way.  I'm sure it's the *combo* of
>>NewPlex/Agent battling for CPU time doing that.  Sound likely?
>
>Thrashing of CPU, or disk?  I found Agent performs much better after
>moving Newsplex to it's own hard drive.

This could certainly help but the affect I saw was mostly CPU.
Newsplex need not be concurrently downloading from a news server to
see this, either.  For much of this, disk may be silent.

See my effect like this:

Download with Agent from NewsPlex with Agent in foreground, note the
rate.  I have the long progress bar enabled (some INI option) to see
it best.  Change some other application to foreground but arrange to
still observe Agent's progress bar.  Here, Agent doubles or even
triples in download speed - dramatic.

Of course, your favorite network monitor can quantify it, too. :-)

My guess: Agent's network routines suck more CPU cycles than
NewsPlex's.  Agent in foreground *probably* stifles NewsPlex's ability
to feed, not Agent's ability to pull over the loopback connection.

Also, keep in mind Win9x/ME doesn't have the same task switching as
WinNT/2K.  I'm all NT environment so everyone may not see it the same.
I don't even know if other systems can set to favor foreground apps
like NT always has.

Bill
-- 
Software is the part of the computer you can't kick... &%$##*!!
Re: [NewsPlex/Agent] - Workaround for slow speed article/header retrieval problem
#20649
Author: DevilsPGD
Date: Fri, 16 Nov 2001 07:33
19 lines
2715 bytes
In message <<1d07vt0fkgsj1aj7uaopno2a21g5u04kp8@4ax.com>> Bill
<noSPAMwdc@telocity.com> did so spew forth:

>My guess: Agent's network routines suck more CPU cycles than
>NewsPlex's.  Agent in foreground *probably* stifles NewsPlex's ability
>to feed, not Agent's ability to pull over the loopback connection.
>
>Also, keep in mind Win9x/ME doesn't have the same task switching as
>WinNT/2K.  I'm all NT environment so everyone may not see it the same.
>I don't even know if other systems can set to favor foreground apps
>like NT always has.

I'm running 2x550MHz processors, so any CPU load is shared between the
two, and I have it set to give equal priority to all tasks, not favoring
the foreground task.  That's probably why I'm not seeing this effect as
drastically.

-- 
The nice thing about standards, there is enough for everyone to have their own.
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