-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall-loadtest.sh
More file actions
executable file
·49 lines (33 loc) · 884 Bytes
/
install-loadtest.sh
File metadata and controls
executable file
·49 lines (33 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
# Install script for grid-hammer, filebench, fio...
set -e
yum -y install wget tar bison byacc gcc make flex python3 which
repo="
[grid-hammer]
name=grid-hammer
baseurl=https://storage-ci.web.cern.ch/storage-ci/grid-hammer/xrootd5/master/el7/x86_64/
gpgcheck=0
enabled=1
protect=1
priority=20
"
if [ -d /etc/yum-puppet.repos.d ]; then
echo "$repo" > /etc/yum-puppet.repos.d/grid-hammer.repo # puppet
else
echo "$repo" > /etc/yum.repos.d/grid-hammer.repo
fi
yum install -y grid-hammer-0.0.1.118.5e76778-1.el7.cern.x86_64
# Filebench
tempdir=$(mktemp -d)
cd $tempdir
wget https://github.com/filebench/filebench/releases/download/1.5-alpha3/filebench-1.5-alpha3.tar.gz
tar -xzf filebench-1.5-alpha3.tar.gz
cd filebench-1.5-alpha3
./configure
make
make install
cd
rm -rf $tempdir
# fio
yum install -y fio-3.7
ulimit -n 1048576 # Open files limit fix