Monday, April 28, 2014

Zhang Jingwei blog late quick assessment method is to use a lot of friends over 4G memory WINDOWS20


Zhang Jingwei blog late quick assessment method is to use a lot of friends over 4G memory WINDOWS2003 Enterprise Edition babies games was installed, but they found that the memory used by the system only after the 3G multi-installed, is not WINDOWS2003 Enterprise babies games Edition 32, does not support more than 4G more intrinsic? Actually not! "Newswan" made the post well, English is not good friends, totally still a little difficult to understand. Here, simple for everyone babies games to provide a reference point in 2003, is supported by more than 4G of memory, but in the case of default restricted 32 can not use more than 4G of memory, in order to more fully use the 4G memory to rely on PAE and AWE 32-bit operating system to solve the inherent scope 4G memory usage limit. That PAE Physical Address Extension, Windows 2003 memory babies games manager uses PAE to provide more physical memory program. The program itself does not know the actual memory size. All PAE memory management and memory allocation handled by the memory manager, has nothing to do with the program running. AWE That Address Windowing Extensions, memory management functions of a set of application programming interfaces (API), which enables programs to address more memory - more than the standard 32-bit addressing 4 GB of memory space. For PAE and AWE to note is: PAE physical address extension that is a feature babies games of Windows 2003 memory manager, which means that it is based on the system, and that the Address Windowing Extensions AWE is a set of application programming interfaces (API ). In Windows Server 2003, when the server is using hot-add memory devices automatically enabled PAE. For us ordinary people can not use expensive server machines, you must use the / PAE switch in the Boot.ini file to enable Lee PAE. Use more than 4GB of memory. babies games The following is an example of a Boot.ini file where the PAE switch has been added: [boot loader] timeout = 30 default = multi (0) disk (0) rdisk (0) partition (2) WINDOWS [operating systems] multi (0 ) disk (0) rdisk (0) partition (2) WINDOWS = "Windows Server 2003, Enterprise" babies games / fastdetect / PAE a new server, the memory is configured with 4GB, boot also displayed correctly 4G, but later installed WIN2003SP1, the system displays only 3.37G, thought memory hardware failure, after inspection, do the following. 1 Open Systems large memory support (windows) To enable the Windows 2000 Advanced Server or Windows 2000 Datacenter Server support more than 4GB of physical memory, the parameters must be / pae added to the boot.ini file. [Boot loader] timeout babies games = 0 default = multi (0) disk (0) rdisk (0) partition (1) WINNT [operating systems] multi (0) disk (0) rdisk (0) partition (1) WINNT = "Microsoft Windows 2000 Advanced Server "/ fastdetect to [boot loader] timeout = 0 default = multi (0) disk (0) rdisk (0) partition (1) WINNT [operating systems] babies games multi (0) disk (0) rdisk (0 ) partition (1) WINNT = "Microsoft Windows 2000 Advanced Server" / fastdetect / PAE After this change, babies games to restart the system 2. Enable Lock Pages in Memory Option babies games (windows) Enable Lock Pages in Memory option on the "Start" menu, click "Run" sub-menu, then "Open" box, type "gpedit.msc". On the "Group Policy" console, expand "Computer Configuration", then expand "Windows Settings." Expand the "Security babies games Settings", then expand "Local Policies." Select "User Rights Assignment" box. Details pane displays the policy. In the details pane, double-click the "Lock pages in memory." In the "Local Security Policy Settings" dialog box, click the "Add" button. In the "Select Users or Groups" babies games dialog box, add the right to run sqlservr.exe babies games account. 3 To enable AWE-enabled SQL, AWE, set awe enabled is set to 1. Unless you specify a value of max server memory, otherwise SQL Server will retain almost all available memory, leaving only 128 MB or less. If this option has been successfully enabled, the SQL Server babies games 2000 instance when started, SQL Server error log will be "Address Windowing Extensions enabled" This message appears. awe enabled is an advanced option. If you are using the sp_configure system stored procedure to change the setting, then only when show advanced options is set to 1 in order to change awe enabled. code as follows, using 6G memory settings SQL sp_configure 'show advanced babies games options', 1 RECONFIGURE GO sp_configure 'awe enabled', 1 RECONFIGURE GO sp_configure 'max server memory', 6144 RECONFIGURE GO must restart the instance of SQL Server 2000 for the changes to take effect . net stop mssqlserver net start mssqlserver so after SQL service starts, it will put 6G memory to lock completely for SQL to use only Windows 2000 Datacenter Server, Windows 2000 Advanced Server, Windows Server 2003, Enterprise Edition and Windows Server 2003 Datacenter Edition support PAE. In 32-bit Windows, the default will disable PAE, and must be set in the BOOT.INI file / pae boot parameters in order to enable PAE why do it, because the 32-bit system can only be addressed to 4G memory space By modifying BOOT file can be extended babies games to the rest of the memory as physical memory, but if they happen to 4G memory, babies games then do not recommend modifying the effect is not very ideal hardware supports a maximum memory capacity can be so considered: support a maximum memory capacity of = N 2 second position. 32 hardware supports a maximum memory capacity is translated down to 2 ^ 32, the translation is down 4G, 64-bit hardware supports a maximum memory capacity is 2 to the power 64, the translation is down 16EB = 16 * 1024PB = 16 * 1024 * 1024TB = 16 * 1024 * 1024 * 1024GB. Operating system memory babies games supports Windows WindowsNT4.0 Server and Enterprise Edition are all 32-bit server operating system supports babies games a maximum memory have only 4G. Windows2000 series server version of the operating system can support babies games up to a capacity of Datacenter Edition can support 32G; Advanced Server Edition only supports up to 8G of memory; babies games 2000 Normal Server Edition only supports up to 4G memory capacity. Windows2003Enterprise support up to 32G of memory. The new version supports 64-bit Vista highest maximum 128G memory. The Kernel Linux Linux kernel are 32, they can only support up to 4G of memory. The Bigmem and Smp Linux kernel, are 64-bit operating system can support up to 64G of memory. Some operating systems limit the kernel code memory bits wide, so even a 64-bit operating systems, different versions by default, it only supports a maximum memory capacity of a particular, need to be set up in order to achieve maximum PAE support extended babies games memory capacity. For example, in Windows2003Enterprise, if directly into 4G memory, do not make any changes, that recognizable physical system memory may be 3G succeed, you need to set pae memory expansion support during system boot files. x86-32 architecture allows the maximum amount of memory address space is 4GB. Intel Physical Address Extension (PAE) of 36-bit memory addressing mode, which allows the system addressing capacity of more than 32 4GB. PAE requires appropriate hardware and operating system support. Above for the Intel Pentium babies games Pro processor, the operating system supports Windows NT 4.0 Enterprise Edition, Windows 2000 Advanced Server and Datacenter Edition, and Windows Server babies games 2003 Enterprise Edition and Datacenter Edition. Windows uses a 4KB page PAE 64GB of physical memory mapped to 32 (4GB) virtual address space. babies games Windows 2000 and 2003 to allow Windows Server is a way PAE in BOOT.INI add / PAE switch. Address Windows Extensions (AWE) is a set of Windows APIs, you can benefit from PAE mode, so that the application can directly access more than 4GB of physical memory. Some programs, such as SQL Server babies games 2000 Enterprise Edition, the use of the API to write, babies games you can get a big performance boost when each processor babies games memory addressing more than 2G. Edit the BOOT.INI file to activate PAE method is as follows: Open the Control Panel and select Advanced System Startup and Recovery click the Settings button and click Edit Page, Notepad to open the file to edit BOOT.INI babies games ARC paths and later add the / PAE switch
1, 32-bit systems theory can theoretically support up to 4G memory? A: It seems this is true, but Microsoft has told us that this is not true - Enterprise Edition, Datacenter Edition of Windows support up to 32G and 64G respectively memory. 2, my computer babies games has 4G memory, tell me why the system memory only 3.x G? A: As part of the motherboard chipset will other hardware physical address mapping in 4G memory address management, making these computers are usually able to recognize and use the maximum memory capacity of between 3.25-3.75G. If you want the system to recognize the full 4G memory, your motherboard must support a "PAE (Physical Address Extension)" technology is called. 3, my motherboard supports PAE, or why not use all of the 4G memory? A: This is because the operating system limitation, the current 32-bit Windows, only the server version (2003/2008) to support 4G or more of memory (Windows Server babies games 2003 Web Edition supports only 2G of memory), and requires the system startup items the end of the add / PAE option (boot.ini in editing). Under 4,32-bit system, a single process can access memory is the largest number? A: The limit under 32-bit Windows operating system, a single process user-mode memory access is 2G, if you set the / 3G switch in the boot.ini, then up to 3G, over 3G will be inaccessible. 5, how to get access babies games to more than a single process 2G/3G memory? A: The 32-bit operating system only through AWE way to expand the memory. AWE (Address Windowing Extensions) babies games is a set of extensions to Windows memory babies games management functions, it enables applications exceed the amount of memory that can be used by a standard 32-bit addressing can be used 2-3 GB of memory. AWE allows an application to obtain babies games physical memory, and then view the non-paged babies games memory dynamically mapped to the 32-bit address space. Although babies games the 32-bit address space is limited to 4 GB, but the non-paged memory can be much larger than 4 GB. This requires a lot of memory so applications (such as large database systems) the amount of memory that can be used is far greater than the amount of memory address space of 32-bit supported. Supports all versions of Windows memory (physical memory) Windows versions supported memory (physical memory) Windows 2000 Datacenter Edition: 32G Windows 2000 Advanced Server version: 8G Windows 2000 Professional Edition: 4G Wind

No comments:

Post a Comment