Why nested project render so much slower?

relaxvideo wrote on 12/10/2020, 2:30 AM

I created a very simple project with one jpg image and some panning on it,
It will render in 0:56 sec to Full HD Sony Avc best quality template. i7-2600 cpu usage is around 80%.
But when i nest that project to a new project and use the same project properties and rendering template my cpu usage is only 15% and render time is 3:12 😲

Waaay slower. Why?

Try it with my test project.

I use V11/12. Maybe newer versions fixed this bug?

Comments

Grazie wrote on 12/10/2020, 2:41 AM

@relaxvideo - Nested Projects need processing whilst in the Parent Project, they aren’t the finished article. Soooo..... I’m guessing for each of every frame from your Nest needs the same. If this IS the case, then that’s why it takes longer. Nesting is a great way to go, but there are overheads.

relaxvideo wrote on 12/10/2020, 2:54 AM

Nested Projects need processing

That's fine, then use my cpu power, not just 15% of it. Seems an unoptimized code here.

Is it the same with V16-17-18?

Illusion wrote on 12/10/2020, 6:50 AM

I use nested project very often and I do not see such degradation in VP18.

I tested your project.

Render time direct project: 9s

Render time nested: 8s

 

System in signature

Last changed by Illusion on 12/10/2020, 7:09 AM, changed a total of 1 times.

  • ASUS ROG Strix X570-E
  • Ryzen 9 3900x 12-core
  • 128GB RAM (4x32GB)
  • Nvidia RTX 2070 8GDDR6
  • 1TB WD Black NVMe M.2 for OS/Prog
  • 1TB WD Black NVMe M.2 for Media
  • 1TB/2TB/4TB SATA3 SSDs for projects/media
  • 4TB WD Red drive for local cache
  • 10TB EXOS Enterprise, 14TB Toshiba drive for local cache
  • 32in 4K main monitor, 24in 1080 second
  • Win 11 Pro
  • 28TB NAS for long term archive storage
  • Sony a6000
  • Sony A7C
  • GoPro Hero 8
  • GoPro Hero 11
  • Sony BRAVIA XR X90J 75" 4K HDR10
  • Nvidia Shield TV Pro media player (GigE wired)
  • JBL Bar 5.1

 

walter-i. wrote on 12/10/2020, 7:09 AM

About 2 months ago I carried out comparative tests for another thread that raised the same question and - like Illusion - did not come to any significant differences.

https://www.vegascreativesoftware.info/us/forum/vp18-nested-veg-render-any-faster-than-old-versions--124733/

The fault will be somewhere else.
Systematic search is the order of the day.

Grazie wrote on 12/10/2020, 7:20 AM

Now we’d need to compare PC power.

relaxvideo wrote on 12/10/2020, 8:09 AM

 

Walter, I did made the search, but only with google :) my bad

 

Illusion: thanks! So they fixed it sometime!!

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

j-v wrote on 12/10/2020, 8:51 AM

With me on laptop and VPro 18
a 4K project with video, 2 T&T events and 1 still picture, lenght 83 sec., renders as project to FHD 50p with QSV in 96 sec.
The same project loaded as "nested" veg renders with the same rendertemplate as the former in 153 sec., a difference of 70 sec.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

relaxvideo wrote on 12/10/2020, 8:57 AM

Hmm, interesting. So they fixed the issue or not? :)

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

j-v wrote on 12/10/2020, 9:04 AM

Don't know, I never saw it as an issue while I for my own project always use "nested" vegs from the beginning of my use with version 10.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

john_dennis wrote on 12/10/2020, 9:23 AM

The issue:

"i7-2600 cpu"

RogerS wrote on 12/10/2020, 9:26 AM

With me on laptop and VPro 18
a 4K project with video, 2 T&T events and 1 still picture, lenght 83 sec., renders as project to FHD 50p with QSV in 96 sec.
The same project loaded as "nested" veg renders with the same rendertemplate as the former in 153 sec., a difference of 70 sec.

Did you try any non-QSV templates? What about CPU only?

relaxvideo wrote on 12/10/2020, 9:27 AM

 

john_dennis 

Really? Old yes, but why nested project use 15% while default project use 80%?

That's not the cpu fault.

Last changed by relaxvideo on 12/10/2020, 9:27 AM, changed a total of 1 times.

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

j-v wrote on 12/10/2020, 9:51 AM

With me on laptop and VPro 18
a 4K project with video, 2 T&T events and 1 still picture, lenght 83 sec., renders as project to FHD 50p with QSV in 96 sec.
The same project loaded as "nested" veg renders with the same rendertemplate as the former in 153 sec., a difference of 70 sec.

