Address Windowing Extensions
Address Windowing Extensions (AWE) is a Microsoft Windows application programming interface that allows a 32-bit software application to access more physical memory than it has virtual address space, even in excess of the 4 GB limit.[1] The process of mapping an application's virtual address space to physical memory under AWE is known as "windowing", and is similar to the overlay concept of other environments. AWE is beneficial to certain data-intensive applications, such as database management systems and scientific and engineering software, that need to manipulate very large data sets while minimizing paging.
The application reserves a region, or "window" of virtual address space, and allocates one or more regions of physical memory. Using the AWE API, the application can map the virtual window to any one of the physical regions. The application can reserve more than one virtual address space and map it to any of the allocated regions of physical memory, as long as the number of bytes reserved in the virtual address space matches that of the physical memory region. An application must have the Lock Pages in Memory privilege to use AWE.
On 32-bit systems, AWE depends on Physical Address Extension support when reserving memory above 4 GB.[2] AWE was first introduced in Windows 2000 as a new API superseding the PSE36 method (from the Windows NT 4.0 Enterprise Edition) of accessing more than 4 GB of memory, which was no longer supported in Windows 2000.[3][4] Among the first applications to make use of AWE were Oracle 8.1.6[4] and Microsoft SQL Server 2000.[3]
If the /3GB boot flag is used to repartition the 32-bit virtual address space (from the 2 GB kernel and 2 GB userland) to 3 GB userland, then AWE is limited to accessing 16 GB of physical memory.[3] This limitation is because with only one GB reserved for the kernel, there isn't enough memory for the page table entries to map more than 16 GB of memory.[5] Additional restrictions on the maximum amount of memory addressable thorough AWE are imposed by the Windows licensing scheme. For example, Windows 2000 Advanced Server was limited to 8 GB, while Windows 2000 Data Center Server supported 64 GB.[6]
An article published in Dr. Dobb's Journal in 2004 noted that memory allocated using Address Windowing Extensions will not be written to the pagefile, and suggested that AWE regions could therefore be used as a way of protecting sensitive application data such as encryption keys.[7]
See also
References
- ↑ "Address Windowing Extensions". MSDN. http://msdn.microsoft.com/en-us/library/aa366527%28v=vs.85%29.aspx. ""a set of extensions that allows an application to quickly manipulate physical memory greater than 4GB.""
- ↑ "Physical Address Extension". Microsoft. November 6, 2008. http://msdn.microsoft.com/en-us/library/aa366796(VS.85).aspx. Retrieved 2008-12-13.
- ↑ 3.0 3.1 3.2 Sajal Dam (2004). SQL Server Query Performance Tuning Distilled. Apress. pp. 28–29. ISBN 978-1-4302-0407-7. https://books.google.com/books?id=3branTEOAEYC&pg=PA28.
- ↑ 4.0 4.1 Michael R. Ault (2003-02-17). "Increasing Available Memory in Linux and Windows" (PDF). ROBO Books White Paper. pp. 10–12. http://www.authorsden.com/ArticlesUpload/56695.pdf. Retrieved 2014-03-01.
- ↑ Tuning IBM xSeries Servers for Performance (3rd ed.). IBM SG24-5287-02. June 2002. pp. 92–93. http://www-03.ibm.com/systems/kr/resources/systems_kr_x_techsupport_Tuning_xSeries_for_Performance.pdf.
- ↑ Dwaine Snow; Thomas X. Phan (2003). Advanced DBA Certification Guide and Reference: For DB2 Universal Database V8 for Linux, UNIX, and Windows. Prentice Hall Professional. p. 87. ISBN 978-0-13-046388-3. https://books.google.com/books?id=KdBLn-LQ0n4C&pg=PA87.
- ↑ Coombs, Jason (October 18, 2004). "Protecting RAM Secrets with Address Windowing Extensions". Dr. Dobb's Journal. Archived from the original on 18 December 2007. https://web.archive.org/web/20071218132537/http://www.ddj.com/windows/184405839. Retrieved 2007-12-08.
External links
- Address Windowing Extensions on MSDN
- Address Windowing Extensions Coding Example
Original source: https://en.wikipedia.org/wiki/Address Windowing Extensions.
Read more |