linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@conectiva.com.br>
To: Himanshu Prakash <himanshu@scicmp.com>
Cc: Linux-MM@kvack.org
Subject: Re: How to memory-map > 2GB Files
Date: Tue, 31 Jul 2001 01:40:39 -0300 (BRST)	[thread overview]
Message-ID: <Pine.LNX.4.33L.0107310139080.5582-100000@duckman.distro.conectiva> (raw)
In-Reply-To: <3B663266.E2716B2A@scicmp.com>

On Mon, 30 Jul 2001, Himanshu Prakash wrote:

> I am in need to memory-map the files of size greater than 2GB on
> 32-bit Operating System. Is it possible?

Barely ...

> Is there any other solution instead of using Memory-mapped
> files, while retaining same read & write speed?

You could map the file in chunks. Mapping several 256MB
chunks at the same time and mapping/unmapping these chunks
on demand should give you both the ability to handle really
huge files and the read & write speed of mmap().

In fact, with this method you should be able to use files
of up to 1TB on 32 bit machines ;)

regards,

Rik
--
Executive summary of a recent Microsoft press release:
   "we are concerned about the GNU General Public License (GPL)"


		http://www.surriel.com/
http://www.conectiva.com/	http://distro.conectiva.com/

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

      reply	other threads:[~2001-07-31  4:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-31  4:21 Himanshu Prakash
2001-07-31  4:40 ` Rik van Riel [this message]

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=Pine.LNX.4.33L.0107310139080.5582-100000@duckman.distro.conectiva \
    --to=riel@conectiva.com.br \
    --cc=Linux-MM@kvack.org \
    --cc=himanshu@scicmp.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