Skip to content
Snippets Groups Projects
  1. May 25, 2016
  2. Jun 06, 2012
  3. Feb 22, 2012
  4. Mar 29, 2011
  5. Mar 27, 2011
    • Arnd Bergmann's avatar
      flashbench: add --offset command line argument · c32531a8
      Arnd Bergmann authored
      
      This makes it easier to do the --open-au test case
      on drives whose erase block is not a power of two.
      Note that for those, you have to pass a blocksize
      that is also not a power of two, but a fraction
      of the erase size, e.g.
      
      flashbench --open-au --random --open-au-nr=6 \
      	--erasesize=$[3 * 1024 * 1024] \
      	--blocksize=$[24 * 1024] \
      	--offset=$[24 * 1024 * 1024] \
      	/dev/sde
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      c32531a8
    • Arnd Bergmann's avatar
      flashbench: add try_open_au_oob · 61472b69
      Arnd Bergmann authored
      
      This function is needed for certain USB sticks that
      use an odd erase block size (4128 KiB in one case).
      We will probably need this later, commit it as unused
      for now.
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      61472b69
  6. Mar 24, 2011
  7. Mar 09, 2011
  8. Feb 19, 2011
  9. Feb 16, 2011
  10. Jan 12, 2011
  11. Jan 09, 2011
  12. Jan 05, 2011
    • Arnd Bergmann's avatar
      flashbench: print MB/s in 1000 not 1024 units · 085e8fd0
      Arnd Bergmann authored
      
      This fixes inconsistencies in the output.
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      085e8fd0
    • Arnd Bergmann's avatar
      flashbench: add test for number of open AUs · ca0433fc
      Arnd Bergmann authored
      
      The new test case writes data to random positions
      in a varying number of AUs, using varying block
      sizes.
      
      Example output:
      	1 AU	 2 AU	  3 AU	   4 AU	    5 AU     8 AU
      4MiB    8.98M/s  8.99M/s  9.01M/s  9M/s     8.99M/s  9M/s
      2MiB    9.09M/s  6.88M/s  7.55M/s  6.85M/s  4.84M/s  4.84M/s
      1MiB    7.59M/s  7.47M/s  3.81M/s  2.59M/s  2.55M/s  2.55M/s
      512KiB  8.42M/s  7.54M/s  1.82M/s  1.69M/s  1.35M/s  1.31M/s
      256KiB  9.01M/s  8.18M/s  1.22M/s  778K/s   681K/s   681K/s
      128KiB  7.79M/s  7.27M/s  1.02e+0  816K/s   358K/s   340K/s
      64KiB   12.1M/s  11.2M/s  4.7M/s   4.19M/s  336K/s   173K/s
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      ca0433fc
  13. Jan 04, 2011
Loading