Battle for RAM (hint for old nettop Intel Atom D525)

user623

Dabbler
Joined
Jan 20, 2021
Messages
18
I have old nettop with 4Gb RAM, Intel Atom D525 + 1 ssd (int sata) + 3 hdd (ext usb)
Migrate from CORE 12-U8 to SCALE 22.02
But...max RAM on this config - 4Gb.
I use this config for small NAS: 1 ssd - boot-pool, 2 hdd - mirror, 1 hdd singel pool.
Once i config over webUI and see in dashboard what very small free ram. 2G for zfs cache and more - other services.
My system not support virtualization, i dont need sound, monitoring and logging all time...make few tunables.
Have static IP, ssh enabled !!! (WebUI will be disabled)

I create script (place to /mnt/init_v1.sh and chmod +x, add this to Init/Shutdown sctipt in WebUI):

#!/bin/dash

sched_ssd="none"
sched_rot="kyber"
modprobe kyber-iosched
echo $sched_ssd > /sys/block/sda/queue/scheduler
echo $sched_rot > /sys/block/sdb/queue/scheduler
echo $sched_rot > /sys/block/sdc/queue/scheduler
echo $sched_rot > /sys/block/sdd/queue/scheduler
modprobe tcp-bbr
sysctl -w net.ipv4.tcp_congestion_control=bbr
modprobe sch_fq_codel
sysctl -w net.core.default_qdisc=fq_codel
modprobe zram zram.num_devices=4
echo 53687091 >> /sys/module/zfs/parameters/zfs_arc_min
echo 1073741824 >> /sys/module/zfs/parameters/zfs_arc_max

rmmod snd_hda_intel
rmmod snd_intel_dspcfg
rmmod soundwire_intel
rmmod snd_soc_core
rmmod snd_hda_codec_hdmi
rmmod snd_hda_codec
rmmod snd_hda_core
rmmod snd_hwdep
rmmod snd_pcm
rmmod snd_timer
rmmod snd_compress
rmmod snd
rmmod soundwire_generic_allocation
rmmod soundwire_cadence
rmmod soundwire_bus
rmmod soundcore

rmmod ipmi_devintf
rmmod ipmi_msghandler

sleep 60

systemctl stop docker
systemctl stop docker.socket
systemctl stop containerd
systemctl stop k3s
systemctl stop kube-router
systemctl stop cni-dhcp
systemctl stop cni-dhcp.socket

systemctl stop nscd
systemctl stop collectd
systemctl stop syslog-ng
systemctl stop rrdcached
systemctl stop nginx
systemctl stop middlewared

exit 0;

And now have (Attention !!! You LOST access to WebUI. Previous enable SSH service for login and use static IP address or need physical access to hardware):

mc [root@truenas.local]:-mnt_002.png mc [root@truenas.local]:-mnt_001.png

Mobo: TPDS05 R3700
Chipset: NM10/IHC7
Video: int Nvidia GT210 ION
CPU: Intel Atom D525 (2 core 4 threads, 1800MHz)
RAM: 4Gb SODIMM DDR3 Syncronous 800MHz 1.2ns (nonECC, 2 x 2Gb, Nanya+Unknown)
Ethernet: int RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Boot: SATA Silicon Motion based SSDs, Mdl: TS128GSSD230S 128Gb
HDD1 pool mirror: 2 x 1Tb (Toshiba L200 (SMR), Device Model: TOSHIBA HDWL110)
HDD2 pool: 1 x 500Gb (Western Digital Scorpio Black (AF), Device Model: WDC WD5000BPKT-00PK4T0)
 
Last edited:

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
and so what? or am I missing the point.
Congrats you are running Scale on inadequate hardware, not that we know what the hardware is - as you haven't followed the forum rules
 

Nick2253

Wizard
Joined
Apr 21, 2014
Messages
1,633
The hardware is in his signature.

I run a backup NAS using similar hardware. Don't be so sure that 4GB is your limit. My Supermicro motherboard, per the specs, only supports 4GB, but I was able to install 2x 4GB SO-DIMMs for a total of 8GB of RAM.

With the requirements of ZFS, I'd strongly recommend at least 8GB of RAM. If you can't put 8GB of RAM, then it's probably better to not use TrueNAS at all. I mean, it sounds like you don't need any of the features of TrueNAS, so why are you using it? You could probably get away with a minimal Debian system with OpenZFS, and then use that as a replication target (assuming that backups is your goal).
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
But...max RAM on this config - 4Gb.

This simply isn't supported. The system itself, middleware and ZFS, only sorta work at 8GB, and really need 16GB. The minimum memory requirement of 8GB was set almost a decade ago, by me, and I can tell you that it isn't expected to go well if you don't give it at LEAST that amount of memory.
 
Top