[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pan-devel] Hacking pan for Giganews
From: |
Conrad J. Sabatier |
Subject: |
Re: [Pan-devel] Hacking pan for Giganews |
Date: |
Sat, 20 Aug 2011 19:54:16 -0500 |
On Sat, 20 Aug 2011 23:55:13 +0000 (UTC)
Heinrich Mueller <address@hidden> wrote:
> On Tue, 09 Aug 2011 16:35:28 -0500, Conrad J. Sabatier wrote:
>
> > Hi. I'm in the process of hacking the pan source code to take
> > fuller advantage of my Giganews Diamond account (50 connections!,
> > whoo boy!).
> >
> > I've already modified pan/gui/server-ui.cc to allow me to set the
> > server's config to 50 connections (that part was easy), but I'm
> > looking now for how to hack pan's task management to do more
> > simultaneous header downloads, binary file saves, etc.
> >
> > Can anyone point me in the right direction? I'll send back to the
> > list anything I come up with, if anyone's interested.
> >
> > Thanks!
>
> The problem is pan's use of threads:
> If you download one file, the data to be received will be split up on
> the server. Pan downloads the parts simultaneously and puts them back
> together. But only for one file at a time.
> The rewrite would be huge I guess. As the maximum number of
> connections can be reached anyway it isn't worth the effort imho.
>
> Cheers.
Yes, further observation of the task queue bears out what you're
saying. It's actually not at all unsatisfactory to me, so I'll just
leave well enough alone. :-) My earlier impressions of how pan was
subdividing the labor were incorrect.
Cheers back at you.
--
Conrad J. Sabatier
address@hidden