SlideShare a Scribd company logo
“Where did my CPU go?”
        monitoring & capacity planning
        adventures on a consolidated
                environment


Presented by:
Karl Arao
                                         1
whoami
Karl Arao
    •   Senior Technical Consultant @ Enkitec
    •   Performance and Capacity Planning Enthusiast


6 years 11 months 12 days DBA experience
   Oracle ACE, OCP-DBA, RHCE, OakTable
   Blog: karlarao.wordpress.com
   Wiki: karlarao.tiddlyspot.com
   Twitter: @karlarao




                                     www.enkitec.com   2
Agenda
• HOWTO compare CPU speeds

• Cores vs Threads

• The different CPU events

• CPU Monitoring/Capacity Planning on consolidated environments




                              www.enkitec.com                     3
12:27:15 SYS@DEMO1> show parameter cpu_count

NAME                                 TYPE        VALUE
------------------------------------ ----------- --------
cpu_count                            integer     16




                        www.enkitec.com                     4
Exadata V2 => 2s8c16t
CPU0   CPU8    CPU1   CPU9    CPU2     CPU10       CPU3   CPU11


  Core0          Core1             Core2               Core3
                         Socket0



CPU4   CPU12   CPU5   CPU13   CPU6     CPU14       CPU7   CPU15


  Core0          Core1             Core2               Core3
                         Socket1




                                     www.enkitec.com              5
PART1: compare CPU speeds




          www.enkitec.com   6
Different methods:
• Published benchmarks
  – TPC-C
  – SPECint_rate2006
• Actual Benchmarking
  – cputoolkit
  – SLOB (lio test)




                       www.enkitec.com   7
TPC-C
• Transaction Processing Performance Council (TPC)
   • Throughput => transactions per minute (tpmC)
   • Price/Performance => USD / tpmC




• CPU performance => tpmC / core
  • 1609186.39 / 16 = 100574

                       www.enkitec.com               8
SPECint_rate2006
  • Standard Performance Evaluation Corporation (SPEC)
     • SPECint_rate2006
         • Integer performance
         • All CPUs are used
         • Used by OEM12c Consolidation Planner (SYSMAN.EMCT_SPEC_RATE_LIB)
  • CPU performance => SPECint_rate2006/core
     • 702/16 = 43.875




$ cat spec.txt | grep -i sun | grep -i x3-2 | sort -rnk1
44.0625, 16, 2, 8, 2, 632, 705, Oracle Corporation, Sun Blade X3-2B (Intel Xeon E5-2690 2.9GHz)
44.0625, 16, 2, 8, 2, 630, 705, Oracle Corporation, Sun Server X3-2L (Intel Xeon E5-2690 2.9GHz)
43.875, 16, 2, 8, 2, 628, 702, Oracle Corporation, Sun Server X3-2 (Intel Xeon E5-2690 2.9GHz)


                                          www.enkitec.com                                  9
2007 vs 2012




   www.enkitec.com   10
Actual Benchmarking
• cputoolkit and SLOB (lio test)
• LIOs/sec
          cputoolkit                                             SLOB
          ./runcputoolkit-auto <start CPU> <end CPU> <db name>   ./runit.sh <writers> <readers>
          ./runcputoolkit-auto 1 2 dw                            while :; do ./runit.sh 0 2; done


                          CPU1                                        CPU1

                          CPU2                                        CPU2

                          CPU3                                        CPU3

                          CPU4
                                          Both at 25%
                                                                      CPU4
                                          CPU utilization
                          CPU5                                        CPU5

                          CPU6                                        CPU6

                          CPU7                                        CPU7

                          CPU8                                        CPU8

                                             www.enkitec.com                                        11
V2 and X2 CPU perf comparison
                    3.6M LIOs/sec



            2.1M LIOs/sec




            www.enkitec.com         12
V2 -> X2 migration


                                   V2                                           X2




chip efficiency factor = (source LIOs/sec) / (destination LIOs/sec)
                       = 2.1M / 3.6M
                       = .5833

