A
A
Alexander Nazarov2019-03-24 21:06:54
linux
Alexander Nazarov, 2019-03-24 21:06:54

Is it possible to limit the IOPS rate in a container in Docker?

Sometimes in Htop, in the "S" column I see the value "D". The process does not exceed 20 percent, but LoadAverage increases. I understand that this application somehow loads the hard drive. Could you please tell me if it is possible to limit the disk transfer rate of this process or container in Docker.
Is there such a possibility in Docker at all and how it will affect the operation of the application.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mysterion, 2019-03-24
@wergio

--device-write-bps - Limit write rate (bytes per second) to a device
--device-write-iops - Limit write rate (IO per second) to a device
--device-read-bps - Limit read rate ( bytes per second) from a device
--device-read-iops - Limit read rate (IO per second) from a device
https://docs.docker.com/engine/reference/commandli...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question