Welcome, Guest. Please login or register.

Author Topic: BitTorrent client compiled  (Read 2277 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MickJTTopic starter

  • Full Member
  • ***
  • Join Date: May 2004
  • Posts: 153
    • Show only replies by MickJT
    • http://members.iinet.net.au/~trebs/AmiMSN
BitTorrent client compiled
« on: June 19, 2004, 11:17:21 AM »
I have compiled ctorrent, a console bittorrent client.
It works fine.

If anyone's interested I can post a "temporary" URL to it, otherwise it will appear on aminet when it next updates.

[Edit] Ok 28 views. I've come to the conclusion that there must be plenty of people without an account here not willing to create one. I've put it on http://yam.boing.net/ctorrent-1.3.2.lha
 

Offline Johan Samuelsson

  • Full Member
  • ***
  • Join Date: Sep 2002
  • Posts: 243
    • Show only replies by Johan Samuelsson
    • http://www.ponnyslakteriet.com/uprough
Re: BitTorrent client compiled
« Reply #1 on: June 19, 2004, 01:41:02 PM »
sweet. i will give it a go, tomorrow!
.\\\\ Spot / Up Rough Soundsystem //.
check it ---> http://www.uprough.net
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show only replies by KennyR
    • http://wrongpla.net
Re: BitTorrent client compiled
« Reply #2 on: June 19, 2004, 02:09:04 PM »
AmigaZeux have had this tool compiled and working for some months now, but never released, due to some caveats. It was a moderately simple recompile with gcc/ixemul. The caveats are:

* Inability to limit upload (totally locks your connection, means download will be throttled)

* Instability - locks the machine randomly after some hours

* High CPU use (NOT recommended for real 68k machines!)

And of course, with real Amigas you'll probably lack the CPU power to play anything you download anyway, so in my opinion it's of interest to Pegasos and Amithlon owners only at present. Those with very large upload bandwidths...
 

Offline MickJTTopic starter

  • Full Member
  • ***
  • Join Date: May 2004
  • Posts: 153
    • Show only replies by MickJT
    • http://members.iinet.net.au/~trebs/AmiMSN
Re: BitTorrent client compiled
« Reply #3 on: June 19, 2004, 02:20:34 PM »
> * Inability to limit upload (totally locks your connection, means download will be throttled)

While it's true that you can't limit your upload, it doesn't seem to take over downloading, here.
The official client can't limit uploads either.

> * Instability - locks the machine randomly after some hours

I've ran this for hours, perhaps they forgot the -C cache size argument, and it drained their memory after getting a certain number of pieces.

> * High CPU use (NOT recommended for real 68k machines!)

It doesn't use too much cpu (except for the file hash checking when you need to resume something).

> And of course, with real Amigas you'll probably lack the CPU power to play anything you download anyway, so in my opinion it's of interest to Pegasos and Amithlon owners only at present. Those with very large upload bandwidths...

Some people have their Amiga and not their PC, on the net, like me.
... and 68k Amigas play music fine, if that's what your gonna be download.

However i'm not advocating downloading illegal music.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show only replies by KennyR
    • http://wrongpla.net
Re: BitTorrent client compiled
« Reply #4 on: June 19, 2004, 02:33:09 PM »
@MickJT

Quote
While it's true that you can't limit your upload, it doesn't seem to take over downloading, here.
The official client can't limit uploads either.


You can get your whole download bandwidth by limiting upload; if you don't, you get maybe a quarter, and your internet connection is practically useless until you break ctorrent. It's even worse with routers and cable/DSL connections.

As for not limiting upload, the official bittorrent version can. The --max_upload_rate argument has been present for a long, long while now.

Quote
I've ran this for hours, perhaps they forgot the -C cache size argument, and it drained their memory after getting a certain number of pieces.


No, that is not the cause, not on machines with a gigabyte of RAM. In fact we've never been able to find the cause. Could be an original ctorrent bug, could be Miami, could be ixemul, could be gcc... If it works stable for you, good; but remember don't run it on an FFS partition, just in case.

Quote
It doesn't use too much cpu (except for the file hash checking when you need to resume something).


I've heard of 70% CPU use with a MOS-native compile sometimes, on a G4! And hashing on a 68k must really, really take ages. And the TCP/IP stack must need a lot of CPU too with all the BT connections. But anyway, that's not really a problem if you don't intend to use your Amiga while it's running, so it's a moot point I suppose.

Quote
... and 68k Amigas play music fine, if that's what your gonna be download.


True, maybe you can get whole albums, but BT is for bulk downloads of 700 MB or more. Users shouldn't expect to find mp3s for it.
 

Offline MickJTTopic starter

  • Full Member
  • ***
  • Join Date: May 2004
  • Posts: 153
    • Show only replies by MickJT
    • http://members.iinet.net.au/~trebs/AmiMSN
Re: BitTorrent client compiled
« Reply #5 on: June 19, 2004, 03:26:27 PM »
> You can get your whole download bandwidth by limiting upload; if you don't, you get maybe a quarter, and your internet connection is practically useless until you break ctorrent. It's even worse with routers and cable/DSL connections.

Fair enough. Still, that's the way ctorrent does things. For me it's not a reason not to put it on Aminet.

> As for not limiting upload, the official bittorrent version can. The --max_upload_rate argument has been present for a long, long while now.

I didn't know about that.. I haven't been able to list all the arguments by running btdownloadgui.exe without arguments, the list runs off the screen. I'll have to look them up on the net somewhere.

> No, that is not the cause, not on machines with a gigabyte of RAM. In fact we've never been able to find the cause. Could be an original ctorrent bug, could be Miami, could be ixemul, could be gcc... If it works stable for you, good; but remember don't run it on an FFS partition, just in case.

I use PFS3. It seems to be stable here, but I haven't "thoroughly" tested it. I don't want to download something huge just to test it out.

> I've heard of 70% CPU use with a MOS-native compile sometimes, on a G4! And hashing on a 68k must really, really take ages. And the TCP/IP stack must need a lot of CPU too with all the BT connections. But anyway, that's not really a problem if you don't intend to use your Amiga while it's running, so it's a moot point I suppose.

45-50% cpu on my 68040/40. It's been compiled with no special flags either. So it should work even on a 68000. Hashing does take quite a while ;) 1.5 minutes for a 44meg file with 180 pieces.

[Edit] I forgot ctorrent uses parts of OpenSSL and OpenSSL was compiled for a 68020.

>> ... and 68k Amigas play music fine, if that's what your gonna be download.
> True, maybe you can get whole albums, but BT is for bulk downloads of 700 MB or more. Users shouldn't expect to find mp3s for it.

Well... I compile things as a hobby.
 

Offline jeffimix

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 853
    • Show only replies by jeffimix
Re: BitTorrent client compiled
« Reply #6 on: June 19, 2004, 05:26:52 PM »
Is good though, it's getting useful as more downloads become torrent ready from various legal software makers.
\\"The only benchmarks that matter is my impression of the system while using the apps I use. Everything else is opinion.\\" - FooGoo
 

Offline AmigaMance

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: BitTorrent client compiled
« Reply #7 on: June 25, 2005, 05:37:33 PM »
 Hey, i've just came across to this thread. I have never use a BitTorrent client before and the docs doesn't say much. Can someone give me some instructions of how to use it?
A1200 PPC user.
 

Offline Gerbinist

Re: BitTorrent client compiled
« Reply #8 on: June 25, 2005, 07:37:19 PM »
There has been a 1.3.4 version for some time now allready:

http://www.amiga-news.de/de/news/AN-2005-01-00071-DE.html

The homepage doesn't work anymore, but this latest version corrects some issues with passkeys found on some sites.

@KennyR

CTorrent has done a great job here on a real Amiga 1200 060. All the stuff about filesize too big etc. is rather bullocks as makecd burnes them just perfect ;)

