SlideShare a Scribd company logo
4
Most read
5
Most read
gluent.com 1
Modern	Linux	Performance	Tools
Tanel	Poder
a	long	time	computer	performance	geek
gluent.com 2
Intro:	About	me
• Tanel	Põder
• Oracle	Database	Performance	geek	(18+	years)
• Exadata	Performance	geek
• Linux	Performance	geek
• Hadoop	Performance	geek
• CEO	&	co-founder:
Expert	Oracle	Exadata	
book
(2nd edition	is	out	now!)
Instant	
promotion
gluent.com 3
Gluent
Oracle
Teradata
NoSQL
Big	Data	
Sources
MSSQL
App	
X
App	
Y
App	
Z
Gluent	as	a	data	
virtualization	layer
Open	Data	
Formats!
Session:	
Extending	Oracle	
Data	Warehouses	
with	Hadoop
Wednesday	10am
Executive	Room	6
(small	room!)
gluent.com 4
Topics
• Not	much	about	basic	stuff	like	vmstat/iostat
• Also	nothing	about	SystemTap (or	Dtrace)
• Practical	stuff	that	you	can	(relatively)	safely	run	in	production
• Measuring	/	tracing	processes
• Measuring	IO
• Measuring	Memory
• Measuring	CPU
gluent.com 5
Measuring	Process	Activity	- 1
• Strace
• man strace
• strace -p <PID>
• https://fritshoogland.files.wordpress.com/2013/03/profiling_of_oracl
e_using_function_calls.pdf
• SysDig
• sysdig fd.name contains tnsnames
• sysdig -p "%evt.arg.name" proc.name=cat and
evt.type=open
• csysdig
• http://www.sysdig.org/wiki/sysdig-examples/
gluent.com 6
Measuring	Process	Activity	- 2
• /proc	filesystem
• Proc	filesystem	in	Linux	is	like	V$/X$	views	in	Oracle
• man proc
• https://www.kernel.org/doc/Documentation/filesystems/proc.txt
• http://blog.tanelpoder.com/2013/02/21/peeking-into-linux-kernel-
land-using-proc-filesystem-for-quickndirty-troubleshooting/
• psnapper (early	prototype!)
• ./psnapper <seconds> <pid>
• ./psnapper 5 1234
• http://blog.tanelpoder.com/files/scripts/tools/unix/psnapper
gluent.com 7
Measuring	IO
• iostat	in	RHEL	7
• /proc/<PID>/io
• iotop (or	htop,	atop)	
• blktrace /	blkparse (if	we	have	time)
• blktrace -d /dev/sda -o - | blkparse -i -
gluent.com 8
Measuring	Memory
• pmap -x	<PID>
• http://tech.e2sn.com/oracle/performance/unix-performance-
tools/process-memory-matrix (Solaris	example	but	roughly	the	same)
• cat	/proc/PID/smaps
• grep MMUPageSize: /proc/`pgrep dbw0`/smaps |
sort | uniq –c
• https://www.kernel.org/doc/Documentation/filesystems/proc.txt
• Smem
• sudo smem –u
• https://www.selenic.com/smem/
gluent.com 9
Measuring	CPU
• perf	top
• https://fritshoogland.wordpress.com/2012/07/10/the-linux-perf-
utility-with-el-6/
• perf	record	–g	&&	perf	report
• http://www.brendangregg.com/perf.html
• http://externaltable.blogspot.jp/2014/05/flame-graphs-for-
oracle.html
• perf	stat
• http://blog.tanelpoder.com/2015/08/09/ram-is-the-new-disk-and-
how-to-measure-its-performance-part-1/
gluent.com 10
Linux	performance	references
• Brendan	Gregg:
• http://www.brendangregg.com/linuxperf.html
• Luca	Canali’s articles:
• https://db-blog.web.cern.ch/blog/luca-canali/2015-12-extended-
stack-profiling-ideas-tools-and-comments
• Frits	Hoogland:
• https://fritshoogland.wordpress.com/
gluent.com 11
Thanks!
http://blog.tanelpoder.com
tanel@tanelpoder.com
@tanelpoder
We	are	hiring	developers	&	data	engineers!!!
http://gluent.com

More Related Content

What's hot (20)

PDF
Moving Data Between Exadata and Hadoop
Enkitec
 
PPTX
Hadoop databases for oracle DBAs
Maxym Kharchenko
 
PDF
Tuning Solr and its Pipeline for Logs: Presented by Rafał Kuć & Radu Gheorghe...
Lucidworks
 
PPTX
Inside sql server in memory oltp sql sat nyc 2017
Bob Ward
 
PDF
Advanced Oracle Troubleshooting
Hector Martinez
 
PDF
Big Data and PostgreSQL
PGConf APAC
 
