Include mbind support (this is a rebase commit to merge into development)

This commit is contained in:
Katsuya Horigome
2017-11-06 12:47:56 +09:00
parent bad487cc07
commit d649d6fc2d
124 changed files with 1458 additions and 103 deletions

View File

@ -0,0 +1,16 @@
#!/bin/sh
NUMAS=$1
MEM_SIZE=$2
REP=$3
CHUNKS=""
for numa in ${NUMAS}
do
for rep in `seq 1 ${REP}`
do
CHUNKS="${CHUNKS}${MEM_SIZE}@${numa},"
done
done
echo ${CHUNKS%,}

10
test/mbind/utils/kill_mcexec.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
count=`pgrep -c -f 'mcexec '`
if [ ${count} -gt 0 ]
then
echo "kill process :" ${count}
pgrep -l -f 'mcexec '
pgrep -f 'mcexec ' | xargs kill -9
fi