0
|
1 |
rem
|
|
2 |
rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
rem All rights reserved.
|
|
4 |
rem This component and the accompanying materials are made available
|
|
5 |
rem under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
rem which accompanies this distribution, and is available
|
|
7 |
rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
rem
|
|
9 |
rem Initial Contributors:
|
|
10 |
rem Nokia Corporation - initial contribution.
|
|
11 |
rem
|
|
12 |
rem Contributors:
|
|
13 |
rem
|
|
14 |
rem Description:
|
|
15 |
rem
|
|
16 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
17 |
rem Open 8000 file in each of the directories in D1\D2\D3\D4 to fill the dir cache
|
|
18 |
rem This is the pre-condition to run all of the test cases below. This covers step#2 in @SYMTestActions in all cases below.
|
|
19 |
rem Note: It is assumed that memory card is mounted on e: drive on the target board
|
|
20 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
21 |
|
|
22 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_ -n 8000 -m 1
|
|
23 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_ -n 8000 -m 0
|
|
24 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_ -n 8000 -m 0
|
|
25 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_ -n 8000 -m 0
|
|
26 |
|
|
27 |
|
|
28 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
29 |
rem @SYMTestCaseID PBASE-FAT-PERF-1361
|
|
30 |
rem @SYMTestType PT
|
|
31 |
rem @SYMPREQ PREQ1885
|
|
32 |
rem @SYMTestCaseDesc To check the directory cache performance by opening multiple files linearly when DirCache has 1.7MB data
|
|
33 |
rem @SYMTestActions 0. Make sure the Test pre-settings
|
|
34 |
rem 1. Set FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB in ESTART.TXT
|
|
35 |
rem 2. Fill DirCache with 1.7MB data
|
|
36 |
rem Note: Before the next step, ABCD~_1 file is opened at root dir \D1\ to set the LeafDirCache.
|
|
37 |
rem This should not be accounted for measurement purpose.
|
|
38 |
rem 3. Open the following files under \\D1\\:
|
|
39 |
rem ABCD~_20
|
|
40 |
rem ABCD~_200
|
|
41 |
rem ABCD~_1000
|
|
42 |
rem ABCD~_3000
|
|
43 |
rem ABCD~_4000
|
|
44 |
rem ABCD~_6000
|
|
45 |
rem ABCD~_8000
|
|
46 |
rem 4. Measure the time taken to open each of these files
|
|
47 |
rem
|
|
48 |
rem @SYMTestExpectedResults 1. FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB
|
|
49 |
rem 2. DirCache filled with 1.7MB data
|
|
50 |
rem 3. File Open Successful
|
|
51 |
rem 4. Time in ms for each file
|
|
52 |
rem Note: It is assumed that memory card is mounted on e: drive on the target board
|
|
53 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
54 |
|
|
55 |
|
|
56 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1 -n 1 -m 0
|
|
57 |
|
|
58 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_20 -n 1 -m 0
|
|
59 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_200 -n 1 -m 0
|
|
60 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1000 -n 1 -m 0
|
|
61 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_3000 -n 1 -m 0
|
|
62 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_4000 -n 1 -m 0
|
|
63 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_6000 -n 1 -m 0
|
|
64 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_8000 -n 1 -m 0
|
|
65 |
|
|
66 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
67 |
rem @SYMTestCaseID PBASE-FAT-PERF-1362
|
|
68 |
rem @SYMTestType PT
|
|
69 |
rem @SYMPREQ PREQ1885
|
|
70 |
rem @SYMTestCaseDesc To check the directory cache performance by opening multiple files linearly when DirCache has 3.4MB data
|
|
71 |
rem @SYMTestActions 0. Make sure the Test pre-settings
|
|
72 |
rem 1. Set FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB in ESTART.TXT
|
|
73 |
rem 2. Fill DirCache with 3.4MB data
|
|
74 |
rem Note: Before the next step, ABCD~_1 file is opened at root dir \D1\ to set the LeafDirCache.
|
|
75 |
rem This should not be accounted for measurement purpose.
|
|
76 |
rem 3. Open the following files under \\D1\\ D2\\ :
|
|
77 |
rem ABCD~_20
|
|
78 |
rem ABCD~_200
|
|
79 |
rem ABCD~_1000
|
|
80 |
rem ABCD~_3000
|
|
81 |
rem ABCD~_4000
|
|
82 |
rem ABCD~_6000
|
|
83 |
rem ABCD~_8000
|
|
84 |
rem 4. Measure the time taken to open each of these files
|
|
85 |
rem @SYMTestExpectedResults 1. FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB
|
|
86 |
rem 2. DirCache filled with 3.4MB data
|
|
87 |
rem 3. File Open Successful
|
|
88 |
rem 4. Time in ms for each file
|
|
89 |
rem Note: It is assumed that memory card is mounted on e: drive on the target board
|
|
90 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
91 |
|
|
92 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1 -n 1 -m 0
|
|
93 |
|
|
94 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_20 -n 1 -m 0
|
|
95 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_200 -n 1 -m 0
|
|
96 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1000 -n 1 -m 0
|
|
97 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_3000 -n 1 -m 0
|
|
98 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_4000 -n 1 -m 0
|
|
99 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_6000 -n 1 -m 0
|
|
100 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_8000 -n 1 -m 0
|
|
101 |
|
|
102 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
103 |
rem @SYMTestCaseID PBASE-FAT-PERF-1363
|
|
104 |
rem @SYMTestType PT
|
|
105 |
rem @SYMPREQ PREQ1885
|
|
106 |
rem @SYMTestCaseDesc To check the directory cache performance by opening multiple files linearly when DirCache has 5.1MB data
|
|
107 |
rem @SYMTestActions 0. Make sure the Test pre-settings
|
|
108 |
rem 1. Set FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB in ESTART.TXT
|
|
109 |
rem 2. Fill DirCache with 5.1MB data
|
|
110 |
rem Note: Before the next step, ABCD~_1 file is opened at root dir \D1\ to set the LeafDirCache.
|
|
111 |
rem This should not be accounted for measurement purpose.
|
|
112 |
rem 3. Open the following files under \\D1\\ D2\\ D3\\:
|
|
113 |
rem ABCD~_20
|
|
114 |
rem ABCD~_200
|
|
115 |
rem ABCD~_1000
|
|
116 |
rem ABCD~_3000
|
|
117 |
rem ABCD~_4000
|
|
118 |
rem ABCD~_6000
|
|
119 |
rem ABCD~_8000
|
|
120 |
rem 4. Measure the time taken to open each of these files
|
|
121 |
rem @SYMTestExpectedResults 1. FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB
|
|
122 |
rem 2. DirCache filled with 5.1MB data
|
|
123 |
rem 3. File Open Successful
|
|
124 |
rem 4. Time in ms for each file
|
|
125 |
rem Note: It is assumed that memory card is mounted on e: drive on the target board
|
|
126 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
127 |
|
|
128 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1 -n 1 -m 0
|
|
129 |
|
|
130 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_20 -n 1 -m 0
|
|
131 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_200 -n 1 -m 0
|
|
132 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1000 -n 1 -m 0
|
|
133 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_3000 -n 1 -m 0
|
|
134 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_4000 -n 1 -m 0
|
|
135 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_6000 -n 1 -m 0
|
|
136 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_8000 -n 1 -m 0
|
|
137 |
|
|
138 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
139 |
rem @SYMTestCaseID PBASE-FAT-PERF-1364
|
|
140 |
rem @SYMTestType PT
|
|
141 |
rem @SYMPREQ PREQ1885
|
|
142 |
rem @SYMTestCaseDesc To check the directory cache performance by opening multiple files linearly when DirCache has 6.8MB data
|
|
143 |
rem @SYMTestActions 0. Make sure the Test pre-settings
|
|
144 |
rem 1. Set FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB in ESTART.TXT
|
|
145 |
rem 2. Fill DirCache with 6.8MB data
|
|
146 |
rem Note: Before the next step, ABCD~_1 file is opened at root dir \D1\ to set the LeafDirCache.
|
|
147 |
rem This should not be accounted for measurement purpose.
|
|
148 |
rem 3. Open the following files under \\D1\\ D2\\ D3\\ D4\\ :
|
|
149 |
rem ABCD~_20
|
|
150 |
rem ABCD~_200
|
|
151 |
rem ABCD~_1000
|
|
152 |
rem ABCD~_3000
|
|
153 |
rem ABCD~_4000
|
|
154 |
rem ABCD~_6000
|
|
155 |
rem ABCD~_8000
|
|
156 |
rem 4. Measure the time taken to open each of these files
|
|
157 |
rem @SYMTestExpectedResults 1. FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB
|
|
158 |
rem 2. DirCache filled with 6.8MB data
|
|
159 |
rem 3. File Open Successful
|
|
160 |
rem 4. Time in ms for each file
|
|
161 |
rem Note: It is assumed that memory card is mounted on e: drive on the target board
|
|
162 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
163 |
|
|
164 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1 -n 1 -m 0
|
|
165 |
|
|
166 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_20 -n 1 -m 0
|
|
167 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_200 -n 1 -m 0
|
|
168 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1000 -n 1 -m 0
|
|
169 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_3000 -n 1 -m 0
|
|
170 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_4000 -n 1 -m 0
|
|
171 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_6000 -n 1 -m 0
|
|
172 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_8000 -n 1 -m 0
|