From: Lee Revell <rlrevell@joe-job.com>
To: Matheus Izvekov <mizvekov@gmail.com>
Cc: Horst von Brand <vonbrand@inf.utfsm.cl>,
Sascha Nitsch <Sash_lkl@linuxhowtos.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Idea about a disc backed ram filesystem
Date: Fri, 09 Jun 2006 15:31:43 -0400 [thread overview]
Message-ID: <1149881504.3894.250.camel@mindpipe> (raw)
In-Reply-To: <305c16960606091227w7e62003bhef576fb07d0aa95@mail.gmail.com>
On Fri, 2006-06-09 at 16:27 -0300, Matheus Izvekov wrote:
> On 6/9/06, Lee Revell <rlrevell@joe-job.com> wrote:
> > On Fri, 2006-06-09 at 12:07 -0300, Matheus Izvekov wrote:
> > > Ok, but reality is that, even if i setup a swap partition with the
> > > most lazy swapiness, it will swap my processes out. Is there a
> > > pratical way to pin all processes to ram or otherwise tell the vm to
> > > never swap any process? If there is, then you are right, there is no
> > > point in doing this.
> > >
> >
> > echo 0 > /proc/sys/vm/swappiness
> >
> > Lee
>
> Sorry, i took a look at the code which handles this and swappiness = 0
> doesnt seem to imply that process memory will never be swapped out.
>
OK, then use mlockall().
Lee
next prev parent reply other threads:[~2006-06-09 19:32 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Sash_lkl@linuxhowtos.org>
2006-06-08 20:33 ` Idea about a disc backed ram filesystem Sascha Nitsch
2006-06-08 20:43 ` Lennart Sorensen
2006-06-08 21:12 ` Sash
2006-06-09 10:45 ` Jan Engelhardt
2006-06-08 21:51 ` Horst von Brand
2006-06-08 22:39 ` Joshua Hudson
2006-06-08 22:48 ` Matheus Izvekov
2006-06-08 23:40 ` Måns Rullgård
2006-06-09 1:01 ` Matheus Izvekov
2006-06-09 8:52 ` Måns Rullgård
2006-06-09 2:17 ` Horst von Brand
2006-06-09 4:59 ` Matheus Izvekov
2006-06-09 13:43 ` Horst von Brand
2006-06-09 15:07 ` Matheus Izvekov
2006-06-09 18:43 ` Lee Revell
2006-06-09 19:27 ` Matheus Izvekov
2006-06-09 19:31 ` Lee Revell [this message]
2006-06-09 19:43 ` Matheus Izvekov
2006-06-09 20:03 ` Lee Revell
2006-06-09 21:23 ` Matheus Izvekov
2006-06-09 23:37 ` Horst von Brand
2006-06-09 6:33 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1149881504.3894.250.camel@mindpipe \
--to=rlrevell@joe-job.com \
--cc=Sash_lkl@linuxhowtos.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mizvekov@gmail.com \
--cc=vonbrand@inf.utfsm.cl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox