My GT-AX6000 hovers around 97% after it has settled in... Linux is very efficient about memory management, and will change allocations, use swap if needed, etc... this is the way it was designed. Sitting at 40-50% seems underutilized to me.I haven't gotten there yet, started at 44% about a week ago, when I last rebooted it, now its at 50%, it is working in AP mode, I'll keep observing it, maybe it will self adjust at some point
Sitting at 40-50% seems underutilized to me.
anybody experiencing something similar?
Thank you, I am using mine in AP mode, so my base line memory after a reboot is around 50-52%, last reboot was 3 days ago, now it is at 55% (558/467/1024)Tks for your post.
Currently my system has been up for 5 days 17 hour(s) 38 minute(s) 39 seconds. Had to reboot 5 days ago for an issue not related to my router. So, I guess my memory usage serves as a "early baseline".
My RAM memory usage is reported as 66%.
- Used: 675 MB
- Free: 349 MB
- Total: 1024 MB
I will watch it for the next few days to see if it climbs up.
I just checked with SSH and the free command:A quick search would show that the router is almost certainly just using memory as a cache - as it's designed to. Unused memory is wasted memory, especially when that memory could be used to speed other things up.
If you were using the Merlin firmware, you'd be able to see how much of that memory is just cache, by using the ScMerlin extension.
Check the output of
free
again when it reaches 90%. The output of ps
at that time might also be helpful.When the RAM usage goes over 90%, and you think there might be something that's using "too much memory" and not releasing it, you could use the following script (available in GitHub) as a diagnostics tool to log some memory stats:I just checked with SSH and the free command:
curl -kLSs --retry 3 --retry-delay 5 --retry-connrefused \
https://raw.githubusercontent.com/Martinski4GitHub/CustomMiscUtils/master/Diags/LogMemoryStats.sh \
-o /jffs/scripts/LogMemoryStats.sh && chmod 755 /jffs/scripts/LogMemoryStats.sh
/jffs/scripts/LogMemoryStats.sh
cru a LogMemStats "0 */8 * * * /jffs/scripts/LogMemoryStats.sh"
## OR ##
cru a LogMemStats "0 6,12,18 * * * /jffs/scripts/LogMemoryStats.sh"
My words.
Thats great come back in 2 weeks with no reboot and repostMy words.
My mem:
View attachment 57927
3 USB SSD drives attached, running torrent, media server etc. there ...
And when I had running experiment with suricata - it consumes really all mem + half of swap ...
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!