QUOTE(jrbamford @ Sep 21 2003, 12:04 AM)
http://www.hydrogenaudio.org/forums/index.php?showtopic=9236CODE
Recovery Article loss rate
failure rate 5 PAR1 files 5 PAR2 blocks
1 in 2 1 in 172 1 in 160
1 in 5 1 in 250 1 in 232
1 in 10 1 in 309 1 in 287
1 in 100 1 in 546 1 in 506
1 in 1,000 1 in 880 1 in 816
1 in 10,000 1 in 1364 1 in 1265
1 in 100,000 1 in 2037 1 in 1922
1 in 1,000,000 1 in 3111 1 in 2884
1 in 10,000,000 1 in 4633 1 in 4295
1 in 100,000,000 1 in 6867 1 in 6365
anyone like to decrypt it for me?! i've left the options untouched
OK, since I created that table, I'll interpret it for you. :-)
The table was designed to compare how much PAR2 data is actually required to achieve the same level of protection and ability to repair that a particular amount of PAR1 data would give you. It assumed that you were posting RAR files.
The calculations assumed that you had the following:
Original Files
--------------
Number of RAR files: 30
Size of each RAR file: 15 MB
Total size: 450 MB
Article posting size: 0.5 MB
Total number of articles: 900
PAR1 files
----------
Number of PAR files: 5
Size of each PAR file: 15MB
Total size: 75 MB
Article posting size: 0.5 MB
Total number of articles: 150
PAR2 files
----------
Number of recovery blocks: 5
Size of recovery block: 0.5 MB
Total size: 2.5 MB
Article posting size: 0.5 MB
Total number of articles: 5
i.e. you are posting either 75 MB worth of PAR1 files or 2.5 MB worth of PAR2 files.
The table assumes that under normal circumstances articles posted on UseNet are lost entirely randomly and that they are lost at some particular average rate. What that rate is varies from time to time and from system to system.
Now supposing the rate at which articles were being lost averaged at around 1 in every 1000 articles. The laws of probability tell us that some of the time there will be no articles lost, most of the time one article would be lost, and that occasionally larger numbers of articles will be lost.
It turns out that for this example, the probability that enough articles would be lost that you would require 6 or more PAR1 files for repair is between 1 in 1,000 and 1 in 10,000. i.e. between 99.9% and 99.99% of the time 5 PAR1 files are sufficient protection.
You will note however that the table also tells you that 5 PAR2 recovery blocks would also be sufficient for repair between 99.9% and 99.99% of the time.
The top row of the table tells you that when the rate at which articles are lost is as high as 1 in 170, you only have a 50% chance that 5 PAR1 (or 5 PAR2 blocks) would be enough for repair.
If you look at the top row of the earlier table I posted in that topic however you will note that it indicates that when you post as much PAR2 data (in total) as PAR1 data, then even if the average rate of article loss was as low as 1 in 10, then you would only have a chance of 1 in 100,000 that repair would not be possible.