Skip to contentSkip to conversation

DOC2000 write speed

DISCUSSION Holger Friedrich 1 participant 1 message Aug 29, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi all,
We need to figure out how much time it takes to write a file of a specified size to the DOC. So I mounted it sync and did a 'time scriptfile', where scriptfile is a shell script, which copies the file a hundred times from ramdisk to DOC. When I wrote to a floppy disk the same way I found that despite mounting it sync the floppy LED would not come on while the script was running, although it took longer than writing to DOC. It would only come on when doing sync or unmount. So I guess I either can't trust the sync option or the floppy LED. In the first case my results are bogus at least for the floppy and probably for the DOC, too.
Any ideas how to force an immediate write?
Thanx in advance Holger