[asterisk-users] Help choosing the right card
Shaun Ruffell
sruffell at digium.com
Sun Jun 17 18:21:27 CDT 2012
On Sun, Jun 17, 2012 at 06:14:07PM -0500, Vladimir Mikhelson wrote:
>
> Shaun, would it be possible to lock specific modules in RAM vs. the
> who;e Asterisk application?
It is possible but not without more work. Asterisk would need to
parse the output of the memory map in /proc/<pid>/maps and figure
out where the modules are mapped into the current process' address
space and then lock only those pages. Also, this would require
knowing exactly which modules are needed at first. Since Asterisk
really should be run in a soft real-time fashion, I still
believe it's preferrable to figure out which modules are needed and
then making sure all those pages can stay resident in memory.
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list