X2 CPU requirement = source host CPUs * utilization * chip efficiency factor
                   = 16 * .46
                   = 7.36 * .5833
                   = 4.29 CPUs

X2 CPU Utilization    = CPU requirement / CPU capacity
                      = 4.29 / 24
                      = 17.8 %
                                    www.enkitec.com                            13
Core0         Core1               Core2        Core3
                        Socket0


 PART2: Cores vs Threads
CPU1   CPU5   CPU2   CPU6       CPU3    CPU7   CPU4   CPU8


  Core0         Core1               Core2        Core3
                        Socket0



                      www.enkitec.com                        14
www.enkitec.com   15
~30% depends on the workload

   cputoolkit                                       SLOB




                17%                                        21%




 Intel HT Technology Technical User's Guide http://goo.gl/3Ec5Z



                         www.enkitec.com                          16
PART3: Different CPU events
            CPU
         CPU Wait
      CPU Scheduler


           www.enkitec.com    17
AAS CPU




 www.enkitec.com   18
www.enkitec.com   19
CPU Wait




 www.enkitec.com   20
www.enkitec.com   21
RMOUG 2013 - Where did my CPU go?
RMOUG 2013 - Where did my CPU go?
RMOUG 2013 - Where did my CPU go?
CPU Scheduler




   www.enkitec.com   25
www.enkitec.com   26
Putting it all together




Problem: A single SQL Stmt. overwhelming      Instances Caged   SQL Applied to lock
CPU resources.                                at 12 CPU’s ea.   in good plan.

                                           www.enkitec.com                            27
BEFORE:
procs -----
r
52
58
50
58
49
                     load average: 10.36, 17.76, 36.42
AFTER:
procs ------
r
13
13                               After       Before
12
12
14




               www.enkitec.com                           28
PART4: CPU monitoring and
    Capacity Planning




          www.enkitec.com   29
OS Tools
• The usual Operating System commands
   – vmstat
   – top
   – mpstat –P ALL 1 5
