Performance Issues

Started by dhavalmistry, November 20, 2010, 10:34:06 AM

Previous topic - Next topic

dhavalmistry

I am having huge performance issues while using TG2 locally as well as system wide. Even if I am not rendering, every attempt I make to change value in TG2 is delayed by atleast 5 seconds. My other actions outside of TG2 are also affected by this. All these problems are gone as soon as I exit TG2.

Here are my system specs:

Intel Core 2 Duo E6600
4GB DDR2 800MHz Ram
Nvidia GeForce 470
Windows 7 64-bit (fresh install)

Any ideas?

Dhaval
"His blood-terragen level is 99.99%...he is definitely drunk on Terragen!"

Goms

sometimes i get poor performance if the preview is using a lot of system resources or with a lot of fractals;
does this happen with only one special project, or even if nothing is loaded in tg2?
Quote from: FrankB
you're never going to finish this image ;-)

dhavalmistry

It doesnt happen with TG2 default project but it starts as soon as I have something in the scene even if that is one simple default fractal.
"His blood-terragen level is 99.99%...he is definitely drunk on Terragen!"

cyphyr

I've noticed this on heavy scenes (60+? nodes or/and large image-maps or models, memory hoggers!), mostly seems to stop when I "Pause" the preview window but you may have some background non TG stuff running as well, virus scans etc.
Richard
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

jaf

Yes, try pausing the preview window.  I can see a 4 second CPU spike with a single change to the default scene.  Remember that almost all changes you make cause recalculations throughout the program and the preview tries to update as fast as possible. 

Using the sliders is worse, since you wind up sending incrementing or decrementing values through the scene calculations.  I would like to see the program only update when the field you are entering in is left.

To see this in action:
Start the Task Manager and display the performance graphs. Then start tg2 with the default scene. Click on the plus sign next to the "Heightfield shader 01"and then "Heightfield generate 01".

By default, the preview is not paused.  Click in the "Feature scale" field, which should be defaulted to 2000, and add or delete a zero. You should see a spike in cpu activity.  Now pause the preview and try the same thing (add or delete a zero.)

With the preview un-paused, try using the "Feature scale" slider.  You will probably see a longer duration cpu spike.
(04Dec20) Ryzen 1800x, 970 EVO 1TB M.2 SSD, Corsair Vengeance 64GB DDR4 3200 Mem,  EVGA GeForce GTX 1080 Ti FTW3 Graphics 457.51 (04Dec20), Win 10 Pro x64, Terragen Pro 4.5.43 Frontier, BenchMark 0:10:02

cyphyr

Quote from: jaf on November 20, 2010, 01:20:42 PM
...

Using the sliders is worse, since you wind up sending incrementing or decrementing values through the scene calculations.  I would like to see the program only update when the field you are entering in is left.

...
I absolutely NEVER use the sliders. Probably a hangover from the old days when it could often cause a crash but it still slows the whole process down cpu wise.

:)
Richard
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

Goms

You can pause every preview by rightclick. Does the performance still go down if you pause all previews?
Quote from: FrankB
you're never going to finish this image ;-)

Henry Blewer

I have not noticed this on my old P4HT system. The preview slows down only when the atmosphere quality is increased above the default of 16. I turn off the atmosphere preview for shading and object placement.
Quick renders (640 x 400) will show the shadows from clouds and objects better.
http://flickr.com/photos/njeneb/
Forget Tuesday; It's just Monday spelled with a T

Zairyn Arsyn

i haven't noticed any performance issues with TG2 itself, but i have noticed a performance issues mainly with my internet browser, as well with some other programs, and this has been with small renders and large ones.

in the past i have been able to browse the net and watch streaming movies with netflix, without any sort of performance issues when i render.

sys specs: intelQ6600/G skill 4gigs 800mhzDDR2 ram/nvidia8800gt/win7 64-bit

