Increase Base Memory - C0ntr07/Firewalla-Information GitHub Wiki
Purchase a new 8GB SO-DIMM
Purchase a 8GB SO-DIMM card. There is a wide range of quality and many counterfeits out there. This is the one that should be purchased. It came out with the best performance rating in our engineering lab's comparison test.

Open the Firewalla Gold
Remove the four screws on the bottom of the Firewalla. Put them someplace safe so you don’t lose them.


Remove the old SO-DIMM
GENTLY apply outward pressure on the clips holding the SODIMM in place.

As you apply outward pressure to the clips the SO-DIMM should pop up. Note the angle of the card. This is the same angle that you will insert the new card.

Remove the SO-DIMM in the same direction as the angle of the memory card.

Insert the new SO-DIMM
Take the new SO-DIMM and insert it at a 30 degree angle. This is the same angle as when the old card popped up.

Firmly press the SO-DIMM into the slot.

Gently, but firmly, press the top of the SO-DIMM toward the main circuit board. There should be a click or two as the two clips lock the SO-DIMM in place. These are the same two clips that you moved outward to take out the original card.

Now you have a Firewalla Gold with 8GB of memory. So far this appears to completely negate the use of swap files thereby apparently improving performance.

Replace the bottom cover
Replace the cover and the four screws. Reconnect all the network cables and then the power cord.
And there you have it, 8GB, the largest SO-DIMM the Firewalla can accept.

After
cat /proc/meminfo
MemTotal: 8083088 kB
MemFree: 6132780 kB
MemAvailable: 6422900 kB
Buffers: 56276 kB
Cached: 423320 kB
SwapCached: 0 kB
Active: 1091144 kB
Inactive: 204308 kB
Active(anon): 823572 kB
Inactive(anon): 47820 kB
Active(file): 267572 kB
Inactive(file): 156488 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 4041536 kB
SwapFree: 4041536 kB
Dirty: 24 kB
Writeback: 0 kB
AnonPages: 815900 kB
Mapped: 312420 kB
Shmem: 55924 kB
Slab: 238600 kB
SReclaimable: 142832 kB
SUnreclaim: 95768 kB
KernelStack: 5888 kB
PageTables: 14288 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 8083080 kB
Committed_AS: 2226592 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 277056 kB
DirectMap2M: 8026112 kB