Subscribe

FFSB file read/write pattern

  1. 2008-02-23 15:10:51 PST
    Hi,

    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.

    Thanks,
    Mahsa
  2. 2008-08-28 09:43:45 PDT
    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
    OR
    2. use the readall_weight option

    Hope you are still interested.
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.