Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Applies to:
SAP NetWeaver and Stand Alone Components running on Windows
Summary
Introduction: SAP Note 1612283 contains a detailed and in depth explanation of SAP Software running on Windows and Intel servers.
These diagrams are designed to illustrate to customers and partners the concepts explained in Note 1612283.
Note 1612283 should be read carefully before reviewing this document.
Author(s):
Cameron Gardiner, Microsoft Corporation
Contact Person for questions and comments on this article:
cgardin@microsoft.com
Reviewer(s):
Karl-Heinz Hochmuth, SAP AG
Bernd Lober, SAP AG
Peter Simon, SAP AG
Jürgen Thomas, Microsoft Corporation
Company: SAP AG
Created on: May 2015
Config 1. Single SAP Application Server on Physical Server or Virtual Machine
Virtual Machine 1
ABAP Instance 1 8 vCPU
PHYS_MEMSIZE = not set – 32GB vRAM
SAP will try to use total physical
memory ABAP Instance 1
PHYS_MEMSIZE = 24000 –
recommend to set value on
VM
Configuration 1 Notes:
A single SAP instance on a powerful modern Intel or AMD server cannot leverage the CPU and memory resources available. Increasing the number of work
processes on a single instance above ~50 will not lead to a proportionate increase in throughput. Installing additional instances is recommended.
It is recommended to consolidate multiple SAP application servers onto one powerful 2 socket server. Customers have successfully run 5-8 SAP instances on one
2 socket server. Real customer deployments have indicated that the limiting factor is RAM rather than CPU resources
ABAP Instance 1
ECC App Server 1 Virtual Machine 2
16 vCPU
SAP System Number 00 128GB vRAM
Hostname = vmhost2
PHYS_MEMSIZE = 32000
ABAP Instance 1
ECC App Server 1
ABAP Instance 2 SAP System Number 00
ECC App Server 2 PHYS_MEMSIZE = 32000
SAP System Number 01
PHYS_MEMSIZE = 32000 ABAP Instance 2
ECC App Server 2
SAP System Number 01
PHYS_MEMSIZE = 32000
ABAP Instance 3
Solman App Server 1
SAP System Number 02 ABAP Instance 3
Solman App Ser ver 1
PHYS_MEMSIZE = 32000 SAP System Number 02
PHYS_MEMSIZE = 32000
ABAP Instance 4
ABAP Instance 4
CRM App Server 1 CRM App Server 1
SAP System Number 03 SAP System Number 03
PHYS_MEMSIZE = 32000
PHYS_MEMSIZE = 32000
Configuration 3 Notes:
Modern 2 socket servers deliver more than 90,000 SAPS. The total SAPS requirement for some customers is less than 90,000 SAPS. In such cases customers may
consolidate both DBMS and run 3-5 SAP instances on one 2 socket server. Real customer deployments have indicated that the limiting factor is RAM rather than
CPU or IO resources. Intel and AMD CPU are very powerful. Large DBMS data caches reduce physical IO to disk dramatically (in combination with DBMS
compression). IO performance can be scaled up by adding HBA, FCoE or 10 Gigabit NIC (for SMB 3.0 or iSCSI)
Physical Server Configuration (Left)
1. 2 socket Intel E5v3 32 threads / 16 cores / 2 NUMA nodes / 384GB RAM (192GB RAM per NUMA node)
2. 10 Gigabit Network
3. DBMS software should be configured to use a large data cache to reduce physical disk IO. Recommended values are 96GB, 192GB or more. DBMS
software is NUMA aware and can efficiently run across NUMA nodes.
4. DBMS software should be configured to use DB compression to further improve the DBMS cache hit ratio. Some databases such as SQL Server and
Sybase systems compress all tables and indexes by default. Consult the relevant SAP Notes discussing compression for each DBMS.
5. DBMS compression ratios of 40% to 85% have been observed on customer systems. If a 3TB system were compressed to 1TB (66% saving) and the
DBMS cache size set to 384GB there would be very minimal physical disk IO. Analysis of customer systems has shown when the DBMS cache size is more
than 25% of DB size in combination with compression very little (if any) physical disk READ IO will occur.
6. PHYS_MEMSIZE of all SAP ABAP instances, HEAP of all SAP Java instances and the total memory consumed by all DBMS software (data cache and any
other DBMS “system” type caches) should be less than the total physical memory of the server.
7. PHYS_MEMSIZE can be set to either a fixed amount of RAM or a percentage value.
Example: A single physical server with 384GB of RAM has three separate DBMS running with a total of 176GB of RAM allocated to DBMS software (192GB +
16GB + 32GB). The single physical server has four SAP instances each with a PHYS_MEMSIZE of 32GB. The total SAP memory is at least 192GB. In total the
DBMS + SAP memory is 304GB. The remaining 80GB of RAM can be used in case another instance or additional DBMS needs to be added or if the SAP systems
have inefficient custom ABAP code that consumes a lot of extended memory.
Approximately 50 work processes per each ABAP instance. Performance testing has shown many smaller ABAP instances deliver better throughput than a few
large instances. If more work processes are needed it is best to install another instance
Configuration and administration of multiple SAP application servers running on one or more physical or virtual hosts is greatly simplified by placing all profile
parameters into the default profile. This ensures identical configuration of instances, improves the operation of the SAP Logon Load Balancing mechanism and
eliminates complex configuration and administration.
2 Socket Intel Haswell CPU 2 Socket Intel Haswell CPU 2 Socket Intel Haswell CPU 2 Socket Intel Haswell CPU
32 thread / 16 core 32 thread / 16 core 32 thread / 16 core 32 thread / 16 core
384GB RAM 2 NUMA Nodes 384GB RAM 2 NUMA Nodes 384GB RAM 2 NUMA Nodes 384GB RAM 2 NUMA Nodes
10Gigabit NIC – Server LAN 10Gigabit NIC – Server LAN 10Gigabit NIC – Server LAN 10Gigabit NIC – Server LAN
1Gigabit NIC – User LAN 1Gigabit NIC – User LAN 1Gigabit NIC – User LAN 1Gigabit NIC – User LAN
ABAP Instance 1 ABAP Instance 1 ABAP Instance 1 ABAP Instance 1
ECC App Server 1 ECC App Server 2 ECC App Server 3 ECC App Server 4
SAP System Number 00 SAP System Number 00 SAP System Number 00 SAP System Number 00
PHYS_MEMSIZE = 32000 PHYS_MEMSIZE = 32000 PHYS_MEMSIZE = 32000 PHYS_MEMSIZE = 32000
2 socket servers running in 3 tier configuration can deliver more than 400,000 SAPS for a single SAP component and more than 1,000,000 SAPS for an entire
production environment.
Approximately 20% or less of the SAPS of a system are consumed by the database and more than 80% can be scaled out on the application server layer.
Therefore a 1:4 ratio between DB and application server resources is normal. Experience has shown capacity can be scaled very effectively by adding application
servers. The bottleneck is typically not the DBMS servers. 10 Gigabit network and a separate dedicated internal SAP application server <-> DBMS network is
mandatory for large configurations. FusionIO or similar “in-server” SSD is strongly recommended for larger systems.
Example:
A DBMS server with 384GB RAM is running DBMS software in a 3 node cluster. DBMS can run on any one of the 3 nodes.
A single physical server with 384GB of RAM has SAP instances each with a PHYS_MEMSIZE of 32GB plus a Java Instance with a HEAP size of 2GB. The total SAP
memory is at least 224GB. The remaining unused RAM can be used in case another instance needs to be added or if the SAP systems have inefficient custom
ABAP code that consumes a lot of extended memory.
Approximately 50 work processes per each ABAP instance. Performance testing has shown many smaller ABAP instances deliver better throughput than a few
large instances. If more work processes are needed it is best to install another instance
Configuration and administration of multiple SAP application servers running on one or more physical or virtual hosts is greatly simplified by placing all profile
parameters into the default profile. This ensures identical configuration of instances, improves the operation of the SAP Logon Load Balancing mechanism and
eliminates complex configuration and administration.
Cluster Configuration:
ASCS in 2 node cluster. The ASCS and ERS consume very little CPU, memory, network and IO. The impact of the ASCS on the sizing of the DBMS cluster is
negligible. Review the SAP Installation Guide for more information on Windows Clustering and Multi-SID clustering
Most DBMS software can run on more than 2 nodes. Example: Windows 2012 R2 & SQL Server 2014 supports 64 nodes
Multi-SID clusters generally require the use of mount points otherwise there will be insufficient drive letters.
Notes 1634991 - How to install an ASCS or SCS instance on more than 2 cluster nodes?
1678705 - Installation scenarios for a standalone ASCS instance
Config 5. Multi-SID DBMS Cluster, Separate SCS Cluster with SAP Multiple SAP
Application Server on Physical Server or Virtual Machine
2 Socket Intel Haswell CPU 2 Socket Intel Haswell CPU 2 Socket Intel Haswell CPU
32 thread / 16 core 32 thread / 16 core 32 thread / 16 core Virtual Machine 1 Virtual Machine 2
384GB RAM 2 NUMA Nodes 384GB RAM 2 NUMA Nodes 384GB RAM 2 NUMA Nodes 8 vCPU
32GB vRAM
8 vCPU
32GB vRAM
10Gigabit NIC – Server LAN 10Gigabit NIC – Server LAN 10Gigabit NIC – Server LAN Hostname = vmhost1 Hostname = vmhost1
1Gigabit NIC – User LAN 1Gigabit NIC – User LAN 1Gigabit NIC – User LAN Central Services ECC Central Services BW
vHostname = vHostname =
ECC DBMS Instance 1 BW DBMS Instance 4 SCM DBMS Instance 7 SAP System Number = 00 SAP System Number = 04
DBMS Max Memory = fixed DBMS Max Memory = fixed DBMS Max Memory = fixed
amount amount amount Central Services Solman Central Services EP
vHostname = vHostname =
SAP System Number = 01 ABAP/02 Java SAP System Number = 05
Solman DBMS Instance 2 EP DBMS Instance 5 BusObj DBMS Instance 8 Central Services CRM Central Services SRM
DBMS Max Memory = fixed DBMS Max Memory = fixed DBMS Max Memory = fixed vHostname = vHostname =
amount amount SAP System Number = 03 SAP System Number = 06
amount
2 socket servers running in 3 tier configuration can deliver more than 200,000 SAPS for a single SAP component and more than 600,000 SAPS for an entire
production environment.
Approximately 20% or less of the SAPS of a system are consumed by the database and more than 80% can be scaled out on the application server layer.
Therefore a 1:4 ratio between DB and application server resources is normal. Experience has shown capacity can be scaled very effectively by adding application
servers. The bottleneck is typically not the DBMS servers. 10 Gigabit network and a separate dedicated internal SAP application server <-> DBMS network is
mandatory for large configurations.
Example:
A DBMS server with 384GB RAM is running DBMS software in a 3 node cluster. DBMS can run on any one of the 3 nodes.
A single physical server with 384GB of RAM has SAP instances each with a PHYS_MEMSIZE of 32GB plus a Java Instance with a HEAP size of 2GB. The total SAP
memory is at least 224GB. The remaining unused RAM can be used in case another instance needs to be added or if the SAP systems have inefficient custom
ABAP code that consumes a lot of extended memory.
Approximately 50 work processes per each ABAP instance. Performance testing has shown many smaller ABAP instances deliver better throughput than a few
large instances. If more work processes are needed it is best to install another instance
Configuration and administration of multiple SAP application servers running on one or more physical or virtual hosts is greatly simplified by placing all profile
parameters into the default profile. This ensures identical configuration of instances, improves the operation of the SAP Logon Load Balancing mechanism and
eliminates complex configuration and administration.
1. Virtual Machine Configuration (Right)can be up to the total number of vCPU and vRAM or Hyper-Visor limit. Virtual Machines configuration must follow
the requirements of SAP Notes such as no overcommit for production systems, adequate network cards and enhanced monitoring
2. 10 Gigabit Network with SRIOv is recommended to improve network performance
3. PHYS_MEMSIZE should be set on Virtual Machines
4. It is not recommended to use Dynamic Memory in conjunction with automatic DBMS memory management features.
Cluster Configuration:
ASCS in 2 node cluster running on two small VMs. The ASCS and ERS consume very little CPU, memory, network and IO.
Most DBMS software can run on more than 2 nodes. Example: Windows 2012 & SQL Server 2012 supports 64 nodes
Multi-SID clusters generally require the use of mount points otherwise there will be insufficient drive letters.
Notes 1634991 - How to install an ASCS or SCS instance on more than 2 cluster nodes?
1678705 - Installation scenarios for a standalone ASCS instance
Config 6. Extra Large Multi-SID DBMS Cluster, Separate SCS Cluster
with SAP Multiple SAP Application Server on Physical Server or Virtual Machine
8 Socket Intel CPU 240 8 Socket Intel CPU 240 8 Socket Intel CPU 240
thread / 120 core thread / 120 core thread / 120 core Virtual Machine 1 Virtual Machine 2 Management Station Virtual
4TB RAM 8 NUMA Nodes 4TB RAM 8 NUMA Nodes 4TB RAM 8 NUMA Nodes 8 vCPU
32GB vRAM
8 vCPU
32GB vRAM Machine(s)
10Gigabit NIC – Server LAN 10Gigabit NIC – Server LAN 10Gigabit NIC – Server LAN Hostname = vmhost1 Hostname = vmhost1 1 vCPU
8GB vRAM
1Gigabit NIC – User LAN 1Gigabit NIC – User LAN 1Gigabit NIC – User LAN Central Services ECC Central Services BW Hostname = managevm1
vHostname = vHostname =
ECC DBMS Instance 1 BW DBMS Instance 4 SCM DBMS Instance 7 SAP System Number = 00 SAP System Number = 04
DBMS Max Memory = fixed DBMS Max Memory = fixed DBMS Max Memory = fixed
amount amount amount Central Services Solman Central Services EP
vHostname = vHostname =
SAP System Number = 01 ABAP/02 Java SAP System Number = 05
Solman DBMS Instance 2 EP DBMS Instance 5 BusObj DBMS Instance 8 Central Services CRM Central Services SRM
DBMS Max Memory = fixed DBMS Max Memory = fixed DBMS Max Memory = fixed vHostname = vHostname =
amount amount SAP System Number = 03 SAP System Number = 06
amount
2 Socket Intel Haswel lC PU32 thr ead / 16 core 2 Socket Intel Haswel lC PU32 thr ead/ 16 core 2 Socket Intel Haswel lC PU32 thr ead/ 16 core 2 Socket Intel Haswel lC PU 32 thr ead / 16 core
384GB RAM 2 NUM AN od es 384GB RAM 2 NUM AN od es 384GB RAM 2 NUM AN od es 384GB RAM 2 NUM AN od es
2 Socket Intel Haswell CPU 2 Socket Intel Haswell CPU 2 Socket Intel Haswell CPU 2 Socket Intel Haswell CPU 10Gi gab i t NIC – Ser v
1Gi gab
er LAN
i t NIC – User LAN
10Gi gab i t NIC – Ser v
1Gi gab
er LAN
i t NIC – User LAN
10Gi gab i t NIC – Ser v
1Gi gab
er LAN
i t NIC – User LAN
10Gi gab i t NIC – Ser v
1Gi gab
er LAN
i t NIC – User LAN
32 thread / 16 core 32 thread / 16 core 32 thread / 16 core 32 thread / 16 core ABA PI nstance 1
ECC AppS e r ver 1
SAP System Number 00
ABA PI nstance 1
ECC AppS e r ver 2
SAP System Number 00
ABA PI nstance 1
ECC AppS e r ver 3
SAP System Number 00
ABA PI nstance 1
ECC AppS e r ver 4
SAP System Number 00
PHYS_ME MSIZE = 32000 PHYS _ME MSIZE = 32000 PHYS_ME MSIZE = 32000 PHYS _ME MSIZE = 32000
384GB RAM 2 NUMA Nodes 384GB RAM 2 NUMA Nodes 384GB RAM 2 NUMA Nodes 384GB RAM 2 NUMA Nodes
10Gigabit NIC – Server LAN 10Gigabit NIC – Server LAN 10Gigabit NIC – Server LAN 10Gigabit NIC – Server LAN
ABA PI nstance 2 ABA PI nstance 2 ABA PI nstance 2 ABA PI nstance 2
ECC AppS e r ver 5 ECC AppS e r ver 6 ECC AppS e r ver 7 ECC AppS e r ver 8
SAP System Number 01 SAP System Number 01 SAP System Number 01 SAP System Number 01
PHYS_ME MSIZE = 32000 PHYS _ME MSIZE = 32000 PHYS_ME MSIZE = 32000 PHYS _ME MSIZE = 32000
1Gigabit NIC – User LAN 1Gigabit NIC – User LAN 1Gigabit NIC – User LAN 1Gigabit NIC – User LAN ABA PI nstance 3
BW App Server 1
SAP System Number 02
PHYS_ME MSIZE = 32000
ABA PI nstance 3
BW App Server 2
SAP System Number 02
PHYS _ME MSIZE = 32000
ABA PI nstance 3
BW App Server 3
SAP System Number 02
PHYS_ME MSIZE = 32000
ABA PI nstance 3
BW App Server 4
SAP System Number 02
PHYS _ME MSIZE = 32000
ABAP Instance 1 ABAP Instance 1 ABAP Instance 1 ABAP Instance 1 ABA PI nstance 4
CRM App Server 1
SAP System Number 03
PHYS_ME MSIZE = 32000
ABA PI nstance 4
CRM App Server 2
SAP System Number 03
PHYS _ME MSIZE = 32000
ABA PI nstance 4
CRM App Server 3
SAP System Number 03
PHYS_ME MSIZE = 32000
ABA PI nstance 4
CRM App Server 4
SAP System Number 03
PHYS _ME MSIZE = 32000
ECC App Server 1 ECC App Server 2 ECC App Server 3 ECC App Server 4
SAP System Number 00 SAP System Number 00 SAP System Number 00 SAP System Number 00 ABA PI nstance 5 ABA PI nstance 5 ABA PI nstance 5 ABA PI nstance 5
SRM App Server 1 SRM App Server 2 SRM App Server 3 SRM App Server 4
PHYS_MEMSIZE = 32000 PHYS_MEMSIZE = 32000 PHYS_MEMSIZE = 32000 PHYS_MEMSIZE = 32000 SAP System Number 04
PHYS_ME MSIZE = 32000
SAP System Number 04
PHYS _ME MSIZE = 32000
SAP System Number 04
PHYS_ME MSIZE = 32000
SAP System Number 04
PHYS _ME MSIZE = 32000
ABAP Instance 2 ABAP Instance 2 ABAP Instance 2 ABAP Instance 2 JavaI nstance 7
EP AppSer ver 1
JavaI nstance 7
EP AppSer ver 2
JavaI nstance 7
EP AppSer ver 3
JavaI nstance 7
EP AppSer ver 4
ECC App Server 5 ECC App Server 6 ECC App Server 7 ECC App Server 8
SAP System Number 06 SAP System Number 06 SAP System Number 06 SAP System Number 06
JVM Heap = 2048 JVM Heap = 2048 JVM Heap = 2048 JVM Heap = 2048
SAP System Number 01 SAP System Number 01 SAP System Number 01 SAP System Number 01
PHYS_MEMSIZE = 32000 PHYS_MEMSIZE = 32000 PHYS_MEMSIZE = 32000 PHYS_MEMSIZE = 32000 ABA PI nstance 8
SCM App Server 1
SAP System Number 07
PHYS_ME MSIZE = 32000
ABA PI nstance 8
SCM App Server 2
SAP System Number 07
PHYS _ME MSIZE = 32000
ABA PI nstance 8
SCM App Server 3
SAP System Number 07
PHYS_ME MSIZE = 32000
ABA PI nstance 8
SCM App Server 4
SAP System Number 07
PHYS _ME MSIZE = 32000
ABAP Instance 3 ABAP Instance 3 ABAP Instance 3 ABAP Instance 3 2 Socket Intel Haswel lC PU32 thr ead / 16 core
384GB RAM 2 NUM AN od
10Gi gab i t NIC – Ser v
1Gi gab
es
er LAN
i t NIC – User LAN
2 Socket Intel Haswel lC PU32 thr ead/ 16 core
384GB RAM 2 NUM AN od
10Gi gab i t NIC – Ser v
1Gi gab
es
er LAN
i t NIC – User LAN
2 Socket Intel Haswel lC PU32 thr ead/ 16 core
384GB RAM 2 NUM AN od
10Gi gab i t NIC – Ser v
1Gi gab
es
er LAN
i t NIC – User LAN
2 Socket Intel Haswel lC PU 32 thr ead / 16 core
384GB RAM 2 NUM AN od
10Gi gab i t NIC – Ser v
1Gi gab
es
er LAN
i t NIC – User LAN
SAP System Number 03 SAP System Number 03 SAP System Number 03 SAP System Number 03 PHYS_ME MSIZE = 32000 PHYS _ME MSIZE = 32000 PHYS_ME MSIZE = 32000 PHYS _ME MSIZE = 32000
SRM App Server 1 SRM App Server 2 SRM App Server 3 SRM App Server 4 ABA PI nstance 6 ABA PI nstance 6 ABA PI nstance 6 ABA PI nstance 6
SAP System Number 04 SAP System Number 04 SAP System Number 04 SAP System Number 04 Solm anApp Server 1
SAP System Number 05
PHYS_ME MSIZE = 32000
JVM Heap = 2048
Solm anApp Server 2
SAP System Number 05
PHYS _ME MSIZE = 32000
JVM Heap = 2048
BI JAVA AppSer ver1
SAP System Number 05
JVM Heap = 2048
BI JAVA AppSer ver 2
SAP System Number 05
PHYS _ME MSIZE = 32000
JVM Heap = 2048
ABAP Instance 6 ABAP Instance 6 ABAP Instance 6 ABAP Instance 6 SCM App Server 1
SAP System Number 07
PHYS_ME MSIZE = 32000
SCM App Server 2
SAP System Number 07
PHYS _ME MSIZE = 32000
SCM App Server 3
SAP System Number 07
PHYS_ME MSIZE = 32000
SCM App Server 4
SAP System Number 07
PHYS _ME MSIZE = 32000
Solman App Server 1 Solman App Server 2 BI JAVA App Server 1 BI JAVA App Server 2
SAP System Number 05 SAP System Number 05 SAP System Number 05 SAP System Number 05
PHYS_MEMSIZE = 32000 PHYS_MEMSIZE = 32000 JVM Heap = 2048 PHYS_MEMSIZE = 32000
JVM Heap = 2048 JVM Heap = 2048 JVM Heap = 2048
8 socket servers running in 3 tier configuration can deliver >1,000,000 SAPS for a single SAP component. SAP customers with more than 20 application servers
have demonstrated near linear scaling with the addition of application servers.
Approximately 20% or less of the SAPS of a system are consumed by the database and more than 80% can be scaled out on the application server layer.
Therefore a 1:4 or 1:5 or greater ratio between DB and application server resources is normal for large systems.
Experience from real customer deployments has shown capacity can be scaled very effectively by adding application servers.
The bottleneck is typically not the DBMS server hardware.
10 Gigabit network and a separate dedicated internal SAP application server <-> DBMS network is mandatory for such systems.
Real customer deployments of very large systems with > 25,000,000 dialog steps per day are sometimes constrained by locking/blocking on critical tables such as
NRIV. Application logic and/or business processes must be changed to alleviate such issues. The addition of hardware resources will show little or no benefit
Cluster Configuration:
ASCS in 2 node cluster running on two small VMs. The ASCS and ERS consume very little CPU, memory, network and IO.
Most DBMS software can run on more than 2 nodes. Example: Windows 2012 & SQL Server 2012 supports 64 nodes
Multi-SID clusters generally require the use of mount points otherwise there will be insufficient drive letters.
Notes 1634991 - How to install an ASCS or SCS instance on more than 2 cluster nodes
1678705 - Installation scenarios for a standalone ASCS instance
Network Configuration
HEARTBEAT HEARTBEAT
Review this blog: How to Setup a Dedicated SAP Application Server to DB Server Network