* will build kernels with timestamps

This commit is contained in:
Jeff Carr 2011-10-28 12:40:42 -04:00
parent ac9b0376b0
commit f1e5cb8159
5 changed files with 80 additions and 2 deletions

View File

@ -38,4 +38,4 @@ prepkern:
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "/root/benchmarks/kernel/build.pl --prep"
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"

View File

@ -3,6 +3,10 @@
use strict;
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") {
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";
# system("cp /root/benchmarks/kernel/config-3.0.8 .config");
if ($ARGV[0] eq "--mrproper") {
system("make mrproper");
}
install_standard("make -v", "make");
install_gcc();

View File

@ -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"
log on

18
kernel/stress.sh Executable file
View File

@ -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

53
loadbot/.jcarr/.bashrc Normal file
View File

@ -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