Decreasing dirty_writeback_centisecs & dirty_expire_centisecs to 10 ?
Rob Landley
rob at landley.net
Tue Sep 5 17:03:25 UTC 2006
On Tuesday 05 September 2006 11:55 am, Raphaël HUCK wrote:
> In an embedded system running on Flash memory, which is allowing users
> to plug and use USB devices (mostly USB Mass Storage),
>
> would it be possible to decrease "dirty_writeback_centisecs" from 3000
> to 10, and "dirty_expire_centisecs" from 3000 to 10 ?
>
> /proc/sys/vm/dirty_writeback_centisecs
> /proc/sys/vm/dirty_expire_centisecs
These are kernel options, and they look like they're modifiable at runtime.
What does this have to do with busybox?
> so that they can remove the USB device at any time and not lose buffers ?
>
> Mounting with the "sync" option is not a good idea, as it is really
> slow, and can destroy USB Keys rather quickly.
What options you pass to mount are up to you.
> And in my case it is impossible to predict when the user is going to
> unplug the USB key to unmount before.
>
> Thanks in advance.
I don't think you sent this to the right list.
> --Raphaël HUCK
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list