Example YAFFS2Speed for ARMGS10

Материал из eeWiki - открытая энциклопедия по электронике
Перейти к: навигация, поиск

Тестирование работы файловой системы YAFFS2 для NAND flash
на плате ARMGeoSpyder 1.0



YAFFS2 - высокоэффективная файловая система с открытым кодом разработанная специально для современных NAND Flash большого объема
Эта файловая система отличается:

  • высокой скоростью записи и чтения,
  • малым временем подготовки к старту и форматирования,
  • эффективным алгоритмом выравнивания износа (wear leveling).


Файловая система тестировалась на чипе NAND Flash MT29F2G08AACWP:C (8 bit, 256 MByte)
Размер блока данных равнялся 2048 байт.
Переменная yaffs_traceMask = 0
Был включен аппаратный контроль EEC

>yaffs2test B: tt 200000 50
  Free space in B: is 265551872

...................YAFFS2 statistic .......................
nPageWrites                = 0
nPageReads                 = 0
nBlockErasures             = 0
nErasureFailures           = 0
nGCCopies                  = 0
garbageCollections         = 0
passiveGarbageCollections  = 0
eccUnfixed                 = 0
tagsEccUnfixed             = 0
nDeletions                 = 0
nUnmarkedDeletions         = 0
...........................................................
-------------------- Writing -----------------
B:/tt0.BIN 200000 00001140 00035550 00000813 5494.022504 Kb/s
B:/tt1.BIN 200000 00000813 00035683 00000842 5473.544825 Kb/s
B:/tt2.BIN 200000 00000865 00035547 00000794 5494.486173 Kb/s
B:/tt3.BIN 200000 00000861 00035682 00000844 5473.698223 Kb/s
B:/tt4.BIN 200000 00000858 00035500 00000843 5501.760563 Kb/s
B:/tt5.BIN 200000 00000763 00035782 00000840 5458.400872 Kb/s
B:/tt6.BIN 200000 00000813 00035737 00000841 5465.274086 Kb/s
B:/tt7.BIN 200000 00000812 00035403 00000842 5516.834732 Kb/s
B:/tt8.BIN 200000 00000862 00035671 00000841 5475.386168 Kb/s
B:/tt9.BIN 200000 00000864 00035441 00000844 5510.919556 Kb/s
B:/tt10.BIN 200000 00000860 00035723 00000840 5467.415951 Kb/s
B:/tt11.BIN 200000 00000866 00035447 00000843 5509.986741 Kb/s
B:/tt12.BIN 200000 00000869 00035694 00000841 5471.858015 Kb/s
B:/tt13.BIN 200000 00000813 00035722 00000840 5467.569005 Kb/s
B:/tt14.BIN 200000 00000866 00035454 00000840 5508.898855 Kb/s
B:/tt15.BIN 200000 00000866 00035725 00000839 5467.109867 Kb/s
B:/tt16.BIN 200000 00000865 00035444 00000839 5510.453109 Kb/s
B:/tt17.BIN 200000 00000818 00035669 00000838 5475.693179 Kb/s
B:/tt18.BIN 200000 00000867 00035462 00000843 5507.656083 Kb/s
B:/tt19.BIN 200000 00001114 00035495 00000843 5502.535568 Kb/s
B:/tt20.BIN 200000 00000819 00035785 00000841 5457.943272 Kb/s
B:/tt21.BIN 200000 00000870 00035453 00000841 5509.054241 Kb/s
B:/tt22.BIN 200000 00000869 00035685 00000842 5473.238055 Kb/s
B:/tt23.BIN 200000 00000870 00035448 00000840 5509.831302 Kb/s
B:/tt24.BIN 200000 00000771 00035622 00000841 5482.917860 Kb/s
B:/tt25.BIN 200000 00000883 00035788 00000838 5457.485749 Kb/s
B:/tt26.BIN 200000 00000874 00035460 00000841 5507.966723 Kb/s
B:/tt27.BIN 200000 00000828 00035699 00000839 5471.091627 Kb/s
B:/tt28.BIN 200000 00000877 00035520 00000843 5498.662725 Kb/s
B:/tt29.BIN 200000 00000875 00035731 00000841 5466.191822 Kb/s
B:/tt30.BIN 200000 00000883 00035560 00000848 5492.477503 Kb/s
B:/tt31.BIN 200000 00000878 00035690 00000846 5472.471280 Kb/s
B:/tt32.BIN 200000 00000882 00035703 00000837 5470.478671 Kb/s
B:/tt33.BIN 200000 00000889 00035416 00000843 5514.809691 Kb/s
B:/tt34.BIN 200000 00000883 00035749 00000842 5463.439537 Kb/s
B:/tt35.BIN 200000 00000834 00035571 00000841 5490.779005 Kb/s
B:/tt36.BIN 200000 00000838 00035742 00000839 5464.509541 Kb/s
B:/tt37.BIN 200000 00000836 00035565 00000793 5491.705328 Kb/s
B:/tt38.BIN 200000 00001072 00035512 00000841 5499.901442 Kb/s
B:/tt39.BIN 200000 00000790 00035695 00000842 5471.704721 Kb/s
B:/tt40.BIN 200000 00000888 00035561 00000842 5492.323051 Kb/s
B:/tt41.BIN 200000 00000835 00035796 00000842 5456.266063 Kb/s
B:/tt42.BIN 200000 00000893 00035514 00000843 5499.591710 Kb/s
B:/tt43.BIN 200000 00000889 00035639 00000841 5480.302478 Kb/s
B:/tt44.BIN 200000 00000886 00035462 00001015 5507.656083 Kb/s
B:/tt45.BIN 200000 00000893 00035555 00000843 5493.249895 Kb/s
B:/tt46.BIN 200000 00000887 00035746 00000843 5463.898059 Kb/s
B:/tt47.BIN 200000 00000839 00035573 00000842 5490.470301 Kb/s
B:/tt48.BIN 200000 00000896 00035601 00000842 5486.152074 Kb/s
B:/tt49.BIN 200000 00000891 00164501 00000842 1187.302813 Kb/s
Statistic for write operations.
Open max = 00001140 us Open min = 00000763 us, Open aver = 871 us
Writ max = 00164501 us Writ min = 00035403 us, Writ aver = 38183 us
Clos max = 00001015 us Clos min = 00000793 us, Clos aver = 842 us
Averaged write speed  = 5115 Kbyte/s
...................YAFFS2 statistic .......................
nPageWrites                = 5050
nPageReads                 = 1029
nBlockErasures             = 0
nErasureFailures           = 0
nGCCopies                  = 0
garbageCollections         = 0
passiveGarbageCollections  = 0
eccUnfixed                 = 0
tagsEccUnfixed             = 0
nDeletions                 = 99
nUnmarkedDeletions         = 99
...........................................................
-------------------- Reading -----------------
B:/tt0.BIN 200000 00000204 00016047 00000002 12171.278121 Kb/s
B:/tt1.BIN 200000 00000197 00016036 00000000 12179.627089 Kb/s
B:/tt2.BIN 200000 00000196 00016028 00000000 12185.706264 Kb/s
B:/tt3.BIN 200000 00000199 00016028 00000000 12185.706264 Kb/s
B:/tt4.BIN 200000 00000196 00016030 00000001 12184.185901 Kb/s
B:/tt5.BIN 200000 00000196 00016029 00000000 12184.946035 Kb/s
B:/tt6.BIN 200000 00000197 00016032 00000000 12182.665918 Kb/s
B:/tt7.BIN 200000 00000200 00016031 00000001 12183.425862 Kb/s
B:/tt8.BIN 200000 00000197 00016033 00000000 12181.906069 Kb/s
B:/tt9.BIN 200000 00000196 00016031 00000001 12183.425862 Kb/s
B:/tt10.BIN 200000 00000197 00016024 00000000 12188.748128 Kb/s
B:/tt11.BIN 200000 00000198 00016026 00000001 12187.227006 Kb/s
B:/tt12.BIN 200000 00000196 00016029 00000001 12184.946035 Kb/s
B:/tt13.BIN 200000 00000195 00016030 00000001 12184.185901 Kb/s
B:/tt14.BIN 200000 00000196 00016030 00000001 12184.185901 Kb/s
B:/tt15.BIN 200000 00000198 00016030 00000001 12184.185901 Kb/s
B:/tt16.BIN 200000 00000194 00016032 00000001 12182.665918 Kb/s
B:/tt17.BIN 200000 00000194 00016033 00000000 12181.906069 Kb/s
B:/tt18.BIN 200000 00000195 00016026 00000000 12187.227006 Kb/s
B:/tt19.BIN 200000 00000197 00016028 00000001 12185.706264 Kb/s
B:/tt20.BIN 200000 00000194 00016025 00000000 12187.987520 Kb/s
B:/tt21.BIN 200000 00000193 00016028 00000000 12185.706264 Kb/s
B:/tt22.BIN 200000 00000193 00016036 00000000 12179.627089 Kb/s
B:/tt23.BIN 200000 00000195 00016028 00000001 12185.706264 Kb/s
B:/tt24.BIN 200000 00000194 00016030 00000001 12184.185901 Kb/s
B:/tt25.BIN 200000 00000193 00016037 00000001 12178.867619 Kb/s
B:/tt26.BIN 200000 00000193 00016028 00000001 12185.706264 Kb/s
B:/tt27.BIN 200000 00000196 00016021 00000001 12191.030522 Kb/s
B:/tt28.BIN 200000 00000193 00016026 00000001 12187.227006 Kb/s
B:/tt29.BIN 200000 00000193 00016032 00000001 12182.665918 Kb/s
B:/tt30.BIN 200000 00000192 00016033 00000001 12181.906069 Kb/s
B:/tt31.BIN 200000 00000195 00016024 00000000 12188.748128 Kb/s
B:/tt32.BIN 200000 00000194 00016026 00000001 12187.227006 Kb/s
B:/tt33.BIN 200000 00000192 00016035 00000001 12180.386654 Kb/s
B:/tt34.BIN 200000 00000193 00016028 00000000 12185.706264 Kb/s
B:/tt35.BIN 200000 00000193 00016021 00000000 12191.030522 Kb/s
B:/tt36.BIN 200000 00000191 00016025 00000001 12187.987520 Kb/s
B:/tt37.BIN 200000 00000191 00016034 00000001 12181.146314 Kb/s
B:/tt38.BIN 200000 00000191 00016034 00000001 12181.146314 Kb/s
B:/tt39.BIN 200000 00000193 00016023 00000000 12189.508831 Kb/s
B:/tt40.BIN 200000 00000189 00016022 00000001 12190.269629 Kb/s
B:/tt41.BIN 200000 00000190 00016030 00000001 12184.185901 Kb/s
B:/tt42.BIN 200000 00000189 00016025 00000000 12187.987520 Kb/s
B:/tt43.BIN 200000 00000191 00016022 00000001 12190.269629 Kb/s
B:/tt44.BIN 200000 00000188 00016022 00000000 12190.269629 Kb/s
B:/tt45.BIN 200000 00000188 00016028 00000001 12185.706264 Kb/s
B:/tt46.BIN 200000 00000188 00016033 00000001 12181.906069 Kb/s
B:/tt47.BIN 200000 00000189 00016024 00000001 12188.748128 Kb/s
B:/tt48.BIN 200000 00000188 00016032 00000001 12182.665918 Kb/s
B:/tt49.BIN 200000 00000187 00016029 00000001 12184.946035 Kb/s
Statistic for read operations.
Open max = 00000204 us Open min = 00000187 us, Open aver = 194 us
Read max = 00016047 us Read min = 00016021 us, Read aver = 16029 us
Clos max = 00000002 us Clos min = 00000000 us, Clos aver = 1 us
Averaged read speed  = 12185 Kbyte/s
...................YAFFS2 statistic .......................
nPageWrites                = 5050
nPageReads                 = 5979
nBlockErasures             = 0
nErasureFailures           = 0
nGCCopies                  = 0
garbageCollections         = 0
passiveGarbageCollections  = 0
eccUnfixed                 = 0
tagsEccUnfixed             = 0
nDeletions                 = 99
nUnmarkedDeletions         = 99
...........................................................
-------------------- Deleting -----------------
B:/tt0.BIN 200000 00002598 us
B:/tt1.BIN 200000 00002961 us
B:/tt2.BIN 200000 00002499 us
B:/tt3.BIN 200000 00002894 us
B:/tt4.BIN 200000 00002431 us
B:/tt5.BIN 200000 00002934 us
B:/tt6.BIN 200000 00002921 us
B:/tt7.BIN 200000 00002432 us
B:/tt8.BIN 200000 00002820 us
B:/tt9.BIN 200000 00002474 us
B:/tt10.BIN 200000 00002813 us
B:/tt11.BIN 200000 00002376 us
B:/tt12.BIN 200000 00002814 us
B:/tt13.BIN 200000 00002882 us
B:/tt14.BIN 200000 00002415 us
B:/tt15.BIN 200000 00002814 us
B:/tt16.BIN 200000 00002362 us
B:/tt17.BIN 200000 00003162 us
B:/tt18.BIN 200000 00002863 us
B:/tt19.BIN 200000 00002474 us
B:/tt20.BIN 200000 00002866 us
B:/tt21.BIN 200000 00002417 us
B:/tt22.BIN 200000 00002906 us
B:/tt23.BIN 200000 00002470 us
B:/tt24.BIN 200000 00002855 us
B:/tt25.BIN 200000 00002916 us
B:/tt26.BIN 200000 00002461 us
B:/tt27.BIN 200000 00002856 us
B:/tt28.BIN 200000 00002407 us
B:/tt29.BIN 200000 00002910 us
B:/tt30.BIN 200000 00002408 us
B:/tt31.BIN 200000 00002910 us
B:/tt32.BIN 200000 00002899 us
B:/tt33.BIN 200000 00002410 us
B:/tt34.BIN 200000 00002846 us
B:/tt35.BIN 200000 00002410 us
B:/tt36.BIN 200000 00002743 us
B:/tt37.BIN 200000 00003265 us
B:/tt38.BIN 200000 00002647 us
B:/tt39.BIN 200000 00002902 us
B:/tt40.BIN 200000 00002454 us
B:/tt41.BIN 200000 00002890 us
B:/tt42.BIN 200000 00002573 us
B:/tt43.BIN 200000 00002839 us
B:/tt44.BIN 200000 00002892 us
B:/tt45.BIN 200000 00002440 us
B:/tt46.BIN 200000 00002961 us
B:/tt47.BIN 200000 00002444 us
B:/tt48.BIN 200000 00002837 us
B:/tt49.BIN 200000 00002392 us
Statistic for delete operations.
Delet. max = 00003265 us Delet. min = 00002362 us, Delet. aver = 2703 us
...................YAFFS2 statistic .......................
nPageWrites                = 5201
nPageReads                 = 6232
nBlockErasures             = 78
nErasureFailures           = 0
nGCCopies                  = 1
garbageCollections         = 1
passiveGarbageCollections  = 1
eccUnfixed                 = 0
tagsEccUnfixed             = 0
nDeletions                 = 5200
nUnmarkedDeletions         = 5200
...........................................................