bscabral, on Apr 2 2006, 07:37 PM, said:
BlueSonicBoy,
IMHO , i preffer witout complete source count, or with a higher (like < 50) I found a lot of files with ~10 files, with a Average queue about 5000
The logic is, if someone share a rare file, she share a lot of files and never delete his files. And because of this, have a bigger queue
The value 8 was just a guess/example/place holder, I have no reason to say this value is good.
The only reason I suggest a count, is otherwise people downloading
very popular files with many complete sources will have these files pushed over anything else they are sharing with no benefit to the network.
This would be less severer, (
again 8 is there just as a place keeper, to be replaced with an appropriate value.)
CUpDownClient::GetFilePrioAsNumber() said:
// BEGIN netfinity: Smart Part File Push
if ( currequpfile->IsPartFile() )
{
if ( nGlobalUpDatarate2hr > nGlobalDownDatarate2hr && nGlobalUpDatarate2hr > (2 * nGlobalUpPartDatarate2hr) )
{
filepriority *= 2;
if( currequpfile->m_nCompleteSourcesCount < 8 ) filepriority += 8 - currequpfile->m_nCompleteSourcesCount;
}
}
// END netfinity: Smart Part File Push
This way rare files just get pushed over popular files, rather than only rare files getting pushed.
This post has been edited by BlueSonicBoy: 03 April 2006 - 02:49 AM