Page 1 of 1

Indigo and CPU (multi CPUs) speed

Posted: Tue Nov 21, 2006 5:00 am
by Adam Guzowski
I figure that while rendering under Indigo all my CPUs never rich full load
It daesnt matter if Multithreading is on or off. CPU load reach 40-70%.

Any ideas why

:| ?

Posted: Tue Nov 21, 2006 5:05 am
by psor
Heya Adam!

How many cores do you have? If you've got two cores try to use three
threads instead of two. Just my two cents. ;o)



take care
psor

Posted: Tue Nov 21, 2006 5:06 am
by Adam Guzowski
I try... thanks ;)

Posted: Tue Nov 21, 2006 5:06 am
by SmartDen
Hmm... :?: It's strange. When I start indigo with -t 2 Option, both cores get full load.
Another way to load all CPUs is start a network render on localhost. It should be work too.

Posted: Tue Nov 21, 2006 7:19 am
by zsouthboy
I don't have such an issue, on multiple machines that i've used indigo on.

Two threads gives me 100% just fine.


Is it possible you have an Intel CPU and you have hyperthreading turned on?

Posted: Wed Nov 22, 2006 5:43 am
by eman7613
i have noticed, that after indego updates the picturee cpu usage drops a bit

Posted: Wed Nov 22, 2006 5:49 am
by psor
eman7613 wrote:i have noticed, that after indego updates the picturee cpu usage drops a bit
Hmm, ... so maybe Adam has set the "image save interval" to short. I set
it to ~120 seconds or more. I would say ~20 seconds is not that productive. ;o)


take care
psor

Posted: Sat Nov 25, 2006 5:24 am
by CTZn
Mmm I have 2 cpus here, and did test w/ w/o hyperthrading to compare and in both cases (2/4 threads) Indigo was taking 100% ressources all the time. render time was 20% faster w/ HT (that is 20% more mutations in the same period of time).

Posted: Tue Dec 12, 2006 6:35 am
by delic
with a p4 HT, I can launch two renders and having 100% cpu ...
But never understood how to render one scene with 2 threads enabled ...

Posted: Tue Dec 12, 2006 10:11 am
by zsouthboy
delic: start indigo.exe with a "-t x", where x is the number of threads to use.

example:


indigo.exe example.xml -t 2


would start rendering example.xml with two threads

Posted: Tue Dec 12, 2006 10:21 am
by CTZn
Alternatively, you can do it the xml way:

Code: Select all

<renderer_settings>
                ...
	<num_threads>#</num_threads>
                ...
</renderer_settings>
where # is the number of thread. To be placed anywhere inside the <renderer_settings> tag.

Posted: Wed Dec 27, 2006 7:56 am
by YaroslavL
I have Better way!
Just once edit initfile.txt file
"num_threads" "2" for dual core or HT

Posted: Wed Dec 27, 2006 10:40 am
by CTZn
Depends on what is better for you. At the beginning I was doing so, but sometimes I dont want to put the 2 procs in a render, sometimes I need 4 because I activated HT, so I found it "better" to set this on a scene basis :wink:

This is an alternate way, yes it is !

Posted: Thu Dec 28, 2006 10:34 am
by filippo
I have testing it.
During the exportation the cpu (1 o 2 cpu or ht)work approximately at the 40%\50%...during the rendering indigo work at 100%...(with 2 cpu or ht on)

I l'ho testato.
durante l'esportazione le cpu( 1 o 2 che siano) lavorano al 50 %, durante il rendering indigo lavora al 100% (con 2 cpu o ht attivato)