-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvarying_cores_test.sh
32 lines (31 loc) · 1.06 KB
/
varying_cores_test.sh
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
count=1
for cores in $(seq 0 7); do
taskset -c 0-$cores ./pint_only_time.R &> "time_$cores.txt"
mv time.rds "time_large_$count.rds"
count=$((count+1))
done
for cores in $(seq 16 23); do
taskset -c 0-7,16-$cores ./pint_only_time.R &> "time_$cores.txt"
mv time.rds "time_large_$count.rds"
count=$((count+1))
done
for cores in $(seq 8 15); do
taskset -c 0-7,16-23,8-$cores ./pint_only_time.R &> "time_$cores.txt"
mv time.rds "time_large_$count.rds"
count=$((count+1))
done
for cores in $(seq 24 31); do
taskset -c 0-$cores ./pint_only_time.R &> "time_$cores.txt"
mv time.rds "time_large_$count.rds"
count=$((count+1))
done
#taskset -c 0-0 ./pint_only_time.R &> "time_0.txt"
#mv time.rds "time_small_0.rds"
#taskset -c 0,1 ./pint_only_time.R &> "time_small_1.txt"
#mv time.rds "time_small_1.rds"
#taskset -c 0,1,2 ./pint_only_time.R &> "time_small_2.txt"
#mv time.rds "time_small_2.rds"
#taskset -c 0,1,2,3 ./pint_only_time.R &> "time_small_3.txt"
#mv time.rds "time_small_3.rds"
#taskset -c 0-7 ./pint_only_time.R &> "time_small_7.txt"
#mv time.rds "time_small_7.rds"