(Illustration by Gaich Muramatsu)
On Fri, Jul 18, 2003 at 10:21:04AM -0700, Tim Hasson wrote: > Ok, so if I really wanted to store 16 million files, that would be 16,000,000 > * 500 = 7.5GB (plus 3000b * num.of.dirs) > > Is that even possible? I understand I cannot make a RVM partition larger than > ~ 1.7GB, so what if I made a RVM file 10GB large. Would that be pushing it > beyond the point of failure? RVM is completely read into allocated memory (anonymous mmap) or uses a private mmap of the whole file. Because a 32-bit CPU only has 4GB of addressable space, and large parts of this space are already taken up by reserved kernel space, shared libraries, multiple thread stacks and the malloc heap. So no, 10GB will definitely never work on a 32-bit CPU. Perhaps it would be possible on a 64-bit CPU, but a lot of code won't compile correctly on a 64-bit system (a lot of this results from rpc2_integers which are defined as long int instead of int32_t). JanReceived on 2003-07-19 12:09:03