[argyllcms] icclink, ARGYLL_REV_CACHE_MULT and madvise
From: Klaus Karcher <lists@xxxxxxxxxxxxxxxxx>
To: argyllcms@xxxxxxxxxxxxx
Date: Thu, 01 Nov 2007 17:49:27 +0100
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?