* How to memory-map > 2GB Files
@ 2001-07-31 4:21 Himanshu Prakash
2001-07-31 4:40 ` Rik van Riel
0 siblings, 1 reply; 2+ messages in thread
From: Himanshu Prakash @ 2001-07-31 4:21 UTC (permalink / raw)
To: Linux-MM
Hi,
I am in need to memory-map the files of size greater than 2GB on 32-bit
Operating System. Is it possible?
Is there any other solution instead of using Memory-mapped files, while
retaining same read & write speed?
Thanks in advance..
Himanshu
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to memory-map > 2GB Files
2001-07-31 4:21 How to memory-map > 2GB Files Himanshu Prakash
@ 2001-07-31 4:40 ` Rik van Riel
0 siblings, 0 replies; 2+ messages in thread
From: Rik van Riel @ 2001-07-31 4:40 UTC (permalink / raw)
To: Himanshu Prakash; +Cc: Linux-MM
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-31 4:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-31 4:21 How to memory-map > 2GB Files Himanshu Prakash
2001-07-31 4:40 ` Rik van Riel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox