Linux knows how to handle ram management.
Not necessarily. In any modern operating system, "free" and "used" are not the only states memory can be in. In fact, given the limited scope of what your router does, it could easily mean the thing you want to get "in" is already there from a previous instance and just has to be changed back from "available" to "in use" (this is a large over-simplification, I don't pretend to understand the details). It's slightly more likely that whatever needs to get "in" just overwrites "available" memory (that is already marked as "used") and that memory area is marked then marked "in use" without any change in "used" memory. The Linux kernel (again, as with any modern operating system) is very stingy about actually marking memory "free" even when it's not longer "in use".In theory... in real life something stops working sooner or later. I did some torture tests recently with bad results:
https://www.snbforums.com/threads/s...-cat-6-cable-with-rt-ac87u.59444/#post-518441
RAM at 95% means something has to get out in order for something else to get in. Definitely not the best situation.
you should have a swap file on a USB stick
root@cafeole:~# dmesg | grep zram
[ 53.546889] zram: Added device: zram0
[ 61.121939] zram0: detected capacity change from 0 to 16777216
[ 61.145769] Adding 16380k swap on /dev/zram0. Priority:-2 extents:1 across:16380k SS
root@ceafeole:~# free
total used free shared buff/cache available
Mem: 58668 23636 18972 624 16060 15520
Swap: 16380 0 16380
root@ccafeole:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 4.3M 4.3M 0 100% /rom
tmpfs 28.6M 624.0K 28.0M 2% /tmp
/dev/mtdblock5 9.8M 428.0K 9.3M 4% /overlay
overlayfs:/overlay 9.8M 428.0K 9.3M 4% /
tmpfs 512.0K 0 512.0K 0% /dev
ZRAM is cool... but maybe folks worry too much about memory...
No amount of memory will fix a memory leak. All putting a GB of ram in it will do is delay the inevitable, and then you'd want 2GB. You cannot fix bad software with more memory.This by itself sounds ridiculous. It’s equal to force the extra 100 passengers to walk behind the bus. In my tests the swap file was on a SSD drive connected to USB3 port using USB3 mode... >500Mb swap in use and the “modern OS” was still choked by the lack of RAM. Actually, RT-AC86U is killing services only with TrendMicro components enabled due to memory leaks. Just enable everything offered by TrendMicro and wait. First thing to stop working is usually the Traffic Analyzer Statistic. Bad software is also a wasted RAM.
This router needs 1GB RAM as in RT-AX88U.
ASUS not pressuring TrendMicro to fix their crap is another story, they definitely should be doing that.
I'm running some fairly heavy scripts
and then you'd want 2GB
Why should ASUS put more memory in their routers than what is required to run the firmware they supply?
It is normal unused Ram is wasted ram.
Stop worrying about it. Linux knows how to handle ram management.
Linux thinks it knows
Well, how many of you purchased an Android phone thinking it is the best phone you ever had in your hands? Lots of RAM, lots of CPU power, lots of everything... great! And one day you just want to smash the phone off the ground because the apps got bigger and more demanding and now the phone lags like crazy due to "excellent memory management". The fact is the amount of RAM installed is like future proofing. Manufacturers who release a device with minimum required RAM won't go too far. This is part of the business though. No manufacturer wants you to use a device for too long. They have to sell new products and keep the business going after all.
You missed the point entirely. If there's a memory leak, if they had put 16GB of ram in the thing, it would be once a month you'd have to reboot instead of weekly. If there are leaks in TrendMicro's code, RMerlin can't fix them, those sections are closed source.Because if you enable whatever is offered in their firmware the router's RAM gets full and processes start getting kicked out. Do an experiment and enable all TrendMicro services. The RAM usage starts creeping up to the point only 25MB are still available. You'll have to reboot the router weekly in order to keep it going, otherwise something just stops working, including WebUI. Yes, part of the problem is software related, but this software was provided by ASUS. Two years after the router's release ASUS is struggling to fix the software. Good we have RMerlin around to make things better.
History says otherwise.Manufacturers who release a device with minimum required RAM won't go too far.
So now were comparing Andriod Ram management vs linux?
You missed the point entirely. If there's a memory leak...
What I miss the most is proper engineering. You buy something and it works as advertised/expected.
I know you got one reply that Android kernels are Linux based, I just want to provide a source with more info.So now were comparing Andriod Ram management vs linux?
Kinda apples vs oranges no?
With consumer gear - you rarely get this...
With AsusWRT-RMerlin - you have a chance - but there are closed source items that just can't be solved...
Yeah, when you work long enough in the industry, you'll not say that.... Ever seen a US$ 1mil router fail to deliver what it says? Ever seen a US$ 300k router went nuts due to continuous ping hog to much processor cycle?
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!