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 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
28 |
rem @SYMTestCaseID PBASE-FAT-PERF-1365
|
|
29 |
rem @SYMTestType PT
|
|
30 |
rem @SYMPREQ PREQ1885
|
|
31 |
rem @SYMTestCaseDesc To check the directory cache performance by opening multiple files randomly when DirCache has 1.7MB data
|
|
32 |
rem @SYMTestActions 0. Make sure the Test pre-settings
|
|
33 |
rem 1. Set FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB in ESTART.TXTre
|
|
34 |
rem 2. Fill DirCache with 1.7 MB data
|
|
35 |
rem Note: Before the next step, ABCD~_1 file is opened at root dir \D1\ to set the LeafDirCache.
|
|
36 |
rem This should not be accounted for measurement purpose.
|
|
37 |
rem 3. Open the following files under \\D1\\:
|
|
38 |
rem ABCD~_8000
|
|
39 |
rem ABCD~_20
|
|
40 |
rem ABCD~_4000
|
|
41 |
rem ABCD~_1000
|
|
42 |
rem ABCD~_3000
|
|
43 |
rem ABCD~_200
|
|
44 |
rem ABCD~_6000
|
|
45 |
rem 4. Measure the time taken to open each of these files
|
|
46 |
rem @SYMTestExpectedResults 1. FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB
|
|
47 |
rem 2. DirCache filled with 1.7MB data
|
|
48 |
rem 3. File Open Successful
|
|
49 |
rem 4. Time in ms for each file
|
|
50 |
rem Note: It is assumed that memory card is mounted on e: drive on the target board
|
|
51 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
52 |
|
|
53 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1 -n 1 -m 0
|
|
54 |
|
|
55 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_8000 -n 1 -m 0
|
|
56 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_20 -n 1 -m 0
|
|
57 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_4000 -n 1 -m 0
|
|
58 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1000 -n 1 -m 0
|
|
59 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_3000 -n 1 -m 0
|
|
60 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_200 -n 1 -m 0
|
|
61 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_6000 -n 1 -m 0
|
|
62 |
|
|
63 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
64 |
rem @SYMTestCaseID PBASE-FAT-PERF-1366
|
|
65 |
rem @SYMTestType PT
|
|
66 |
rem @SYMPREQ PREQ1885
|
|
67 |
rem @SYMTestCaseDesc To check the directory cache performance by opening multiple files randomly when DirCache has 3.4MB data
|
|
68 |
rem @SYMTestActions 0. Make sure the Test pre-settings
|
|
69 |
rem 1. Set FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB in ESTART.TXT
|
|
70 |
rem 2. Fill DirCache with 3.4MB data
|
|
71 |
rem Note: Before the next step, ABCD~_1 file is opened at root dir \D1\ to set the LeafDirCache.
|
|
72 |
rem This should not be accounted for measurement purpose.
|
|
73 |
rem 3. Open the following files under \\D1\\D2\\ :
|
|
74 |
rem ABCD~_8000
|
|
75 |
rem ABCD~_20
|
|
76 |
rem ABCD~_4000
|
|
77 |
rem ABCD~_1000
|
|
78 |
rem ABCD~_3000
|
|
79 |
rem ABCD~_200
|
|
80 |
rem ABCD~_6000
|
|
81 |
rem 4. Measure the time taken to open each of these files
|
|
82 |
rem @SYMTestExpectedResults 1. FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB
|
|
83 |
rem 2. DirCache filled with 3.4MB data
|
|
84 |
rem 3. File Open Successful
|
|
85 |
rem 4. Time in ms for each file
|
|
86 |
rem Note: It is assumed that memory card is mounted on e: drive on the target board
|
|
87 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
88 |
|
|
89 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1 -n 1 -m 0
|
|
90 |
|
|
91 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_8000 -n 1 -m 0
|
|
92 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_20 -n 1 -m 0
|
|
93 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_4000 -n 1 -m 0
|
|
94 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1000 -n 1 -m 0
|
|
95 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_3000 -n 1 -m 0
|
|
96 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_200 -n 1 -m 0
|
|
97 |
t_fat_perf e -c Open -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_6000 -n 1 -m 0
|
|
98 |
|
|
99 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
100 |
rem @SYMTestCaseID PBASE-FAT-PERF-1367
|
|
101 |
rem @SYMTestType PT
|
|
102 |
rem @SYMPREQ PREQ1885
|
|
103 |
rem @SYMTestCaseDesc To check the directory cache performance by opening multiple files randomly when DirCache has 5.1MB data
|
|
104 |
rem @SYMTestActions 0. Make sure the Test pre-settings
|
|
105 |
rem 1. Set FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB in ESTART.TXT
|
|
106 |
rem 2. Fill DirCache with 5.1MB data
|
|
107 |
rem Note: Before the next step, ABCD~_1 file is opened at root dir \D1\ to set the LeafDirCache.
|
|
108 |
rem This should not be accounted for measurement purpose.
|
|
109 |
rem 3. Open the following files under \\D1\\D2\\D3\\:
|
|
110 |
rem ABCD~_8000
|
|
111 |
rem ABCD~_20
|
|
112 |
rem ABCD~_4000
|
|
113 |
rem ABCD~_1000
|
|
114 |
rem ABCD~_3000
|
|
115 |
rem ABCD~_200
|
|
116 |
rem ABCD~_6000
|
|
117 |
rem 4. Measure the time taken to open each of these files
|
|
118 |
rem @SYMTestExpectedResults 1. FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB
|
|
119 |
rem 2. DirCache filled with 5.1MB data
|
|
120 |
rem 3. File Open Successful
|
|
121 |
rem 4. Time in ms for each file
|
|
122 |
rem Note: It is assumed that memory card is mounted on e: drive on the target board
|
|
123 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
124 |
|
|
125 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1 -n 1 -m 0
|
|
126 |
|
|
127 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_8000 -n 1 -m 0
|
|
128 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_20 -n 1 -m 0
|
|
129 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_4000 -n 1 -m 0
|
|
130 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1000 -n 1 -m 0
|
|
131 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_3000 -n 1 -m 0
|
|
132 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_200 -n 1 -m 0
|
|
133 |
t_fat_perf e -c Open -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_6000 -n 1 -m 0
|
|
134 |
|
|
135 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
136 |
rem @SYMTestCaseID PBASE-FAT-PERF-1368
|
|
137 |
rem @SYMTestType PT
|
|
138 |
rem @SYMPREQ PREQ1885
|
|
139 |
rem @SYMTestCaseDesc To check the directory cache performance by opening multiple files randomly when DirCache has 6.8MB data
|
|
140 |
rem @SYMTestActions 0. Make sure the Test pre-settings
|
|
141 |
rem 1. Set FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB in ESTART.TXT
|
|
142 |
rem 2. Fill DirCache with 6.8MB data
|
|
143 |
rem Note: Before the next step, ABCD~_1 file is opened at root dir \D1\ to set the LeafDirCache.
|
|
144 |
rem This should not be accounted for measurement purpose.
|
|
145 |
rem 3. Open the following files under \\D1\\D2\\D3\\D4\\:
|
|
146 |
rem ABCD~_8000
|
|
147 |
rem ABCD~_20
|
|
148 |
rem ABCD~_4000
|
|
149 |
rem ABCD~_1000
|
|
150 |
rem ABCD~_3000
|
|
151 |
rem ABCD~_200
|
|
152 |
rem ABCD~_6000
|
|
153 |
rem 4. Measure the time taken to open each of these files
|
|
154 |
rem @SYMTestExpectedResults 1. FAT_MinDirCacheSize = 128 KB and FAT_MaxDirCacheSize = 9216 KB
|
|
155 |
rem 2. DirCache filled with 6.8MB data
|
|
156 |
rem 3. File Open Successful
|
|
157 |
rem 4. Time in ms for each file
|
|
158 |
rem Note: It is assumed that memory card is mounted on e: drive on the target board
|
|
159 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
160 |
|
|
161 |
t_fat_perf e -c Open -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1 -n 1 -m 0
|
|
162 |
|
|
163 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_8000 -n 1 -m 0
|
|
164 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_20 -n 1 -m 0
|
|
165 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_4000 -n 1 -m 0
|
|
166 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1000 -n 1 -m 0
|
|
167 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_3000 -n 1 -m 0
|
|
168 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_200 -n 1 -m 0
|
|
169 |
t_fat_perf e -c Open -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_6000 -n 1 -m 0
|
|
170 |
|
|
171 |
|