Sample Header Ad - 728x90

ionice does not have any effect on un-synced writes (i.e. normal writes)?

4 votes
1 answer
915 views
> When I dump a large MySQL database (its dump weighs around 10GB) - it appears on the disk almost immediately, but then, later, when the kernel decides to flush it to the disk, the server almost stalls and other IO requests take a lot more time to complete even though mysqldump is run with ionice -c3, so the use of ionice has no real effect. > > [Artem](https://lore.kernel.org/lkml/1814253454.3449.1382689853825.JavaMail.mail@webmail07/) When you write data into the page cache, there is no field to store the IO priority. So ionice will have no effect. Do I have that right? My latest kernel version is 4.18.16-200.fc28.x86_64.
Asked by sourcejedi (53232 rep)
Nov 9, 2018, 10:08 PM