OpenELEC Testbuilds for RaspberryPi Part 2 - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166) +---- Thread: OpenELEC Testbuilds for RaspberryPi Part 2 (/showthread.php?tid=184866) Pages:
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
|
RE: OpenELEC Testbuilds for RaspberryPi Part 2 - popcornmix - 2013-12-19 (2013-12-19, 19:43)xbs08 Wrote: Can this be right?? It's a bit quick. About 5MB/s is not impossible, but considering you are reading and writing the same device, and doing so with thousands of small files, that seems pretty high. Perhaps this is fairer: time sh -c "cp -r /storage/.xbmc/userdata/Thumbnails/* /storage/downloads/Thumbnails && sync" The sync will ensure the files have actually been written, rather than still sitting in a cache. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - allan87 - 2013-12-19 Rebuilding a large database would probably be a good test for disk access. Lots of small reads and writes. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - xbs08 - 2013-12-19 Code: OpenELEC:~ # time sh -c "cp -r /storage/.xbmc/userdata/Thumbnails/* /storage/downloads/Thumbnails && sync" RE: OpenELEC Testbuilds for RaspberryPi Part 2 - popcornmix - 2013-12-19 (2013-12-19, 20:03)xbs08 Wrote: OpenELEC:~ # time sh -c "cp -r /storage/.xbmc/userdata/Thumbnails/* /storage/downloads/Thumbnails && sync" I get similar (high) results: Code: OpenELEC:~ # du -csh /storage/.xbmc/userdata/Thumbnails This is with f2fs my fast Sandisk Extreme USB flash drive. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - allan87 - 2013-12-19 Do we have baseline results with ext4 for comparison? RE: OpenELEC Testbuilds for RaspberryPi Part 2 - xbs08 - 2013-12-19 With Patriot USB 3.0 F2FS Code: OpenELEC:~ # time sh -c "cp -r /storage/.xbmc/userdata/Thumbnails/* /storage/downloads/Thumbnails && sync" RE: OpenELEC Testbuilds for RaspberryPi Part 2 - popcornmix - 2013-12-19 (2013-12-19, 21:22)allan87 Wrote: Do we have baseline results with ext4 for comparison? That's what we need. Should have made two partition on USB drive - one f2fs and one ext4 which would have made this easier. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - xbs08 - 2013-12-19 I'll try doing some EXT4 test asap. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - xbs08 - 2013-12-19 Silicon -power USB 2.0 4GB - EXT4 vs. F2FS EXT4 Code: OpenELEC:~ # time sh -c "cp -r /storage/.xbmc/userdata/Thumbnails/* /storage/downloads/Thumbnails && sync" F2FS (2013-12-19, 20:03)xbs08 Wrote: Silicon -power USB 2.0 EXT4 format performs better in library (worse in general UI tasks) in relation to Patriot USB 3.0 but with F2FS format Patriot performs better in library and UI. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - vbaros - 2013-12-19 That is amazing. I also have Patriot 3.0 16GB and I'm eager to switch to F2FS. Is it enough to format and rsync the contents of the Storage partition? RE: OpenELEC Testbuilds for RaspberryPi Part 2 - xbs08 - 2013-12-19 I made a backup of .xbmc, format to F2FS, restored .xbmc and reboot. You'll need GParted 0.16 or up to format to F2FS. BTW copying .xbmc folder to EXT4 took a lot longer than it did to F2FS F2FS - Patriot USB 3.0 16 GB - 151MB Thumbnails Code: OpenELEC:~ # time sh -c "cp -r /storage/.xbmc/userdata/Thumbnails/* /storage/downloads/Thumbnails && sync" If you can, please do the same tests so we can compare results. Thanks. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Reddog999 - 2013-12-20 (2013-12-19, 21:14)popcornmix Wrote:(2013-12-19, 20:03)xbs08 Wrote: OpenELEC:~ # time sh -c "cp -r /storage/.xbmc/userdata/Thumbnails/* /storage/downloads/Thumbnails && sync" I guess I must have a really slow usb stick. However, I cannot repeat the 9 minutes odd with ext4 storage - the only thing I can think of for the discrepancy is that I've been working with image files for each of the ext4 and f2fs storage (which also explains the difference in thumbnail files sizes since there were 2 days between me making the images) and it might have got corrupted when I re-imaged the usb stick or there might have been something running in the background (not sure what though). Anyway re-did the tests (deleting the /downloads/thumbnails folder between each test): 3 tests with ext4 (4GB Sandisk Cruzer): Code: openelec:~ # du -csh /storage/.xbmc/userdata/Thumbnails 3 tests with f2fs (4GB Sandisk Cruzer): Code: openelec:~ # du -csh /storage/.xbmc/userdata/Thumbnails This still represents approx. 90% increase in performance so I guess I'm going to stick with f2fs. Quote:What might be interesting is installing a new add-on or skin. I think the write speed would be significant in that. Installing Aeon Nox 4.0.9 from a zip file took 1m 43s for ext4 and 1m 6s for f2fs - I couldn't get texturecache to work (something about JSON-RPC server not running), so I gave up. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Trickname - 2013-12-20 here is mine: f2fs 83.0M /storage/.xbmc/userdata/Thumbnails/ 83.0M total OpenELEC:~ # time sh -c "cp -r /storage/.xbmc/userdata/Thumbnails/* /storage/ && sync" real 0m 31.08s user 0m 0.25s sys 0m 3.63s using Intenso Speed Line 8 GB USB-Stick USB 3.0 copying .xbmc folder is much faster OE feels a little quicker for me RE: OpenELEC Testbuilds for RaspberryPi Part 2 - xbs08 - 2013-12-20 I'm gonna stick with f2fs too. It's not an overwhelming increase in performance but it's noticeable. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - allan87 - 2013-12-20 I hesitate to use file system that has not reached its first stable release. It seems imprudent. Anyone know enough about it to say that there are no serious concerns about file corruption, data loss, etc.? It would also be interesting to see benchmarks that would reflect functions that are used on an everyday basis. |