[Devel] Hang with fair cgroup scheduler (reproducer is attached.)

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Thu Dec 13 23:18:34 PST 2007


Hi,

While I was testing 2.6.24-rc5-mm1's fair group scheduler (with cgroup),
the system hangs. please confirm. it's reproducible on my box.

My test program is attached.

What happens:
  the system hangs. (panic ?)

Environ:
  ia64/NUMA 8CPU systems. 4 cpus per node.

How to reproduce:
  Compile attached one.
  # gcc -o reg reg.c
  Create group as following
  # mount -t cgroup none /opt/cgroup -o cpu
  # mkdir /opt/cgroup/group_1
  # mkdir /opt/cgroup/group_2
  
  And run attached program
  # ./reg 8 8

What 'reg' does;  
  usage : reg A B C...
  This program forks child process and assign 
     A of processes to group_1
     B of processes to group_2
     C of processes to group_3
  kick and waitpid all and repeat.

Thanks,
-Kame
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reg.c
Type: text/x-csrc
Size: 2301 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/devel/attachments/20071214/e316497d/attachment-0001.bin>
-------------- next part --------------
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers


More information about the Devel mailing list