On Thu, 2002-06-27 at 11:34, Henrique Faria wrote: > Well, changing both JOURNAL_MAX_TRANS_AGE and JOURNAL_MAX_COMMIT_AGE to 0.1 > and making the following configuration for flash devices > > JOURNAL_BLOCK_COUNT 512 > JOURNAL_TRANS_MAX 128 > JOURNAL_MAX_BATCH 127 > > I was able to force data flush just after the file write C instructions > (with O_SYNC or fsync). I did not get performance problems for while, maybe > because it's a linux dedicated for a single game. >
All of the journal parameters should be ints. Setting them to 0.1 won't have quite the desired effect. If you have JOURNAL_MAX_BATCH set to 1, you can ignore JOURNAL.*AGE, and the transaction will commit after each write. -chris
