4ac1efae6c
- mcstat is a tool to report McKernel statistics from Linux side.
...
This is a response to a CEA's request.
- The tools directory is created under the mckernel directory.
- Some include files are now installed in the install directory,
but we should rethink of it.
2018-02-25 10:57:28 +09:00
8123cc413e
Use version string in configure.ac when git repo is not found
2018-01-24 00:52:18 +09:00
d4459cf9f3
Add check to confirm IHK and McKernel with the same version are used
2018-01-24 00:20:57 +09:00
12840601e1
support PERF_TYPE_{HARDWARE|HW_CACHE} in perf_event_open
...
refs #829
2017-10-20 23:10:20 +09:00
1cb9b435a9
Fix (?) build system
...
- disable -mno-red-zone for ARM
- add missing INCLUDEDIR
- make gencore.c compile
2017-10-18 09:20:52 +09:00
43ecf06e83
arch: x86 -> x86_64 and build system changes
2017-10-18 09:20:52 +09:00
47b4bd5aba
Installing mcexec.1 man page
2017-09-20 16:37:05 +09:00
daa7526127
rusage and ihklib: Fix out-of-memory reporting and cleanup
...
1. Fix OOM: Count memory usage only when allocation succeeded
2. Fix OOM: Make user allocation fail when memory is running out
3. Fix OOM: Move rusage_init() before numa_init()
4. Cleanup: Rename ihkconfig/ihkosctl functions
5. Cleanup: Pass event type to eventfd()
6. Cleanup: arch/.../rusage.h --> arch/.../arch_rusage.h
2017-09-20 15:11:57 +09:00
a1af7edd6e
ihk_os_create_pseudofs(): Add a function to prepare /proc and /sys
2017-09-20 15:11:57 +09:00
aa7cb970c4
ihk_os_getrusage(): Compile LWK-specific results in mcctrl
...
1. User asks mcctrl for the result via ihk_os_getrusage() with passing void *
2. mcctrl compiles the results and passes them to the user
3. User interprets it by using the type defined in the LWK-specific header
2017-09-20 15:03:45 +09:00
2f9af42b2e
configure: set KERNELSRC with double-quotes
...
This evals 4.12.5-300.fc26.x86_64 right away, which is necessary for e.g.
the variable used for System.map detection.
(looking at history, ihk always had double-quotes while mckernel always
had singles quotes -- this looks like a manual copy typo?)
2017-09-12 18:27:28 +09:00
b3613e2535
configure: check for read access on system.map
...
This lets us fallback gracefully to /System.map, which is
more open by default and binary identical on rhel systems
2017-09-12 18:27:28 +09:00
a05b6e1ba8
Expand dump-functions for excluding user/unused memory (This is rebase commit for merging to development)
2017-09-11 15:49:04 +09:00
325082a571
adapt "out of tree build" for arm64
2017-09-11 15:29:53 +09:00
8cc264d794
fix build error with "out of tree build"
...
- change include-path
- enable memdump by default
2017-09-06 21:54:43 +09:00
9989f41fd3
add arm64 support
...
- add arm64 dependent codes with GICv3 and SVE support
- fix bugs based on architecture separation requests
2017-09-05 15:06:27 +09:00
b53fb5f5cb
qlmpi: export qlmpilib.h
2017-08-30 10:37:36 +09:00
236a072311
Add qlmpi and swap to mckernel (This is rebase commit for merging to development)
2017-08-29 15:04:58 +09:00
07efb3ab9a
support to utility thread offloading
2017-06-27 13:27:09 +09:00
52bc052e1a
mcexec: recursively bind mount $prefix/rootfs/ on /
2017-06-16 18:01:25 +09:00
d29922c820
configure: re-autoreconf
2017-06-07 17:33:32 +09:00
6bdafbd33b
Fix rusage
2017-06-07 09:30:42 +09:00
a66fb96cd9
re-autoconf
2017-05-28 07:52:38 +09:00
e554f4e2f9
mcexec: --disable-sched-yield: avoid kernel/user switch
2017-05-23 19:57:08 +09:00
2d19ed9391
configure.ac: check NUMA development library
2017-04-29 05:30:27 +09:00
e6c4d7731d
Merge remote-tracking branch 'origin/rusage'
...
Conflicts:
configure
kernel/process.c
2017-04-27 15:10:38 +09:00
8c9b207557
configure : add option --enable-rusage
2017-04-27 14:00:59 +09:00
c3ec5d20ca
configure: --with-uname_r: optionally specify target kernel version string
2017-04-20 00:48:56 +09:00
fa5c1b23ca
eclair-dump-backtrace.exp: dump full backtrace of all mckernel threads
2017-01-15 10:46:07 +09:00
db169c5f90
add gcc options (-ffreestanding -fno-tree-loop-distribute-patterns)
...
refs #299
2016-11-29 16:28:18 +09:00
f480376153
mcoverlayfs: supported Linux kernel 4.6
...
add mcoverlayfs(linux-4.6.7 base)
2016-11-17 18:09:27 +09:00
e46f027894
mcexec/mcctrl: unmount cgroups (privately) which expose invalid NUMA info
2016-11-04 17:02:48 +09:00
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
3e1367caa1
mcoverlayfs: move mcoverlayfs(linux-4.0.9 base) to executer/kernel/mcoverlayfs/linux-4.0.9
2016-09-30 13:48:55 +09:00
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
d6784bb4a5
update auto-generated files
2016-04-11 22:25:53 +09:00
fb32120659
make mcoverlayfs optional (default: enabled)
2016-04-02 15:43:35 -04:00
73de203c16
update auto-generated files
2016-03-28 22:57:45 +09:00
4c38ddb623
update auto-generated files
2016-03-23 20:00:57 +09:00
c0eecd63c9
update auto-generated files
2016-03-23 20:00:57 +09:00
8f9192ac36
mcctrl: workaround for out-of-tree build (2/2)
...
- update auto-generated file
2016-02-29 19:18:08 +09:00
1f8a859b47
mcctrl: update auto-generated files
2016-02-24 21:34:48 +09:00
f214ff1b57
mcctrl: add MCEXEC_UP_SYS_MOUNT, MCEXEC_UP_SYS_UNSHARE
2016-02-08 16:00:52 +09:00
dbddab4356
mcoverlayfs: add overlayfs of the original(kernel 4.0.9)
2015-11-25 13:23:49 +09:00
12eb8a9bb0
mcctrl: move mcctrl to executer/kernel/mcctrl
2015-11-24 15:42:04 +09:00
b8f166e608
mcreboot-smp-x86.sh: handle resource allocation after unloading; mcstop+release-smp-x86.sh
2015-08-22 18:55:53 +09:00
fa79db3bcc
fix out of tree build
2015-07-01 23:58:50 +09:00
aabc3d386d
support a function to execute mcexec automatically.
2015-06-30 17:47:01 +09:00
5532e3c663
mcreboot script for new IHK SMP-x86 I/F
2015-05-26 14:41:28 +09:00
5f095b3952
McKernel IHK SMP-x86 support (build system and config files)
2014-12-25 11:03:04 +09:00