7.02.2009

Thought

     Difficult to find and harder to control, escaping me completely, lost in my head. Back in forth from one side to the other, but never landing on the tongue. The glow is lost so the eyes can't see, but left to right they still travel. Time for thought, few and far between, and the idea escapes my mind. One day I hope to focus again.

10.07.2008

Blender Build, Pentium 4 Optimized, Faster Render

I have decided to attempt to build an optimized version of Blender for the Pentium 4. This should allow people with that platform to see if they have similar results in render speed as I found in my earlier post. Please take a look at my previous post to see the results of building for my Centrino laptop. I encourage any feedback the community can provide so that I may make any adjustments that are necessary. This binary was built with the flags listed below, please be aware that this should only run on Pentium 4 processors, this does however run on my Pentium-M, probably due to the similar architecture. This is my first attempt at this sort of project, please offer your feedback and suggestions.

-O3 -march=pentium4 -fomit-frame-pointer -ffast-math -mfpmath=sse -pipe -fweb -ftracer



Update: I am no longer hosting the file, but I have the build options listed above for anyone that wants to do a custom build.


10.03.2008

Compile Blender for Render Performance

 
Here is a little test that I did to show the effect of custom cflags and cxxflags on render performance. This was performed on my Inspiron 9300 with Kubuntu. This is the current Blender SVN version 2.47 and built with cmake and Kdevelop. The only file that has been modified is the CMakeCache.txt that contains the build options, none of the actual source code was modified.

The tests were done using the .blend file from www.eofw.org/bench/. The first round of testing was with the source as received from Blender's SVN and the auto generated cmakecache file from CMake. All of these tests we done with blender from the command line to eliminate the Blender GUI and the system was otherwise idle.

The first round was without any modifications running three renders of the same file:

6m49.082s
6m48.580s
6m48.853s
 
This equals an average of 6:48.838. The second round was with cflags and cxxflags that are set for my hardware, remember these will be different for each system:

'-O3 -march=pentium-m -fomit-frame-pointer -ffast-math -mfpmath=sse -pipe -fweb -ftracer '

3m17.004s
3m16.773s
3m16.752s
 
An average of 3:16.843. That's about 3 minutes and 32 seconds difference. The command line output from the tests is located here if anyone is interested. I also discovered that BlenderBuilds is no longer offering optimized builds. This is disappointing considering the results of this test. I'm sure that there are other things that can be done to further increase performance and I intend to dig a little deeper to see if we can do any better.

Now 3.5 minutes might not sound like much, but let's look at this from an animation standpoint. Rendering 500 frames at 6:48 per frame is 2.3 days of rendering or about 55 hours. 500 frames at 3:16 is about 27 hours just over 1 day. Something to think about next time you are rendering a big project.

9.12.2008

Welcome

After some time away I have decided to return back to the internet. School has started back up and I wanted to have a place to share any projects that I wish to undertake. Please stay tuned.