FFSB file read/write pattern

Mahsa M
  • Mahsa  M

    Mahsa M - 2008-02-23


    I have a question about how FFSB performs the read and write?
    Do all the threads issue read/write requests simultanously?
    When a thread starts to read from / write to a file, does it continue with the same file until it is finished? or is it possible that that thread starts with another file before the curently open file is read completely?

    Your help will be appreciated.


    • Jose Santos

      Jose Santos - 2008-08-28

      Sorry for the VERY long delay.

      An ffsb thread will handle a single operation at a time.  It does not read the entire file though, it reads as much as you tell it to in the "read_size" option.  If you wish to read the hole file you have to options:

      1. max_filesize = min_filesize = (read/write)_size
      2. use the readall_weight option

      Hope you are still interested.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks