Editing Compressibility evaluation

From EMule Wiki
Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to cut-n-paste the text into a text file and save it for later.

The administrator who locked it offered this explanation: site maintenance

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 5: Line 5:
 
== Evaluation ==
 
== Evaluation ==
  
When a file completes, 3 180Kb blocks [thanks SF],(eMule's block size) are tested from the ¼ ½ ¾ points in the file. If the sum of the compressed size of these blocks equals or exceeds the uncompressed size then 10 more 180Kb blocks are tested from the middle half of the file. If the sum of all of these blocks meets or exceeds the uncompressed size then compression is turned off for that file. If the original test or the second test results in a reduction of less than 3% fast compression is used. Otherwise normal full compression is used. For incomplete files the original list is used with the addition of 7z,gz and lzh. The list is also moved to the partfile constructor where it sets a flag so it is evaluated once, saving CPU cycles.  
+
When a file completes, 3 180Kb blocks [thanks SF],(eMule's block size) are tested from the ¼ ½ ¾ points in the file. If the sum of the compressed size of these blocks equals or exceeds the uncompressed size then 10 more 180Kb blocks are tested from the middle half of the file. If the sum of all of these blocks meets or exceeds the uncompressed size then compression is turned off for that file. If the original test or the second test results in a reduction of less than 3% fast compression is used. Otherwise normal full compression is used. For incomplete files the original list is used with the addition of 7z,gz and lzh. The list is also moved to the partfile constructor where it sets a flag so it is evaluated once, saving CPU cycles. Note: From version 1.3e If the SCE code is unable to evaluate a file due to file read errors etc, on three separate occasions it's compressibility will be set as per partfiles to prevent continuous rehashing of a problem file on startup. Important note: As evaluation occurs on completion, after hashing, on first run this code will rehash and evaluate all completed files. This will reset stats for these files.
 
+
Note: From version 1.3e If the SCE code is unable to evaluate a file due to file read errors etc, on three separate occasions it's compressibility will be set as per partfiles to prevent continuous rehashing of a problem file on startup. Important note: As evaluation occurs on completion, after hashing, on first run this code will rehash and evaluate all completed files. This will reset stats for these files.
+
  
 
from tk4 mod: [tk4 (http://emuletk4mod.sourceforge.net/TK4_Mod_Readme.htm#SCE)]  
 
from tk4 mod: [tk4 (http://emuletk4mod.sourceforge.net/TK4_Mod_Readme.htm#SCE)]  
  
 
[[category:features]]
 
[[category:features]]

Please note that all contributions to EMule Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see EMule Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
Personal tools