multithread meshing

Post Reply
lossesos
Posts: 19
Joined: Thu Jul 08, 2010 2:39 pm

multithread meshing

Post by lossesos » Tue Jul 27, 2010 1:12 pm

What can I do to make RF5 use my 8 cores for meshing a standard mesh??

I tried diferent scripts from the RF resources page but can´t make it work.

Thank you in advance.

User avatar
FlorianK
Posts: 238
Joined: Fri Jun 11, 2010 9:56 am
Location: Cologne, Germany

Re: multithread meshing

Post by FlorianK » Tue Jul 27, 2010 3:04 pm

You cannot make the scripts work or the multithreaded meshing when using the scripts??

lossesos
Posts: 19
Joined: Thu Jul 08, 2010 2:39 pm

Re: multithread meshing

Post by lossesos » Tue Jul 27, 2010 3:28 pm

The problem is that when I´m meshing a standard mesh RF only use the 10%-12% of my 8 cpus. So I tried to run two scripts from the RF resources page but didn´t work. I couldn´t make the scripts work.

I´m running Win7-64 with RF 5.0.1 and python 3.1.

By the way, don´t know anything about programing, scripts, etc...

So there´s any way to make RF to use the 100% of my 8 cpus for meshing a standard mesh??

Thank you.

User avatar
FlorianK
Posts: 238
Joined: Fri Jun 11, 2010 9:56 am
Location: Cologne, Germany

Re: multithread meshing

Post by FlorianK » Tue Jul 27, 2010 5:55 pm

Well, Multithreading is not that simple as most people think. Just because you have eight or ten or whatever number of cores in your system, that does not mean your programs will be using any of those cores by 100%.

It depends a lot on the underlying algorithms to what extent the calculations can be spread across the different cores.

The "Multithreading" scripts for meshing that I know of simply cut your framerange into differnet chunks and then they distribute a chunk to each of your system's cores. This is not optimal, of course. Also, Python is not a good choice when trying to do something multithreaded and those are python scripts. I think the 10 to 20% of CPU those scripts are using, is just the limit.

If you really want multithreaded meshing, use RFRK2 instead. This is using C++ algorithms and the tool is otimized for multithreading. Another benefit is that you will be getting far better results when using RFRK2 than with a standard mesh.

Aniki
Posts: 60
Joined: Fri Jun 25, 2010 10:52 am
Contact:

Re: multithread meshing

Post by Aniki » Tue Jul 27, 2010 7:09 pm

its simply not working at the moment in RF 5.0.1..

see here http://www.realflow.com/forum/viewtopic.php?f=28&t=82

lets wait for the siggraph to end ;)

cheers

Aniki

Post Reply