Hello, I’ve just recently upgraded my rt-ac66u to a ac5300. Love all the new feature. But been wondering with all the data Qos like web history and app analysis take up on the router does it kill the nvram over time or does it goes into the ram? Thanks.
It's fine, the router's flash is rated for handling that level of write activity.
it's ephermal in nature, so it doesn't need to be kept on the flash.
It takes a while, but we're starting to see this with older RT-68U devices
We're talking about traffic history here. You want App Analysis data to be persistent, otherwise is pretty useless.
The NAND Asus picked was designed to handle rolling logging according to the datasheet. We're talking tens of thousands of PE cycles supported here (I forgot if it was 10K or 100K).
In embedded SW - we have stateless things - e.g. code that does not change - we have user data, config items and storage, and we have stuff that just doesn't matter - and most of the writes via logging are just that - so put that over into tempfs in RAM, and keep it off the flash...
The linear/raw NAND with most consumer devices like routers - Asus included - it's cheap stuff, and writing to any given cell in that space has a defined lifespan...
And yes - looking back thru the forums here - there's a fair amount of jffs/nand issues, esp with the more complicated devices with small flash.
Is there any way I can have all logs written on to a usb drive instead? I've searched and it only talks about traffic logs.
The system log is written to RAM, and only gets copied back to JFFS once in a while.
Yes, and I gave you that lifespan: 10K or 100K PE cycles. It's not a cheap 1K PE cycle part, the datasheet for it specifically states it's intended for heavy usage. Assuming it's the worst number (10K) on a 64 MB partition, that means you could potentially write 64 MB per day for a period of 27 years before wearing it out...
Hobbisan choices perhaps - but one must admit that some of the older SDK's are not very friendly with regards to flash - whit the RT3200's with tight flash, and the 87U's to a lesser degree...
busybox typically writes syslog to the ringbuffer (tmpfs) - so it's really down to a config...
Been there with a handset vendor that did a write once a second into a 32MB flash part... and we started see returns within 6 months of that device being launched.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!