Home/Support/Support Forum/File System writing time
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

File System writing time

0 votes
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.
asked Apr 26, 2006 in NET+OS by DanKAPI New to the Community (7 points)
recategorized Dec 18, 2013 by tuxembb

Please log in or register to answer this question.

2 Answers

0 votes
you can increase time by buffering all the 8K chunks and write it once.definitely ur writing timw will increase..
answered Jun 2, 2006 by tomy New to the Community (2 points)
0 votes
I modified the function wait_io_status() in bsp\common\nafs_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.
answered Jun 7, 2006 by Alb New to the Community (1 point)
...