rAf wrote:
Thanks for sharing your tests results.
With your config, it seems that you have a higher GPU usage than me but what about time needed for repairing.
Is it faster ?
I took a DVD-5 unscrabled image and split it up in 87 50MB parts:
Code: Select all
$ rar a -v50000k jumper.rar Jumper.iso
No time measured, but took at least 10 mins or so.
On this I created a par set using STABLE Oct 5 version 64 bit
Code: Select all
$ time par2 c -r10 -t+ jumper.par2 *.rar
...
Code: Select all
real 7m56.489s
user 28m35.073s
sys 0m22.364s
Then I deleted the last rar part (#87 = 47,9MB) and repaired
Processing verifications and repairs concurrently.
Loading "jumper.par2".
Loaded 176 new packets
Loading "jumper.vol000+01.par2".
Loading "jumper.vol001+02.par2".
Loading "jumper.vol007+08.par2".
Loading "jumper.vol003+04.par2".
Loaded 1 new packets including 1 recovery blocks
Loading "jumper.vol015+16.par2".
Loaded 4 new packets including 4 recovery blocks
Loading "jumper.vol031+32.par2".
Loaded 2 new packets including 2 recovery blocks
Loading "jumper.vol063+64.par2".
Loaded 8 new packets including 8 recovery blocks
Loading "jumper.vol127+73.par2".
Loaded 16 new packets including 16 recovery blocks
Loaded 32 new packets including 32 recovery blocks
Loaded 64 new packets including 64 recovery blocks
Loaded 73 new packets including 73 recovery blocks
There are 87 recoverable files and 0 other files.
The block size used was 2302680 bytes.
There are a total of 2000 data blocks.
The total size of the data files is 4453458623 bytes.
Verifying source files:
Target: "jumper.part003.rar" - found.
Target: "jumper.part004.rar" - found.
Target: "jumper.part002.rar" - found.
Target: "jumper.part001.rar" - found.
Target: "jumper.part083.rar" - found.
Target: "jumper.part087.rar" - missing.
Target: "jumper.part086.rar" - found.
Target: "jumper.part084.rar" - found.
Target: "jumper.part085.rar" - found.
Scanning extra files:
Repair is required.
1 file(s) are missing.
86 file(s) are ok.
You have 1978 out of 2000 data blocks available.
You have 200 recovery blocks available.
Repair is possible.
You have an excess of 178 recovery blocks.
22 recovery blocks will be used to repair.
Computing Reed Solomon matrix.
Constructing: done.
Solving: done.
Wrote 50258623 bytes to disk
Verifying repaired files:
Target: "jumper.part087.rar" - found.
Repair complete.
Code: Select all
real 2m15.460s
user 3m20.589s
sys 0m16.296s
Repair was done correctly, could be unrarred properly
...
Code: Select all
real 2m28.054s
user 1m38.156s
sys 0m23.110s
---
Switch to the CUDA enabled version
---
See how long it takes to repair the deleted last rar part:
Processing verifications and repairs concurrently.
Loading "jumper.par2".
Loaded 176 new packets
Loading "jumper.vol000+01.par2".
Loading "jumper.vol001+02.par2".
Loading "jumper.vol007+08.par2".
Loading "jumper.vol003+04.par2".
Loaded 1 new packets including 1 recovery blocks
Loading "jumper.vol015+16.par2".
Loaded 2 new packets including 2 recovery blocks
Loading "jumper.vol031+32.par2".
Loaded 4 new packets including 4 recovery blocks
Loading "jumper.vol063+64.par2".
Loaded 8 new packets including 8 recovery blocks
Loading "jumper.vol127+73.par2".
Loaded 16 new packets including 16 recovery blocks
Loaded 32 new packets including 32 recovery blocks
Loaded 64 new packets including 64 recovery blocks
Loaded 73 new packets including 73 recovery blocks
There are 87 recoverable files and 0 other files.
The block size used was 2302680 bytes.
There are a total of 2000 data blocks.
The total size of the data files is 4453458623 bytes.
Verifying source files:
Target: "jumper.part004.rar" - found.
Target: "jumper.part001.rar" - found.
Target: "jumper.part084.rar" - found.
Target: "jumper.part087.rar" - missing.
Target: "jumper.part082.rar" - found.
Target: "jumper.part083.rar" - found.
Target: "jumper.part086.rar" - found.
Scanning extra files:
Repair is required.
1 file(s) are missing.
86 file(s) are ok.
You have 1978 out of 2000 data blocks available.
You have 200 recovery blocks available.
Repair is possible.
You have an excess of 178 recovery blocks.
22 recovery blocks will be used to repair.
Computing Reed Solomon matrix.
Constructing: done.
Solving: done.
GPU processing is enabled for 22 data/recovery blocks.
The GPU was used for 27.2% of the processing (11988 out of 44000 processing blocks).
Wrote 50258623 bytes to disk
Verifying repaired files:
Target: "jumper.part087.rar" - found.
Repair complete.
Code: Select all
real 2m14.092s
user 3m0.162s
sys 0m20.505s
So it is only a second faster to repair almost 50 MB. Not really significant, imho.
That is, if it unrar's okay. Previuously, I got stuck at 99% when using CUDA version.
...
Extracting from jumper.part086.rar
... Jumper.iso 98%
Extracting from jumper.part087.rar
... Jumper.iso OK
All OK
Code: Select all
real 2m33.901s
user 1m38.086s
sys 0m23.114s
It does, thankfully.
So, will the CUDA version be faster when creating the 10% par2 file set?
Code: Select all
$ time par2cuda c -r10 -t+ jumper.par2 *.rar
Processing checksums and Reed-Solomon data concurrently.
Block size: 2302680
Source file count: 87
Source block count: 2000
Redundancy: 10%
Recovery block count: 200
Recovery file count: 8
Opening: jumper.part001.rar
Opening: jumper.part087.rar
GPU processing is enabled for 123 data/recovery blocks.
Computing Reed Solomon matrix.
Constructing: done.
The GPU was used for 14.3% of the processing (57527 out of 400000 processing blocks).
Wrote 460536000 bytes to disk
Writing recovery packets
Writing verification packets
Done
Code: Select all
real 6m59.591s
user 24m42.713s
sys 0m28.688s
So this is a minute difference! However, the CUDA version being experimental, it its not clear yet if the generated file set is even reliable/correct.
I don't use it (yet). As noted before, CPU usage is much lower, however.
If you need more testing, let me know.
Regards,
Bryan