Did you try any non-QSV templates? What about CPU only?

Yess also with Nvenc the same 153 sec.
Don't know how I could use the Magix AVC rendertemplate for FHD to render with CPU only, but probably you know it. So please tell me.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

john_dennis wrote on 12/10/2020, 10:01 AM

"It will render in 0:56 sec to Full HD Sony AVC best quality template."

Other people here get 9 seconds. You're asking the system to do extra work, but not giving it any help. Is your source on SSD or NVMe drive? Nesting involves I/O from different parts of the dirive.

j-v wrote on 12/10/2020, 10:05 AM

@RogerS
I am able to render it with the old Mainconcept codec, but that rendering take 2% of my Intel and 2% of the Nvidia so it is not CPU only. Rendertime is in that case 284 sec. and the rendered file takes a lot more space. What could be a gain?

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

relaxvideo wrote on 12/10/2020, 10:19 AM

"It will render in 0:56 sec to Full HD Sony AVC best quality template."

Other people here get 9 seconds. You're asking the system to do extra work, but not giving it any help. Is your source on SSD or NVMe drive? Nesting involves I/O from different parts of the dirive.

John, please read carefully my original post:

"a very simple project with one jpg"

Do you think does it matter if that jpg is on HDD, SSD or NVME in this case? No way..

Yes, other user with 6x faster cpu than mine, get 6x less render time. Simple math.
But slower cpu cannot be the reason why a nested project takes 3:12 and default 0:56.

Should be slow-slow (roughly equal time). A few percentage difference is acceptable but we talk here abour 3.5x rendertime increase..
Nested rendering work with only 15% cpu usage. You say, Vegas use less percentage with slower cpu? :)

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

RogerS wrote on 12/10/2020, 10:24 AM

@RogerS
I am able to render it with the old Mainconcept codec, but that rendering take 2% of my Intel and 2% of the Nvidia so it is not CPU only. Rendertime is in that case 284 sec. and the rendered file takes a lot more space. What could be a gain?

Hi J-v, just trying to minimize variables esp. with QSV.

So it came out to 284 seconds with Mainconcept whether nested or not?

2% Intel and Nvidia is CPU- they aren't doing any encoding but maybe are doing some decoding or processing Fx. File size should also depend on render settings. CPU encoding should be higher quality, though I haven't used Mainconcept in a while. (I'm using x.264 in Voukoder, though that's irrelevant for these purposes, we're just testing nested renders vs not nested).

j-v wrote on 12/10/2020, 11:08 AM

So it came out to 284 seconds with Mainconcept whether nested or not?

Nested

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

john_dennis wrote on 12/10/2020, 12:02 PM

@relaxvideo

Drive speed will probably not make much difference in this case. It does make a difference when the source clips are longer and more complex.

I get 8 seconds for the stoki.veg

and 9 seconds when nesting stoki.veg into another project with the 4 year old system from my signature in Vegas Pro 14.

I ignored Vegas 15-18 to keep GPU out of the equation. I also have useful work to do and have posted my last comment on this subject.

michael-harrison wrote on 12/10/2020, 12:06 PM

Unlike what some others have reported, I also found that nested projects were unacceptably slow. One commenter (sorry, don't remember who but I can search later) reported that nested projects render single-threaded and this was the cause for the difference in speed.

This was with VP 17-452 so ymmv with other versions.

System 1:

Windows 10
i9-10850K 10 Core
128.0G RAM
Nvidia RTX 3060 Studio driver [most likely latest]
Resolution        3840 x 2160 x 60 hertz
Video Memory 12G GDDR5

 

System 2:

Lenovo Yoga 720
Core i7-7700 2.8Ghz quad core, 8 logical
16G ram
Intel HD 630 gpu 1G vram
Nvidia GTX 1050 gpu 2G vram

 

relaxvideo wrote on 12/10/2020, 12:08 PM

John: thanks for testing, so we know that V14 is fine :)

Michael: yes, it seems like single threaded rendering.

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

RogerS wrote on 12/10/2020, 7:49 PM

So it came out to 284 seconds with Mainconcept whether nested or not?

Nested


and not nested with Mainconcept? This is a comparison...

RogerS wrote on 12/10/2020, 8:07 PM

With the test project I made a nest from it and got 15 sec or 18 seconds when nested using MagixAVC CPU only (Mainconcept). CPU usage was 90%+ in both cases. I don't know how to see threads, but all 8 "CPUs" were active in task manager in both cases.

I'd recommend the OP try a test of Vegas Pro 18 and see if the performance is acceptable.