Cory Petkovsek
Well-known member
- Joined
- Sep 20, 2010
- Messages
- 163
- Reaction score
- 0
- Points
- 0
- Location
- San Diego
- Website
- corporatevideosd.com
After experiencing slower than expected R3D renders not taking advantage of my system, I performed a variety of tests and posted my semi-subjective/objective results below. For those discussing double scaling, see tests 7 and 12.
System: Win7/64, 24GB ram, core i7 960 3.2ghz, +200mb/s disks, GTX480 w/ CUDA, Premiere 6.0.1, No Rocket, Nvidia 301.42 (Cuda 4)*;
Project: A feature film about 90 minutes comprised of 5k full frame R3Ds, 2k exr, 1080p dnxhd and other formats. GPU is enabled.
Sequence: 2048x858 (2k Scope). The R3Ds are all scaled down using the motion effect, most to 40%.
I can edit and play the timeline in realtime at 1/4. The first couple minutes of the film clips have only scaling or position effects. There is also a timecode overlay.
The only oddity so far is when I tell PPro to render it says some media is offline, but everything is online. I ignore this and continue. Offlining all media and relinking has no effect. No offline media graphic appears in the render.
Test 1: Render x264 2k scope
x264 accessed via x264vfw
Only one ImporterREDServer process ran, taking up one core; ~25% cpu.
After 20 minutes, Finish time is 50 hours and climbing
Test 2: Disable timecode; Render x264 2k
Same results
Test 3: Export x264 2k instead of Render via AME
Display is different but based on the behavior my conclusion is same results.
Test 4: Render OpenEXR 2k
6mb per frame; CPU maintains 100% with 5 ImporterREDServer processes running
After 20 minutes, remaining time: 26 hrs and climbing
Test 5: Render PNG 2k
2mb per frame; CPU 50% w/ 2 active ImporterREDServer processes;
Definitely slower than OpenEXR; aborting.
Test 6: Render Tiff 2k
7mb per frame; 100% cpu;
After 25 minutes, 25 hours and climbing
Test 7: Double Scaled EXR 720p scope
1280x536 "720p scope"; 5k R3D->2k sequence->720 render
Non R3D footage definitely faster than on 2k sequence.
R3Ds a little slower than on 2k sequence.
After 5 minutes calculating 16 hours and rising; figure it will say 30-40 hours after 20 minutes. Definitely not 10-20 times slower (i.e. 250+ hours). See #12.
Test 8: Disable GPU for project, Render EXR 2k
After 8 minutes, already at 23 hours and climbing steadily. GPU definitely provides some performance benefit (scaling and keying if nothing else). Estimate over 30 hours by 20 minutes. Compare test 4.
Test 9: 5k FF sequence -> Render EXR 2k
5k timeline scaled to 2k scope at AME render
2k/hd files are scaled from 2k to 5k back to 2k. R3Ds scaled 5k to 2k at the render instead of at the sequence level.
After 20 minutes, 14:22 remaining and slowly climbing.
Test 10: 5k Scope sequence -> Render EXR 2k
Same as above, but the sequence is 5120x2145 (1:2.39)
After 20 minutes, 13:57 remaining and slowly climbing.
*I experienced some corrupt GPU premiere compositing (pictures behind green screen footage messed up). Upgrading NVidia 301.42 -> 306.23, which also enabled CUDA 5, so far seems to have fixed the problem and a hanging problem (see Adobe Trouble Notes).
Test 11: 2k -> Render EXR 480p
872x366 "480p scope"
Actually rendered the whole thing for a submission. Completed in just under 12 hours.
Test 12: Repeat #7 double scaling w/ CUDA 5
1280x536 "720p scope"; 5k R3D->2k sequence->720 render
After 20 minutes, 26 hours remaining and climbing. After an hour 30+ hours remaining. Same results as test 7? I didn't let #7 run so all I can say is it's close, but it's possible CUDA 5 provided a minor performance benefit over 4.
Test Conclusions:
5k sequence -> Render 2k EXR: 14+ hours
2k sequence -> Render 2k EXR: 25+ hours
2k sequence -> Render 2k TIFF: 20-25+ hours
2k sequence -> Render 480p EXR (double scaling): 12 hours
2k sequence -> Render 720p EXR (double scaling): 30-40+ hours
2k sequence -> Render x264: 50+ hours
Rendering x264 off my 480p EXR/TIFF Master: 20-30 minutes.
Methods to improve performance:
- Rocket (assumed)
- Enable GPU/CUDA (upgrade to latest driver w/ CUDA 5)
- Edit at native resolution, scale down at render time only
- Export a master via EXR or Tiff sequence, then reencode to delivery format (I also apply sharpening to the master).
Adobe Trouble Notes:
1. There is a scaling problem that Adobe should fix. There isn't any difference in the amount of work between scaling 5k->2k at the sequence versus scaling 5k->2k at the render as long as it's done only once. Yet on this project there is a greater than 75% performance cost. Editing at 5k means upscaling 2k footage to 5k and scaling back to 2k is likely to cause quality loss. Either way we lose time or quality.
2. AME has (had?) hangups accessing red footage via ImporterREDServer when other Adobe apps are open. If I open Premiere or photoshop it will usually cause the AME render of R3Ds to EXR to hang. Even if I want to render a wave, AME will hang until I close premeiere before it will go. Once it is hung, I can click stop, but then it stops responding and I have to force it closed and kill the left over processes.
Update: After upgrading the nvidia driver (and cuda) this seems to have fixed the problem. I can now load AE, Photoshop, and even play the film off R3Ds in premiere, while AME is using 100% cpu rendering out the film; 16 importerredservers running. This is working just like it should, and damn impressive. The timeline/AME scaling issue is still present.
Probably this week I will upgrade to Premiere 6.0.2 and rerun some of these tests.
Feel free to post your own test results here or have discussions on performance testing and improvement.
Cory
System: Win7/64, 24GB ram, core i7 960 3.2ghz, +200mb/s disks, GTX480 w/ CUDA, Premiere 6.0.1, No Rocket, Nvidia 301.42 (Cuda 4)*;
Project: A feature film about 90 minutes comprised of 5k full frame R3Ds, 2k exr, 1080p dnxhd and other formats. GPU is enabled.
Sequence: 2048x858 (2k Scope). The R3Ds are all scaled down using the motion effect, most to 40%.
I can edit and play the timeline in realtime at 1/4. The first couple minutes of the film clips have only scaling or position effects. There is also a timecode overlay.
The only oddity so far is when I tell PPro to render it says some media is offline, but everything is online. I ignore this and continue. Offlining all media and relinking has no effect. No offline media graphic appears in the render.
Test 1: Render x264 2k scope
x264 accessed via x264vfw
Only one ImporterREDServer process ran, taking up one core; ~25% cpu.
After 20 minutes, Finish time is 50 hours and climbing
Test 2: Disable timecode; Render x264 2k
Same results
Test 3: Export x264 2k instead of Render via AME
Display is different but based on the behavior my conclusion is same results.
Test 4: Render OpenEXR 2k
6mb per frame; CPU maintains 100% with 5 ImporterREDServer processes running
After 20 minutes, remaining time: 26 hrs and climbing
Test 5: Render PNG 2k
2mb per frame; CPU 50% w/ 2 active ImporterREDServer processes;
Definitely slower than OpenEXR; aborting.
Test 6: Render Tiff 2k
7mb per frame; 100% cpu;
After 25 minutes, 25 hours and climbing
Test 7: Double Scaled EXR 720p scope
1280x536 "720p scope"; 5k R3D->2k sequence->720 render
Non R3D footage definitely faster than on 2k sequence.
R3Ds a little slower than on 2k sequence.
After 5 minutes calculating 16 hours and rising; figure it will say 30-40 hours after 20 minutes. Definitely not 10-20 times slower (i.e. 250+ hours). See #12.
Test 8: Disable GPU for project, Render EXR 2k
After 8 minutes, already at 23 hours and climbing steadily. GPU definitely provides some performance benefit (scaling and keying if nothing else). Estimate over 30 hours by 20 minutes. Compare test 4.
Test 9: 5k FF sequence -> Render EXR 2k
5k timeline scaled to 2k scope at AME render
2k/hd files are scaled from 2k to 5k back to 2k. R3Ds scaled 5k to 2k at the render instead of at the sequence level.
After 20 minutes, 14:22 remaining and slowly climbing.
Test 10: 5k Scope sequence -> Render EXR 2k
Same as above, but the sequence is 5120x2145 (1:2.39)
After 20 minutes, 13:57 remaining and slowly climbing.
*I experienced some corrupt GPU premiere compositing (pictures behind green screen footage messed up). Upgrading NVidia 301.42 -> 306.23, which also enabled CUDA 5, so far seems to have fixed the problem and a hanging problem (see Adobe Trouble Notes).
Test 11: 2k -> Render EXR 480p
872x366 "480p scope"
Actually rendered the whole thing for a submission. Completed in just under 12 hours.
Test 12: Repeat #7 double scaling w/ CUDA 5
1280x536 "720p scope"; 5k R3D->2k sequence->720 render
After 20 minutes, 26 hours remaining and climbing. After an hour 30+ hours remaining. Same results as test 7? I didn't let #7 run so all I can say is it's close, but it's possible CUDA 5 provided a minor performance benefit over 4.
Test Conclusions:
5k sequence -> Render 2k EXR: 14+ hours
2k sequence -> Render 2k EXR: 25+ hours
2k sequence -> Render 2k TIFF: 20-25+ hours
2k sequence -> Render 480p EXR (double scaling): 12 hours
2k sequence -> Render 720p EXR (double scaling): 30-40+ hours
2k sequence -> Render x264: 50+ hours
Rendering x264 off my 480p EXR/TIFF Master: 20-30 minutes.
Methods to improve performance:
- Rocket (assumed)
- Enable GPU/CUDA (upgrade to latest driver w/ CUDA 5)
- Edit at native resolution, scale down at render time only
- Export a master via EXR or Tiff sequence, then reencode to delivery format (I also apply sharpening to the master).
Adobe Trouble Notes:
1. There is a scaling problem that Adobe should fix. There isn't any difference in the amount of work between scaling 5k->2k at the sequence versus scaling 5k->2k at the render as long as it's done only once. Yet on this project there is a greater than 75% performance cost. Editing at 5k means upscaling 2k footage to 5k and scaling back to 2k is likely to cause quality loss. Either way we lose time or quality.
2. AME has (had?) hangups accessing red footage via ImporterREDServer when other Adobe apps are open. If I open Premiere or photoshop it will usually cause the AME render of R3Ds to EXR to hang. Even if I want to render a wave, AME will hang until I close premeiere before it will go. Once it is hung, I can click stop, but then it stops responding and I have to force it closed and kill the left over processes.
Update: After upgrading the nvidia driver (and cuda) this seems to have fixed the problem. I can now load AE, Photoshop, and even play the film off R3Ds in premiere, while AME is using 100% cpu rendering out the film; 16 importerredservers running. This is working just like it should, and damn impressive. The timeline/AME scaling issue is still present.
Probably this week I will upgrade to Premiere 6.0.2 and rerun some of these tests.
Feel free to post your own test results here or have discussions on performance testing and improvement.
Cory
Last edited: