Hi,
We are using kernel 2.4.19 on an embedded system based on an x386. We have a single ext3 filesystem, the root filesystem, in a DISKONCHIP. Every 15-20 seconds kjournald consumes a large percentage of the CPU locking out the application, which is highly visible to the user. I have found references to this problem and a suggested workaround. However I have found that the workaround does not work under 2.4.19 (others have found this as well).
I'd like to know if anyone has been successful trying something like the following:
Mount the (root) filesystem as ext3 echo 40 0 0 0 60 300 0 0 > /proc/sys/vm/bdflush
This should cause kupdated to run every 0.6 sec and kjournald to flush a dirty buffer after 3 seconds, but this doesn't work under 2.4.19. I believe if I could get this to work, the duration of the pauses would be short enough to go unnoticed.
If you've been able to tune kjournald which version of the kernel (complete with patch level) did you use and what commands did you use?
We switched from ext2 to ext3 as under ext2 we were experiencing file coruption after cycling power, which ext3 fixed.
If this is not the appropriate place to post this question where would you suggest I post it?
Thanks, Randy.