* will build kernels with timestamps
This commit is contained in:
parent
ac9b0376b0
commit
f1e5cb8159
2
Makefile
2
Makefile
|
@ -38,4 +38,4 @@ prepkern:
|
||||||
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "/root/benchmarks/kernel/build.pl --prep"
|
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "/root/benchmarks/kernel/build.pl --prep"
|
||||||
|
|
||||||
dokern:
|
dokern:
|
||||||
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "screen -d -m -S dokern /root/benchmarks/kernel/build.pl"
|
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "screen -d -m -S dokern -c /root/benchmarks/kernel/screenrc"
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
print "Running on " . `hostname`;
|
print "Running on " . `hostname`;
|
||||||
|
if ($ARGV[0] eq "--clean") {
|
||||||
|
system("rm -rf linux-3.0.8");
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
if ( ! -e "linux-3.0.8.tar.xz") {
|
if ( ! -e "linux-3.0.8.tar.xz") {
|
||||||
my $return = system("wget -c http://69.55.54.91/linux-3.0.8.tar.xz");
|
my $return = system("wget -c http://69.55.54.91/linux-3.0.8.tar.xz");
|
||||||
|
@ -14,6 +18,9 @@ if ( ! -d "linux-3.0.8") {
|
||||||
|
|
||||||
chdir "linux-3.0.8";
|
chdir "linux-3.0.8";
|
||||||
# system("cp /root/benchmarks/kernel/config-3.0.8 .config");
|
# system("cp /root/benchmarks/kernel/config-3.0.8 .config");
|
||||||
|
if ($ARGV[0] eq "--mrproper") {
|
||||||
|
system("make mrproper");
|
||||||
|
}
|
||||||
|
|
||||||
install_standard("make -v", "make");
|
install_standard("make -v", "make");
|
||||||
install_gcc();
|
install_gcc();
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
screen -t kernbot 0 /root/benchmarks/kernel/build.pl
|
screen -t kernbot 0 /root/benchmarks/kernel/stress.sh
|
||||||
logfile "kernbot.%n"
|
logfile "kernbot.%n"
|
||||||
log on
|
log on
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
cd /root/benchmarks/kernel/
|
||||||
|
hosts="try1 try2 try3"
|
||||||
|
|
||||||
|
for host in ${hosts}; do
|
||||||
|
echo {host}
|
||||||
|
date -u
|
||||||
|
sync
|
||||||
|
./build.pl
|
||||||
|
date -u
|
||||||
|
sync
|
||||||
|
date -u
|
||||||
|
./build.pl --clean
|
||||||
|
date -u
|
||||||
|
sync
|
||||||
|
date -u
|
||||||
|
done
|
|
@ -0,0 +1,53 @@
|
||||||
|
export PS1='\h:\w\$ '
|
||||||
|
umask 022
|
||||||
|
|
||||||
|
# unalias screen
|
||||||
|
# alias screen='screen -A -R jcarr'
|
||||||
|
unset PAGER
|
||||||
|
set +o ignoreeof
|
||||||
|
export LS_OPTIONS='--color=auto'
|
||||||
|
eval `dircolors`
|
||||||
|
alias ls='ls $LS_OPTIONS'
|
||||||
|
alias ll='ls $LS_OPTIONS -lh'
|
||||||
|
alias lf='ls $LS_OPTIONS -aCF'
|
||||||
|
alias l='ls $LS_OPTIONS -lA'
|
||||||
|
#
|
||||||
|
# Some more alias to avoid making mistakes:
|
||||||
|
alias rm='rm -i'
|
||||||
|
alias cp='cp -i'
|
||||||
|
alias mv='mv -i'
|
||||||
|
|
||||||
|
alias pa='ps auxwH -L kstart_time'
|
||||||
|
alias psc='ps xawf -eo pid,user,cgroup,args'
|
||||||
|
|
||||||
|
PATH=$PATH:/sbin:/usr/sbin:/usr/games:~/bin
|
||||||
|
|
||||||
|
export LANG=C
|
||||||
|
export LANGUAGE=C
|
||||||
|
export LC_ALL=C
|
||||||
|
|
||||||
|
setterm -blength 0
|
||||||
|
|
||||||
|
if [ $DISPLAY ] ; then
|
||||||
|
xset b off
|
||||||
|
fi
|
||||||
|
|
||||||
|
alias rscp="rsync -av --progress --inplace"
|
||||||
|
export PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||||
|
export EDITOR=vim
|
||||||
|
|
||||||
|
stty -echoctl
|
||||||
|
|
||||||
|
unset VIMINIT
|
||||||
|
|
||||||
|
export DEBEMAIL="Jeff Carr <jcarr@linuxmachines.com>"
|
||||||
|
|
||||||
|
export GIT_AUTHOR_NAME="Jeff Carr"
|
||||||
|
export GIT_AUTHOR_EMAIL="jcarr@linuxmachines.com"
|
||||||
|
export GIT_COMMITTER_NAME="Jeff Carr"
|
||||||
|
export GIT_COMMITTER_EMAIL="jcarr@linuxmachines.com"
|
||||||
|
export GIT_USER="jcarr"
|
||||||
|
export LC_USER="jcarr"
|
||||||
|
export LC_EXTRA_USER=jcarr
|
||||||
|
|
||||||
|
export EDITOR=vim
|
Loading…
Reference in New Issue