[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pan-users] Inefficiencies in Pan threading?
From: |
Wolf J. Flywheel |
Subject: |
Re: [Pan-users] Inefficiencies in Pan threading? |
Date: |
Sat, 13 Sep 2003 22:43:54 -0400 |
User-agent: |
KMail/1.5.3 |
On Saturday 13 September 2003 21:05, Calin A. Culianu wrote:
> downloading binary attachements. Namely, I have a queue of tens of
> megabytes worth of attachements in my task list, but Pan is only using
> 1 thread at a time to download these binaries (I specified a connection
> limit of 4 in the server config UI). This doesn't sound so bad,
I'm sure I won't be the only one to bring this up, but behind the
scenes
Pan actually *is* using all 4 connections. (Well, it should be... do you
have a bandwidth monitor such as gkrellm? That should show you.) A few
revisions ago, the behavior was changed from grabbing chunks of 4
different binaries concurrently to grabbing 4 chunks of the same one.
However, since it's only working on one "thing" at a time, you'll only
see one item in the status bar. You may notice more there if it's near
the end of one, and therefore it's waiting for one or more threads to
finish working on #1, but other threads have moved on to #2.
BTW, the extreme lower left of Pan's window shows the number of tasks;
it
should look like "3 @ 150.2 KB/s" or such while things are downloading.
That's saying, "I have 3 connections going, and together they're using
150.2 KB per second."
I hope this was helpful in some way. :) For way more info than you
need, see /usr/share/doc/pan-0.14.2/ChangeLog.gz -- discussion of this
business takes place around line 2358. (Oh, I see you're on 0.14.0...
not sure where it would be in that changelog, but search for
"pan/task-state.[ch]: new object. This object is used by tasks". 0.14.2
is in Portage now, though!)
--
// Carl Hudkins :: Jabber address@hidden :: PGP 50238D9E
//
// "German beer is chemical-free / Germany's all right with me!"
// --"Why Aye Man", Mark Knopfler
pgppQEenxeJad.pgp
Description: signature