← Back to team overview

kernel-packages team mailing list archive

[Bug 821610] Re: ionice doesn't nice the complete writing process

 

I have written a testcase to check for this problem but interestingly
even with full data journaling disabled I'm still seeing heavy
performance impacts on Ubuntu 14.04 dev. In the attachments is the
testcase. Just execute it with "chrt -i 0 ionice -c 3 ./test.py" and
while it is running do a few minutes something else with your computer
to see the difference.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/821610

Title:
  ionice doesn't nice the complete writing process

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  I'm using Ubuntu 11.10 dev. I'm starting apache with the command "chrt
  -i 0 ionice -c 3 /usr/sbin/apache2ctl". On my system is full data
  journaling enabled. Theoretically if apache or a child process from
  apache is writing something to the disk it shouldn't affect any other
  applications like games because apache has the lowest cpu and I/O
  priority possible. But sometimes a child process from apache is
  writing a lot to my disk and I can't do much at this time anymore. If
  I play a game it is freezing every second and unplayable. If I disable
  full data journaling it is much better. This is why I think the
  [jdb2/sda1-8] process doesn't inherit the nice/ionice from the writing
  process.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/821610/+subscriptions