Page 1 of 1

What is DPC ? Do i need this feature?

Posted: 2016-06-28T15:52:25-07:00
by richkingy
Hi Guys,

This might be a bit of an amateur question but I'm doing some basic benchmarking of different ImageMagick configurations on our server and as part of this I'm disabling various features.

I've got my configuration down to these two.
FEATURES = DPC OpenMP

Can someone explain what DPC is? Do I need this? And how can it be disabled?
I've tried ./configure --disable-dpc and searched the Google machine but not finding anything about DPC.

Cheers,

Richard.

Re: What is DPC ? Do i need this feature?

Posted: 2016-06-29T01:49:42-07:00
by snibgo
I think DPC in that context is Distributed Pixel Cache. See http://www.imagemagick.org/script/architecture.php

That feature flag is set in configure, after checking for socket support. I can't see what configure option will stop this from happening.

Re: What is DPC ? Do i need this feature?

Posted: 2019-08-13T14:02:28-07:00
by cancerberosgx
snibgo wrote: 2016-06-29T01:49:42-07:00 I think DPC in that context is Distributed Pixel Cache. See http://www.imagemagick.org/script/architecture.php

That feature flag is set in configure, after checking for socket support. I can't see what configure option will stop this from happening.
I'm not sure... in configure.ac it just checks for socket library.

Code: Select all

#
# Find socket library
#
AC_SEARCH_LIBS(gethostbyname, resolv nsl)
AC_SEARCH_LIBS(socket, socket,
[
  AC_DEFINE([HAVE_SOCKET],[1],[Define to 1 if you have socket support.])
  MAGICK_FEATURES="DPC $MAGICK_FEATURES"
])
In my case, this was not enabled until now (using latest IM master) I changed just

Code: Select all

  --with-quantum-depth=8 --enable-hdri=no
 
and this is now enabled (instead of hdri)

Code: Select all

    FEATURES        = DPC Cipher
    DELEGATES       = mpeg fftw freetype jng jpeg lcms openjp2 png raw tiff webp zlib
==============================================================================
This is another context I found the this acronym (networking) - Would be awesome if somebody could clarify this since probably I don't need this feature or at least I would like what's it (in my case is particulary important to control enabled features). Thanks

https://developer.android.com/work/dpc/logging
This document explains how a device policy controller (DPC) logs network activity. Continue reading to learn how to add network logging to your DPC.

Re: What is DPC ? Do i need this feature?

Posted: 2019-08-13T14:10:52-07:00
by fmw42
I don't think it is the latter. I agree with snibgo - Distributed Pixel Cache.

Re: What is DPC ? Do i need this feature?

Posted: 2019-08-13T16:56:23-07:00
by cancerberosgx
Thanks! previous was the output of ./configure but then when I run `convert -version` it doesn't say anything about DPC so I guess that caused my confusion.