File System writing time

I am sending data for a file to my ConnectME in 8k chunks and then writing them to the file system before requesting the next chunk of data. The process of writing seems to take a relatively long time to occur. Each of these 8k data chunks can take anywhere from @ 3-10 seconds to be written. I am using fwrite() to write to the file system. The total file size will be @ 350 KB.

Is there anything I can do to speed up the writing to the file. Or is there a better data size to use to eliminate some writing overhead.

you can increase time by buffering all the 8K chunks and write it once.definitely ur writing timw will increase…

I modified the function wait_io_status() in bsp\common
afs_intf.c.
I replaced the call to tx_thread_sleep(5) with a call to tx_thread_relinquish().
It seems to me that there is no side effects, and I get a significant performance boost.