orcl siebel sun s282213 oow2006
DESCRIPTION
Khader Mohiuddin's presentation at Oracle Open World 2006 Moscone Center San Francisco, CA.TRANSCRIPT
Sun Proprietary/Confidential: Internal Use Only
Khader MohiuddinTechnical Product ManagerOracle-Sun AllianceSun Microsystems Inc.,
Optimizing Oracle/Siebel Apps for the Sun Microsystems CMT platform
Sun Proprietary/Confidential: Internal Use Only
Agenda
• Sun-Oracle Alliance• Siebel Architecture Suitability for T1• Oracle suitability for T1• What is T1• Performance benchmarks• Optimizations• Resources• Q&A
Sun Proprietary/Confidential: Internal Use Only
1980
Network FileSystem (NFS)
1980
SunWork Station
First SPARC Server
Oracle 5.0and 5.1 for Client/Server
Oracle Massively Parallel Processing (MPP)
Oracle Java Development Tools
Oracle Internet-Centric Business Vision; Business Components for Java
Oracle 8i with JVM
Oracle 9iwith J2EE
Oracle eBusSuite Cert. Configs on Sun
Oracle 9iRAC Certified Configs
1985 1990 1995 2000 2002 2004
Solarison x86
Oracle onAMD 64/Solaris x86
Liberty Alliance
Project
Oracle 10g
2006
Sun StorageTekSun x64 ServersSun UltraSPARC T1 Processor and Servers
Oracle reducesmulti-core pricing
20052003
Oracle Project Fusion apps tobe Java-based
Oracle selects Solaris 10 asits preferred64-bit App Development Environment
New Oracle pricing structure for multi-core based systems
Sun and Oracle: Two Decades of Visionary Alignment
Sun's X64Enterprise Systems
Sun Proprietary/Confidential: Internal Use Only
Today’s IT Challenges
• Provide a greater variety of services• Deploy reliable, high performance
database solutions• Use fewer resources• Stay within constrained capital and
expense budgets
Sun Proprietary/Confidential: Internal Use Only
Solaris10 for Siebel/Oracle
• Consolidate several servers into few Sun Fire T2000's• Consolidate multiple Siebel Enterprises into a single
Enterprise.• Improve availability and scalability of the setup• Deployment flexibility and higher utilization – since Siebel
and Oracle are certified with Solaris 10 Containers• UltraSPARC IV+ 1.8ghz provides the power required for
backend Oracle db
Sun Proprietary/Confidential: Internal Use Only
Siebel Architecture best fit for Sun Fire T2000 (Niagara)
• Siebel CRM application is a multi-threaded, multi-process and multi-instance commercial application.
• Sun's New processor UltraSPARC T1 can run upto 32 threads in parallel with improved memory capabilities
• Siebel's highly threaded architecture scales very well, taking advantage of these characteristics of the chip.
Sun Proprietary/Confidential: Internal Use Only
The Sun Server Family
Horizontal Scaling
Vertical Scaling
Diagonal ScalingSun Fire™ Servers with
UltraSPARC® Processors
Sun Fire Servers with UltraSPARC or AMD Opteron™ Processors
Sun Fire Servers with UltraSPARC T1 or AMD Opteron Processors
Sun Proprietary/Confidential: Internal Use Only
The Right Platform for the Right Workload
High Throughput, More Multithreaded
More Data More Network
High Frequency, Clock Speed
Sun Servers withUltraSPARCProcessors
Sun Servers withAMD OpteronProcessors
Sun Servers withUltraSPARC T1
Processors
Sun Proprietary/Confidential: Internal Use Only
Multi-Channel Optimized Architecture
Siebel Siebel RepositoReposito
ryry
EAIEAI
Siebel Application ServerSiebel Application Server
Business Logic Business Logic Layer and Core Layer and Core ServiceService
Data Layer ServicesData Layer Services
User Interface ServicesUser Interface Services
Siebel Teller
Applications
Multiple Client Device Support
Local DBLocal DB
Siebel Mobile
Applications
Siebel Portal
Framework
Federated Data SourcesFederated Data Sources
DevelopmentEnvironment
Siebel Tools
SAPSAP OracleOracle PSFTPSFT
LegacyLegacyJDJDEdwardsEdwards
OLTPOLTP
UAN
Syn c
Siebel Business Siebel Business Analytics ServerAnalytics Server
Data Data Access Access Services - Services - BIBI
Modeling Modeling & & CalculatioCalculation Services n Services - BI- BI
PresentatiPresentation on Services - Services - BIBI
ETL ETL RelationshipRelationshipManagementManagement/ Customer / Customer Enterprise Enterprise WarehouseWarehouse
3rd Party Open
Integration
ETL ETL
Web ServerWeb Server
Siebel Siebel Universal Universal Customer Customer MasterMasterOLTPOLTP
Siebel On Premise Applications
Bus. ProcessBus. Process
Sun Proprietary/Confidential: Internal Use Only
Siebel-Oracle Logical view
Sun Proprietary/Confidential: Internal Use Only
Topolo gy Diagram for 8000 Oracle -Siebel Users
Loadrunner Generators SF V65x /V40z
Web servers SF V240
Siebel Gateway SF V24 0
Siebel App servers
SF E2900
SF V490
SF V890 Panther
SF T 2000 Niagara
Sun StorEdge SE 3510
SF V440
Database Servers
Sun Proprietary/Confidential: Internal Use Only
Topology Diagram for 12,500 concur rent Siebel users
Loadrunner Generators SF V65x /V40z
Web servers SF V240
Siebel Gateway SF V240 Siebel App servers Oracle DB server
SF 890 (Panther)
SF E2900
SF V490
SF E2900
SF T2000 Niagara
Sun StorEdge SE 3510
SF V440
Sun Proprietary/Confidential: Internal Use Only
Siebel 12,500 user benchmark
17502150
45004100
25672103
58925670
0
500
1000
1500
2000
2500
3000
3500
4000
4500
5000
5500
6000
6500
v490 T2000 v890+ E2900
Server Type
#Vus
ers
Total vusers from benchmark Projected vusers at 100% load
Sun Proprietary/Confidential: Internal Use Only
$36.04
$10.52
$20.19
$48.14
0
10
20
30
40
50
$$
Server Type
Siebel 12,500 user benchmark$$/User
$$/User
$$/User 36.04 10.52 20.19 48.14
v490 T2000 v890+ E2900
Sun Proprietary/Confidential: Internal Use Only
Siebel Performance on Sun's UltraSPARC T1 Processor
Server # CPUs # Users Price $ / User
Sun Fire E2900 (US-IV) 12 5670 $272,999.00 $48.15
Sun Fire T2000 (US-T1) 1 2567 $27,010.00 $10.52
Pure Performance 2.2 : 1
Price / Performance 4.6: 1
Sun Proprietary/Confidential: Internal Use Only
UltraSPARC T1 at a Glance
Solaris presents each of the hardware strands as a processor ie 32 “cpus”
UltraSPARC T1 only supported on Solaris 10UltraSPARC T1 is fully Sparc v7, v8 and v9 binary compatibleEach cycle a different hardware strand scheduled on the pipeline in round robin order. Stalled strands are switched out and slot on the pipeline given to the next strand automatically.No coherency, SMP UltraSPARC T1 not possible
Single Threaded Performance
Single Threading
Thread
Memory Latency Compute
Time
HURRYUP ANDWAIT!
C C C
Typical Processor Utilization:15–25%
M M M
Up to 85% Cycles Waiting for Memory
Single Threaded Performance Chip Multi-threaded
(CMT) Performance
The Power of CMT
Niagara Processor Utilization: Up to 85%
C MC MC MThread 1
Memory Latency ComputeTime
C MC MC M
C MC MC M
C MC MC M
Thread 2
Thread 3
Thread 4
• SPARC V9 implementation
• Up to eight 4-way multi-threaded cores for up to32 simultaneous threads
• All cores connected through a 134.4GB/s crossbar switch
• High-bandwidth 12-way associative 3MB Level-2 cache on chip
• 4 DDR2 channels (23GB/s)
• Power : < 80W !
• ~300M transistors
• 378 sq. mm die 1 of 8 Cores BUS
C8C7C6C5C4C3C2C1
L2$L2$L2$L2$
Xbar
DDR-2SDRAM
DDR-2SDRAM
DDR-2SDRAM
DDR-2SDRAM
FPU
Introducing Niagara
Sys I/FBuffer Switch
Core
Sun Proprietary/Confidential: Internal Use Only
Siebel Server Process Tuning (Cont)•Appearance of Siebel Server processes on Solaris 10PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
1880 pspp 504M 298M cpu14 28 0 0:00.00 10% siebmtshmw/69
1868 pspp 461M 125M sleep 58 0 0:00.00 2.5% siebmtshmw/61
1227 pspp 687M 516M cpu3 22 0 0:00.03 1.6% siebmtshmw/62
1751 pspp 630M 447M sleep 59 0 0:00.01 1.5% siebmtshmw/59
1789 pspp 594M 410M sleep 38 0 0:00.02 1.4% siebmtshmw/60
1246 pspp 681M 509M cpu20 38 0 0:00.03 1.2% siebmtshmw/62
Sun Proprietary/Confidential: Internal Use Only
Takeaways of Application Testing
•Applications that already scale well on SMP are taking good advantage of Niagara>Oracle, Siebel, DB2, Sybase ASE, Lotus, SAP, BEA Weblogic, Reuters Kondor+, SunGaurd Xamin.
•Recompilation is not needed>All our tests have used existing binaries
•May need higher thread/process count to achieve same throughput than US-IV•Small, shared caches have not been an issue
>Processor is doing a good job at masking memory latencies
Sun Proprietary/Confidential: Internal Use Only
Performance Tuning Process
Sun Proprietary/Confidential: Internal Use Only
A ‘Few’ Tune-ables• Siebel tunables:• max tasks• min mt servers• max mt servers• mw_gma_vaddr MainWin
Address Space tunable• anonuserpool• OSD_LATCH• OSD_NLATCH• sessiontimeout• DSrequestserver• flushfreq• Sun Java Web Server tunables:• rqthrottle• listenq• maxkeepaliveconnections• keepalivetimeout• connqueuesize• keepalivequerymeantime• Oracle DB tunables:• db_block_size=8192• db_cache_size=3048576000
Sun Storage tunables: blocksize=64k cache=auto mirror=auto mp_support=none naca=off-rd_ahead=off recon_rate=med
Solaris tunables: set shmsys:
shminfo_shmmax=0xffffffffffffffff shminfo_shmseg=200 shminfo_shmmin=100 seminfo_semmni=4096 seminfo_semmns=12092 seminfo_semmnu=4096 seminfo_semume=2500 seminfo_semopm=100 seminfo_semmsl=500 seminfo_semmap=4096 msginfo_msgmax=16384 msginfo_msgmnb=16384 msginfo_msgmni=2200 msginfo_msgtql=2500 msginfo_msgssz=64 msginfo_msgseg=32767
cfgsharedmodeusersdir siebel_filesystem preloadsrf=true maxshareddbconns minshareddbconns mintrxshareddbconns maxtrxshareddbconns EAI-HTTP_drivercount ClientAdmin FSMsrvr
tcp_conn_req_max_queue rlim_fd_max rlim_fd_cur sq_max_size tcp_conn_hash_size
db_domain="" db_name=oramst
sys memsize=256MB cache memsize=1024MB fc_topology=auto fc_speed=2Gb disk_scrubber=off ondg=befit
* set rlim_fd_cur = 8192 * set rlim_fd_max = 819 set rlim_fd_cur=32768 set rlim_fd_max=32768 * for resonate gbic set ip:dohwcksum=0
Sun Proprietary/Confidential: Internal Use Only
Siebel Servers Tuning•The ratio of threads or users/process is configured using the Siebel parameters:
>MinMTServers, MaxMTServers, Maxtasks•Optimal users/OM ratios for Siebel 7.7 on Solaris 10.
● FINS – 110 users/OM● eChannel – 100 users/OM
●Caution : Setting a very high users/OM value may cause problems.
●Improve performance by disabling mprotect()●change param MemProtection=false for comp <component_name>
Sun Proprietary/Confidential: Internal Use Only
Siebel Application Tuning Example: Stack Size•Graph showing the effect of process stack size on total process size. Varies with workload carried by the process.
64KB 1MB UnlimitedStack size
Pro
cess
siz
e
3.72GB
Sun Proprietary/Confidential: Internal Use Only
Solaris Tuning Example: MTmalloc
•Effect of MTmalloc on CPU/mem use (V440, V890, E2900). •CPU benefit follows increase in concurrency.
4 8 12
0
0.2790.348
0.51
0.891.03
CPUMemory
# CPUs
% C
ost
/ B
en
efit
Sun Proprietary/Confidential: Internal Use Only
Run 14% more Siebel on Solaris
• Multiple Page Size Support - A standard feature available in Solaris 9 onwards gives applications the ability to run with more than one page size on the same OS.
• Improves application performance by reducing page faults (dtlb misses)
• Reduce CPU utilization by 14%• Default pagesize is 8KB for heap and stack on Solaris, set this to
4MB• MPSS helps Oracle performance as well.
Sun Proprietary/Confidential: Internal Use Only
Tuning Siebel Database (Oracle)
•Follow the 'SAME' methodology for disk config and oracle datafiles placement.•Take advantage of performance features available in storage systems.•Separate out Indices from Data, keep objects with same extent sizes in the same tablespace – this reduces disk fragmentation.•Use locally managed tablespaces instead of traditional (dictionary managed).•Use system managed undo instead of traditional rollback segments.
Sun Proprietary/Confidential: Internal Use Only
Tuning Siebel Database(Oracle)•Use Siebel connection multiplexing feature.•Tune long running queries and get back CPU.•Use CBO – supported with Oracle-Siebel applications.•Size SGA and tune init.ora parameters based on individual load characteristics.
Sun Proprietary/Confidential: Internal Use Only
Storage Tuning Example: Zone Bit Recording
86 MB/second
57 MB/second
Sun Proprietary/Confidential: Internal Use Only
US-IV+ provides exceptional Oracle Database Performance
• With 8000 concurrent users and batch load of EAI Http adapter the database server averaged 29% cpu utilization
• 1 x Sun Fire V890 Plus> 8 x 1.5 Ghz UltraSPARC IV+ , 32 GB RAM> Solaris 10,Oracle EE 9.2.0.6 - 64bit> Sun StorEdgeFC 3510 Storage Array with 4 trays of 12 @15k
rpm 73 GB disks.
Sun Proprietary/Confidential: Internal Use Only
Performance Tuning Resources
•Sun
•Whitepaper -Title : Optimizing Oracle-Siebel Applications for the Sun™ Platform• http://www.sun.com/third-party/global/oracle> Sun-Siebel Competency Center
> Send sizing request to: [email protected]•Contact: [email protected]
>On Sun-Partner Website http://partner.sun.com/soatc>On Oracle Internal website http://soatc.us.oracle.com> Sun Client Services (formerly Sun PS)
•Siebel-Oracle> Siebel Expert Services>Siebel Support Web and Documentation
Sun Proprietary/Confidential: Internal Use Only
Solaris Tools for Performance Tuning & Diagnosis
•DTrace ( Solaris 10 onwards)- Hotsos profiler, appworx•pmap•plimit - get size of running process•trapstat•truss•performance analyzer – memory leak detection•prstat
SPARC System RoadmapToday Rock
Note: Roadmap reflects estimated system delivery dates
DataCentric APL
NetworkCentric
UltraSPARC T1 Niagara 2
UltraSPARC III UltraSPARC IV UltraSPARC IV+
UltraSPARC IIIi+UltraSPARC IIIi
Standard Configurations and Pricing
Sun Fire T2000Sun Fire T1000
•6core 1.0GHz, 2GB
•6core 1.0GHz, 8GB, 1x80GB
•8core 1.0GHz, 8GB, 1x80GB
•8core 1.0GHz, 16GB, 1x80GB
•4 core 1.0GHz, 8GB, 2x73 GB
•6 core 1.0GHz, 8GB, 2x73 GB
•8 core 1.0GHz, 8GB, 2x73 GB
•8 core 1.0GHz, 16GB, 2x73 GB
•8 core 1.2GHz, 32GB, 2x73 GB
$7,795
$9,895
$12,395
$15,995
$25,995
$2,995
$4,995
$6,,995
$10,995
Sun Proprietary/Confidential: Internal Use Only
Global Users. Global Solutions.Global Users. Global Solutions.
Oracle Applications Users GroupOracle Applications Users Group(OAUG)(OAUG)
• THE users group for all Oracle E-Business Suite, PeopleSoft, THE users group for all Oracle E-Business Suite, PeopleSoft, Siebel, Oracle Retail and Portal Software customersSiebel, Oracle Retail and Portal Software customers
• Networking opportunities with over 100,000 members worldwideNetworking opportunities with over 100,000 members worldwide
• Over 20,000 available white papers in the online OAUG Over 20,000 available white papers in the online OAUG Conference Paper DatabaseConference Paper Database
• FREE online training every Tuesday for OAUG membersFREE online training every Tuesday for OAUG members
• Introductory FREE Web membership – sign up during Oracle Introductory FREE Web membership – sign up during Oracle OpenWorld in the Oracle Users Group PavilionOpenWorld in the Oracle Users Group Pavilion
• Learn more about the OAUG in the Oracle Users Group Pavilion, Learn more about the OAUG in the Oracle Users Group Pavilion, Moscone West, Lobby Level 2Moscone West, Lobby Level 2
Sun Proprietary/Confidential: Internal Use Only
Backup slides
• To be used time permitting, based on Questions from audience
Sun Proprietary/Confidential: Internal Use Only
Sun Oracle 10g Grid Reference Architecture
A high performance, highly available databaseinfrastructure in a cost-effective grid environment
Management Server
Database Servers
Storage
Application Servers
Terminal Console
Sun Proprietary/Confidential: Internal Use Only
Components from Sun and Oracle
• Sun servers• Solaris™ 10 Operating System• Sun StorageTek™ 3510 Fibre Channel Array• Oracle Real Application Clusters 10g• Sun Cluster Advanced Edition
for Oracle RAC• InfiniBand switching technology• Management software
Sun Proprietary/Confidential: Internal Use Only
• Scale from blades, to low cost servers, to large-way, massively scalable SMP systems
• Multiple design points address specific application needs• Support industrial strength computing workloads• Provide a balance of:
> Performance> Scalability> Reliability> Cost> Power consumption
Sun Fire Servers with UltraSPARC Technology
Sun Proprietary/Confidential: Internal Use Only
Sun Fire Servers with CoolThreads™ Technology
• Designed for Web, application tier, and multithreaded workloads
• Utilize an innovative design• Deliver breakthrough performance• Provide massive thread-level parallelism• Increase application throughput• Offer dramatic space and power efficiency
Sun Proprietary/Confidential: Internal Use Only
Sun Fire x64 Servers
• Scale from very low cost single rackmount servers to integrated solutions
• Feature up to 16 single- or dual-core Next-Generation AMD Opteron processors
• Bring extreme performance and a new level of energy efficiency to the x86 market
• Support the Solaris OS, Linux, Windows, VMware
Sun Proprietary/Confidential: Internal Use Only
Solaris 10 Operating System
• Offers over 600 exciting new features• Supports horizontal or vertical scaling• Provides relentless availability• Delivers extreme performance• Provides unparalleled security• Offers interoperability with Linux, Windows• Facilitates leveraging of low cost hardware• Enables standardization on a single OS