You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arpit Agarwal (Jira)" <ji...@apache.org> on 2020/06/02 18:39:00 UTC

[jira] [Updated] (HDDS-1771) Add slow IO disk test to fault injection test

     [ https://issues.apache.org/jira/browse/HDDS-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Agarwal updated HDDS-1771:
--------------------------------
    Target Version/s: 0.7.0

> 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
>            Priority: Major
>         Attachments: HDDS-1771.001.patch, HDDS-1771.002.patch, HDDS-1771.003.patch
>
>
> In fault injection test, one possible simulation is to create slow disk IO.  This test can assist in 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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org