← Back to team overview

kernel-packages team mailing list archive

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

 

apport information

** Tags added: apport-collected trusty

** Description changed:

- 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.
+ 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.
+ --- 
+ AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.11.0-12-generic.
+ AplayDevices:
+  **** List of PLAYBACK Hardware Devices ****
+  card 0: SB [HDA ATI SB], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
+    Subdevices: 0/1
+    Subdevice #0: subdevice #0
+ ApportVersion: 2.12.6-0ubuntu1
+ Architecture: amd64
+ AudioDevicesInUse:
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  sworddragon   4276 F.... plugin-containe
+  /dev/snd/pcmC0D0p:   sworddragon   4276 F...m plugin-containe
+  /dev/snd/timer:      sworddragon   4276 f.... plugin-containe
+ CRDA: Error: [Errno 2] No such file or directory
+ Card0.Amixer.info:
+  Card hw:0 'SB'/'HDA ATI SB at 0xf9ff4000 irq 16'
+    Mixer name	: 'Realtek ALC662 rev1'
+    Components	: 'HDA:10ec0662,18497662,00100101'
+    Controls      : 36
+    Simple ctrls  : 18
+ CurrentDmesg:
+  Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: No such file or directory
+  dmesg: write failed: Broken pipe
+ DistroRelease: Ubuntu 14.04
+ EcryptfsInUse: Yes
+ IwConfig: Error: [Errno 2] No such file or directory
+ Lsusb: Error: [Errno 2] No such file or directory
+ MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
+ MarkForUpload: True
+ NonfreeKernelModules: nvidia
+ Package: linux (not installed)
+ ProcEnviron:
+  TERM=xterm
+  PATH=(custom, no user)
+  LANG=de_DE.UTF-8
+  SHELL=/bin/bash
+ ProcFB: 0 VESA VGA
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=05338ff8-a226-421b-90a4-1dd45199f783 ro
+ ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
+ RfKill: Error: [Errno 2] No such file or directory
+ Tags:  trusty
+ Uname: Linux 3.11.0-12-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm audio cdrom dip lpadmin plugdev sambashare sudo wireshark
+ WifiSyslog:
+  
+ dmi.bios.date: 02/05/2013
+ dmi.bios.vendor: American Megatrends Inc.
+ dmi.bios.version: P1.30
+ dmi.board.asset.tag: BC5FF4739C55
+ dmi.board.name: 960GM/U3S3 FX
+ dmi.board.vendor: ASRock
+ dmi.chassis.asset.tag: To Be Filled By O.E.M.
+ dmi.chassis.type: 3
+ dmi.chassis.vendor: To Be Filled By O.E.M.
+ dmi.chassis.version: To Be Filled By O.E.M.
+ dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.30:bd02/05/2013:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rn960GM/U3S3FX:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
+ dmi.product.name: To Be Filled By O.E.M.
+ dmi.product.version: To Be Filled By O.E.M.
+ dmi.sys.vendor: To Be Filled By O.E.M.

** Attachment added: "AlsaDevices.txt"
   https://bugs.launchpad.net/bugs/821610/+attachment/3896010/+files/AlsaDevices.txt

-- 
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:
  Confirmed

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.
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.11.0-12-generic.
  AplayDevices:
   **** List of PLAYBACK Hardware Devices ****
   card 0: SB [HDA ATI SB], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
     Subdevices: 0/1
     Subdevice #0: subdevice #0
  ApportVersion: 2.12.6-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  sworddragon   4276 F.... plugin-containe
   /dev/snd/pcmC0D0p:   sworddragon   4276 F...m plugin-containe
   /dev/snd/timer:      sworddragon   4276 f.... plugin-containe
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xf9ff4000 irq 16'
     Mixer name	: 'Realtek ALC662 rev1'
     Components	: 'HDA:10ec0662,18497662,00100101'
     Controls      : 36
     Simple ctrls  : 18
  CurrentDmesg:
   Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: No such file or directory
   dmesg: write failed: Broken pipe
  DistroRelease: Ubuntu 14.04
  EcryptfsInUse: Yes
  IwConfig: Error: [Errno 2] No such file or directory
  Lsusb: Error: [Errno 2] No such file or directory
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  MarkForUpload: True
  NonfreeKernelModules: nvidia
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=05338ff8-a226-421b-90a4-1dd45199f783 ro
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  RfKill: Error: [Errno 2] No such file or directory
  Tags:  trusty
  Uname: Linux 3.11.0-12-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm audio cdrom dip lpadmin plugdev sambashare sudo wireshark
  WifiSyslog:
   
  dmi.bios.date: 02/05/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P1.30
  dmi.board.asset.tag: BC5FF4739C55
  dmi.board.name: 960GM/U3S3 FX
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.30:bd02/05/2013:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rn960GM/U3S3FX:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

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