Thursday 20 August 2020

I/O - (input/output) monitoring in AWS EC2

what is IO?

 i/o (input /output) is the concept of writing or reading from the disk.

It is measured in the following aspect:

  • Latency
  • Random I/O performance (random read /writes)
  • Sequential read or write performance
  • IOPS ( IO operations per second)
When is IO used ?

Any time the application will read and write to the disk, IO will be used.
At startup,the OS (Operating System) will read the disk to load settings.
You can use the "iostat" command to find the current amount of IO being used.


Note: Your Application is a database (MySQL,SAP HANA,etc...)
  • Every time a query (SQL) happens, the database needs to read the disk.
  • Any time data needs to be inserted, the database needs to write to the disk.
  • Databases need to serve thousands of concurrent queries very fast
  • Disk needs to be extremely reliable.
The IO is key for the application.Good IO performance is crucial to ensure the database always performs.



For details monitoring of IO in AWS EC2:


  1. Navigate the Running EC2 instance page( services -->in compute section -->EC2 --> Running EC2 instance.)
  2. Select the EC2 instance.
  3. Navigate to Description tab as shown below.
           



4.Click on root device -->EBS id.



5.you can found the iops information in the highlighted part of the screen.

 



6.for historical & graphical representation.
   Go to monitoring tab.

   

6. if the time spent idle is zero then IO need to optimize for the system.

   


 

No comments:

Post a Comment