[PlanetCCRMA] and where is fedora core 6??

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Fri Jan 12 15:46:01 2007


On Fri, 2007-01-12 at 23:25 +0000, Nathaniel Virgo wrote:
> On 30/11/06, Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> wrote:
> > [*] you need to (carefully) edit as root /etc/security/limits.conf and
> > add these lines if they are not already there:
> >
> > ---- cut here ----
> > # or (default) allow everyone access
> > *               -       rtprio          99
> > *               -       nice            -10
> > *               -       memlock         4000000
> > ---- cut here ----
> >
> > This will give any user permission to run apps with realtime scheduling
> > and to lock up to 4G of memory.
> 
> Should I change the 4G if I only have 1G of physical memory?  Does it
> need to be less than the physical memory or physical+swap or does it
> not matter?  (sorry if it's a silly question, I don't really know what
> memory locking is)

AFAIK it is just the upper limit on what can be locked. "Normal" users
would set it to less than the physical memory they have - it would not
be a good idea to lock all memory :-)

-- Fernando