Commit Graph

46 Commits

Author SHA1 Message Date
Masamichi Takagi
f284a80656 Defrag memory in mcreboot.sh
Merge free physical pages to create large, physically contiguous
blocks with the following command.

    echo 1 > /proc/sys/vm/compact_memory
2016-10-25 16:35:43 +09:00
Balazs Gerofi
942b7f8b78 mcreboot-smp-x86: eliminate unnecessary resource queries 2016-10-21 03:38:21 -04:00
e29005
0b0aa6c0e0 Start mcklogd before McKernel to avoid deadlock
McKernel blocks forever waiting for mcklogd to retrieve kmsg when
kmsg bufer is full with boot log and mcklogd isn't running.
2016-10-19 16:40:32 +09:00
Balazs Gerofi
083645f203 mcreboot: purge Linux caches before reserving IHK resources 2016-10-14 21:34:32 +09:00
Balazs Gerofi
73e1a4f1f9 NUMA: fill in /sys/devices/system/cpu/nodeX properly and sync with boot script 2016-10-14 21:34:31 +09:00
Balazs Gerofi
b068fde9cd NUMA: use IHK CPU and NUMA mappings for sysfs entries 2016-10-14 21:34:31 +09:00
Yoichi Umezawa
8d21846562 mcoverlayfs: supported Linux kernel 4.0 or rhel kernel 3.10.0-327
add mcoverlayfs(linux-3.10.0-327.36.1.el7 base)
2016-09-30 14:55:36 +09:00
Ken Sato
02536b7724 Merge remote-tracking branch 'remotes/origin/ikc2'
Conflicts:
	executer/kernel/mcctrl/syscall.c
It is resolved.
2016-09-27 11:48:12 +09:00
Masamichi Takagi
c2b3fb7236 Modify interrupt load balancing policy on reboot/stop
* Fix the timing of stopping irqbalance when booting McKernel
2016-09-16 19:07:07 +09:00
Masamichi Takagi
2f95f7cda8 Modify interrupt load balancing policy on reboot/stop
When rebooting:
1. Stop irqbalance
2. Modify /proc/irq/*/smp_affinity so that McKernel cores are not
   included
3. Start irqbalance with McKernel cores and IHK IRQ banned from
   load balancing

When stopping:
1. Stop irqbalance
2. Restore /proc/irq/*/smp_affinity
3. Restart irqbalance with the system default settings

refs #760
2016-09-16 13:04:24 +09:00
Masamichi Takagi
f74dcfc2a1 Modify mcreboot.sh for job scheduler
1. Don't complain when logname command doesn't exist
2016-09-01 19:27:18 +09:00
Masamichi Takagi
1ce1b17a85 Specify facility used by mcklogd via option
1. You can specify facility through -f option of mcreboot.sh.
   Example:
   mcreboot.sh -k 1 -f LOG_LOCAL6
   Note that you need to specify "-k 1" or "-k 2" to start mcklogd.
