Collaborate07kmohiuddin
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Collaborate07kmohiuddin

  • 809 views
Uploaded on

Khader Mohiuddin's presentation at IOUG COLLABORATE 2007 at Mandalay Bay, Las Vegas, Nevada

Khader Mohiuddin's presentation at IOUG COLLABORATE 2007 at Mandalay Bay, Las Vegas, Nevada

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
809
On Slideshare
803
From Embeds
6
Number of Embeds
1

Actions

Shares
Downloads
4
Comments
0
Likes
0

Embeds 6

http://www.linkedin.com 6

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Optimizing Oracle-Siebel Applications for the Sun™ Solaris 10 UltraSPARC T1 Platform
      • Khader Mohiuddin
      • Technical Product Manager
      • Oracle-Sun Alliance
      • Sun Microsystems Inc.,
  • 2. Agenda
    • Sun-Oracle Alliance
    • Siebel Architecture Suitability for T1
    • Oracle suitability for T1
    • What is T1
    • Performance benchmarks
    • Optimizations
    • Resources
    • Q&A
  • 3. Sun and Oracle: Two Decades of Visionary Alignment 1980 Oracle Project Fusion apps to be Java-based Oracle selects Solaris 10 as its preferred 64-bit App Development Environment New Oracle pricing structure for multi-core based systems Sun's X64 Enterprise Systems Network File System (NFS) 1980 Sun Work Station First SPARC Server Oracle 5.0 and 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 9i with J2EE Oracle eBus Suite Cert. Configs on Sun Oracle 9i RAC Certified Configs 1985 1990 1995 2000 2002 2004 Solaris on x86 Oracle on AMD 64/ Solaris x86 Liberty Alliance Project Oracle 10g 2006 Sun StorageTek Sun x64 Servers Sun UltraSPARC T1 Processor and Servers Oracle reduces multi-core pricing 2005 2003
  • 4. 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
  • 5. 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
  • 6. 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 .
  • 7. The Sun Server Family Horizontal Scaling Vertical Scaling Diagonal Scaling Sun Fire™ Servers with UltraSPARC® Processors Sun Fire Servers with UltraSPARC or AMD Opteron™ Processors Sun Fire Servers with UltraSPARC T1 or AMD Opteron Processors
  • 8. The Right Platform for the Right Workload High Throughput, More Multithreaded More Data More Network High Frequency, Clock Speed Sun Servers with UltraSPARC Processors Sun Servers with AMD Opteron Processors Sun Servers with UltraSPARC T1 Processors
  • 9. Multi-Channel Optimized Architecture Siebel Repository EAI Siebel Application Server Business Logic Layer and Core Service Data Layer Services User Interface Services Siebel Teller Applications Multiple Client Device Support Local DB Siebel Mobile Applications Siebel Portal Framework Federated Data Sources Development Environment Siebel Tools SAP Oracle PSFT Legacy JD Edwards OLTP UAN Sync Siebel Business Analytics Server Data Access Services - BI Modeling & Calculation Services - BI Presentation Services - BI ETL Relationship Management / Customer Enterprise Warehouse 3 rd Party Open Integration ETL Web Server Siebel Universal Customer Master OLTP Siebel On Premise Applications Bus. Process
  • 10. Siebel-Oracle Logical view
  • 11. 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
  • 12. 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
  • 13.  
  • 14.  
  • 15. Siebel Performance on Sun's UltraSPARC T1 Processor
  • 16. UltraSPARC T1 at a Glance
    • Solaris presents each of the hardware strands as a processor ie 32 “cpus”
    • UltraSPARC T1 only supported on Solaris 10
    • UltraSPARC T1 is fully Sparc v7, v8 and v9 binary compatible
    • Each 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
  • 17. Single Threading Single Threaded Performance
      • Thread
    Memory Latency Compute
      • Time
      • C
      • C
      • C
    Typical Processor Utilization:15–25%
      • M
      • M
      • M
    Up to 85% Cycles Waiting for Memory HURRY UP AND WAIT!
  • 18. The Power of CMT Single Threaded Performance Chip Multi-threaded (CMT) Performance Niagara Processor Utilization: Up to 85%
      • C
      • M
      • C
      • M
      • C
      • M
      • Thread 1
    Memory Latency Compute
      • Time
      • C
      • M
      • C
      • M
      • C
      • M
      • C
      • M
      • C
      • M
      • C
      • M
      • C
      • M
      • C
      • M
      • C
      • M
      • Thread 2
      • Thread 3
      • Thread 4
  • 19.
    • Introducing Niagara
    • SPARC V9 implementation
    • Up to eight 4-way multi- threaded cores for up to 32 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 C8 C7 C6 C5 C4 C3 C2 C1 L2$ L2$ L2$ L2$ Xbar DDR-2 SDRAM DDR-2 SDRAM DDR-2 SDRAM DDR-2 SDRAM FPU Sys I/F Buffer Switch Core
  • 20. Siebel Server Process Tuning (Cont)
    • Appearance of Siebel Server processes on Solaris 10
    • PID 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
  • 21. 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
  • 22. Performance Tuning Process
  • 23. 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
    • 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
    • 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=&quot;&quot;
    • db_name=oramst
  • 24. 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 >
  • 25. 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.
    3.72GB
  • 26. Solaris Tuning Example: MTmalloc
    • Effect of MTmalloc on CPU/mem use (V440, V890, E2900).
    • CPU benefit follows increase in concurrency .
  • 27. 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.
  • 28. 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.
  • 29. 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.
  • 30. Storage Tuning Example: Zone Bit Recording
  • 31. 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 StorEdge  FC 3510 Storage Array with 4 trays of 12 @15k rpm 73 GB disks.
  • 32. Performance Tuning Resources
    • Sun - Whitepaper -Title : Optimizing Oracle-Siebel Applications for the Sun™ Platform, http://developers.sun.com/solaris/articles/perf_tune_siebel_sun.html
      • http://www.sun.com/third-party/global/oracle
      • Sun-Siebel Competency Center
        • Send sizing request to: [email_address]
      • Contact: soatc@sun.com
        • 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
  • 33. Oracle's Siebel benchmarks on Sun platform URL
    • http://www.oracle.com/applications/crm/siebel/resources/siebel-resource-library.html
      • Siebel-Sun Performance Benchmark Detailed Report - 8,000 Users <http://www.oracle.com/apps_benchmark/doc/sun-siebel-8000-benchmark-white-paper.pdf> (PDF)  -  Solaris 10 and T2000,Siebel 7.7.2, Oracle 9i on V890+
      • Siebel-Sun Performance Benchmark Detailed Report - 12,500 Users <http://www.oracle.com/apps_benchmark/doc/sun-siebel-12500_benchmark-white-paper.pdf> (PDF) - Solaris 10, T2000, Siebel 7.7.2, Oracle 9i on E2900
      • Siebel-Sun Performance Benchmark Detailed Report - 10,000 Users <http://www.oracle.com/apps_benchmark/doc/sun-siebel-10000-benchmark-white-paper.pdf> (PDF) - Solaris 9, Siebel 7.5
  • 34. 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
  • 35. SPARC System Roadmap Today Rock Note: Roadmap reflects estimated system delivery dates Data Centric APL Network Centric UltraSPARC T1 Niagara 2 UltraSPARC III UltraSPARC IV UltraSPARC IV+ UltraSPARC IIIi+ UltraSPARC IIIi
  • 36. Standard Configurations and Pricing
    • 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 - $7,795
    • 6 core 1.0GHz, 8GB, 2x73 GB - $9,895
    • 8 core 1.0GHz, 8GB, 2x73 GB -$12,395
    • 8 core 1.0GHz, 16GB, 2x73 GB -$15,995
    • 8 core 1.2GHz, 32GB, 2x73 GB -$25,995
    Sun Fire T2000 Sun Fire T1000
      • $2,995
      • $4,995
      • $6,,995
      • $10,995
  • 37. Q &A
  • 38. Backup slides
    • To be used time permitting, based on Questions from audience
  • 39. Sun Oracle 10g Grid Reference Architecture
    • A high performance, highly available database infrastructure in a cost-effective grid environment
    Management Server Database Servers Storage Application Servers Terminal Console
  • 40. 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
  • 41.
    • 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
  • 42. 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
  • 43. 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
  • 44. 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