YOUR ACCOUNT

Login or Register to post new topics or replies
Rachel Duim
So Called Tortured Artist

Posts: 2498
Filters: 188
This is from a discussion here: https://filterforge.com/forum/read.php...sage155081 . It appears that the Sign Dots filter only uses 1 or 2 CPU cores during the map script and takes a long time to do anything (according to the top utility, the Macbook Pro is new and has 8 cores). Is this a known issue?
Math meets art meets psychedelia.
  Details E-Mail
GMM
Moderator
Filter Forge, Inc
Posts: 3491
I'm afraid our LUA subsystem is single-core. This behavior is unlikely to be changed soon.

A more vivid example is Flower by Ken which can take dozens of minutes to initialize. Be careful when opening it.
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12299
Filters: 35
Quote
GMM wrote:
I'm afraid our LUA subsystem is single-core


So does this mean then that filters that use LUA scripting will be much more slower beacuse they will ONLY use a single core?????

I thought that FF has been optimised and created to get the most of all the cores a CPU my have, but had no idea that LUA could not be optimised for this

Quote
GMM wrote:
This behavior is unlikely to be changed soon.


This a great pity that is not possible to be fixed and solved and be able to upgrade to use a LUA that could use multi core CPU
  Details E-Mail
Rachel Duim
So Called Tortured Artist

Posts: 2498
Filters: 188
A little more looking around, lua does not support multiple cores (only coroutines). There are 3rd party extensions to do multithreading but it probably would be difficult or impossible to merge with FF (given that the calls are procedural). lua was designed to be compact and easy to merge with larger projects, so there are trade offs.

lua and threads
Math meets art meets psychedelia.
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,712 Registered Users
+19 new in 30 days!

153,534 Posts
+31 new in 30 days!

15,348 Topics
+72 new in year!

Create an Account

Online Users Last minute:

12 unregistered users.