• Cool tools
   – collectl –sC (http://collectl.sourceforge.net)
   – turbostat.c
   – dcli (Exadata)
       • dcli -l oracle -g /home/oracle/dbs_group --vmstat 2
       • dcli -l oracle -g /home/oracle/dbs_group uptime




                                     www.enkitec.com           30
Load Map




 www.enkitec.com   31
Performance Page – Historical View




              www.enkitec.com        32
AWR Toolkit
• DIY performance data warehouse
                         run_awr             Extract AWR data points as csv files
1   Customer site        run_extract         Package all the csv files

                         FRESH_LOAD          Create new client “dimension” tables
2   DIY DW server        CHECK_LOAD          Check new data points
                         DELTA_LOAD          Load new data points


       awr_topevents_(ClientNameX)   awr_topevents_(ClientNameY)   awr_topevents_(ClientNameZ)
       awr_cpuwl_(ClientNameX)       awr_cpuwl_(ClientNameY)       awr_cpuwl_(ClientNameZ)
       awr_iowl_(ClientNameX)        awr_iowl_(ClientNameY)        awr_iowl_(ClientNameZ)




3   Tableau Analytics


                                      www.enkitec.com                                      33
www.enkitec.com   34
• Tableau auto creates a time dimension for the time
  column “MM/DD/YY HH24:MI:SS” of AWR csv output




              www.enkitec.com                  35
• Summary and Underlying data




       1-2AM



       2-3AM




                     www.enkitec.com   36
CPU usage across half rack Exadata




              www.enkitec.com        37
CPU usage per host




      www.enkitec.com   38
CPU redistribution across nodes




            www.enkitec.com       39
Wrap up!
• HOWTO compare CPU speeds
   o SPECint_rate2006, TPC-C, Actual benchmarking

• Cores vs Threads
   o Always have HT on
    o ~30% performance benefit after core count

• The different CPU events
   o 1 AAS CPU = 1 CPU core
   o Oracle CPU may not correlate with Host CPU if you have a lot of
     CPU activity outside of the database

• CPU Monitoring/Capacity Planning on consolidated environments
   o AWR analytics
                              www.enkitec.com                     40
Resources
•   cputoolkit - http://karlarao.wordpress.com/scripts-resources/
•   AWR Tableau and R toolkit Visualization Examples - http://goo.gl/xZHHY
•   AAS investigation - http://goo.gl/5WaAg
•   Cores vs Threads - http://goo.gl/1MLFf
•   Turbostat.c - http://goo.gl/jDUKg
•   cpu_topology - http://goo.gl/EUDG7
•   CPU centric benchmark comparisons - http://goo.gl/nR9Yy
•   SLOB - http://goo.gl/yKa45
•   Kyle Hailey - http://dboptimizer.com/2011/07/21/oracle-cpu-time/
•   The mindmap of this presentation - http://goo.gl/XeY0e


                   karl.arao@enkitec.com
                                 www.enkitec.com                             41
Fastest Growing Companies
                       in Dallas

42

More Related Content

PDF
RedGateWebinar - Where did my CPU go?
PDF
OOW 2013: Where did my CPU go
PPT
The Database Sizing Workflow
PDF
Where Did My Cpu Go?
PPTX
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
PDF
PGConf.ASIA 2019 - High Availability, 10 Seconds Failover - Lucky Haryadi
PDF
XPDS16: Xen Live Patching - Updating Xen Without Rebooting - Konrad Wilk, Ora...
PDF
A Consolidation Success Story by Karl Arao
RedGateWebinar - Where did my CPU go?
OOW 2013: Where did my CPU go
The Database Sizing Workflow
Where Did My Cpu Go?
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
PGConf.ASIA 2019 - High Availability, 10 Seconds Failover - Lucky Haryadi
XPDS16: Xen Live Patching - Updating Xen Without Rebooting - Konrad Wilk, Ora...
A Consolidation Success Story by Karl Arao

What's hot (20)

PDF
OpenStack Ironic - Bare Metal-as-a-Service
ODP
Performance: Observe and Tune
PDF
pgDay Asia 2016 - Swapping Pacemaker-Corosync for repmgr (1)
PDF
Ironic
PDF
Troubleshooting Complex Oracle Performance Problems with Tanel Poder
PPTX
Automated out-of-band management with Ansible and Redfish
PDF
PGConf.ASIA 2019 Bali - Mission Critical Production High Availability Postgre...
PDF
How Netflix Tunes EC2 Instances for Performance
PPT
Understanding MySQL Performance through Benchmarking
PDF
Performance Schema for MySQL Troubleshooting
PDF
High Availability PostgreSQL with Zalando Patroni
PDF
Programming Models for Heterogeneous Chips
PPTX
vSphere vStorage: Troubleshooting Performance
PDF
Streaming huge databases using logical decoding
PDF
Hotsos 2011: Mining the AWR repository for Capacity Planning, Visualization, ...
PDF
BKK16-TR08 How to generate power models for EAS and IPA
PDF
Known basic of NFV Features
PDF
PostgreSQL Write-Ahead Log (Heikki Linnakangas)
PDF
Shak larry-jeder-perf-and-tuning-summit14-part1-final
PDF
제3회난공불락 오픈소스 인프라세미나 - lustre
OpenStack Ironic - Bare Metal-as-a-Service
Performance: Observe and Tune
pgDay Asia 2016 - Swapping Pacemaker-Corosync for repmgr (1)
Ironic
Troubleshooting Complex Oracle Performance Problems with Tanel Poder
Automated out-of-band management with Ansible and Redfish
PGConf.ASIA 2019 Bali - Mission Critical Production High Availability Postgre...
How Netflix Tunes EC2 Instances for Performance
Understanding MySQL Performance through Benchmarking
Performance Schema for MySQL Troubleshooting
High Availability PostgreSQL with Zalando Patroni
Programming Models for Heterogeneous Chips
vSphere vStorage: Troubleshooting Performance
Streaming huge databases using logical decoding
Hotsos 2011: Mining the AWR repository for Capacity Planning, Visualization, ...
BKK16-TR08 How to generate power models for EAS and IPA
Known basic of NFV Features
PostgreSQL Write-Ahead Log (Heikki Linnakangas)
Shak larry-jeder-perf-and-tuning-summit14-part1-final
제3회난공불락 오픈소스 인프라세미나 - lustre
Ad

Similar to RMOUG 2013 - Where did my CPU go? (20)

PDF
A Consolidation Success Story
PDF
Whitepaper: Where did my CPU go?
PDF
Embedded Solutions 2010: Intel Multicore by Eastronics
PDF
Big Data Smarter Networks
PPTX
Hardware-aware thread scheduling: the case of asymmetric multicore processors
KEY
Structure for scale: Dialing in your apps for optimal performance
PPTX
了解Cpu
PDF
Performance of three Intel-based SMB servers running Web, email, and database...
ODP
Apache con 2013-hadoop
PDF
Sun Microsystems
PPTX
I3 multicore processor
PPTX
PPSX
Oracle Performance Tuning Fundamentals
PDF
Hp All In 1
PDF
ICDE2010 Nb-GCLOCK
PDF
Maximizing Application Performance on Cray XT6 and XE6 Supercomputers DOD-MOD...
PDF
Intel - Challenges and Opportunities in Cloud-Based Genomics Analytics
PPTX
VDI Design Guide
PDF
cosbench-openstack.pdf
PPTX
Pace IT - Introduction to the CPU
A Consolidation Success Story
Whitepaper: Where did my CPU go?
Embedded Solutions 2010: Intel Multicore by Eastronics
Big Data Smarter Networks
Hardware-aware thread scheduling: the case of asymmetric multicore processors
Structure for scale: Dialing in your apps for optimal performance
了解Cpu
Performance of three Intel-based SMB servers running Web, email, and database...
Apache con 2013-hadoop
Sun Microsystems
I3 multicore processor
Oracle Performance Tuning Fundamentals
Hp All In 1
ICDE2010 Nb-GCLOCK
Maximizing Application Performance on Cray XT6 and XE6 Supercomputers DOD-MOD...
Intel - Challenges and Opportunities in Cloud-Based Genomics Analytics
VDI Design Guide
cosbench-openstack.pdf
Pace IT - Introduction to the CPU
Ad

More from Kristofferson A (10)

PPT
OakTableWorld 2013: Ultimate Exadata IO monitoring – Flash, HardDisk , & Writ...
PDF
Whitepaper: Exadata Consolidation Success Story
PPT
KSCOPE 2013: Exadata Consolidation Success Story
PDF
Whitepaper: Mining the AWR repository for Capacity Planning and Visualization
PPT
RMOUG 2012 - Mining the AWR
PDF
VirtaThon 2011 - Mining the AWR
PDF
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
PDF
Devcon: Virtualization?
PDF
OOW Unconference 2010: Mining the AWR repository for Capacity Planning, Visua...
PDF
Oracle Closed World 2010: Graphing the AAS ala EM + doing some cool linear re...
OakTableWorld 2013: Ultimate Exadata IO monitoring – Flash, HardDisk , & Writ...
Whitepaper: Exadata Consolidation Success Story
KSCOPE 2013: Exadata Consolidation Success Story
Whitepaper: Mining the AWR repository for Capacity Planning and Visualization
RMOUG 2012 - Mining the AWR
VirtaThon 2011 - Mining the AWR
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Devcon: Virtualization?
OOW Unconference 2010: Mining the AWR repository for Capacity Planning, Visua...
Oracle Closed World 2010: Graphing the AAS ala EM + doing some cool linear re...

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
A Presentation on Artificial Intelligence
PDF
Getting Started with Data Integration: FME Form 101
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
1. Introduction to Computer Programming.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
cuic standard and advanced reporting.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Machine Learning_overview_presentation.pptx
PPT
Teaching material agriculture food technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
A Presentation on Artificial Intelligence
Getting Started with Data Integration: FME Form 101
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Unlocking AI with Model Context Protocol (MCP)
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
1. Introduction to Computer Programming.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Assigned Numbers - 2025 - Bluetooth® Document
Reach Out and Touch Someone: Haptics and Empathic Computing
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
cuic standard and advanced reporting.pdf
Encapsulation_ Review paper, used for researhc scholars
Network Security Unit 5.pdf for BCA BBA.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Machine Learning_overview_presentation.pptx
Teaching material agriculture food technology

RMOUG 2013 - Where did my CPU go?

  • 1. “Where did my CPU go?” monitoring & capacity planning adventures on a consolidated environment Presented by: Karl Arao 1
  • 2. whoami Karl Arao • Senior Technical Consultant @ Enkitec • Performance and Capacity Planning Enthusiast 6 years 11 months 12 days DBA experience Oracle ACE, OCP-DBA, RHCE, OakTable Blog: karlarao.wordpress.com Wiki: karlarao.tiddlyspot.com Twitter: @karlarao www.enkitec.com 2
  • 3. Agenda • HOWTO compare CPU speeds • Cores vs Threads • The different CPU events • CPU Monitoring/Capacity Planning on consolidated environments www.enkitec.com 3
  • 4. 12:27:15 SYS@DEMO1> show parameter cpu_count NAME TYPE VALUE ------------------------------------ ----------- -------- cpu_count integer 16 www.enkitec.com 4
  • 5. Exadata V2 => 2s8c16t CPU0 CPU8 CPU1 CPU9 CPU2 CPU10 CPU3 CPU11 Core0 Core1 Core2 Core3 Socket0 CPU4 CPU12 CPU5 CPU13 CPU6 CPU14 CPU7 CPU15 Core0 Core1 Core2 Core3 Socket1 www.enkitec.com 5
  • 6. PART1: compare CPU speeds www.enkitec.com 6
  • 7. Different methods: • Published benchmarks – TPC-C – SPECint_rate2006 • Actual Benchmarking – cputoolkit – SLOB (lio test) www.enkitec.com 7
  • 8. TPC-C • Transaction Processing Performance Council (TPC) • Throughput => transactions per minute (tpmC) • Price/Performance => USD / tpmC • CPU performance => tpmC / core • 1609186.39 / 16 = 100574 www.enkitec.com 8
  • 9. SPECint_rate2006 • Standard Performance Evaluation Corporation (SPEC) • SPECint_rate2006 • Integer performance • All CPUs are used • Used by OEM12c Consolidation Planner (SYSMAN.EMCT_SPEC_RATE_LIB) • CPU performance => SPECint_rate2006/core • 702/16 = 43.875 $ cat spec.txt | grep -i sun | grep -i x3-2 | sort -rnk1 44.0625, 16, 2, 8, 2, 632, 705, Oracle Corporation, Sun Blade X3-2B (Intel Xeon E5-2690 2.9GHz) 44.0625, 16, 2, 8, 2, 630, 705, Oracle Corporation, Sun Server X3-2L (Intel Xeon E5-2690 2.9GHz) 43.875, 16, 2, 8, 2, 628, 702, Oracle Corporation, Sun Server X3-2 (Intel Xeon E5-2690 2.9GHz) www.enkitec.com 9
  • 10. 2007 vs 2012 www.enkitec.com 10
  • 11. Actual Benchmarking • cputoolkit and SLOB (lio test) • LIOs/sec cputoolkit SLOB ./runcputoolkit-auto <start CPU> <end CPU> <db name> ./runit.sh <writers> <readers> ./runcputoolkit-auto 1 2 dw while :; do ./runit.sh 0 2; done CPU1 CPU1 CPU2 CPU2 CPU3 CPU3 CPU4 Both at 25% CPU4 CPU utilization CPU5 CPU5 CPU6 CPU6 CPU7 CPU7 CPU8 CPU8 www.enkitec.com 11
  • 12. V2 and X2 CPU perf comparison 3.6M LIOs/sec 2.1M LIOs/sec www.enkitec.com 12
  • 13. V2 -> X2 migration V2 X2 chip efficiency factor = (source LIOs/sec) / (destination LIOs/sec) = 2.1M / 3.6M = .5833 X2 CPU requirement = source host CPUs * utilization * chip efficiency factor = 16 * .46 = 7.36 * .5833 = 4.29 CPUs X2 CPU Utilization = CPU requirement / CPU capacity = 4.29 / 24 = 17.8 % www.enkitec.com 13
  • 14. Core0 Core1 Core2 Core3 Socket0 PART2: Cores vs Threads CPU1 CPU5 CPU2 CPU6 CPU3 CPU7 CPU4 CPU8 Core0 Core1 Core2 Core3 Socket0 www.enkitec.com 14
  • 16. ~30% depends on the workload cputoolkit SLOB 17% 21% Intel HT Technology Technical User's Guide http://goo.gl/3Ec5Z www.enkitec.com 16
  • 17. PART3: Different CPU events CPU CPU Wait CPU Scheduler www.enkitec.com 17
  • 25. CPU Scheduler www.enkitec.com 25
  • 27. Putting it all together Problem: A single SQL Stmt. overwhelming Instances Caged SQL Applied to lock CPU resources. at 12 CPU’s ea. in good plan. www.enkitec.com 27
  • 28. BEFORE: procs ----- r 52 58 50 58 49 load average: 10.36, 17.76, 36.42 AFTER: procs ------ r 13 13 After Before 12 12 14 www.enkitec.com 28
  • 29. PART4: CPU monitoring and Capacity Planning www.enkitec.com 29
  • 30. OS Tools • The usual Operating System commands – vmstat – top – mpstat –P ALL 1 5 • Cool tools – collectl –sC (http://collectl.sourceforge.net) – turbostat.c – dcli (Exadata) • dcli -l oracle -g /home/oracle/dbs_group --vmstat 2 • dcli -l oracle -g /home/oracle/dbs_group uptime www.enkitec.com 30
  • 32. Performance Page – Historical View www.enkitec.com 32
  • 33. AWR Toolkit • DIY performance data warehouse run_awr Extract AWR data points as csv files 1 Customer site run_extract Package all the csv files FRESH_LOAD Create new client “dimension” tables 2 DIY DW server CHECK_LOAD Check new data points DELTA_LOAD Load new data points awr_topevents_(ClientNameX) awr_topevents_(ClientNameY) awr_topevents_(ClientNameZ) awr_cpuwl_(ClientNameX) awr_cpuwl_(ClientNameY) awr_cpuwl_(ClientNameZ) awr_iowl_(ClientNameX) awr_iowl_(ClientNameY) awr_iowl_(ClientNameZ) 3 Tableau Analytics www.enkitec.com 33
  • 35. • Tableau auto creates a time dimension for the time column “MM/DD/YY HH24:MI:SS” of AWR csv output www.enkitec.com 35
  • 36. • Summary and Underlying data 1-2AM 2-3AM www.enkitec.com 36
  • 37. CPU usage across half rack Exadata www.enkitec.com 37
  • 38. CPU usage per host www.enkitec.com 38
  • 39. CPU redistribution across nodes www.enkitec.com 39
  • 40. Wrap up! • HOWTO compare CPU speeds o SPECint_rate2006, TPC-C, Actual benchmarking • Cores vs Threads o Always have HT on o ~30% performance benefit after core count • The different CPU events o 1 AAS CPU = 1 CPU core o Oracle CPU may not correlate with Host CPU if you have a lot of CPU activity outside of the database • CPU Monitoring/Capacity Planning on consolidated environments o AWR analytics www.enkitec.com 40
  • 41. Resources • cputoolkit - http://karlarao.wordpress.com/scripts-resources/ • AWR Tableau and R toolkit Visualization Examples - http://goo.gl/xZHHY • AAS investigation - http://goo.gl/5WaAg • Cores vs Threads - http://goo.gl/1MLFf • Turbostat.c - http://goo.gl/jDUKg • cpu_topology - http://goo.gl/EUDG7 • CPU centric benchmark comparisons - http://goo.gl/nR9Yy • SLOB - http://goo.gl/yKa45 • Kyle Hailey - http://dboptimizer.com/2011/07/21/oracle-cpu-time/ • The mindmap of this presentation - http://goo.gl/XeY0e karl.arao@enkitec.com www.enkitec.com 41