Performance

A benchmark is used to measure the speed of the software on available targets. This benchmark is in no way complete, but it gives an approximation of the length of time required for common operations on various targets.

Configuration and performance table

All values are in MBytes/sec.

Device CPU Speed Medium W R
Atmel AT91SAM7S 48 MHz MMC using SPI with 24MHz 1.0 1.0
Atmel AT91SAM7S 48 MHz NAND with 512 bytes per page
using Port mode
0.8 2.0
Atmel AT91SAM7S 48 MHz NAND with 2048 bytes per page
and a sector size of 512 bytes
using Port mode
0.7 2.0
Atmel AT91SAM7S 48 MHz NAND with 2048 bytes per page
and a sector size of 2048 bytes
using the built-in NAND controller / external bus-interface
1.3 2.3
Atmel AT91SAM9261 200 MHz RAM disk 128 128
Atmel AT91SAM9261 200 MHz NAND with 2048 bytes per page
and a sector size of 512 bytes
using the built-in NAND controller / external bus-interface.
1.4 4.9
Atmel AT91SAM9261 200 MHz NAND with 2048 bytes per page
and a sector size of 2048 bytes
using the built-in NAND controller / external bus-interface.
2.6 10.6
Atmel AT91SAM7SE 48 MHz NAND with 2048 bytes per page
and a sector size of 512 bytes
using the built-in NAND controller / external bus-interface.
1.1 3.1
Atmel AT91SAM7SE 48 MHz NAND with 2048 bytes per page
and a sector size of 2048 bytes
using the built-in NAND controller / external bus-interface.
3.8 5.8
LogicPD LH79520 51 MHz RAM disk 20.0 20.0
LogicPD LH79520 51 MHz IDE mem-mapped 1.4 1.7
LogicPD LH79520 51 MHz MMC using SPI with 12MHz 0.5 1.3
Cogent EP7312 74 MHz CompacFlash card, True IDE mode 1.9 2.5
Cogent EP7312 74 MHz HDD, True IDE mode 1.7 2.4

Description of the performance tests

The performance tests are executed as described and in the order below.
Performance test procedure:

  1. Format the drive.
  2. Create and open a file for writing.
    W: Start measuring of write performance.
  3. Write a multiple of 8 Kbytes.
    W: Stop measuring of write performance.
  4. Close the file
  5. Reopen the file.
    R: Start measuring of read performance.
  6. Read a multiple of 8 Kbytes.
    R: Stop measuring of read performance.
  7. Close the file
  8. Show the performance results.

The Performance test can be reproduced. Include FS_Performance.c (located in the folder .SampleAPI) into your project. Compile and run the project on your target hardware.