[argyllcms] icclink, ARGYLL_REV_CACHE_MULT and madvise

Hi Graeme,

is there a way to determine the optimal setting for ARGYLL_REV_CACHE_MULT programmatically? I want to set the environment variable in my CMM at runtime before calling icclink.

Do you think it's worth trying to optimize icclink's performance using the madvise() or posix_madvise() system call? If so: What would be the best advice passed to the system call to describe the memory behavior of revcache -- MADV_SEQUENTIAL or MADV_RANDOM? are there other memory regions expected to benefit from madvise?

TIA, Klaus

Other related posts: