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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to