collaborate 07 km oh iud d in

Upload: khader-mohiuddin

Post on 30-May-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    1/44

    Optimizing Oracle-Siebel

    Applications for the Sun

    Solaris 10 UltraSPARC T1

    Platform

    Khader MohiuddinTechnical Product Manager

    Oracle-Sun Alliance

    Sun Microsystems Inc.,

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    2/44

    Agenda

    Sun-Oracle Alliance

    Siebel Architecture Suitability for T1

    Oracle suitability for T1

    What is T1

    Performance benchmarks

    Optimizations Resources

    Q&A

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    3/44

    1980

    NetworkFileSystem(NFS)

    1980

    SunWorkStation

    First SPARCServer

    Oracle 5.0and 5.1 forClient/Server

    OracleMassivelyParallelProcessing (MPP)

    OracleJavaDevelopment Tools

    OracleInternet-CentricBusinessVision;BusinessComponents for

    Java

    Oracle8i with

    JVM

    Oracle 9iwith J2EE

    Oracle eBusSuite Cert.Configs onSun

    Oracle 9iRACCertifiedConfigs

    1985 1990 1995 2000 2002 2004

    Solarison x86

    Oracle onAMD 64/Solarisx86

    Liberty

    Alliance

    Project

    Oracle10g

    2006

    Sun StorageTek

    Sun x64Servers

    Sun UltraSPARCT1 Processor

    and Servers

    Oraclereducesmulti-core

    pricing

    20052003

    OracleProjectFusion appstobe Java-based

    OracleselectsSolaris 10 asits preferred64-bit AppDevelopmentEnvironment

    New Oraclepricingstructurefor multi-

    Sun and Oracle: Two Decades of VisionaryAlignment

    Sun's X64Enterprise

    Systems

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    4/44

    Todays IT Challenges

    Provide a greater variety of services

    Deploy reliable, high performance

    database solutions

    Use fewer resources

    Stay within constrained capital and

    expense budgets

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    5/44

    Solaris10 for Siebel/Oracle

    Consolidate several servers into few Sun Fire T2000's

    Consolidate multiple Siebel Enterprises into a singleEnterprise.

    Improve availability and scalability of the setup

    Deployment flexibility and higher utilization since Siebeland Oracle are certified with Solaris 10 Containers

    UltraSPARC IV+ 1.8ghz provides the power required for

    backend Oracle db

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    6/44

    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.

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    7/44

    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/14/2019 Collaborate 07 Km Oh Iud d In

    8/44

    The Right Platform for theRight Workload

    High Throughput, More Multithreaded

    More Data More Network

    High Frequency, Clock Speed

    Sun Servers with

    UltraSPARC

    Processors

    Sun Servers with

    AMD OpteronProcessors

    Sun Servers withUltraSPARC T1

    Processors

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    9/44

    Multi-Channel Optimized

    Architecture

    SiebelSiebel

    RepositoryRepository

    EAIEAI

    Siebel Application ServerSiebel Application Server

    Business Logic LayerBusiness Logic Layer

    and Core Serviceand Core Service

    Data Layer ServicesData Layer Services

    User Interface ServicesUser Interface Services

    SiebelTeller

    Applications

    Multiple Client Device Support

    Local DBLocal DB

    SiebelMobile

    Applications

    SiebelPortal

    Framework

    Federated Data SourcesFederated Data Sources

    DevelopmentEnvironment

    Siebel Tools

    SAPSAP OracleOracle PSFTPSFT

    LegacyLegacyJDJD

    EdwardsEdwards

    OLTPOLTP

    UAN

    Sync

    Siebel BusinessSiebel BusinessAnalytics ServerAnalytics Server

    Data AccessData AccessServices - BIServices - BI

    Modeling &Modeling &

    CalculationCalculation

    Services - BIServices - BI

    PresentatioPresentatio

    n Services -n Services -

    BIBI

    ETLETL

    RelationshipRelationship

    ManagementManagement

    / Customer/ Customer

    EnterpriseEnterprise

    WarehouseWarehouse

    3rd Party OpenIntegration

    ETLETL

    Web ServerWeb Server

    SiebelSiebel

    UniversalUniversal

    CustomerCustomer

    MasterMasterOLTPOLTP

    Siebel On Premise Applications

    Bus. ProcessBus. Process

    http://www.microsoft.com/nethttp://java.sun.com/
  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    10/44

    Siebel-Oracle Logical view

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    11/44

    Topology Diagram for 8000 Oracle -Siebel Users

    LoadrunnerGeneratorsSF V65x /V40z

    Web serversSF V240

    Siebel GatewaySF V24 0

    Siebel App servers

    SF E2900

    SF V490

    SF V890 Panther

    SF T 2000Niagara

    Sun StorEdgeSE 3510

    SF V440

    Database Servers

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    12/44

    Topology Diagram for 12,500 concur rent Siebel users

    LoadrunnerGenerators SF V65x /V40z

    Web serversSF V240

    Siebel GatewaySF V240 Siebel App servers Oracle DB server

    SF 890 (Panther)

    SF E2900

    SF V490

    SF E2900

    SF T2000 Niagara

    Sun StorEdgeSE 3510

    SF V440

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    13/44

    Siebel 12,500 user benchmark

    1750

    2150

    4500

    4100

    2567

    2103

    5892

    5670

    0

    500

    1000

    1500

    2000

    2500

    3000

    3500

    4000

    4500

    5000

    5500

    6000

    6500

    v490 T2000 v890+ E2900

    Server Type

    #Vusers

    Total vusers from benchmark Projected vusers at 100% load

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    14/44

    $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

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    15/44

    Siebel Performance on Sun's UltraSPARC T1Processor

    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

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    16/44

    UltraSPARC T1 at a Glance

    Solaris presents each of the hardware strands asa processor ie 32 cpus

    UltraSPARC T1 only supported on Solaris 10

    UltraSPARC T1 is fully Sparc v7, v8 and v9binary compatible

    Each cycle a different hardware strandscheduled on the pipeline in round robin order.Stalled strands are switched out and slot on thepipeline given to the next strand automatically.

    No coherency, SMP UltraSPARC T1 not possible

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    17/44

    Single ThreadedPerformance

    Single

    Threading

    Thread

    Memory Latency Compute Time

    HURRYUP ANDWAIT!

    TypicalProcessor

    Utilization:1525%

    Up to 85% Cycles Waiting for Memory

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    18/44

    Single ThreadedPerformance

    Chip Multi-threaded

    (CMT) Performance

    The Power of CMT

    NiagaraProcessor

    Utilization: Up to

    85%

    C MC MC MThread1

    Memory Latency ComputeTime

    C MC MC M

    C MC MC M

    C MC MC M

    Thread2

    Thread3

    Thread4

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    19/44

    SPARC V9implementation

    Up to eight 4-way

    multi-threaded cores for upto32 simultaneousthreads

    All cores connected

    through a 134.4GB/scrossbar switch

    High-bandwidth 12-way associative 3MBLevel-2 cache on chip

    4 DDR2 channels(23GB/s)

    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

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    20/44

    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/621751 pspp 630M 447M sleep 59 0 0:00.01 1.5% siebmtshmw/591789 pspp 594M 410M sleep 38 0 0:00.02 1.4% siebmtshmw/601246 pspp 681M 509M cpu20 38 0 0:00.03 1.2% siebmtshmw/62

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    21/44

    Takeaways of ApplicationTesting

    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

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    22/44

    Performance Tuning Process

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    23/44

    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

    maxkeepaliveconn

    ections

    keepalivetimeout

    connqueuesize

    keepalivequerymea

    ntime Oracle DB

    Sun Storagetunables:

    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

    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

    cachememsize=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

    setrlim_fd_max=32768

    * for resonate gbic

    set ip:dohwcksum=0

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    24/44

    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

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    25/44

    Siebel Application Tuning Example:Stack Size

    Graph showing the effect of process stack size ontotal process size. Varies with workload carried by the

    process.

    64KB 1MB UnlimitedStack size

    Process

    size

    3.72GB

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    26/44

    Solaris Tuning Example: MTmalloc Effect of MTmalloc on CPU/mem use (V440, V890, E2900).

    CPU benefit follows increase in concurrency.

    4 8 12

    0%

    28%

    35%

    51%

    89%

    103%

    CPU

    Memory

    # CPUs

    %C

    ost/Benefit

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    27/44

    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 to4MB

    MPSS helps Oracle performance as well.

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    28/44

    Tuning Siebel Database (Oracle) Follow the 'SAME' methodology for disk config and oracle

    datafiles placement.

    Take advantage of performance features available instorage 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.

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    29/44

    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 basedon individual load characteristics.

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    30/44

    Storage Tuning Example: Zone BitRecording

    86 MB/second

    57 MB/second

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    31/44

    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 of12 @15k rpm 73 GB disks.

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    32/44

    Performance Tuning Resources Sun - Whitepaper -Title : Optimizing Oracle-SiebelApplications for the SunPlatform,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 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

    mailto:[email protected]://partner.sun.com/soatchttp://partner.sun.com/soatchttp://partner.sun.com/soatcmailto:[email protected]
  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    33/44

    Oracle's Siebel benchmarks on Sunplatform URL http://www.oracle.com/applications/crm/siebel/resources/siebel-

    resource-library.html

    Siebel-Sun Performance Benchmark Detailed Report - 8,000 Users

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    34/44

    Solaris Tools for PerformanceTuning & Diagnosis

    DTrace ( Solaris 10 onwards)- Hotsos profiler, appworx

    pmap

    plimit - get size of running process

    trapstat

    truss performance analyzer memory leak detection

    prstat

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    35/44

    SPARC System RoadmapToday Rock

    Note: Roadmap reflects estimatedsystem delivery dates

    DataCentric APL

    Network

    Centric

    UltraSPARCT1

    Niagara 2

    UltraSPARC III UltraSPARC IV UltraSPARC

    IV+

    UltraSPARCIIIi+

    UltraSPARCIIIi

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    36/44

    Standard Configurations and Pricing

    Sun Fire T2000un 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 - $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

    $2,995

    $4,995

    $6,,995

    $10,995

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    37/44

    Q &A

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    38/44

    Backup slides

    To be used time permitting, based on

    Questions from audience

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    39/44

    Sun Oracle 10g Grid ReferenceArchitecture

    A high performance, highly available database

    infrastructure in a cost-effective grid environment

    Management

    Server

    Database

    Servers

    Storage

    Application

    ServersTerminal

    Console

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    40/44

    Components from Sun andOracle

    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

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    41/44

    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 withUltraSPARC Technology

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    42/44

    Sun Fire Servers withCoolThreads 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

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    43/44

    Sun Fire x64 Servers

    Scale from very low cost singlerackmount servers to integratedsolutions

    Feature up to 16 single- or dual-coreNext-Generation AMD Opteronprocessors

    Bring extreme performance and anew level of energy efficiency to the

    x86 market Support the Solaris OS,Linux, Windows, VMware

  • 8/14/2019 Collaborate 07 Km Oh Iud d In

    44/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