WRT3200ACM Memory Usage

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
snoopyjoe
Posts: 6
Joined: Mon Sep 28, 2020 2:47 pm

WRT3200ACM Memory Usage

Post by snoopyjoe »

I just snagged a WRT3200ACM from craigslist for dirt cheap ($42 after shipping dirt cheap!). I got gargoyle 1.12 installed and setup and everything is perfect. The only thing is the memory usage is at 35% compared to my WRT1900ACS at 10%. Both routers have the same amount of RAM and have all extra features disabled. Both also run as gateways for their respective networks.
Is everyone else with the WRT3200 seeing the same memory usage? The cost of this router has me paranoid about baked in malicious code.

Gargoyle Version:1.12.0
Model:Linksys WRT3200ACM
Device Configuration:Gateway
Memory Usage:175.4MB / 498.9MB (35.1%)
Connections:106/10000
CPU Load Averages:0.00 / 0.00 / 0.00 (1/5/15 minutes)
CPU Temperature:73 °C
RAM Temperature:46 °C
Wifi Temperature:45 °C



Gargoyle Version:1.12.0
Model:Linksys WRT1900ACS
Device Configuration:Gateway
Memory Usage:46.9MB / 498.9MB (9.4%)
Connections:215/16000
CPU Load Averages:0.00 / 0.00 / 0.00 (1/5/15 minutes)
CPU Temperature:74 °C
RAM Temperature:47 °C
Wifi Temperature:46 °C

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: WRT3200ACM Memory Usage

Post by RomanHK »

When you run the "ps" command via ssh, you will see what process is taking up your memory.
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

snoopyjoe
Posts: 6
Joined: Mon Sep 28, 2020 2:47 pm

Re: WRT3200ACM Memory Usage

Post by snoopyjoe »

So this is the results I got but I'm not sure if anything is out of the normal

PID USER VSZ STAT COMMAND
1 root 1328 S /sbin/procd
2 root 0 SW [kthreadd]
4 root 0 IW< [kworker/0:0H]
6 root 0 IW< [mm_percpu_wq]
7 root 0 SW [ksoftirqd/0]
8 root 0 IW [rcu_sched]
9 root 0 IW [rcu_bh]
10 root 0 SW [migration/0]
11 root 0 SW [cpuhp/0]
12 root 0 SW [cpuhp/1]
13 root 0 SW [migration/1]
14 root 0 SW [ksoftirqd/1]
16 root 0 IW< [kworker/1:0H]
207 root 0 SW [oom_reaper]
208 root 0 IW< [writeback]
210 root 0 SW [kcompactd0]
211 root 0 IW< [crypto]
213 root 0 IW< [kblockd]
221 root 0 IW< [ata_sff]
244 root 0 IW< [watchdogd]
278 root 0 SW [kswapd0]
346 root 0 IW< [pencrypt]
348 root 0 IW< [pdecrypt]
430 root 0 SW [scsi_eh_0]
431 root 0 IW< [scsi_tmf_0]
434 root 0 SW [scsi_eh_1]
435 root 0 IW< [scsi_tmf_1]
599 root 0 SW [irq/43-mmc0]
632 root 0 SW [irq/39-f1090000]
633 root 0 SW [irq/40-f1090000]
655 root 0 IW< [ipv6_addrconf]
657 root 0 IW< [dsa_ordered]
691 root 0 SW [ubi_bgt0d]
701 root 0 IW< [kworker/1:1H]
702 root 0 IW< [kworker/0:1H]
707 root 0 SW [irq/47-gpio-key]
708 root 0 SW [irq/48-gpio-key]
813 root 0 SW [ubifs_bgt0_1]
824 root 0 SW [ubi_bgt1d]
828 root 0 SW [ubifs_bgt1_0]
946 root 964 S /sbin/ubusd
947 root 676 S /sbin/askfirst /usr/libexec/login.sh
994 root 0 IW< [rpciod]
995 root 0 IW< [xprtiod]
1021 root 0 IW< [nfsiod]
1071 root 0 IW< [cfg80211]
2767 root 1004 S /sbin/logd -S 64
2840 root 816 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
3116 nobody 920 S /usr/sbin/portmap
3428 root 1068 S< /usr/sbin/ntpd -n -N -l -S /usr/sbin/ntpd-hotplug -p
9974 root 0 IW [kworker/1:1]
12829 root 0 IW [kworker/1:2]
13122 root 0 IW [kworker/u4:0]
13157 root 0 IW [kworker/0:1]
13169 root 0 IW [kworker/0:2]
13390 root 1452 S /sbin/netifd
14486 root 2024 S /usr/sbin/hostapd -s -P /var/run/wifi-phy0.pid -B /v
14796 dnsmasq 1152 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c
17316 root 1068 S /usr/sbin/crond -f -c /etc/crontabs -l 9
17380 root 2776 S /usr/sbin/uhttpd -f -h /www -r LivingRouter -x /cgi-
17399 root 0 IW [kworker/u4:1]
17440 root 880 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
17441 root 1064 S -ash
17451 root 0 IW [kworker/u4:2]
17453 root 1064 R ps

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: WRT3200ACM Memory Usage

Post by RomanHK »

This is what it looks like normally. I read somewhere that it could be a WiFi buffer.

You can also use the memory status command, but I don't really understand the values:

Code: Select all

cat /proc/meminfo
Maybe the command will also tell you something:

Code: Select all

top
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

snoopyjoe
Posts: 6
Joined: Mon Sep 28, 2020 2:47 pm

Re: WRT3200ACM Memory Usage

Post by snoopyjoe »

I ran "top" on both at the same time and there practically identical except for
29379 29247 root S 1064 0% 0% udhcpc -p /var/run/udhcpc-eth1.2.p
on the WRT3200. I was actively streaming to a wired device so that may explain that.

Looks like the way the WRT3200 displays memory in the GUI might be off or something.

Post Reply