| View previous topic :: View next topic |
| Author |
Message |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Sun Apr 08, 2007 6:07 pm Post subject: |
|
|
| 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 |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Sun Apr 08, 2007 6:39 pm Post subject: |
|
|
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 |
|
 |
lugdunum neophyte
Joined: 18 Nov 2003 Posts: 38 Location: france
|
Posted: Wed Apr 11, 2007 6:06 am Post subject: |
|
|
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 |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Wed Apr 11, 2007 8:48 am Post subject: |
|
|
| 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 |
|
 |
Camarade_Tux skilled
Joined: 14 Nov 2003 Posts: 340 Location: Paris
|
Posted: Thu Apr 19, 2007 4:45 pm Post subject: |
|
|
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 |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Mon Apr 23, 2007 12:39 pm Post subject: |
|
|
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 |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
|
| Back to top |
|
 |
|
|
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
|
Powered by phpBB © phpBB Group
|
|
|
|