[Bug 1392176] Re: mounts cgroups unconditionally which causes undesired effects with cpu hotplug
The patch does not work for us. We tried out the below test: root@ubuntu1504:~# cat /etc/issue Ubuntu Vivid Vervet (development branch) \n \l root@ubuntu1504:~# cgmanager --version cgmanager 0.36 root@ubuntu1504:~# uname -a Linux ubuntu1504 3.18.0-13-generic #14-Ubuntu SMP Fri Feb 6 09:57:41 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux root@ubuntu1504:~# root@ubuntu1504:/sys/devices/system/cpu# ps aux | grep bash root 955 0.2 0.3 8576 7104 hvc0 S01:52 0:00 -bash root 1001 0.0 0.1 4992 3072 hvc0 S+ 01:53 0:00 grep --color=auto bash root@ubuntu1504:/sys/devices/system/cpu# taskset -p 955 pid 955's current affinity mask: root@ubuntu1504:/sys/devices/system/cpu# echo 0 cpu15/online root@ubuntu1504:/sys/devices/system/cpu# taskset -p 955 pid 955's current affinity mask: 7fff root@ubuntu1504:/sys/devices/system/cpu# echo 1 cpu15/online root@ubuntu1504:/sys/devices/system/cpu# taskset -p 955 pid 955's current affinity mask: 7fff You can see that the cpumask of the task does not have the cpu that we got back online and we are using the version of cgmanager that has the fix in. Can you explain what the patch does ? This will help us figure out why its not working. On another note, to make things clearer, there are two requirements to take care of: a. When a cpu goes offline and comes back online, the cpuset of tasks must get updated both times to reflect the online mask b. When a cpu in the possible_mask is brought online anytime after bootup, that too should get updated in the cpuset of the tasks. Regards Preeti U Murthy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392176 Title: mounts cgroups unconditionally which causes undesired effects with cpu hotplug To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1392176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1392176] Re: mounts cgroups unconditionally which causes undesired effects with cpu hotplug
Yes, for those tasks which had the offlined cpu in their cpusets before hotplug, the cpu should be added back to their respective cpusets when it comes online. Regards Preeti U Murthy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392176 Title: mounts cgroups unconditionally which causes undesired effects with cpu hotplug To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1392176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1392176] Re: mounts cgroups unconditionally which causes undesired effects with cpu hotplug
The movement of existing tasks to the child cgroups created by cgmanager/systemd must be avoided as far as I can see. If the additional cgroups are for LXC containers, the containers and the tasks spawned within them alone can reside under the children cgroups. Why move the existing tasks into them, when they are not going to benefit from it ? If this can be done there would be no need to avoid having to mount cpuset controllers; they can very well be there. Regards Preeti U Murthy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392176 Title: mounts cgroups unconditionally which causes undesired effects with cpu hotplug To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1392176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1392176] Re: mounts cgroups unconditionally which causes undesired effects with cpu hotplug
Hi, Is there any update on this front? We are seeing the effect of this bug in several places on IBM PowerPC platforms and would like to see it resolved soon. Can the cgroup mounting be made *only* when the user explicitly asks for it? Regards Preeti U Murthy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392176 Title: mounts cgroups unconditionally which causes undesired effects with cpu hotplug To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1392176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1365064] [NEW] GUI resolution problem
Public bug reported: GUI ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: xorg 1:7.7+1ubuntu8 ProcVersionSignature: Ubuntu 3.5.0-48.72~precise1-generic 3.5.7.31 Uname: Linux 3.5.0-48-generic x86_64 NonfreeKernelModules: btrfs libcrc32c zlib_deflate ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs bnep rfcomm bluetooth cuse vesafb binfmt_misc snd_hda_codec_hdmi coretemp kvm_intel kvm ghash_clmulni_intel aesni_intel snd_hda_codec_realtek aes_x86_64 ext2 snd_hda_intel cryptd gpio_ich snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_seq_midi snd_seq_midi_event hp_wmi sparse_keymap i7core_edac snd_rawmidi snd_seq snd_seq_device snd_timer edac_core snd soundcore microcode serio_raw lpc_ich wmi mac_hid parport_pc ppdev lp parport hid_generic usbhid hid firewire_ohci psmouse ahci firewire_core crc_itu_t libahci tg3 floppy .tmp.unity.support.test.1: ApportVersion: 2.14.1-0ubuntu3.3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: compiz CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0' CompositorUnredirectFSW: true Date: Wed Sep 3 21:58:20 2014 DistUpgraded: 2014-09-03 10:12:49,282 DEBUG enabling apt cron job DistroCodename: trusty DistroVariant: ubuntu GraphicsCard: NVIDIA Corporation GF100GL [Quadro 4000] [10de:06dd] (rev a3) (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company Device [103c:0780] InstallationDate: Installed on 2014-01-07 (239 days ago) InstallationMedia: Ubuntu 12.04.2 LTS Precise Pangolin - Release amd64 (20130213) MachineType: Hewlett-Packard HP Z600 Workstation ProcEnviron: LANGUAGE=en_IN:en PATH=(custom, no user) LANG=en_IN SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.5.0-48-generic root=UUID=899fb0e0-8fc8-4e99-8a94-94de209cca20 ro quiet splash vt.handoff=7 Renderer: Software SourcePackage: xorg UpgradeStatus: Upgraded to trusty on 2014-09-03 (0 days ago) dmi.bios.date: 03/11/2011 dmi.bios.vendor: Hewlett-Packard dmi.bios.version: 786G4 v03.19 dmi.board.asset.tag: SGH136STD5 dmi.board.name: 0B54h dmi.board.vendor: Hewlett-Packard dmi.board.version: D dmi.chassis.asset.tag: SGH136STD5 dmi.chassis.type: 6 dmi.chassis.vendor: Hewlett-Packard dmi.modalias: dmi:bvnHewlett-Packard:bvr786G4v03.19:bd03/11/2011:svnHewlett-Packard:pnHPZ600Workstation:pvr:rvnHewlett-Packard:rn0B54h:rvrD:cvnHewlett-Packard:ct6:cvr: dmi.product.name: HP Z600 Workstation dmi.sys.vendor: Hewlett-Packard version.compiz: compiz 1:0.9.11.2+14.04.20140714-0ubuntu1 version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.52-1 version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.3-0ubuntu0.1 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.3-0ubuntu0.1 version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3.1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1.1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2 xserver.bootTime: Wed Sep 3 19:29:32 2014 xserver.configfile: default xserver.devices: inputPower Button KEYBOARD, id 6 inputPower Button KEYBOARD, id 7 inputLogitech USB Optical Mouse MOUSE, id 8 inputCHICONY HP Basic USB Keyboard KEYBOARD, id 9 inputHP WMI hotkeys KEYBOARD, id 10 xserver.logfile: /var/log/Xorg.0.log xserver.outputs: xserver.version: 2:1.15.1-0ubuntu2 ** Affects: xorg (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug compiz-0.9 trusty ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365064 Title: GUI resolution problem To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1365064/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs