brummer- at web.de
Wed May 29 08:51:48 PDT 2013
Am 29.05.2013 17:33, schrieb David Robillard:
> On Wed, 2013-05-29 at 10:09 +0200, hermann meyer wrote:
>> I wonder what the recommended way for LV2 plugs is? Should plugs use
>> mlock/munlock to lock data into ram which needed during rt-process, or
>> is that contra-productive for the host?
>> For example it could make sense to lock up wave-tables or similar data
>> and function calls, to avoid page-faults. But on the other hand it makes
>> no sense when therefore other plugs which didn't use mlock to lock there
>> data, get page-faults.
>> any opinions ?
> I can't think of any serious problems that mlocking internal
> plugin-allocated things would cause.
> That said, in practice it probably doesn't matter much in Jack, since
> everything is mlocked anyway. Probably doesn't even matter much in
> general since if you're low enough on memory for frequently used things
> to get swapped out you're probably screwed anyway. It shouldn't hurt,
That's what I suspected. Just wane hear some opinions on it before I
More information about the Devel