MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
mldonkey responding slowly and using 100% process
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet)
View previous topic :: View next topic  
Author Message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Sun Apr 08, 2007 5:54 pm    Post subject: Reply with quote

lugdunum wrote:
What about fd cache_size = 50 ?
(src/utils/lib/unix32.ml)

This patch increases this value, please test:
https://savannah.nongnu.org/patch/index.php?5855
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Sun Apr 08, 2007 6:07 pm    Post subject: Reply with quote

lugdunum wrote:
If you want to be able to accept about 10 new clients per second, then you should at minimum have listen(fd, 40)

If I understood you right, raising the backlog parameter of listen (fd, backlog)
only makes sense for the incoming EDK port, option donkey_port.

What is a good default for the backlog option?

Should it be set to max_upload_slots?
Such a patch can be found here:
https://savannah.nongnu.org/patch/index.php?5856

Only the socket opened on donkey_port gets max_upload_slots backlog,
all others still get a default of 3.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Sun Apr 08, 2007 6:39 pm    Post subject: Reply with quote

And here finally a patch to remove the EDK upload compression function
https://savannah.nongnu.org/patch/?5857
It removes only the upload cache + upload code, the options are kept intact.

I compiled a new core for you, based on CVS, latest patch is 5854, so
you can set share_scan_interval = 0 to disable scanning shares.

http://mldonkey.sourceforge.net/spiralvoice/mlnet.static.bz2

This core includes these patches on top of CVS
5855: Increase Unix32.max_cache_size
5856: EDK: Set TCP backlog to max_upload_slots for donkey_port socket
5857: test patch: Remove EDK upload compression, leave all options intact
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks


Last edited by spiralvoice on Wed Apr 11, 2007 8:48 am; edited 1 time in total
Back to top
View user's profile Send private message
lugdunum
neophyte


Joined: 18 Nov 2003
Posts: 38
Location: france

PostPosted: Wed Apr 11, 2007 6:06 am    Post subject: Reply with quote

Thank you I am testing it right now

Apparently there is no shared_check_files option in the mlnet you compiled for me.
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Wed Apr 11, 2007 8:48 am    Post subject: Reply with quote

lugdunum wrote:
Apparently there is no shared_check_files option in the mlnet you compiled for me.

Because its a typo, the option is still called share_scan_interval
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Camarade_Tux
skilled


Joined: 14 Nov 2003
Posts: 340
Location: Paris

PostPosted: Thu Apr 19, 2007 4:45 pm    Post subject: Reply with quote

I think I have the same problem.
But I don't really own a server. Rather a desktop with 8M/1M ADSL line (max_hard_upload_rate=50 and max_upload_slots=5 or 6). I usually don't have lots of downloads (read <500 sources on the whole) but I recently added files (a little less than 5000 sources) and webui would sometimes not answer though I am connected through lan to the mldonkey and the computer rarely hits 100% cpu and usually sits idle (web). Core running under windows.
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Mon Apr 23, 2007 12:39 pm    Post subject: Reply with quote

Today I released MLDonkey 2.8.5, its main goal is to fix some of the problems
mentioned here in this thread. These are the relevant Changelog entries:

This should avoid opening/closing files too often
Quote:
5855: Increase Unix32.max_cache_size, fix max_opened_connections check (thx to pango)


Speaks for itself, if a better cache mechanism is coded the EDK upload
compression feature will be re-committed to CVS:
Quote:
5857: EDK: Remove upload compression (patch #5665) due to ineffective caching


As proposed by Lugdunum:
Quote:
5856: EDK: Set TCP backlog to max_upload_slots for donkey_port socket


Users who share really many files may find this useful, use command
"reshare" to force a scan of shared directories:
Quote:
5854: Set share_scan_interval = 0 to disable scanning of shared directories

_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Wed May 02, 2007 8:37 am    Post subject: Reply with quote

The discussion about upload speeds continues:
http://mldonkey.sourceforge.net/forums/viewtopic.php?p=25989#25989
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet) All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sourceforge.net Logo