bwmon flash frequency

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
dnd
Posts: 9
Joined: Sun Nov 13, 2011 5:01 am

bwmon flash frequency

Post by dnd »

is there a way to configure how often the bandwidth monitor writes to the flash?

dnd
Posts: 9
Joined: Sun Nov 13, 2011 5:01 am

Re: bwmon flash frequency

Post by dnd »

if anyone is interested, i found it in /etc/init.d/bwmon_gargoyle. the write interval is controlled by this line:

echo "0 0,4,8,12,16,20 * * * $backup_script" >> "$tmp_cron"

ispyisail
Moderator
Posts: 4809
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: bwmon flash frequency

Post by ispyisail »


batagy
Posts: 8
Joined: Tue Dec 31, 2013 11:07 am

Re: bwmon flash frequency

Post by batagy »

Hi!

If we want to increase the internal flash lifetime, how much time could be the recommended write interval? The default is 4 hour. Does it any improve it to let's say 24 hour at all?

But I guess then the ramdisk could get fill if it's not written in adequate time, isn't it? On other hand the amount of written data maybe doesn't change, because if rarer writes, then it's bigger file size needs be written.

Can be the write disabled at all? For example if someone doesn't need the bandwidth to see earlier then what it's in ramdisk.

Post Reply