Thread: CPU leak
View Single Post
  #4 (permalink)  
Old March 15th, 2007
GregorK GregorK is offline
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Ok... some tuning tips

'Max concurrent connections' setting is fine. On Linux a limit on this value is not really necessary, values over 20 or 30 are more then fine.. 99 should be no problem either.
You should limit your 'Connections to ultrapeers', 32 is the default and good. More will result in heavy bandwidth use, I would not go over 40 or 45...
Your value of 'Connections to leaves' is very high also, 30 is the default, higher values cause a slight bandwidth increase but also higher us of system resources.

Raising 'Max download connections global' and 'Max downloads connections per file' will speed up downloads dramatically. If your memory and CPU can handle it (most systems today should easily) a global of 99 and per file of 30-70 will reveal the full Phex download power.

Try to reduce the number of shared files. Offering high number of shared files increases CPU use. Together with your high connection settings your Phex node was likely flooded with many queries from all the connected nodes and had a hard time going through all the shared files to identify and return query results.

The file phex.bk can be deleted it is not used anymore.

Hope that helps.
__________________
Reply With Quote