Does mypaint benefit more from singlecore, or multi-core processing? What bottlenecks do you typically see?


#1

Please fill out the topic template below so we can help you faster.

Description of the Problem, or Question?

Basic System Details

MyPaint version:

Found under Help --> About MyPaint

Operating System + Version:

Please include Desktop Environment if on Linux

Make and Model # of Graphic Tablet:

Please Tell Us How to Reproduce the Problem in Steps.

Are there any Errors Popping Up? If so, paste the text in the area shown below.

[Paste Here]

For our guidelines to create a great user support ticket, please visit this wiki page at https://github.com/mypaint/mypaint/wiki/Reporting-Bugs#reporting-guidelines


#2

If you compile from source MyPaint can take advantage of some advanced cpu features, and multiple cores to some extent. I still think that single-thread performance is the best benchmark for MyPaint if you are looking at upgrading your computer.

Generally the bottlenecks depend on brush settings. Drawing too many dabs, using dabs that are not round, dabs that are too big, or too small, and especially using smudge settings which samples the canvas, too.

If you compile libmypaint you could try settings CFLAGS before compiling:
This is what I use for my cpu, this should automatically use your “native” cpu features:
export CFLAGS=’-fopenmp -O3 -ftree-vectorize -march=native -mtune=native -funsafe-math-optimizations -funsafe-loop-optimizations’

and when I run configure I enable openmp:
./configure --enable-openmp