DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-07-18 06:22:33

robosu
Member
Registered: 2009-07-10
Posts: 5

Best settings for mldonkey?

I got a working DSM finally, and it's pretty nice. After fighting with a couple different torrent clients, I tried mldonkey which seems to work fine, except that I can't get a consistent transfer rate out of it.

For anyone who's managed to get it working well, what settings are you using? I assume that while there are some device limitations, I shouldn't be sitting down at 5 KB/s, and I have a feeling it's because I've not got the optimal settings.

Offline

 

#2 2009-07-18 19:28:17

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Best settings for mldonkey?

There's not really any limitation comparing to regular slow pc.
Try some well seeded private tracker torrent and you should be able to get maximum speeds. Also make sure that mldonkey is allowed client.
For public torrents, make sure you don't have too much connections which will take too much cpu resource.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#3 2009-07-20 03:23:37

robosu
Member
Registered: 2009-07-10
Posts: 5

Re: Best settings for mldonkey?

After further testing...

Small torrents fly along; I get transfer rates pretty much equal to what I get in uTorrent. Large torrents however struggle to maintain 10-20 kBps, sometimes dipping down to 2 or even lower. Even if I run a small torrent alongside a large one, the small one will zip by and the large one still struggles.

Would chunk size maybe have something to do with this? I'm looking for a large torrent with small chunks (or small torrent with large chunks) to test this theory, but it's difficult to find such things.

It would make sense, though, that torrents with chunks up around 5 MB would tax the DSM considering how little RAM it has. Is there a workaround?

Offline

 

#4 2009-07-20 11:27:17

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Best settings for mldonkey?

Don't run many torrents at once. And as I said before, first you should look your torrent quality (well seeded private torrent is way to test).
Small torrents tend to have many seaders and not so many downloaders along with that they need less resources to download.

Comparing utorrent and mldonkey is not right way to find and solve problems. mldonkey don't support encryption, dht and peer exchange which means you probably will end up always with less peers in mldonkey comparing to utorrent. There are mldonkey for windows. It might give you little better comparison.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#5 2009-08-21 20:01:04

robosu
Member
Registered: 2009-07-10
Posts: 5

Re: Best settings for mldonkey?

Any ideas on why this is happening?

2009/08/21 11:49:12 [cSw] Exception write failed: No space left on device while preallocating disk space [4871684096-4871700480] for Doctor Who Season 3
2009/08/21 11:49:12 [cSw] Exception write failed: No space left on device while receiving data
2009/08/21 11:49:12 [BT] [file_num 1][temp temp/BT-46XDQJCXWWXBL6Q6XUPMQGYCKMFHNJDK] Error write failed: No space left on device while handling MESSAGE: Piece 2323 0[16384]
2009/08/21 11:49:15 [cSw] Exception write failed: No space left on device while preallocating disk space [4871700480-4871716864] for Doctor Who Season 3
2009/08/21 11:49:16 [cSw] Exception write failed: No space left on device while receiving data
2009/08/21 11:49:16 [BT] [file_num 1][temp temp/BT-46XDQJCXWWXBL6Q6XUPMQGYCKMFHNJDK] Error write failed: No space left on device while handling MESSAGE: Piece 2323 16384[16384]

... over and over and over again. The result of this is either that my torrents go very very slowly or completely stop. Again, this seems to be a problem with large torrents. Running only one at a time doesn't fix it either.

There's definitely plenty of space on the drive, and I've done the tmp-directory-symlink trick that's supposed to help, but I still get this. It seems to not happen immediately, but a while after starting the torrent. I'm using MLDonkey 2.9.3 from the downloads section. My df looks like this:

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ram0                 5947      4629      1011  82% /
/dev/sda2            114855748  65451700  49404048  57% /mnt/HD_a2

Ideas? I'm out of them at this point.

Also, I should mention that this problem comes and goes seemingly at random. It looks like a buffer is filling up somewhere but I'm not sure how to address the problem.

Last edited by robosu (2009-08-21 20:52:57)

Offline

 

#6 2009-08-22 18:09:10

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Best settings for mldonkey?

Can you count all files and directories saved to /mnt/HD_a2 ? ext3 with 128 inode size (maximum supported by dsm-g600 kernel) has some limitations, for example the maximum number of files and directories (http://en.wikipedia.org/wiki/Ext3#cite_note-0).
I had similar error while I was trying to setup two chroot environments in one partition. I didn't investigate this problem too far, I just deleted one big partition sda2 and made two new ones to split files and degrease total number of files saved to one partition.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB