Werner changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Announcements: #armbian-announcements | Developer talk: #armbian-devel | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
Dex2x has quit [Quit: ZNC 1.10.1+deb1 - https://znc.in]
Dex2x has joined #armbian
stipa_ has joined #armbian
stipa has quit [Ping timeout: 260 seconds]
stipa_ is now known as stipa
marco44 has quit [*.net *.split]
marco44 has joined #armbian
_whitelogger has joined #armbian
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [chainsx](<https://github.com/chainsx>) - [Link](<https://github.com/armbian/build/commit/05511627a6ba6eaae55dae6bc94032e95e373770>): *rockchip: add 9tripod x3568 v4 support (#8823)*
califax_ has joined #armbian
califax has quit [Ping timeout: 272 seconds]
califax_ is now known as califax
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian
luckylinux has quit [Remote host closed the connection]
luckylinux has joined #armbian
wd has quit [Ping timeout: 260 seconds]
wd has joined #armbian
Dagger has quit [Ping timeout: 260 seconds]
chewitt has joined #armbian
chewitt_ has joined #armbian
chewitt has quit [Ping timeout: 255 seconds]
<DC-IRC> [Matrix] <klaus:matrix.home.uxix.de> vid7: can confirm: it also works on the LuckFox Lyra (without Plus), after increasing the size of the tmpfs in /run (and adding the kernel-module for my dongle, of course), I could also enable Wifi.
<DC-IRC> [Matrix] <klaus:matrix.home.uxix.de> vid7: I also replaced openssh-server with dropbear and after adding a swapfile, I experimentally increased the swappiness to 90 (that was a good idea on the Nokia N900... back in the days)
chewitt_ has quit [Ping timeout: 240 seconds]
chewitt has joined #armbian
Net147 has quit [Quit: Quit]
Net147 has joined #armbian
<DC-IRC> [Discord] <Werner> Swappiness on Armbian is 100 by default to make use of zram. Not sure if that low memory extension addresses this.
<DC-IRC> [Discord] <vid7> klaus: thanks for trying it out! Glad you're having success with the non-Plus Lyra. I'd like to experiment with adding Dropbear to the lowmem extension in the future, merits further testing.
<DC-IRC> [Discord] <vid7> Woof, I did not address that in the lowmem extension 😬 sounds like I should (swappiness `0` sounds more appropriate for a MicroSD swap)
Dagger has joined #armbian
<DC-IRC> [Discord] <vid7> Perhaps it'd make the most sense to modify the existing script to use a variable for the swappiness value (rather than hardcoded `100`)? Then override that new variable in lowmem.
JakeSays has quit [Ping timeout: 244 seconds]
<DC-IRC> [Matrix] <klaus:matrix.home.uxix.de> Werner: oh, it was set to 60 (default) here - don't know why. The priority of the zswap is higher (5), than the one on the MicroSD (0).
<DC-IRC> [Discord] <vid7> klaus: did you build using the latest changes (including the 'lowmem' extension). It should've disabled zram for you (running zram + zswap isn't recommended)
ss4 has quit [Read error: Connection reset by peer]
<DC-IRC> [Matrix] <klaus:matrix.home.uxix.de> vid, no it was before the change. It's not zswap, swap is zram. I mixed it up.
<DC-IRC> [Matrix] <klaus:matrix.home.uxix.de> vid7: why would you want to disable zram for swap?
califax has quit [Remote host closed the connection]
califax has joined #armbian
<DC-IRC> [Discord] <Werner> There was no need for a dynamic swappiness, so I guess that's why there is no variable for yet.
LanDi has joined #armbian
<tabris> iirc swappiness is mostly a tradeoff of page-cache vs swapping anonymous pages. in that regard, setting swappiness to 100 is definitely undesirable [keep as much inactive anonymous pages in RAM], but setting it to zero isn't likely good either [preferring evicting pagecache, thus increasing the read rate].
<tabris> and... i think I just said something wrong/stupid above. swappiness 100 should evict as many anonymous pages as possible
wd has quit [Ping timeout: 246 seconds]
LanDi has quit [Ping timeout: 246 seconds]
wd has joined #armbian
<DC-IRC> [Discord] <vid7> tabris: I'm looking forward to you getting that package and joining the fun 🙂 (Should arrive Saturday)
<DC-IRC> [Discord] <vid7> I'll say `swappiness=0` *feels* much slower 😬 after playing with it a bit this morning. There's likely a balance to be had somewhere in the middle like you said.
LanDi has joined #armbian
wd has quit [Ping timeout: 245 seconds]
<DC-IRC> [Discord] <Werner> Perhaps swappiness=1 is better
LanDi has quit [Ping timeout: 250 seconds]
LanDi has joined #armbian
<tabris> fwiw it should be handled by /etc/sysctl.conf or /etc/sysctl.d. But then the question is how much effort we want to put into documenting it, vs just pointing ppl at OLD articles [why old? cuz nobody has only 64MB RAM nowadays] for tuning
wd has joined #armbian
LanDi has quit [Remote host closed the connection]
<DC-IRC> [Discord] <tenkawa42> Setting swappiness to 1 is usually recommended as the server/headless guideline and what I have found as a good baseline.
<DC-IRC> [Discord] <tenkawa42> For desktop/ui workloads you will want it a bit higher in most cases however keep it under 50 as much as possible.
wd has quit [Ping timeout: 260 seconds]
<DC-IRC> [Matrix] <klaus:matrix.home.uxix.de> The LuckFox Lyra has only 128MB RAM.
wd has joined #armbian
<DC-IRC> [Matrix] <klaus:matrix.home.uxix.de> On modern machines with a fast NVME, swapping is not that painful anymore, so I don't fiddle around there anymore. (my NVME is about as fast as the RAM was 20 years ago), but if your storage is a slow MicroSD and you have only 128MB RAM, swapping primarily to zram and secondary to the SD is a good idea.
lemonzest has quit [Ping timeout: 240 seconds]
lemonzest has joined #armbian
<tabris> yeah, but this board has a config as low as 64MB RAM. so zram isn't a good option in such a case.
<DC-IRC> [Discord] <vid7> klaus: the "lowmem" changes we're describing apply to a few different boards / families (basically anything with less than 256MB RAM). It's also being used in the "Luckfox Pico" series which is as low as 64MB
<DC-IRC> [Discord] <vid7> The Lyra with it's 128MB feels like a racehorse in comparison 🤣 but even it (barely) needs swap
<DC-IRC> [Discord] <tenkawa42> klaus: the "swappiness" kernel sysctl is still very important to not have set wrong. You do not want to overcommit the overhead to the swap subsystem especially if using zram... and low ram boards using zram if they do not have fast enough cpus to handle the right algorithm or compressor for zramswap it can cause the os to lock up very quickly.
<tabris> vid7: a thought... perhaps the swappiness control shouldn't be part of the BSP but rather part of the application package.
<DC-IRC> [Discord] <Werner> As long as zswap is a part of bsp swappiness control should stick with it since it makes sense combined
<tabris> I don't think I disagree... except that vid7's decision so far is for the 64MB machine to not have zswap at all.
<tabris> sorry, not have zram
<tabris> whereas my otherwise expectation is that the meshtastic app [or an almost virtual-pkg that requires meshtastic] knows what the node will be for
<DC-IRC> [Discord] <vid7> tabris: Don't focus too hard just on meshtastic here (though that's my primary usecase it's not the only one)
<DC-IRC> [Discord] <vid7> I also use these for NUT ❤️ for instance. Monitor your UPS without meaningfully draining it :think:
<tabris> yes, I get that. but the fact still remains that the proper swappiness *value* may be application-specific
<tabris> the BSP has to try to be generic or at least not force things too much
<tabris> and I don't imagine we want to put this into armbian-config
<tabris> nor does it really belong in /etc/default/armbian-zram-config as there is already a perfectly cromulent /etc/sysctl.conf
chewitt_ has joined #armbian
chewitt has quit [Ping timeout: 252 seconds]
chewitt_ has quit [Ping timeout: 240 seconds]
wd has quit [Ping timeout: 244 seconds]
wd has joined #armbian
ss4 has joined #armbian
wd has quit [Ping timeout: 246 seconds]
axochitl has quit [Ping timeout: 272 seconds]
wd has joined #armbian
gabes has quit [Quit: The Lounge - https://thelounge.chat]
gabes5 has joined #armbian
ss4 has quit [Ping timeout: 244 seconds]
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/cfed1b435765bde8e68a0bd7a65bb071d429e6a6>): *framework mmdebstrap fetch_distro_keyring - ignore dpkg-deb/tar non-essential errors*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/655897d03f9aaa3e651d462e2f5302282c291446>): *Introduce CodeRabbitAI config file to fine tune its response from Git*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/6a98fc28793b62e232b65167d311752dc5a7c534>): *meson64/edge(6.18): .config: recover EXT4 manually*
wd has quit [Ping timeout: 244 seconds]
wd has joined #armbian
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/fab1be2e8bdad8302e005d2cf15fd6b0203cccd2>): *armbian-kernel: remove forced EXT4/BTRFS as builtins (let each kernel .config decide)*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/21955bd20515cfbdd529793941b68861fb8e716e>): *meson64-6.18: temporary patch for pcie vs aspm woes on Amlogic*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/c41bc8764bef862d8710c7f00b04f1df44aafcb2>): *rockchip: Add CSC board Luckfox Lyra Ultra W*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/a14a9d170976c88ec611b47ddeb27454c39c2863>): *rockchip: Add CSC board Luckfox Lyra Plus*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/81ad50f257a7c3f8f57c6e62cc220e4290d34f28>): *Revitalize Espressobin - fix atf compilation bug, bump kernels (#8873)*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/3e3d725da47576d242d2b2d805fb9a9155218056>): *shift stuff around, enhance description*
Mangix has quit [Quit: No Ping reply in 180 seconds.]
Mangix has joined #armbian
axochitl has joined #armbian