~/talk

Optimizing Linux Servers

Talkat LinuxCon + CloudOpen Europe 2013 · 2013-10-21..10-23· [web-performance]
links:none on file
slides:none on file

Advice focuses on concrete knobs and measurements: use custom partitioning and minimal install, detect bottlenecks with top, iostat, vmstat, netstat and benchmark storage with bonnie++ or dbench, change the IO scheduler on the fly via /sys/block/sda/queue/scheduler (echo NOOP or deadline; CFQ is default), enable hugepages for Oracle, run numactl daemon for NUMA, drop caches with echo 3 > /proc/sys/vm/drop_caches, reduce swappiness from default 60, and increase TCP buffer limits and choose congestion control (cubic/htcp) when testing real workloads.

AI-written summary · about

  1. 0:00Optimizing Linux Servers
  2. 1:48What is optimization?
  3. 2:58Server optimization
  4. 4:18Start here ... with installation
  5. 6:37Performance monitoring
  6. 8:36Context Switch
  7. 9:11Run queue
  8. 11:10CPU Utilization
  9. 12:15LOAD average
  10. 14:09Disk I/O optimization
  11. 17:05System scheduler ... how to change
  12. 17:48More about System scheduler
  13. 19:251/O optimization
  14. 22:46Disk optimization
  15. 23:50Network Tuning
  16. 25:39TCP Tuning (10GB NIC)
  17. 26:32TCP Congestion Avoidance Algorithms
  18. 30:02More about Memory optimization ...
  19. 31:05NUMAD
  20. 32:17Huge Pages
  21. 33:27Flushing Caches
  22. 34:20Swappiness
  23. 36:13System Monitoring Tools
  24. 38:11Kernel Tuning
  25. 41:25Samba tuning
  26. 42:08Database optimization
  27. 42:39OpenLDAP Tuning
  28. 43:10Apache Tuning
  29. 43:31Slow websites
  30. 44:32Benchmark Tools
  31. 45:21Identify and solve performace issue
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.