Yoshinori Matsunobu: Linux Performance Tuning and Stabilization Tips
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 21 Apr 2010 09:38:29 +0000 (11:38 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 21 Apr 2010 09:38:29 +0000 (11:38 +0200)
media/mysql2010-linux-performance/hCalendar.html [new file with mode: 0644]
media/mysql2010-linux-performance/presentation.pdf [new symlink]
media/mysql2010-linux-performance/video.ogv [new symlink]
media/mysql2010-linux-performance/video.srt.yaml [new file with mode: 0644]
media/mysql2010-linux-performance/www.sh [new file with mode: 0644]

diff --git a/media/mysql2010-linux-performance/hCalendar.html b/media/mysql2010-linux-performance/hCalendar.html
new file mode 100644 (file)
index 0000000..7a8df3d
--- /dev/null
@@ -0,0 +1,37 @@
+<!-- http://microformats.org/wiki/hcalendar-cheatsheet -->
+<div class="vevent">
+ <span class="organiser">
+Yoshinori Matsunobu
+ </span>
+ <span class="summary">
+Linux Performance Tuning and Stabilization Tips
+ </span>
+ <a class="url" href="http://en.oreilly.com/mysql2010/public/schedule/detail/13252">MySQL Conference &amp; Expo</a>,
+ <span class="location">Santa Clara, CA</span>,
+ <abbr class="dtstart" title="20100413">5:15pm Tuesday, 04/13/2010</abbr>
+ <div class="description">
+Many people know Linux terminologies such as ext3, tmpfs, cfq io scheduler, OOM killer, etc. But many times it is not appropriately configured. In this session, the speaker will show Linux performance tuning and stabilization practices for MySQL. The following topics will be covered.
+<ul>
+<li>Filesystem (ext3, xfs, tmpfs, etc)
+<li>Swap and memory management, how to prevent OOM killer
+<li>I/O scheduler settings
+<li>Demistifying iostat and vmstat
+<li>Practical Linux kernel configurations
+<li>Profiling MySQL/Linux activities with SystemTap
+<li>RAID (1+0 vs 5), Logival Volume Manager (LVM) and Partition Management (/, /data, /tmp, etc)
+</ul>
+
+You will be interested in this session if you do not have clear answers to the following questions.
+
+<ul>
+<li>Is setting swap size to zero fine? Why is it dangerous? How much swap space should I allocate?
+<li>sync-binlog=1 is really slow. Can it be faster by using a filesystem other than ext3?
+<li>I allocate only one Linux partition at / . Is it fine?
+<li>What is the most appropriate I/O scheduler for MySQL? Does it depend on Linux and MySQL version? Is cfq fine for both single-threaded and multi-threaded applications)?
+<li>What is vm.swappiness? What is vm.overcommit_memory?
+<li>What do r/s, wMB/s, %svctm and %util from iostat really mean?
+<li>Is it possible to count up how many times rr_unpack_from_buffer() (MySQL internal function) was called?
+</ul>
+
+ </div>
+</div>
diff --git a/media/mysql2010-linux-performance/presentation.pdf b/media/mysql2010-linux-performance/presentation.pdf
new file mode 120000 (symlink)
index 0000000..9c6b4e9
--- /dev/null
@@ -0,0 +1 @@
+linuxperformancetuningandstabilizationtips-100414104128-phpapp01.pdf
\ No newline at end of file
diff --git a/media/mysql2010-linux-performance/video.ogv b/media/mysql2010-linux-performance/video.ogv
new file mode 120000 (symlink)
index 0000000..0b31a7f
--- /dev/null
@@ -0,0 +1 @@
+LinuxPerformanceTuningandStabilizationTips.ogv
\ No newline at end of file
diff --git a/media/mysql2010-linux-performance/video.srt.yaml b/media/mysql2010-linux-performance/video.srt.yaml
new file mode 100644 (file)
index 0000000..c0cdea0
--- /dev/null
@@ -0,0 +1,196 @@
+--- 
+- 4.7
+- 5.7
+- "[1] Linux Performance Tuning and Stabilization Tips"
+--- 
+- 18.8
+- 19.8
+- "[2] Table of contents"
+--- 
+- 47.7
+- 48.7
+- "[3] Random Access Memory"
+--- 
+- 129.1
+- 130.1
+- "[4] Cache hot application data in memory"
+--- 
+- 217.0
+- 218
+- "[5] Buffered I/O"
+--- 
+- 295.8
+- 296.8
+- "[6] Do not allocate too much memory"
+--- 
+- 401.1
+- 402.1
+- "[7] What if setting swap size to zero?"
+--- 
+- 500.7
+- 501.7
+- "[8] Do not set swap=zero"
+--- 
+- 591.4
+- 592.4
+- "[9] What if stopping OOM Killer?"
+--- 
+- 654.5
+- 655.5
+- "[10] Swap space management"
+--- 
+- 704.8
+- 705.8
+- "[11] Be careful about backup operations"
+--- 
+- 744.4
+- 745.4
+- "[12] vm.swappiness = 0"
+--- 
+- 827.3
+- 828.3
+- "[13] Memory allocator"
+--- 
+- 887.4
+- 888.4
+- "[14] Memory allocator would matter for CPU bound workloads"
+--- 
+- 924.7
+- 925.7
+- "[15] Be careful about per-session memory"
+--- 
+- 1019.4
+- 1020.4
+- "[16] Table of contents"
+--- 
+- 1026.5
+- 1027.5
+- "[17] File I/O and synchronous writes"
+--- 
+- 1136.7
+- 1137.7
+- "[18] Overwriting or Appending?"
+--- 
+- 1259.3
+- 1260.3
+- "[19] Quick file i/o health check"
+--- 
+- 1327.8
+- 1328.8
+- "[20] Buffered and asynchronous writes"
+--- 
+- 1490.3
+- 1491.3
+- "[21] Filesystem - ext3"
+--- 
+- 1575.5
+- 1576.5
+- "[22] Filesystem - xfs/ext2"
+--- 
+- 1668.1
+- 1669.1
+- "[23] Concurrent write matters on fast storage"
+--- 
+- 1739.2
+- 1740.2
+- "[24] I/O scheduler"
+--- 
+- 1840.6
+- 1841.6
+- "[25] cfq madness"
+--- 
+- 1966.4
+- 1967.4
+- "[26] Changing I/O scheduler (InnoDB)"
+--- 
+- 1999.6
+- 2000.6
+- "[27] Changing I/O scheduler queue size (MyISAM)"
+--- 
+- 2104.5
+- 2105.5
+- "[28] Useful commands and tools"
+--- 
+- 2113.2
+- 2114.2
+- "[29] iostat"
+--- 
+- 2171.4
+- 2172.4
+- "[30] iostat example (DBT-2)"
+--- 
+- 2239.8
+- 2240.8
+- "[31] mpstat"
+--- 
+- 2288.9
+- 2289.9
+- "[32] vmstat and mpstat"
+--- 
+- 2314.6
+- 2315.6
+- "[33] Oprofile"
+--- 
+- 2363.9
+- 2364.9
+- "[34] Oprofile example"
+--- 
+- 2417.1
+- 2418.1
+- "[35] SystemTap"
+--- 
+- 2486.5
+- 2487.5
+- "[36] SystemTap use-case 1 : Per-file i/o statistics"
+--- 
+- 2553.9
+- 2554.9
+- "[37] Sample Code"
+--- 
+- 2619.5
+- 2620.5
+- "[38] SystemTap use-case 2 : Userspace profiling"
+--- 
+- 2644.3
+- 2645.3
+- "[39] Background: MySQL Sorting Algorithm"
+--- 
+- 2654.1
+- 2655.1
+- "[40] SystemTap Script 2"
+--- 
+- 2682.6
+- 2683.6
+- "[41] gdb"
+--- 
+- 2730.1
+- 2731.1
+- "[42] gdb case study"
+--- 
+- 2770.7
+- 2771.7
+- "[43] Taking thread dumps with gdb"
+--- 
+- 2790.8
+- 2791.8
+- "[44] Stack trace"
+--- 
+- 2800.7
+- 2801.7
+- "[45] Reading sql_parse.cc:969"
+--- 
+- 2807.6
+- 2808.6
+- "[46] Who locked LOCK_thread_count for seconds?"
+--- 
+- 2813.6
+- 2814.6
+- "[47] Reading mysqld.cc:4811"
+--- 
+- 2833.9
+- 2834.9
+- "[48] Configuration Summary"
+--- 
+- 2904.6
+- 2905.6
+- "[49] Enjoy the conference!"
diff --git a/media/mysql2010-linux-performance/www.sh b/media/mysql2010-linux-performance/www.sh
new file mode 100644 (file)
index 0000000..70b3a21
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+clive http://www.youtube.com/watch?v=owHamE-_0uY &&
+
+echo "http://www.slideshare.net/matsunobu/linux-performance-tuning-stabilization-tips-mysqlconf2010/download"