Also filling the upload completely isn't true and the story about instability isn't true...

The only thing with ctorrent that i experienced is that the amount of connections can't be set really high because then dx would crash with *high* load (2/1 mbit).

If anyone is interested in the 1.3.4 port, lemme know
Current: OS 3.1.4, Blizzard 1260/50, 64 MB, AGA, CF, Ryś MKII, PCMCIA/CNET
Storage: Elbox E/BOX 1200, SCSI Kit IV, Mediator SX, Voodoo3/4/5, RTL8139 Ethernet, Spider USB 2.0, PixelView PlayTV MPEG2, Terratec 512i, MAS MP3 Player
 

Offline trgse

  • Full Member
  • ***
  • Join Date: Jul 2002
  • Posts: 150
    • Show only replies by trgse
    • http://hem.fyristorg.com/TRG/
Re: BitTorrent client compiled
« Reply #9 on: June 25, 2005, 08:42:18 PM »
the latest version of my ctorrent is available from Aminet
it includes several other patches besides the passkey one.

some are

1) ip-tracker
2) single part download from multi-part torrents
3) some patches to minimise stall's
4) some minor changes to options etc.

unfortunately it's 68060 only... currently.

so if you have error's on emulators this could be the reason.
MacOS X rulez!

Quad Mac Rulez!
 

Offline Gerbinist

Re: BitTorrent client compiled
« Reply #10 on: June 25, 2005, 09:03:44 PM »
@trgse

Right, thanks for that.

Aminet... ofcourse, been a while but it seems Aminet is updating again quite frequently ;-) There used to be a time where the answer to a question would simply be:

Aminet :-D

Current: OS 3.1.4, Blizzard 1260/50, 64 MB, AGA, CF, Ryś MKII, PCMCIA/CNET
Storage: Elbox E/BOX 1200, SCSI Kit IV, Mediator SX, Voodoo3/4/5, RTL8139 Ethernet, Spider USB 2.0, PixelView PlayTV MPEG2, Terratec 512i, MAS MP3 Player