Eric Yang created HDDS-1771:
-------------------------------

             Summary: Add slow IO disk test to fault injection test
                 Key: HDDS-1771
                 URL: https://issues.apache.org/jira/browse/HDDS-1771
             Project: Hadoop Distributed Data Store
          Issue Type: Improvement
            Reporter: Eric Yang


In fault injection test, one possible simulation to run is to create slow disk 
IO to assist developing a set of timing profiles that works for Ozone cluster.  
When we write to a file, the data travels across a bunch of buffers and caches 
before it is effectively written to the disk.  By controlling cgroup blkio rate 
in Linux Kernel, we can simulate slow disk read, write.  Docker provides the 
following parameters to control cgroup:

{code}
--device-read-bps=""
--device-write-bps=""
--device-read-iops=""
--device-write-iops=""
{code}

The test will be added to read/write test with docker compose file as 
parameters to test the timing profiles.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to