PDF
PostgreSQL WAL for DBAs
PGConf APAC
 
PDF
Presto anatomy
Dongmin Yu
 
PDF
PostgreSQL Enterprise Class Features and Capabilities
PGConf APAC
 
PPTX
SQL Server In-Memory OLTP: What Every SQL Professional Should Know
Bob Ward
 
PDF
Habits of Effective Sqoop Users
Kathleen Ting
 
PPTX
January 2015 HUG: Apache Flink: Fast and reliable large-scale data processing
Yahoo Developer Network
 
PDF
Empowering developers to deploy their own data stores
Tomas Doran
 
PPTX
Proving out flash storage array performance using swingbench and slob
Kapil Goyal
 
PDF
Top 5 Mistakes to Avoid When Writing Apache Spark Applications
Cloudera, Inc.
 
PDF
Accelerating Shuffle: A Tailor-Made RDMA Solution for Apache Spark with Yuval...
Spark Summit
 
PDF
Loading 350M documents into a large Solr cluster: Presented by Dion Olsthoorn...
Lucidworks
 
PPTX
ELK Ruminating on Logs (Zendcon 2016)
Mathew Beane
 
PDF
Lessons PostgreSQL learned from commercial databases, and didn’t
PGConf APAC
 
PDF
Big data 101 for beginners devoxxpl
Duyhai Doan
 
Moving Data Between Exadata and Hadoop
Enkitec
 
Hadoop databases for oracle DBAs
Maxym Kharchenko
 
Tuning Solr and its Pipeline for Logs: Presented by Rafał Kuć & Radu Gheorghe...
Lucidworks
 
Inside sql server in memory oltp sql sat nyc 2017
Bob Ward
 
Advanced Oracle Troubleshooting
Hector Martinez
 
Big Data and PostgreSQL
PGConf APAC
 
PostgreSQL WAL for DBAs
PGConf APAC
 
Presto anatomy
Dongmin Yu
 
PostgreSQL Enterprise Class Features and Capabilities
PGConf APAC
 
SQL Server In-Memory OLTP: What Every SQL Professional Should Know
Bob Ward
 
Habits of Effective Sqoop Users
Kathleen Ting
 
January 2015 HUG: Apache Flink: Fast and reliable large-scale data processing
Yahoo Developer Network
 
Empowering developers to deploy their own data stores
Tomas Doran
 
Proving out flash storage array performance using swingbench and slob
Kapil Goyal
 
Top 5 Mistakes to Avoid When Writing Apache Spark Applications
Cloudera, Inc.
 
Accelerating Shuffle: A Tailor-Made RDMA Solution for Apache Spark with Yuval...
Spark Summit
 
Loading 350M documents into a large Solr cluster: Presented by Dion Olsthoorn...
Lucidworks
 
ELK Ruminating on Logs (Zendcon 2016)
Mathew Beane
 
Lessons PostgreSQL learned from commercial databases, and didn’t
PGConf APAC
 
Big data 101 for beginners devoxxpl
Duyhai Doan
 

Viewers also liked (20)

PDF
Oracle Database In-Memory Option in Action
Tanel Poder
 
PDF
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 1
Tanel Poder
 
PDF
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
Tanel Poder
 
PDF
SQL in the Hybrid World
Tanel Poder
 
PDF
SQL Monitoring in Oracle Database 12c
Tanel Poder
 
PDF
Connecting Hadoop and Oracle
Tanel Poder
 
PDF
Essential Linux Commands for DBAs
Gokhan Atil
 
PPTX
A Second Look at Oracle RAC 12c
Leighton Nelson
 
PDF
Oracle LOB Internals and Performance Tuning
Tanel Poder
 
PDF
Oracle Latch and Mutex Contention Troubleshooting
Tanel Poder
 
PDF
Oracle Enterprise Manager Cloud Control 13c for DBAs
Gokhan Atil
 
PDF
Adding real time reporting to your database oracle db in memory
Zohar Elkayam
 
PDF
201657_Patra_pdf
lokinisj
 
KEY
Hanganalyze presentation
Leyi (Kamus) Zhang
 
PDF
Oracle 12c r1 installation on solaris 11.1
Laurent Leturgez
 
PDF
Applying profilers to my sql (fosdem 2017)
Valeriy Kravchuk
 
PPTX
Ukoug15 SIMD outside and inside Oracle 12c (12.1.0.2)
Laurent Leturgez
 
PDF
Oracle Database Advanced Querying (2016)
Zohar Elkayam
 
PPTX
Delphix Patching Epiphany
Kellyn Pot'Vin-Gorman
 
PPTX
Oracle 12c in memory en action
Laurent Leturgez
 
Oracle Database In-Memory Option in Action
Tanel Poder
 
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 1
Tanel Poder
 
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
Tanel Poder
 
