Forum › Forums › Discussion › Allocate more resources to the crafting solver?
This topic contains 7 replies, has 5 voices, and was last updated by Arc 5 years, 8 months ago.
-
AuthorPosts
-
March 15, 2019 at 8:07 am #11166
The crafting solver is beautiful. I love it so much. I have absolutely no problem waiting for it to solve and I have the ram to spare. But I was wondering if there is a way/plans to allow miqo to eat more of my cpu? I have a decent processor (i7-8700k) and I was looking at my resource monitor and saw that even with the solver running I stay around 25% maybe scratching 30%. Now it’s probably way more complex then I understand so I apologize if this seems dumb, I am just curious.
March 15, 2019 at 10:55 am #11167March 15, 2019 at 4:20 pm #11168March 15, 2019 at 5:42 pm #11169From Miqo’s post https://miqobot.com/forum/forums/topic/beta-scenario-scripting-engine/page/7/#post-9921
Using additional threads would imply parallel processing, while Crafting Solver is a strictly sequential algorithm.
Solver states are sorted in a strictly determined order, and each subsequent state depends on previous calculations. Parallel processing would only make things worse and slow the algorithm down 100-200 times.We are very sorry to disappoint, but the Crafting Solver algorithm is already optimized as much as possible.
Because of this optimization, its performance is equivalent to 100-200 threads of a parallel algorithm.March 15, 2019 at 5:50 pm #11170Ah, I see. Thanks for the replies!
Nope!
Shouldn’t ever take more than 30s or so for a solution, if it’s taking longer than you are using settings you probably don’t need
In response to this, I think it was just when I was ticking everything on and saw like a 1-hour estimation lol. But you’re right I definitely did not need it. And for me, I think my longest actual solve time was like 130 seconds so it’s definitely bearable.
Still, love the bot! Thanks for the replies again. 🙂
March 17, 2019 at 10:14 am #11187March 18, 2019 at 12:40 am #11192March 19, 2019 at 2:42 pm #11202 -
AuthorPosts
You must be logged in to reply to this topic.