On 2016-06-14 10:13, Etienne Champetier wrote: >>> Before we try to minimize writes, how much writes are we talking about? >>> my openwrt routers have multiple months of uptime, and even if we get >>> down to 1 week, that gets us to 53 writes a year. >>> How much writes can a flash handle these days? >> I'm more concerned about the worst case than the average case here. >> There are people that do a forced reboot every day (as a stability >> workaround), or only power up their devices during specific times of the >> day (multiple reboots per day). This can easily add up to bigger numbers. >> >> Also, adding something like this makes other people want to add even >> more stuff that writes to flash on every boot, as you've so clearly >> demonstrated by pointing out that this behavior are already done for >> dnssec/dnsmasq. > > Ok, let's find a middle ground :) > What about saving a seed if there is none (on boot), and then using an > ntp hotplug (stratum event) and save a new seed if older than say 1 > week? I think that's reasonable.
- Felix _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev