From: Chris Friesen <cfriesen@nortelnetworks.com>
To: Tushar Telichari <tushar@versant.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Shared memory problem
Date: Mon, 06 Oct 2003 11:06:45 -0400 [thread overview]
Message-ID: <3F818505.3010801@nortelnetworks.com> (raw)
In-Reply-To: Pine.LNX.4.21.0310061244540.20274-100000@dahlia.vipl.versant.com
Tushar Telichari wrote:
> Hi,
>
> I have a process which requires about 1G of shared memory.
> There are multiple processes which are going to share this.
> I am able to allocate this by setting shmmax..etc.
Your other option would be to create it as a file in the filesystem and
then mmap it. If you create a tmpfs filesystem and then mmap a file on
it there will be no real file on disk. If you create it on disk and
mmap it, then you have the option of persistant storage is that is
desirable.
Chris
--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com
next prev parent reply other threads:[~2003-10-06 15:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-06 7:22 Shared memory problem Tushar Telichari
2003-10-06 15:06 ` Chris Friesen [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-11-21 1:30 Shared Memory Problem David Relson
2001-11-21 1:54 ` Davide Libenzi
2001-11-21 8:54 ` Alan Cox
2001-07-03 8:49 shared memory problem Blesson Paul
2001-02-12 18:10 Admin Mailing Lists
2001-02-13 12:23 ` Christoph Rohland
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=3F818505.3010801@nortelnetworks.com \
--to=cfriesen@nortelnetworks.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tushar@versant.com \
/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