32Bit Windows Memory Tuning 101 - PowerPoint PPT Presentation

1 / 13
About This Presentation
Title:

32Bit Windows Memory Tuning 101

Description:

32-bit Foundations. Using 32-bits to address memory yields 2^32 or 4,294,967,296 addresses; a 4GB ... 32-Bit Windows will only see 4 GB of system memory by default. ... – PowerPoint PPT presentation

Number of Views:24
Avg rating:3.0/5.0
Slides: 14
Provided by: rmw4
Category:
Tags: 32bit | memory | tuning | windows

less

Transcript and Presenter's Notes

Title: 32Bit Windows Memory Tuning 101


1
32-Bit WindowsMemory Tuning 101
  • 80/20 Performance Tuning

2
Agenda
  • Foundations of 32-bit computing
  • How to indentify memory constraints
  • Possible solution

3
32-bit Foundations
  • Using 32-bits to address memory yields 232 or
    4,294,967,296 addresses a 4GB address limit.
  • This limit shows up in several places in 32-bit
    Windows and is sometimes modifiable.

4
Base Operating System
  • 32-Bit Windows will only see 4 GB of system
    memory by default.
  • Adding the /PAE switch to boot.ini will enable
    all physical memory up to the OS limit

5
Processes
  • A single process is subject to the 4 GB address
    limit
  • Windows defaults to 2 GB for system space and 2
    GB for user space per-process.

6
Modifying Process Profile /3gb
  • Adding the /3GB switch to boot.ini will change
    the default process memory allocation
  • Your App has to recognize and be able to use /3GB
  • Impacts the OS Processes

7
/PAE /3GB Together
  • Limits OS to 16GB
  • Impacts the System Free Page Table Entries

8
Modifying Process Profile /awe
  • /AWE avoids the 16GB limit seen with /PAE /3GB
  • AWE enables programs to reserve physical memory
    as non-paged memory and then to dynamically map
    portions of the non-paged memory to the program's
    working set of memory (e.g. SQL)
  • App must be coded to use /AWE

9
Identifying Bottlenecks
  • Task Manager (quick-check)
  • Perfmon (is your friend)

10
Task Manager
11
Perfmon
  • PerfMon and PerfLog report on all
    Performance-enabled apps
  • Has embedded explanations for all system counters

12
Possible Solutions(When do I add memory)
  • When Server has less than 4GB and Commit Charge
    is constantly greater than Physical (Task Mgr)
  • When 1 and App generates lots of processes go
    above 4GB (JVMs)
  • When 1 and App is coded for /3GB or /AWE

13
Links
  • http//support.microsoft.com/search
  • http//support.microsoft.com/kb/291988/en-us
  • http//www.microsoft.com/whdc/system/platform/serv
    er/pae/paedrv.mspx
  • http//support.microsoft.com/kb/823440/en-us
  • http//blogs.technet.com/askperf/archive/2007/02/2
    3/memory-management-101.aspx
Write a Comment
User Comments (0)
About PowerShow.com