2. Kill mcklogd if needed in mcreboot.sh and mcstop+release.sh.
2016-08-17 17:52:44 +09:00
Masamichi Takagi
a2456c3ed2 Modify mcstop+release.sh for job scheduler
1. Remove ihk.ko
2. Output message to stderr and return one on error
2016-08-17 17:32:06 +09:00
Masamichi Takagi
15783f09a0 Modify mcreboot.sh for job scheduler
1. Add an option to specify owner of device files
2. Output message to stderr and return one on error
2016-08-17 15:07:13 +09:00
Balazs Gerofi
f4155cc9e8 mcstop+release-smp-x86.sh: fix OS instance discovery bug 2016-08-12 12:27:04 +09:00
Balazs Gerofi
c43d993a4d mcstop+release-smp-x86.sh.in: unload mcctrl after OS shutdown 2016-07-11 16:40:06 +09:00
Balazs Gerofi
7d9bbecd7a mcctrl: use IHK OS notifiers to establish/tear down syscall channels
This patch eliminates the need for rmmod/insmod the mcctrl module
every time an OS instance is rebooted.
2016-07-11 16:22:50 +09:00
Balazs Gerofi
e12997e6a9 mcreboot: support for CPU cores (-c) and memory (-m) arguments 2016-06-21 09:10:06 -07:00
Yoichi Umezawa
d0ee60f9e3 mcoverlayfs: supported only Linux kernel 4.0 2016-06-03 18:36:55 +09:00
Balazs Gerofi
fb32120659 make mcoverlayfs optional (default: enabled) 2016-04-02 15:43:35 -04:00
Yoichi Umezawa
853b56c784 mcreboot-smp-x86.sh: add mount to ceate /tmp/mcos/linux_proc from /proc 2016-02-24 19:24:37 +09:00
takatori
ebce1cb031 Merge branch 'master' of postpeta.pccluster.org:mckernel 2016-02-22 13:34:00 +09:00
takatori
fff7744907 mcklogd support 2016-02-22 13:32:20 +09:00
Yoichi Umezawa
e7c37b8000 mcreboot-smp-x86.sh: fix Failed to mount /sys/devices/virtual/mcos/mcos0/sys 2016-02-16 16:05:40 +09:00
Yoichi Umezawa
0ce698eb1f mcexec: support for /sys mounted by mcoverlayfs 2016-02-08 11:36:03 +09:00
Yoichi Umezawa
20deed09f0 mcexec: support for /proc mounted by mcoverlayfs 2015-12-14 14:47:05 +09:00
Yoichi Umezawa
10ba03ccea mcreboot-smp-x86.sh: fix querying free irq 2015-09-17 13:19:07 +09:00
Balazs Gerofi
e7b1115572 mcreboot-smp-x86.sh: introduction of ihk_ikc_irq_core argument 2015-09-14 17:30:25 +09:00
Balazs Gerofi
b8f166e608 mcreboot-smp-x86.sh: handle resource allocation after unloading; mcstop+release-smp-x86.sh 2015-08-22 18:55:53 +09:00
Balazs Gerofi
386f59000a mcreboot-smp-x86.sh.in: grant real user rw permission on /dev/mcos* 2015-08-07 13:33:44 +09:00
Balazs Gerofi
a029bcac37 mcreboot-smp-x86: find unused IRQ line and pass start vector to ihk_smp_x86.ko 2015-07-07 09:07:16 +09:00
Balazs Gerofi
5532e3c663 mcreboot script for new IHK SMP-x86 I/F 2015-05-26 14:41:28 +09:00
Masamichi Takagi
58e2e0a246 Use pidof in mcreboot script 2014-11-23 17:54:14 +09:00
Masamichi Takagi
ea02628f2b Add reboot and shutdown script for builtin-x86
It decides the number of cores for McKernel by looking into the
"SHIMOS: CPU Status:" line of dmesg. It sets the amount of memory for
McKernel to one urth of the total memory obtained by "free -g".
2014-11-13 20:06:29 +09:00
Balazs Gerofi bgerofi@riken.jp
9448cefe80 do not track arch/x86/tools/mcshutdown-attached-mic.sh (generated file) 2014-08-07 14:32:43 +09:00
Naoki Hamada
4d223269e6 Remove delivative files. 2014-08-01 11:14:31 +09:00
Naoki Hamada
1e0db73a48 Add files from master. 2014-08-01 09:16:53 +09:00
Balazs Gerofi bgerofi@riken.jp
11ddbcf3c8 wait only 10 secs in mcreboot-attached 2014-03-27 15:35:42 +09:00
Masamichi Takagi
c01cccd1b2 Add "ihkosctl 0 shutdown" to mcreboot.sh 2013-12-10 14:17:55 +09:00
Yutaka Ishikawa ishikawa@is.s.u-tokyo.ac.jp
dc9f282d58 adding the mcshutdown command 2013-11-19 06:08:43 +09:00
Yutaka Ishikawa ishikawa@is.s.u-tokyo.ac.jp
eff0b92c25 1) DATA --> DATE
2) version and date variables are visible in makefile and documents
    		AC_SUBST
2013-11-18 08:09:28 +09:00
ubuntu12.10
d10416cb04 for release 2013-11-14 17:26:03 +09:00
Tomoki Shirasawa
e5890aa949 typo fix 2013-11-14 16:27:11 +09:00
Tomoki Shirasawa
3f60324d4e add copyright 2013-11-14 15:55:00 +09:00
Tomoki Shirasawa
04cef6f073 Merge branch 'master' of postpeta.pccluster.org:mckernel 2013-11-12 10:43:05 +09:00
Tomoki Shirasawa
3f2db99057 move boot-attached-mic.sh.in to arch/x86/tools 2013-11-12 10:41:51 +09:00