a design for interchangable simulation and implementation
Klaus Birkelund Jensen Brian Vinter August 25, 2015
Niels Bohr Institute
a design for interchangable simulation and implementation Klaus - - PowerPoint PPT Presentation
a design for interchangable simulation and implementation Klaus Birkelund Jensen Brian Vinter August 25, 2015 Niels Bohr Institute outline 1. Introduction, background and motivation Some context to understand why ISI was developed. 2. The
Niels Bohr Institute
2
4
5
6
7
8
9
10
11
11
11
12
13
14
15
16
17
18
18
19
20
21
22
23
24
func client(lib *library) { ch := make(chan response, *chanBufSize) for { lib.changers <- request{mount, ch, clock} resp = <-ch clock = clock.Add(resp.t) waitTime += resp.t t += resp.t resp.ch <- request{read, ch, clock} resp = <-ch clock = clock.Add(resp.t) t += resp.t ioTime += resp.t } } 25
1 10 100 1000 10000 10 100 1000 10000 100000 1e+06 Runtime (seconds) Number of total processes (multiples of 8 drives, 1 changer, 16 clients) Runtime of Tape Library Simulation on 1 core unbuffered bufsize=100 bufsize=1000
27
1 10 100 1000 10 100 1000 10000 100000 1e+06 Runtime (seconds) Number of total processes (multiples of 8 drives, 1 changer, 16 clients) Runtime of Tape Library Simulation with buffered channels (size 100) 1 core 2 cores 4 cores 8 cores
28
29
30
31
32