SQL in the Hybrid World
Tanel Poder
 
SQL Monitoring in Oracle Database 12c
Tanel Poder
 
Connecting Hadoop and Oracle
Tanel Poder
 
Essential Linux Commands for DBAs
Gokhan Atil
 
A Second Look at Oracle RAC 12c
Leighton Nelson
 
Oracle LOB Internals and Performance Tuning
Tanel Poder
 
Oracle Latch and Mutex Contention Troubleshooting
Tanel Poder
 
Oracle Enterprise Manager Cloud Control 13c for DBAs
Gokhan Atil
 
Adding real time reporting to your database oracle db in memory
Zohar Elkayam
 
201657_Patra_pdf
lokinisj
 
Hanganalyze presentation
Leyi (Kamus) Zhang
 
Oracle 12c r1 installation on solaris 11.1
Laurent Leturgez
 
Applying profilers to my sql (fosdem 2017)
Valeriy Kravchuk
 
Ukoug15 SIMD outside and inside Oracle 12c (12.1.0.2)
Laurent Leturgez
 
Oracle Database Advanced Querying (2016)
Zohar Elkayam
 
Delphix Patching Epiphany
Kellyn Pot'Vin-Gorman
 
Oracle 12c in memory en action
Laurent Leturgez
 
Ad

Similar to Modern Linux Performance Tools for Application Troubleshooting (20)

PPTX
The power of linux advanced tracer [POUG18]
Mahmoud Hatem
 
PPTX
Using the big guns: Advanced OS performance tools for troubleshooting databas...
Nikolay Savvinov
 
PDF
Linux Performance Monitoring Tools
M Malai
 
PPT
I/O & virtualization performance with a search engine based on an xml databa...
lucenerevolution
 
PDF
Systems Performance: Enterprise and the Cloud
Brendan Gregg
 
PDF
Oracle R12 EBS Performance Tuning
Scott Jenner
 
PDF
My talk at Linux Piter 2015
Alex Chistyakov
 
PDF
Linux Profiling at Netflix
Brendan Gregg
 
PPT
40043 claborn
Baba Ib
 
PDF
Linux Server Deep Dives (DrupalCon Amsterdam)
Amin Astaneh
 
PPTX
Advanced Database Administration 10g
Connor McDonald
 
PPT
Introduction to Parallel Execution
Doug Burns
 
PPTX
Hitchhiker's Guide to free Oracle tuning tools
Bjoern Rost
 
PDF
Solaris Linux Performance, Tools and Tuning
Adrian Cockcroft
 
PDF
Kernel Recipes 2017: Using Linux perf at Netflix
Brendan Gregg
 
PDF
Kernel Recipes 2017 - Using Linux perf at Netflix - Brendan Gregg
Anne Nicolas
 
PDF
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
PDF
Adding Value in the Cloud with Performance Test
Rodolfo Kohn
 
PPT
WLCG_Oracle_perf_for_admin_Luca_Nov07.ppt
cookie1969
 
PDF
OSSNA 2017 Performance Analysis Superpowers with Linux BPF
Brendan Gregg
 
The power of linux advanced tracer [POUG18]
Mahmoud Hatem
 
Using the big guns: Advanced OS performance tools for troubleshooting databas...
Nikolay Savvinov
 
Linux Performance Monitoring Tools
M Malai
 
I/O & virtualization performance with a search engine based on an xml databa...
lucenerevolution
 
Systems Performance: Enterprise and the Cloud
Brendan Gregg
 
Oracle R12 EBS Performance Tuning
Scott Jenner
 
My talk at Linux Piter 2015
Alex Chistyakov
 
Linux Profiling at Netflix
Brendan Gregg
 
40043 claborn
Baba Ib
 
Linux Server Deep Dives (DrupalCon Amsterdam)
Amin Astaneh
 
Advanced Database Administration 10g
Connor McDonald
 
Introduction to Parallel Execution
Doug Burns
 
Hitchhiker's Guide to free Oracle tuning tools
Bjoern Rost
 
Solaris Linux Performance, Tools and Tuning
Adrian Cockcroft
 
Kernel Recipes 2017: Using Linux perf at Netflix
Brendan Gregg
 
Kernel Recipes 2017 - Using Linux perf at Netflix - Brendan Gregg
Anne Nicolas
 
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
Adding Value in the Cloud with Performance Test
Rodolfo Kohn
 
WLCG_Oracle_perf_for_admin_Luca_Nov07.ppt
cookie1969
 
OSSNA 2017 Performance Analysis Superpowers with Linux BPF
Brendan Gregg
 
Ad

Recently uploaded (20)

PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 

Modern Linux Performance Tools for Application Troubleshooting