Revision 632
Added by Borja Sotomayor almost 15 years ago
reuse2.lwf | ||
---|---|---|
1 |
# Name: REUSE-2 |
|
2 |
# Description: The first two lease requests are AR leases happening |
|
3 |
# at the same time, but with different images. The third one is |
|
4 |
# a best-effort one, using the image from the second AR request |
|
5 |
# (which should be scheduled on nodes P3, P4). The scheduler should |
|
6 |
# prefer scheduling the best-effort lease on P3, P4 since it |
|
7 |
# avoids an image transfer. |
|
8 |
0 900 900 900 2 1 1024 0 foobar1.img 1024 |
|
9 |
0 900 900 900 2 1 1024 0 foobar2.img 1024 |
|
10 |
2700 -1 900 900 1 1 1024 0 foobar2.img 1024 |
|
1 |
<?xml version="1.0"?> |
|
2 |
<lease-workload name="reuse2"> |
|
3 |
<description> |
|
4 |
The first two lease requests are AR leases happening |
|
5 |
at the same time, but with different images. The third one is |
|
6 |
a best-effort one, using the image from the second AR request |
|
7 |
(which should be scheduled on nodes P3, P4). The scheduler should |
|
8 |
prefer scheduling the best-effort lease on P3, P4 since it |
|
9 |
avoids an image transfer. |
|
10 |
</description> |
|
11 |
|
|
12 |
<site> |
|
13 |
<resource-types names="CPU Memory"/> |
|
14 |
<nodes> |
|
15 |
<node-set numnodes="4"> |
|
16 |
<res type="CPU" amount="100"/> |
|
17 |
<res type="Memory" amount="1024"/> |
|
18 |
</node-set> |
|
19 |
</nodes> |
|
20 |
</site> |
|
21 |
|
|
22 |
<lease-requests> |
|
23 |
<lease-request arrival="00:00:00.00"> |
|
24 |
<lease id="1" preemptible="false"> |
|
25 |
<nodes> |
|
26 |
<node-set numnodes="2"> |
|
27 |
<res amount="100" type="CPU"/> |
|
28 |
<res amount="1024" type="Memory"/> |
|
29 |
</node-set> |
|
30 |
</nodes> |
|
31 |
<start> |
|
32 |
<exact time="00:15:00.00"/> |
|
33 |
</start> |
|
34 |
<duration time="00:15:00.00"/> |
|
35 |
<software> |
|
36 |
<disk-image id="foobar1.img" size="1024"/> |
|
37 |
</software> |
|
38 |
</lease> |
|
39 |
</lease-request> |
|
40 |
<lease-request arrival="00:00:00.00"> |
|
41 |
<lease id="2" preemptible="false"> |
|
42 |
<nodes> |
|
43 |
<node-set numnodes="2"> |
|
44 |
<res amount="100" type="CPU"/> |
|
45 |
<res amount="1024" type="Memory"/> |
|
46 |
</node-set> |
|
47 |
</nodes> |
|
48 |
<start> |
|
49 |
<exact time="00:15:00.00"/> |
|
50 |
</start> |
|
51 |
<duration time="00:15:00.00"/> |
|
52 |
<software> |
|
53 |
<disk-image id="foobar2.img" size="1024"/> |
|
54 |
</software> |
|
55 |
</lease> |
|
56 |
</lease-request> |
|
57 |
<lease-request arrival="00:45:00.00"> |
|
58 |
<lease id="3" preemptible="true"> |
|
59 |
<nodes> |
|
60 |
<node-set numnodes="1"> |
|
61 |
<res amount="100" type="CPU"/> |
|
62 |
<res amount="1024" type="Memory"/> |
|
63 |
</node-set> |
|
64 |
</nodes> |
|
65 |
<start/> |
|
66 |
<duration time="00:15:00.00"/> |
|
67 |
<software> |
|
68 |
<disk-image id="foobar2.img" size="1024"/> |
|
69 |
</software> |
|
70 |
</lease> |
|
71 |
</lease-request> |
|
72 |
</lease-requests> |
|
73 |
</lease-workload> |
Also available in: Unified diff
Merged TP2.0/0.9 branch into trunk.