aMule Forum
English => aMule Help => Topic started by: Karhandras on August 28, 2005, 10:32:55 AM
-
Hi all,
I am new to aMule, I read all the FAQ, but I cannot find an answer to my problem:
I run aMule on a PII 266 MHz with Gentoo, I compiled it to run as amuled without X and with amuleweb
The problem is this: I've got a network hard disk, I mount it on my linux box with smbmount, and I put the Temp and Incoming dirs there. When I run aMule the disk become really slow and the other clients of my LAN (either linux and win) take a LOT of time to copy or to read data from the HD (like 2 hours for a 100 MB file!)
I tryed to set the number of connection to 1, connection /5 sec to 1 and everything to minimum as I read in the FAQ, but nothing changes...
Does aMule 'takes control' of the HD?
I hope that someone can help, I'm really stuck!
-
How much RAM do you have in that machine? Is the same drive the swap device?
-
I've got 96MB of RAM, and no, the swap partition is on the linux box, not on the network HD.
Does it makes difference?
-
maybe try to tune your smbserver a litte, but I used to mount a smb-disk aswell and it worked without problems
-
It seems to me that using a network-mounted file system for Temp and shared directories (including Incoming) effectively doubles the bandwidth that aMule consumes. Every byte of data that you receive as part of a download, you then transmit to the file system. Similarly, every time you need to send file data as an upload to a client, you first have to read it from the network file system.
Are you saturating your network?
-
I verified that the network still works well, I got a 54Mb wireless lan, but not many downloads/uploads in aMule, and pinging either the network disk and the linux box I obtain good results (max 200 msec instead of 20 msec without aMuled running).
-
I don't know is it is such a good idea to use a network mounted disk for the temp files, and i doubt even more if these computers are connected via WLAN. And 200 ms is AGES when it comes to accessing the harddrive. I think the wireless connection is the weak point here. (And don't forget: Only because it is named "54mbit/sec" doesn't mean that you can really get that bandwidth out of the network. Even if the connection works 100% at the maximum speed and no packets are dropped you still have an awful lot of overhead on wireless connections which can use up to 40% of the available bandwidth...)
-
Originally posted by Karhandras
I verified that the network still works well, I got a 54Mb wireless lan, but not many downloads/uploads in aMule, and pinging either the network disk and the linux box I obtain good results (max 200 msec instead of 20 msec without aMuled running).
you run this over wlan!? omg...
this would never work really good...since aMule makes up a lot of connections and this slows down your whole router, wlan was not made for 500 or more connections from one pc ;)
-
OK, I know that the WLAN isn't an optimal idea, but I've got some problems and cannot connect the server with a patch chord... however I'm still trying and the problem is still there even if there are no shared files and no files in download!
To avoid the high number of connection I set my amule.conf like this
MaxSourcesPerFile=1
MaxConnections=1
MaxConnectionsPerFiveSeconds=1
Obviusly I will tweak it a little... but the problem is still there whit these settings.
@thedude0001 I tried to move some 'someGB' files from another client to the network disk and in that case the ping is in the order of 30 - 40 ms... the high response time is present ONLY when aMule is running, even with the settigs above and no active transfers.
It seems like aMule set a 'mutex' on the hard disk... I know this is not the right term... I hope you can understand what I mean, but as you may have noticed english is not my native language...
-
maybe use an external usb2 hdd drive for example?!
and maybe check that in the samba server, you dont have virus scanning enabled for example, since this will slow down it really really hard
-
OK, I can't say I've solved, but setting a higher nice level things goes really better.
Now I can transfer files without waiting hours and kepping aMuled running with some tweaked settings about connections.