Logo by mauxuam - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. April 25, 2024, 01:48:28 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Even greater depth  (Read 1115 times)
0 Members and 1 Guest are viewing this topic.
Dinkydau
Fractal Senior
******
Posts: 1616



WWW
« on: October 25, 2014, 10:56:49 PM »

Botond Kosa, do you think the maximum zoom depth can be increased even further without drastic loss of speed?
Logged

Botond Kósa
Fractal Lover
**
Posts: 233



WWW
« Reply #1 on: October 26, 2014, 08:01:54 AM »

Yes, unlimited zoom depth will be included in one of the upcoming versions.
Logged

Check out my Mandelbrot set explorer:
http://web.t-online.hu/kbotond/mandelmachine/
Botond Kósa
Fractal Lover
**
Posts: 233



WWW
« Reply #2 on: October 26, 2014, 12:11:27 PM »

The speed reduction won't be drastic. The time to compute the reference orbit is proportional to zoom depth squared, but the perturbation calculations are almost independent of zoom depth.
Logged

Check out my Mandelbrot set explorer:
http://web.t-online.hu/kbotond/mandelmachine/
Dinkydau
Fractal Senior
******
Posts: 1616



WWW
« Reply #3 on: October 27, 2014, 12:32:45 PM »

Nice

The reference points are going to be the limiting factor in zooming, by far. I'm considering to try to sell my 32-core computer and get a simpler one with best as possible single-threaded performance.
« Last Edit: October 27, 2014, 03:41:51 PM by Dinkydau » Logged

Botond Kósa
Fractal Lover
**
Posts: 233



WWW
« Reply #4 on: October 27, 2014, 01:57:35 PM »

I have some plans to speed up reference calculation:

1. Currently each reference is calculated twice: first to determine the length of the orbit (to know how much RAM to allocate), and a second run to actually save the orbit and calculate the series approximation coefficients. These could easily be done in a single pass, resulting in a speedup close to 2x. I will have to migrate the SA initialization code from Java to C++/ASM.
2. At great zoom depths it may be feasible to calculate each full-precision iteration on multiple threads, as KFR already does. Each iteration consists of three squares and several additions, of which the squares are independent and could be done concurrently.
3. At even greater zoom depths asymptotically faster multiplication algorithms like Karatsuba or Toom-Cook could be used. (See http://en.wikipedia.org/wiki/Multiplication_algorithm#Fast_multiplication_algorithms_for_large_inputs)

I plan to implement #1 in the near future and #2 a little later. Fast multiplications need further investigation to be applied to fractal calculations with fixed point numbers.
« Last Edit: October 27, 2014, 02:05:14 PM by Botond Kósa » Logged

Check out my Mandelbrot set explorer:
http://web.t-online.hu/kbotond/mandelmachine/
Botond Kósa
Fractal Lover
**
Posts: 233



WWW
« Reply #5 on: November 17, 2014, 01:54:16 AM »

The reference points are going to be the limiting factor in zooming, by far. I'm considering to try to sell my 32-core computer and get a simpler one with best as possible single-threaded performance.

Check out MM version 1.3.6, it calculates references up to 80% faster.
Logged

Check out my Mandelbrot set explorer:
http://web.t-online.hu/kbotond/mandelmachine/
Dinkydau
Fractal Senior
******
Posts: 1616



WWW
« Reply #6 on: November 17, 2014, 12:20:10 PM »

That's nice. Does it now compute the references only once?
Logged

Botond Kósa
Fractal Lover
**
Posts: 233



WWW
« Reply #7 on: November 17, 2014, 01:06:43 PM »

That's nice. Does it now compute the references only once?

Yes. The speed improvement doesn't reach 2x because the eliminated run was the quicker of the two: it was only used to obtain the length of the reference orbit, and the other, still performed run also saved the orbit values. When I originally wrote that part of code I didn't foresee that reference calculation would become a major bottleneck at great depths.
Logged

Check out my Mandelbrot set explorer:
http://web.t-online.hu/kbotond/mandelmachine/
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Into the Depth Images Showcase (Rate My Fractal) titia 14 3633 Last post April 15, 2010, 01:05:37 AM
by Sockratease
Depth Of Field test Images Showcase (Rate My Fractal) « 1 2 3 » Buddhi 30 9637 Last post November 10, 2013, 04:48:04 PM
by eiffie
Mandelbulb3D depth help Help & Support Lee Oliver 7 1032 Last post November 07, 2010, 11:08:40 PM
by Thunderwave
Depth of Field Mandelbulb 3d mehrdadart 1 3585 Last post February 09, 2011, 11:22:45 PM
by Jesse
Depth Transparency feature request VanlindtMarc 0 1107 Last post April 11, 2013, 09:59:38 PM
by VanlindtMarc

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.162 seconds with 26 queries. (Pretty URLs adds 0.012s, 2q)