Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: On some machines slic3r will only use one core, regardless of threads setting. #3216

Closed
BrainSlugs83 opened this issue Jan 24, 2016 · 3 comments

Comments

@BrainSlugs83
Copy link

I've upped Slic3r to use 16 threads, and it still only uses 12-18% of my CPU (on a hexacore machine). [Seems it tops out at 16?]

It seems that regardless of the number of threads that are set, I can never get it to use more than 16% of my CPU. This makes slicing very slow for me even on models that aren't that complex.

(Total CPU usage is about 2% higher than whatever slic3r is taking, so nothing else is slowing me down.)

I've heard from other users (forums and digging on this issue) that they're able to see it take up 100% of their CPU, and from others that it can only run on one core. -- So, I'm thinking that this only happens on certain machines / environments?

Slic3r Version 1.2.9 (as packaged with Repetier-Host V1.6)
Windows 10 (x64), 16 GB RAM, SSD RAID Stripe, 3.2 GHz Hexacore (AMD Phenom II X6 1090T Black Edition), all drivers (inc. chipset, etc.) installed and working.

If there's any additional details I can provide please, let me know.

@lordofhyphens
Copy link
Member

Copy of a model you see this effect and the slic3r configuration will help.
On Jan 23, 2016 6:33 PM, "Mikey" notifications@github.com wrote:

I've upped Slic3r to use 16 threads, and it still only uses 12-18% of my
CPU (on a hexacore machine).

It seems that regardless of the number of threads that are set, I can
never get it to use more than 16% of my CPU. This makes slicing very slow
for me even on models that aren't that complex.

(Total CPU usage is about 2% higher than whatever slic3r is taking, so
nothing else is slowing me down.)

I've heard from other users (forums and digging on this issue) that
they're able to see it take up 100% of their CPU, and from others that it
can only run on one core. -- So, I'm thinking that this only happens on
certain machines / environments?

Slic3r Version 1.2.9 (as packaged with Repetier-Host V1.6)
Windows 10 (x64), 16 GB RAM, SSD RAID Stripe, 3.2 GHz Hexacore (AMD Phenom
II X6 1090T Black Edition), all drivers (chipset, etc.) installed and
working.

If there's any additional details I can provide please, let me know.


Reply to this email directly or view it on GitHub
#3216.

@BrainSlugs83
Copy link
Author

I don't think it's model specific, but I've uploaded two models here where the issue happens.

1.) The fillenium_malcon one jumps up to 20 to 25% for less than second in the middle slicing (the rest of the time less than 18% CPU usage), but it slices pretty quickly (30 seconds ish?) so it's not a big deal. -- I slice it at 35% scaling (about 6 cm tall?).

2.) The maelstrom one takes minutes to slice and is at a steady 18% or less the whole time.
I slice it at about 300% scalling (and it's about 1 cm tall?).

models & config.zip

@alranel
Copy link
Member

alranel commented Mar 18, 2017

The slicing process needs to be single-threaded in some parts, so that's what you might be seeing. Anyway, we've been moving parallelization to C++ threads and doing much optimization work on that so the situation is probably much better than before, and continues to improve.

@alranel alranel closed this as completed Mar 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants