Re: Improved file handling mechanisms for 64-bit architectures

From: Valdis . Kletnieks
Date: Sun Feb 08 2004 - 13:54:32 EST


On Sun, 08 Feb 2004 19:37:45 +0100, "Vijolicni.oblak" <un.info@xxxxxxx> said:

> I will make a suggestion on how to improve file handling performance:

> With AMD64 you are able to make 48-bit addresses, which amount to 256000
> gigabytes of virtual memory. When working with large (eg. 10GB) video or
> database files, Linux kernel could map the whole file into the virtual
> memory using processor's Page Translation Mechanism.
>
> Those 10GB would then be mapped to a certain memory range. If a portion of
> file that is currently requested is in physical RAM the processor would
> handle it without OS intervention; if not, then a page fault (#PF, 14)
> exception would occur and read a missing page (a missing portion of file).
>
>
>
> The application would see the file as a 10GB large array (or a string), or
> perhaps could map its own data structures into this memory space.

Congratulations... You've re-invented IBM's S/38 and AS/400 architecture. ;)

http://pages.sbcglobal.net/vleveque/AS400_Arch.doc

Attachment: pgp00000.pgp
Description: PGP signature