WARNING! WIZARDS! DO NOT PREDICT THE BEHAVIOR OF OTTERS UNLESS YOU OBEY BIG HAPPY TOES.

i7 2600k 3.4GHZ|G.skill 16GB 1600MHZ|Asus P8P67 EVO|Evga 770GTX 4GB|SB X-FI|Antec 750W
http://zlain81.deviantart.com/

dhavalmistry

Quote from: zaai999 on November 22, 2010, 09:44:15 AM
i haven't noticed any performance issues with TG2 itself, but i have noticed a performance issues mainly with my internet browser, as well with some other programs, and this has been with small renders and large ones.

in the past i have been able to browse the net and watch streaming movies with netflix, without any sort of performance issues when i render.

sys specs: intelQ6600/G skill 4gigs 800mhzDDR2 ram/nvidia8800gt/win7 64-bit



Same thing happens to me too. If I am rendering, my internet slows down to make it look like its a dial up connection. Also the overall performance of the whole system degrades. TG2 doesnt seem to like Windows 7 x64.
"His blood-terragen level is 99.99%...he is definitely drunk on Terragen!"

RArcher

#10
I'm guessing these "performance issues" cropped up pretty much exactly when TG2 changed to be multi-threaded.  Previously it would only use a single core and all your other programs would seem to run normally since they would be allocated to other cores.  Now when you are rendering, TG2 will use everything you can throw at it unless you tell it not to.  So if you have a quad-core system unless you specify to only use two or three cores it is going to use all four.  Then when you run other programs at the same time those programs all fight for resources and cpu time which is when you notice the performance issues.

If you want to avoid this, then simply set TG2 to use less cores than you have available.  You will render slower of course but that is the drawback to doing other things  :D

This is of course only when you are rendering, I don't think there should be any problems when you are simply building your scene in the UI since that portion is not multi-threaded.

riche

#11
maybe (maybe not) I can help with the windows end. what's your pagefile settings (they should be roughly 1 1/2 time your physical memory), windows isn't that good at managing your pagefile so set it to a static size (so for 4gb pyhsical, that pagefile should be 6gb), also go to black vipers site, and lookup the services that you can disable or get the tweaked services settings (a downloadable reg file), this will configure your system so that the minimal amount of services are running.

in your processes, on a fresh build, your account should have around 20 odd (or less) processes running SVhost.exe being the most resource hungry, try disabling any antivirus (on access scanning) as it'll scan each file read/write.

if possible try putting your pagefile on a secondary drive away from the system drive, this will help load times as you'll use two SATA channels (one for file access, one for page file access) which should help performance.

*edit*

run MSConfig at run, select the Boot tab and "advanced options", tick the box that says "Number of Cores", god knows why, but windows desktop initially will only use the 1st core to boot windows, then it'll kick the other cores in as needed, this tweak tells windows to use ALL your cpu core from the off, and will speed booting abit :).


like I say it may help, may not ;)
Regards

RichE
SelloString.com - Holding the world together.

Kadri

Your problem looks like another thing Dhaval , but for troubleshooting did you tried to allocate only  1 CPU for TG2 from the task manager ?
Some times when i render i allocate 3 CPU's from there to have a smooth time in other tasks (for a Quad system of course).

dhavalmistry

Quote from: Kadri on November 22, 2010, 09:36:04 PM
Your problem looks like another thing Dhaval , but for troubleshooting did you tried to allocate only  1 CPU for TG2 from the task manager ?
Some times when i render i allocate 3 CPU's from there to have a smooth time in other tasks (for a Quad system of course).


yes I assigned only one core to TG2 and it seem to work better. I also increased page file size like riche said and it seems to be working much better then before but it still lags a bit......I guess its time for an upgrade....
"His blood-terragen level is 99.99%...he is definitely drunk on Terragen!"

Dune

Quoterun MSConfig at run, select the Boot tab and "advanced options", tick the box that says "Number of Cores"

Good advice, but my advanced options are grayed out, so inaccessible... any idea why that would be?