Q: Doing things while rendering

Started by Sp34k, May 23, 2009, 09:13:06 AM

Previous topic - Next topic

Sp34k

Hallo fellow citizens  :D

I have a question about rendering in Terragen 2, Im still new at it as many others, but something that have been going on my nerves lately is the following:

We all know that rendering doesnt take 5 min. it can take from 3 hours to a year, uhm, what I have been wondering is.. Would it cause any problems if I start rendering and meanwhile, I start playing a game, photoshopping or whatever? - Should I let the rendering start open untill it ends or can I do lots of other things without causing any problems beside increasing rendering time?

Looking forward to an answer:)

Best Regards,
Mike

Learning history and science, wait,
Knowing that, will that put food on my plate?
Yeah, can I walk into McDonald's, into the counter,
And tell them you can make limestone from gunpowder,
Will they give me a cheeseburger if I know that shit?

Mr_Lamppost

I don't know for sure but my guess would be that it depends on what system you are running TG on and how complex your scene is.  If you are asking the processor to do other things as well then the render time will obviously increase.  Any other application you run; game, browser or Photoshop especially Photoshop will require memory which could easily cause problems.  If memory is not a problem and you have a multi core system you can always tell TG to only use one less than your total cores leaving one free for other things.
Smoke me a kipper I'll be back for breakfast.

Sp34k

Hallo Mr_Lamppost

Well I have a intel core 2 duo E8500, 3.16ghz processor, 8gb ram and 2x geforce 9600gt.. I'm just a liiitle bit nervous to risk an error while rendering for a long time..
But you talked about telling TG to use less cores, but I have just looked in the preferens but I couldn't find anything.. :) I wonder if I'm doing it right hehe..

- Mike
Learning history and science, wait,
Knowing that, will that put food on my plate?
Yeah, can I walk into McDonald's, into the counter,
And tell them you can make limestone from gunpowder,
Will they give me a cheeseburger if I know that shit?

Aagam

Doing other things will probably increase render time. When I render an image, basic scene or not, I just loan the entire processing power to TG. I recommend just leaving things alone while a render is going. Between work and Terragen, however, it's not a bad thing; gives me a chance to go out and do stuff :)

jaf

I've got a simple amd 4800 x2 and I run several programs most of the time while a tg2 render is in progress.  I haven't really noticed a problem (and sometimes I also have a Lightwave render going too!)  I've also run some intense disk i/o (binary folder compares) and some visual studio compiles without problems.  

I keep the minimum threads set to 1 in these cases -- haven't really tested this but it just "seems right".

I guess this would be a good place to mention this because it relates to using TG2 with other applications, though it really belongs in the new features. It sure would be nice to see a render percent or maybe a pass1/pass2/done indication on the Render View (icon?) on the taskbar.  Currently it shows "Render View: 800 x600".  That doesn't tell me anything I don't already know.  But a "Render View: pass2" would be enough to let me know it's time to take a peek at what's rendering.
(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

Sp34k

Nice to see those replys, it sure helpt me and I agree with you jaf, it would be nice to see either a "% done" or "pass1/pass2/done" as you wrote.. It's a fine idéa so let's hope the right people see it and agree with you :)

- I think that I'll experience a little with this, try render and do other things meanwhile to see if anything could go wrong:) - I appreciate the replies and suggestions, it's nice to see people are willing to share their knowledge and experience..

Cheers,
Mike
Learning history and science, wait,
Knowing that, will that put food on my plate?
Yeah, can I walk into McDonald's, into the counter,
And tell them you can make limestone from gunpowder,
Will they give me a cheeseburger if I know that shit?

neuspadrin

I usually try to leave it alone, but often will use a browser on the occasion.   Just stick to lightweight program usage really.

Aagam

Probably should have clarified that light usage is fine, such as browsing the net, using chat programs, etc. I'd just avoid using any other program that uses heavy processing.

rcallicotte

I wouldn't play Crysis or F.E.A.R. 2 while rendering.   ;D 

Even Outlook can bog the render down, since it will use all the memory you want to give it (usually).
So this is Disney World.  Can we live here?

dandelO

If you open your task manager, click the processes tab and right-click TGD.exe you can use 'set affinity' to limit the number of cores TG uses(by-passing the core detection/allocation in TG). I see you have a dual core(as do I), I sometimes set it to just use either cpu1 or cpu2 with the affinity checkboxes.
This will mean you only have a maximum of 1 render thread instead of 2 but, the total cpu usage will only ever reach 50% if only TG is running. Meaning, in short, you have an entire cpu left to use for other, less demanding programs, with a little longer render time, probably.

dandelO

*** When I limit my TG2 to 1 thread with Terragen only it still uses only 50% cpu but, it's 50% of BOTH cores, you need to override this in your computer's task manager to correctly use only 1 processor.

neuspadrin

Basically limit yourself to browsers and chat windows.  Nothing cpu or memory intensive.

Also, dandelO, I'm not 100% sure but pretty sure you can't 50% of a core, when you send a process to be run it gets all that core resources to itself... however when you set it to one core in terragen, terragen doesn't go "just use core 1", it says "im only going to use one core".  then the os goes "oh ok, sweet, ill put you on core 2" then a microsecond later terragen goes "finished that calculation now where boss?", windows goes "oh, yeh go to 1 this time" - repeat this constant switching.  That is, unless you set affinity for terragen to use only 1 core.  In that case windows will go "here you go and stay there"


Henry Blewer

I use one thread if I know I will want to do something else. (I watch a lot of video/movies using a Pentium 4 HT) If I am just going to browse on the web, I use both logical processors. I use the Windows Task Manager to set the T2 task priority to below normal. When my images average about 8 hours to render anyway, it has not made much difference to the render speed.

P.S. I watched Neuspaudrin's YouTube video tutorials. I found them helpful. Sometimes it is better to see something than to read about it. Thanks for taking the time to make them!
http://flickr.com/photos/njeneb/
Forget Tuesday; It's just Monday spelled with a T

jaf

... and there's always the "Pause" button if you need to do something intensive and then get back to the render.
(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

Oshyan

You should really never run a game or anything else that is *consistently* CPU and memory intensive. But applications that are not constantly using the CPU should be fine. Photoshop uses lots of memory, but with 8GB you should have plenty, and it does not actually use CPU that much most of the time. So it should not slow down rendering too much.

If you do want to use other demanding applications, you can limit the number of threads/CPU cores TG2 uses. You can set this in two places, in the Preferences (which sets a permanent default), or in the Renderer Advanced tab. It's important to remember, though, that if you want to limit the maximum number of threads used (in other words you want it to use no more than 1 thread), then you should set *maximum* threads, not *minimum*. Minimum threads is useful only when TG2 does not properly detect the number of CPUs/cores you have, and you can use it to override the detected setting to fully use your CPU.

Also keep in mind that using your OS task manager to limit TG2 to only one CPU/core is very inefficient and will further slow render time even beyond limiting in TG2 to 1 thread. This is because TG2 will still try to use 2 (or more, depending on your settings) render threads, but will only have the resources of a single CPU/core, so each thread has to trade-off and it causes delay due to this switching.

Bottom line, you can do a lot while TG2 is rendering, just keep it reasonable, unless you have a quad core in which case you can strike a good balance by setting max threads to 2 and using the other 2 for other apps. You could even potentially run a not too demanding game this way.

- Oshyan