IAC 2024 - IA Fast Track to Search Focused AI Solutions
Inspecting a multi everything linux system (plmce2k14)
1. Inspecting a multi-everything Linux system
Understand your system
Frédéric Descamps
Original slides and idea by Aurimas Mikalauskas
Percona Live MySQL Conference & Expo
April, 2014
3. Me (@lefred)Me (@lefred)
dev/ops 1998
consultant 2001
Percona 2011
@ Percona:
- Senior Consultant
- Focus: High performance, high availability, troubleshooting
- devops believer
4. - MySQL Consulting
- Development
- Percona Server
- Percona Toolkit
- Percona Xtrabackup
- Percona XtraDB Cluster
- Remote DBA
- MySQL support
- Training
Percona
40. Quiz
There’s a server:
- it has 2 6-core CPUs
- Hyperthreading is off
- 32GB of RAM
- 8 disks in RAID10
What load average would indicate that server is saturated?
a) 4.0
b) 8.0
c) 12.0
d) 16.0
e) 20.0
41. Answer
Either of the them:
a) 4.0
b) 8.0
c) 12.0
d) 16.0
e) 20.0
- 4 processes constantly writing
- 8 processes constantly reading
- 12 processes constantly computing
- 12 computing & 4 writing processes
- 12 computing & 8 reading processes
45. Random -vs- Sequential
Random -vs- Sequential
Read this post from Chris Buckel (@flashdba) : http://flashdba.com/2013/04/15/understandingiorandomvssequential/
54. Workload system IOPS formula
The formula to calculate workload system
IOPS (with the RAID) is:
1(Total Workload IOPS * Percentage of workload read
operations)
+
( (Total Workload IOPS * Percentage of workload
write operations) / RAID IOPS Penalty )
55. Example
Disk : SEAGATE ST3300655LC (279GB)
RAID : 5
# of disks: 4
Spin Speed (RPM): 15k
Average latency : 2.0ms
Random read seek time : 3.50ms
Random write seek time : 4.0ms
82. Load indices
● On busy systems, the processes queue length is a better way
to evaluate the total load.
● For example, on two strongly charged host where the use of
the processor continuously reach a maximum of 100%, the
system with the higher amount of processes in standby can
be considered as more charged.