[parsec-users] thread number of vips

jcupitt at gmail.com jcupitt at gmail.com
Fri Jul 18 04:13:41 EDT 2008

2008/7/18 Qingyuan Deng <ddqqyy at gmail.com>:
> anyone got ideas of how to modify the threads number of VIPS? I always got 4
> threads.

You can set the IM_CONCURRENCY environment variable, or use the
--vips-concurrency command-line argument.

  vips im_benchmark ....


  vips --vips-concurrency=8 im_benchmark ...

I'm not sure which method PARSEC uses.

It sets the size of the threadpool that vips uses to render images.
There are two other threads as well: one to write-behind finished rows
of tiles, and one to manage the threadpool. So with these arguments,
you should see 10 threads in total, with 8 of them active.


More information about the parsec-users mailing list