mmap64?
We have been doing some work with > 2GB files under x86 linux and have run into a fair number of issues (instability, non-functioning stat calls, etc).
One that just came up recently is whether it is possible to memory map >2GB files. Is this a possibility, or will this never happen on 32 bit platforms?
Thanks for any help,
Jason.
[email protected]
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Quoted 6 lines · Jason Titus
We have been doing some work with > 2GB files under x86 linux and have run into a fair number of issues (instability, non-functioning stat calls, etc).
One that just came up recently is whether it is possible to memory map >2GB files. Is this a possibility, or will this never happen on 32 bit platforms?
Eurhmm, exactly where in the address space of your process are you going to map this file?
Rik
--
The Internet is not a network of computers. It is a network of people. That is its real strength.
Wanna talk about the kernel? irc.openprojects.net / #kernelnewbies
http://www.conectiva.com/ http://www.surriel.com/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Well, seems like if we are allowing processes to access 3+GB, we should be able to mmap a similar range. Also, I don't know too much about the PAE 36 bit PIII stuff but I had thought it might give us some additional address space...
Jason
[email protected]
Quoted 24 lines
From: Rik van Riel <[email protected]>
Reply-To: [email protected]
Date: Sat, 22 Apr 2000 18:30:35 -0300 (BRST)
To: Jason Titus <[email protected]>
Cc: [email protected]
Subject: Re: mmap64?Quoted 6 lines · Jason Titus
We have been doing some work with > 2GB files under x86 linux and have run into a fair number of issues (instability, non-functioning stat calls, etc).
One that just came up recently is whether it is possible to memory map >2GB files. Is this a possibility, or will this never happen on 32 bit platforms?
Eurhmm, exactly where in the address space of your process are you going to map this file?
Rik
--
The Internet is not a network of computers. It is a network of people. That is its real strength.
Quoted 8 lines
Wanna talk about the kernel? irc.openprojects.net / #kernelnewbies
http://www.conectiva.com/ http://www.surriel.com/--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Quoted 4 lines · Jason Titus
Well, seems like if we are allowing processes to access 3+GB, we should be able to mmap a similar range. Also, I don't know too much about the PAE 36 bit PIII stuff but I had thought it might give us some additional address space...
No, the user space address space is not changed.
Greetings
Christoph
Signature · 4 lines
-- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/
Hi,
Quoted 4 lines · Jason Titus
Well, seems like if we are allowing processes to access 3+GB, we should be able to mmap a similar range. Also, I don't know too much about the PAE 36 bit PIII stuff but I had thought it might give us some additional address space...
No, the PAE36 architecture only increases the addressable physical memory on Intel CPUs. It does nothing to change the virtual address space.
--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Hi,
Quoted 3 lines · Rik van Riel
Eurhmm, exactly where in the address space of your process are you going to map this file?
mmap64() is defined to allow you to map arbitrary regions of large files into your address space. You don't have to map the whole file.
--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Quoted 8 lines · Stephen C. Tweedie
Quoted 3 lines · Rik van Riel
Eurhmm, exactly where in the address space of your process are you going to map this file?
mmap64()is defined to allow you to map arbitrary regions of large files into your address space. You don't have to map the whole file.
<nitpick>
To be more precise, you _can't_ map the whole file, which seemed to be what the original poster was asking for...
</nitpick>
cheers,
Rik
--
The Internet is not a network of computers. It is a network of people. That is its real strength.
Wanna talk about the kernel? irc.openprojects.net / #kernelnewbies
http://www.conectiva.com/ http://www.surriel.com/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Quoted 2 lines · Jason Titus
We have been doing some work with > 2GB files under x86 linux and have run into a fair number of issues (instability, non-functioning stat calls, etc).
Well it's a 2.3.x is a development kernel...
Quoted 4 lines
One that just came up recently is whether it is possible to memory map >2GB files. Is this a possibility, or will this never happen on 32 bit platforms?
sys_mmap2 should work just fine...
Eric
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Quoted 7 lines
From: [email protected] (Eric W. Biederman)
Date: 22 Apr 2000 20:24:13 -0500
To: Jason Titus <[email protected]>
Cc: <[email protected]>
Subject: Re: mmap64?
Quoted 7 lines
Quoted 2 lines · Jason Titus
We have been doing some work with > 2GB files under x86 linux and have run into a fair number of issues (instability, non-functioning stat calls, etc).
Well it's a 2.3.x is a development kernel...
This is true. But I would bet that large file support will be one of the most noticeable 2.2 -> 2.4 improvements, and it has been a very rough road so far. Seems to be working now, and the only two thing that seems to not work are stat (returns a negative number for >2GB files) and mmap (fails on 2>GB files - perhaps justifiably so...). I'm just hoping that large file support will work well by the time 2.4 comes out. It is one of the main things that holds Linux back from the enterprise.
Quoted 7 lines
Quoted 4 lines
One that just came up recently is whether it is possible to memory map >2GB files. Is this a possibility, or will this never happen on 32 bit platforms?
sys_mmap2should work just fine...
I will check that out.
Thanks,
Jason.
Quoted 2 lines
Eric
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/