deviant art





Login
Join deviantART for FREE Take the Tour Lost Password?
Deviant Login
Shop
 Join deviantART for FREE Take the Tour
[x]

Featured in Groups:

Details

January 5, 2007
Link
Thumb

Statistics

Comments: 19
Favourites: 1 [who?]
Views: 1,085 (1 today)
[x]
  • Mood: Neutral
  • Listening to: Deep Purple
  • Reading: DA
  • Watching: Computer Screen
  • Playing: Not playing..writing!
  • Eating: Yoghurt on a stick
  • Drinking: Orange juice
This article relates to the fractal program "Apophysis" (Apo), but may also be relevant to other image rendering programs.

In Apo, there is a setting in the OPTIONS menu where one can specify the number of rendering "threads" to use. This has a direct impact on the amount of rendering time an image takes to render. If set to OFF, the image will render as if it was using a single CPU. If set to 2 or 4, the image will render in much less time, because it has 2 or 4 CPU cores of which to take advantage.

People who have Intel CPUs, which have hyperthreading (such as some Pentium 4's), can set this option to 2 if they wish (DO NOT use higher than 2).

Don't know how to get an image in here, so here is the screenshot link showing this setting option.  [link]

Hyperthreading (wanky marketing speak), basically means the CPU has "two threads" with which to perform its data processing (sort of like two CPUs). When set to 2, Apo can use 100% of the CPU and thus cut rendering time. However, this may not be the best option with systems which generate a lot of heat and are not efficiently cooled (some laptops/notebooks may be an issue). It can be a trade-off between less render-time, OR a processor working at half its capacity and therefore producing less heat. System crashes can be a result of the processor over-heating.

If you have a newer system with either an AMD or Intel Dual-core processor, or for those fortunate people who may have a quad-core, then you should definitely set this option to correspond with the number of cores in your processor. There should be no problem with over-heating, as these newer processors have more efficient thermal designs than the older Pentium 4's.

I am running a Pentium 4 which has hyperthreading and I have set the multithreading option to 2. It can sometimes halve the rendering time, but always results in a substantial reduction.

The other thing I notice is the drop-down box below the multithreading box, which relates to both your CPU and operating system. Newer CPUs (from around mid-2003 for AMD and later for Intel) are 64bit. Prior to this they were 32bit. If your CPU and operating system are both 64bit, then I also suggest choosing the 64bit setting. I don't know the impact of this (mine is 32bit), but you will find out once you switch between the 32 and 64bit settings.

Here is the screenshot link showing this setting option. [link]

To test the impact of changed settings, you need to commence a render on the old settings. At the bottom of the render screen, the "estimated time to complete" will appear. Take note and STOP the render, then close it. Go back into OPTIONS and change the settings then commence the same render. Now you should see the time to complete has considerably reduced.

Steve Knorr
:icon:
Add a Comment:
 
love 1 1 joy 1 1 wow 0 0 mad 0 0 sad 0 0 fear 0 0 neutral 0 0
:iconanalog-x64:
I am using apophysis 7x 15 on win 7 / 64bit I can set the Multi-Threading but I do not see the 64-Bit option. I have a Core 2 Quad Q8300 CPU.
Reply
:iconduggym122:
Mood: Affection ~duggym122 Jun 15, 2011  Hobbyist General Artist
Huge help. My computer at home works great (probably better once I get back and try this), but I do a few renders a day at work on my workstation and they don't go quite as fast as at home. Got a render to go from 1305:18:49.54 to 2:17:25.88
Reply
:iconpsysoul:
Wohoo..you can choose 8 threads for intel core i7 // 4 cores, because it also uses hyperthreading (well, if it's enabled in the BIOS).

Result: super good rendering time.

I am using apophysis 7x on win 7 / 64bit.

32/64 bit doesn't really change rendering time, but 64bit seems to create a bit more lag for mouse etc..i am not sure.

interesting that 32/64 create a different file (not the same size).

--
 

Check out my DA profile page: [link]
 
Reply
:icondrummerboy08:
Very helpful! i have been under the impression that it simply couldnt render using both cores of my CPU, as my CPU clock had only ever been able to get to half. My renders now go so mcuh faster, and it makes it easier to work with a higher res preview, or zoomed-in fractals.

--
"Icy roads beneath my feet led me through wastelands of deceit. Rest your head now, don't you cry; Don't ever ask the reason why." ~Opeth
Reply
:iconbernie-saw:
My Apophysis doesn't have that option. I have version 2.02

--
~~~~~~~~~~~~~~~
when in doubt....Smile
=]
~~~~~~~~~~~~~~~
Reply
:iconcatalyst-design:
Mood: Joy ~Catalyst-Design Apr 11, 2009  Hobbyist General Artist
This was wicked useful, thank you!

--
#GetWatchers - Need Exposure, Watchers, Views? Join us here!
Reply
:iconxyrus02:
`Xyrus02 Mar 9, 2008  Hobbyist Digital Artist
This goes to favourites because it's very useful stuff. Thank you =)

--
Developer of Apophysis 7X
Loyal fractal warrior of the Aposhack
Moderator of #FracStract and #Apophysis
http://protocol.by/xyrus02
Reply
:iconstarsofglass:
I just upgraded from 256 mb ram to 2 gb ram (dual core), and by comparison my rendering time only halved. And that was by switching from 32 to 64 bit (after reading your journal I'm a bit confused, because I have Windows Vista 32 bit, not 64 :) ). But anyway, setting multithreading to 2 does seem to halve the rendering time again, but more than 2 doesn't seem to do any more. Know of any other ways to speed up the rendering (without changing the quality settings)? I thought that having so much more RAM would speed things up more :(

--
To love whatever fate brings our way.

Member of
~fractalers *Apophysis ~belgium *PhotographersClub *Ex-po-zure *sony-club =ImagersFractalDDs *macro-club *FractalDreams *wildlifephotography =NaturPics-club
Reply
:iconzsteve:
Ok, first of all, if you have a dual core processor which has 64 bit architecture, I don't understand why you would choose to run 32 bit Windows and not 64 bit. Second, if you *are* running 32 bit Windows, I also don't know why changing the setting to 64 bit in Apo reduces your rendering time, as I thought the operating system would need to be 64 bit. Maybe it is enough that the processor is 64 bit for this to happen, but I am just guessing.

My understanding, is that the multithreading number set in the *context of Apo*, equates to how many threads your processor can process at any one time. And in the case of dual core, each "processor" processes one thread, which means it can process two (being dual core). If you had a quad core processor, then you could choose the "4" setting. But again, I can't say to what degree this would have on rendering time, as I don't have either dual core or quad core processors.

Multithreading is actually more complex than this, because lots of software programs can run using multiple threads. This means a CPU may be processing multiple threads, regardless of the number of cores it has. But that's a whole other layer of complexity which you can read about on the Net.

Apo needs only a certain amount of Ram to be available for both the software and render. Depending on the quality and resolution of the render, it may need additional Ram to be available. Beyond that requirement, additional Ram is superfluous to the program, so you won't see any gain in time saved by having a greater amount of Ram available. It is only advantageous if you are simultaneously running Ram hungry programs. But 2gig is a nice amount of Ram to have in todays systems! :-)

A question... if you render something with the multithreading setting at 2 and 32 bit, and then render the same thing with the bit setting at 64, does the render time reduce further, or does it make no difference? I am just trying to understand whether the bit setting affects render time, or whether it is just the multithreading setting that influences the render time.

--
Apophysis [link]
Reply
:iconstarsofglass:
I did some testing today, and the results seem to be a bit different. I'm a bit confused by the different settings though, as there is a general options section where there are different "bit choices" but also the "bit choices" in the render window itself. I've been playing with both, combining in every possible direction with one of my fractals in particular.

To illustrate:
Multithreading off
internal buffer depth 32 bit integer:
-> buffer depth integer 32 integer: 6h19
-> 32 floating: 6h20
-> 48: 6h25
-> 64: 6h24

Multithreading off
internal buffer depth 64 bit:
-> 32 integer: 6h52
-> 32 floating: 6h19
-> 48: 6h25
-> 64: 6h24

Multithreading 2 seems to give more or less the same rendering times in every combination (3h20 more or less), although 64bit in the rendering window does require twice as much RAM. In all the cases, 100% of my CPU is taken though, which seems a bit strange, because the amount of RAM necessary is waaaay below what I have available. (Although running other programs at the same time doesn't seem to slow the rendering down much.)

As for having a 32 bit operating system... I had ordered a 64 bit one but they got one in the wrong language, and they only had 32 bit in the right language. And in the shop they said it didn't matter. After some research it might be best, apparently there are some problems with compatibility with 64bit Vista (only accepts 64 bit drivers, not 32 bit drivers), but I'm no expert. At the same time I am wondering if having a 64 bit OS would halve the rendering time again, but I guess we'd have to ask someone who has a 64 bit OS.

*sigh* I don't know enough on all this tech stuff, that's why I gave this overload of info :p After all the testing, still not sure on the settings except that multithreading is best :)

--
To love whatever fate brings our way.

Member of
~fractalers *Apophysis ~belgium *PhotographersClub *Ex-po-zure *sony-club =ImagersFractalDDs *macro-club *FractalDreams *wildlifephotography =NaturPics-club
Reply
:icon:
Add a Comment: