<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Apt speed problems after 6.17.7 on LG N1T1 NAS</title>
        <description> Hi!

My LG N1T1 is slow, and normally apt upgrade takes a few minutes. But with 6.17.7 &amp;quot;Building dependency tree&amp;quot; took about 10 hours to 100% but then never continued. I tried:

apt autoremove
rm -f /var/cache/apt/*.bin
rm -rf /var/lib/apt/lists/*
apt clean
apt update
But it did not help.

I also have a backup script that did not work, it stopped at cat /media/data/backup/log/Backup-mail.log | ssmtp -vvv $THEEMAIL when it was supposed to email what it has done

So I tried to go back to 6.16.5 and now it is back to normal. Info about the system (from when I log in): 

Model: LG N1T1
Linux version 6.16.5-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 PREEMPT Thu Sep  4 15:49:06 PDT 2025
Debian 13.1

What could be the issue?</description>
        <link>https://forum.doozan.com/read.php?2,140483,140483#msg-140483</link>
        <lastBuildDate>Sun, 08 Mar 2026 04:53:25 -0500</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forum.doozan.com/read.php?2,140483,140896#msg-140896</guid>
            <title>Re: Apt speed problems after 6.17.7 on LG N1T1 NAS</title>
            <link>https://forum.doozan.com/read.php?2,140483,140896#msg-140896</link>
            <description><![CDATA[ Hi bodhi,<br />
<br />
Thanks for the follow-up! I did read through the tuning tutorial and the swap-file advice you linked earlier. It definitely helped, but on my box it wasn’t quite sufficient on its own to prevent apt-get from crawling or getting OOM-killed during “Reading package lists…”.<br />
<br />
So my long post wasn’t meant as “better than swap”, but as a collection of additional, practical ways to reduce RAM/I/O pressure around apt on extremely constrained systems, based on what I observed in dmesg/vmstat.<br />
<br />
Concretely, the extra things that made a real difference for me were:<br />
<br />
Reducing APT metadata work:<br />
* Acquire::Languages &quot;none&quot; (skip Translation-* files)<br />
* Acquire::PDiffs &quot;0&quot; (avoid pdiff patch-apply churn)<br />
* Dpkg::Use-Pty &quot;0&quot; (cleaner output when logging, slightly less overhead)<br />
<br />
Adding compressed swap on top of disk swap:<br />
* zram (768 MiB) so short-lived memory spikes don’t push the system into OOM as easily<br />
<br />
Temporarily freeing RAM before running apt:<br />
* stopping a few services (glances, fail2ban, nscd, nmbd, atop/atopacct) and starting them again afterwards<br />
<br />
Making apt “polite” about I/O/CPU while the system is under pressure:<br />
* ionice -c3 nice -n 19, mainly to keep the box responsive and reduce worst-case thrashing when other daemons are active<br />
<br />
With these combined (plus swap), apt-get update/upgrade is now completing reliably on my ~106 MiB system, whereas before it was frequently killed late in the run. With all above, now a apt-get update takes less than 3 minutes :-)<br />
<br />
I absolutely agree swap is the #1 requirement, I just wanted to document the additional knobs that, in my case, were needed to make apt stable and usable on this specific setup.<br />
<br />
Thanks again for the guidance and for maintaining these kernels/tools for old Kirkwood boxes.]]></description>
            <dc:creator>raffe</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 27 Feb 2026 03:08:58 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,140483,140892#msg-140892</guid>
            <title>Re: Apt speed problems after 6.17.7 on LG N1T1 NAS</title>
            <link>https://forum.doozan.com/read.php?2,140483,140892#msg-140892</link>
            <description><![CDATA[ raffe,<br />
<br />
Swap is the most important aspect for this low RAM low CPU box. Everything else is secondary. <br />
<br />
Like <a href="https://forum.doozan.com/read.php?2,140483,140495#msg-140495"  rel="nofollow">I said above</a>,<br />
1. If you follow the recommended tuning tutorial, and<br />
2. if you have a swap file on the HDD,<br />
<br />
you would have no problem running apt/dpkg  to upgrade Debian and/or kernel. <br />
<br />
The Pogo V4 plug is also a low RAM (128MB) and low CPU (800Mhz). With a swap file on the HDD, everything is running normally, no OOM.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 26 Feb 2026 14:18:58 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,140483,140890#msg-140890</guid>
            <title>Re: Apt speed problems after 6.17.7 on LG N1T1 NAS</title>
            <link>https://forum.doozan.com/read.php?2,140483,140890#msg-140890</link>
            <description><![CDATA[ As you see above, on my old ARM Kirkwood NAS (armel, ~106 MiB RAM) apt-get was painfully slow and sometimes got killed near the end of “Reading package lists…”. In my case it was the OOM-killer (dmesg showed “Out of memory: Killed process … apt-get” first around 50%, after some tweaking 95–97% until after even more tweaking it finally worked).<br />
<br />
Below is what finally made apt-get usable and stable (so far)<br />
<br />
<b>I lowered I/O and CPU scheduling priority and disabled translation downloads and pdiffs.</b> <br />
This alone changed apt update from “forever” to “acceptable”.<br />
<br />
<pre class="bbcode">
ionice -c3 nice -n 19
or
ionice -c2 -n7 nice -n 19
or just
ionice nice -n 19</pre>
<br />
This runs the command with the lowest practical I/O and CPU scheduling priority so it doesn’t compete aggressively with other work on the machine. See <a href="https://man7.org/linux/man-pages/man1/ionice.1.html"  rel="nofollow">https://man7.org/linux/man-pages/man1/ionice.1.html</a> (or  <a href="https://www.geeksforgeeks.org/linux-unix/ionice-command-in-linux-with-examples/"  rel="nofollow">https://www.geeksforgeeks.org/linux-unix/ionice-command-in-linux-with-examples/</a> for examples)<br />
<br />
<b>ionice -c3</b>: puts the process in the “idle” I/O scheduling class. Disk I/O from this process is only issued when the system is otherwise idle (i.e., it won’t push aside other disk activity). This is especially useful on slow disks/flash and on small systems where background I/O (logs, daemons, etc.) can make the machine feel frozen or if you still get OOM.<br />
<br />
<b>ionice -c2 -n7</b>: runs the process in the “best-effort” I/O scheduling class, with a low priority within that class (0 = highest, 7 = lowest). In other words, the process still gets disk I/O service, but it will generally yield to other best-effort I/O (apps/daemons doing reads/writes) and won’t hog the disk as aggressively. This is often a good middle ground on slow disks: it’s usually much faster than <b>-c3 (idle)</b> when there’s any background I/O at all, but it’s still “polite” compared to the default best-effort priority. I use this now.<br />
<br />
<b>nice -n 19</b>: sets the process to the lowest CPU priority (highest “niceness”). The kernel will prefer running other processes first if there is CPU contention. It doesn’t cap CPU usage, it just makes the process “polite” when others need CPU. Should alone be enough to stop OOM.<br />
<br />
Together they don’t reduce apt’s total work, but they can improve system responsiveness and reduce the chance that apt triggers worst-case thrashing when other services are active.<br />
<br />
I also tweaked apt-get command with <b>-o Acquire::Languages=none -o Acquire::PDiffs=0 -o Dpkg::Use-Pty=0</b>. One-time command example:<br />
<pre class="bbcode">
ionice -c2 -n7 nice -n 19 apt-get -o Acquire::Languages=none -o Acquire::PDiffs=0 -o Dpkg::Use-Pty=0 update</pre>
<br />
<b>Acquire::Languages &quot;none&quot;;</b><br />
Disables downloading Translation-* files (including Translation-en) that contain human-readable package descriptions. On low-RAM/slow-I/O machines this can save several MB of downloads plus lots of disk writes and parsing, making apt update much faster and less likely to thrash/OOM. Trade-off: fewer/none package descriptions in some tools, but installs work normally. For more info, see <a href="https://manpages.debian.org/testing/apt/apt.conf.5.en.html"  rel="nofollow">https://manpages.debian.org/testing/apt/apt.conf.5.en.html</a><br />
<br />
<b>Acquire::PDiffs &quot;0&quot;;</b><br />
Disables incremental “pdiff” updates for package indexes and forces downloading full current index files instead. This often reduces CPU/disk churn (patching/rebuilding indexes) on tiny systems, at the cost of slightly larger downloads. For more info, see <a href="https://debian-handbook.info/browse/stable/sect.apt-get.html"  rel="nofollow">https://debian-handbook.info/browse/stable/sect.apt-get.html</a><br />
<br />
<b>Dpkg::Use-Pty &quot;0&quot;;</b><br />
Prevents apt/dpkg from using a pseudo-terminal for fancy progress output. This makes output/logs (tee/redirects) cleaner and sometimes slightly reduces overhead/buffering weirdness. Trade-off: less “pretty” interactive progress. I found some info here <a href="https://askubuntu.com/questions/258219/how-do-i-make-apt-get-install-less-noisy"  rel="nofollow">https://askubuntu.com/questions/258219/how-do-i-make-apt-get-install-less-noisy</a> and <a href="https://unix.stackexchange.com/questions/747344/apt-get-y-qq-install-isnt-silent-output-incoming-like-processing-triggers"  rel="nofollow">https://unix.stackexchange.com/questions/747344/apt-get-y-qq-install-isnt-silent-output-incoming-like-processing-triggers</a><br />
<br />
If you want permanent config (so you can just run apt-get update normally):<br />
/etc/apt/apt.conf (or /etc/apt/apt.conf.d/99lean):<br />
<pre class="bbcode">
APT::Install-Recommends &quot;0&quot;;
APT::Install-Suggests &quot;0&quot;;
Acquire::Languages &quot;none&quot;;
Acquire::PDiffs &quot;0&quot;;
Dpkg::Use-Pty &quot;0&quot;;</pre>
<br />
<br />
<b>Add/expand zram swap (really helps with ~100 MiB RAM)</b><br />
I already had disk swap, but zram made the big difference. For info, see <a href="https://docs.kernel.org/admin-guide/blockdev/zram.html"  rel="nofollow">https://docs.kernel.org/admin-guide/blockdev/zram.html</a><br />
<br />
First I installed it with <br />
<pre class="bbcode">
ionice -c2 -n7 nice -n 19 apt-get -o Acquire::Languages=none -o Acquire::PDiffs=0 -o Dpkg::Use-Pty=0 update
ionice -c2 -n7 nice -n 19 apt-get -o Acquire::Languages=none -o Acquire::PDiffs=0 -o Dpkg::Use-Pty=0 install -y zram-tools</pre>
<br />
<br />
I increased zram to 768 MiB and used before lz4 compression, but today lzo-rle. Important: If present, you must write 1 to /sys/block/zram0/reset before changing disksize, otherwise you get “Device or resource busy”. For info about zramctl, see <a href="https://man7.org/linux/man-pages/man8/zramctl.8.html"  rel="nofollow">https://man7.org/linux/man-pages/man8/zramctl.8.html</a> (or <a href="https://manpages.debian.org/testing/util-linux/zramctl.8.en.html"  rel="nofollow">https://manpages.debian.org/testing/util-linux/zramctl.8.en.html</a> )<br />
<br />
Example manual sequence (where /sys/block/zram0/reset is present):<br />
<pre class="bbcode">
swapoff /dev/zram0
echo 1 &gt; /sys/block/zram0/reset
echo lzo-rle &gt; /sys/block/zram0/comp_algorithm
echo $((768*1024*1024)) &gt; /sys/block/zram0/disksize
mkswap /dev/zram0
swapon -p 100 /dev/zram0</pre>
<br />
<br />
Check:<br />
<pre class="bbcode">
swapon --show
zramctl
free -h</pre>
<br />
<br />
If you want it at boot (/etc/rc.local style):<br />
<pre class="bbcode">
modprobe zram
echo 1 &gt; /sys/block/zram0/reset
echo lzo-rle &gt; /sys/block/zram0/comp_algorithm
echo $((768*1024*1024)) &gt; /sys/block/zram0/disksize
mkswap /dev/zram0
swapon -p 100 /dev/zram0</pre>
<br />
<br />
<b>Tune swappiness (optional but helpful).</b> <br />
See <a href="https://wiki.debian.org/swappiness"  rel="nofollow">https://wiki.debian.org/swappiness</a> or  <a href="https://docs.kernel.org/admin-guide/sysctl/vm.html"  rel="nofollow">https://docs.kernel.org/admin-guide/sysctl/vm.html</a> for more info.<br />
Default swappiness was too aggressive for my use case. I set it lower:<br />
<pre class="bbcode">
sysctl vm.swappiness=10</pre>
<br />
<br />
To make permanent, add to /etc/sysctl.conf or /etc/sysctl.d/99-sysctl.conf:<br />
<pre class="bbcode">
vm.swappiness=10</pre>
<br />
<b>Keep repositories minimal</b><br />
If you don’t need contrib/non-free/non-free-firmware, removing them reduces the size of Packages lists that apt must parse (less RAM + less I/O).<br />
<br />
I also commented out all deb-src entries in /etc/apt/sources.list.<br />
<br />
Check current sources:<br />
<pre class="bbcode">
grep -R --line-number -E &#039;^(deb|deb-src)&#039; /etc/apt/sources.list /etc/apt/sources.list.d/*.list</pre>
<br />
<br />
<b>Just in case, check and remove foreign architectures</b><br />
Remove foreign architectures you don’t need (e.g. armhf on an armel system).<br />
First check your architecture<br />
<pre class="bbcode">
dpkg --print-architecture</pre>
<br />
<br />
Then check which foreign architectures you have<br />
<pre class="bbcode">
dpkg --print-foreign-architectures</pre>
<br />
<br />
Remove those that are not yours<br />
<pre class="bbcode">
dpkg --remove-architecture armhf</pre>
 <br />
<br />
Clean up apt lists if you suspect corrupted/old metadata<br />
When experimenting, I often did:<br />
<pre class="bbcode">
rm -rf /var/lib/apt/lists/*
apt-get clean</pre>
<br />
<br />
<b>Stop memory-hungry services during apt (and start them again after)</b><br />
On tiny RAM, background services can easily push apt over the edge. I stop them before update/upgrade and start them afterwards. I’m not using systemd, so I used “service … stop/start”. You can check what is running and using most RAM with<br />
<br />
<pre class="bbcode">
ps aux --sort=-%mem | head -n 15</pre>
<br />
<br />
Services that mattered for me:<br />
glances (python, monitoring)<br />
fail2ban (python, intrusion prevention software framework)<br />
nscd (name service cache)<br />
nmbd (NetBIOS name daemon)<br />
atop / atopacct (monitoring/logging)<br />
smbd (samba, file sharing and printing services to Windows)<br />
ntpd (Network Time Protocol daemon)<br />
<br />
Example sequence:<br />
<pre class="bbcode">
service glances stop
service fail2ban stop
service nscd stop
service nmbd stop
service atop stop
service atopacct stop
service smbd stop
service ntp stop

Run apt…

# Then:
service ntp start
service smbd start
service atopacct start
service atop start
service nmbd start
service nscd start
service fail2ban start
service glances start</pre>
<br />
If your init script complains about missing /var/lock/subsys (old sysv style), you can create it once:<br />
<pre class="bbcode">
mkdir -p /var/lock/subsys</pre>
<br />
<br />
<b>So, now run apt with lower scheduling priority (nice/ionice), fewer services etc.</b><br />
This didn’t solve OOM by itself, but it helped system responsiveness and reduced the chance that background I/O spikes would tip it over:<br />
<pre class="bbcode">
service glances stop
service fail2ban stop
service nscd stop
service nmbd stop
service atop stop
service atopacct stop
service smbd stop
service ntp stop

ionice -c2 -n7 nice -n 19 apt-get -o Acquire::Languages=none -o Acquire::PDiffs=0 -o Dpkg::Use-Pty=0 update
ionice -c2 -n7 nice -n 19 apt-get -y -o Acquire::Languages=none -o Acquire::PDiffs=0 -o Dpkg::Use-Pty=0 upgrade

service ntp start
service smbd start
service atopacct start
service atop start
service nmbd start
service nscd start
service fail2ban start
service glances start</pre>
<br />
<br />
Or if you have edited /etc/apt/apt.conf (or /etc/apt/apt.conf.d/99lean) as above<br />
<pre class="bbcode">
# Stop services

ionice -c2 -n7 nice -n 19 apt-get update
ionice -c2 -n7 nice -n 19 apt-get -y upgrade

# Start services</pre>
<br />
<br />
<b>An apt-get update script.</b><br />
<br />
Simple manual script I use (update + upgrade + cleanup)<br />
<pre class="bbcode">
#!/bin/sh
set -eu

echo .
echo === Stopping services ===
service glances stop || true
service fail2ban stop || true
service nscd stop || true
service nmbd stop || true
# These two do not say anything, so I force some info
if service atop stop; then echo &quot;Stopping atop = OK&quot;; else echo &quot;Stopping atop = FAILED&quot;; fi
if service atopacct stop; then echo &quot;Stopping atopacct = OK&quot;; else echo &quot;Stopping atopacct = FAILED&quot;; fi
service smbd stop || true
service ntp stop || true

echo .
echo === Running apt-get update ===
ionice -c2 -n7 nice -n 19 apt-get -o Acquire::Languages=none -o Acquire::PDiffs=0 -o Dpkg::Use-Pty=0 update

echo .
echo === Running apt-get upgrade ===
ionice -c2 -n7 nice -n 19 apt-get -y -o Acquire::Languages=none -o Acquire::PDiffs=0 -o Dpkg::Use-Pty=0 upgrade | tee /root/apt-upgrade.log

echo .
echo === Running apt-get autoremove and clean ===
apt-get -y autoremove --purge | tee -a /root/apt-upgrade.log
apt-get clean

# Just in case, create folder with -p = no error if existing
mkdir -p /var/lock/subsys
echo .
echo === Starting services ===
service ntp start || true
service smbd start || true
# These two do not say anything, so I force some info
if service atopacct start; then echo &quot;Starting atopacct = OK&quot;; else echo &quot;Starting atopacct = FAILED&quot;; fi
if service atop start; then echo &quot;Starting atop = OK&quot;; else echo &quot;Starting atop = FAILED&quot;; fi
service nmbd start || true
service nscd start || true
service fail2ban start || true
service glances start || true

date &gt;&gt; /root/apt-upgrade.log

echo &#039;****  CHECKING FOR UPDATE-INITRAMFS!  **********&#039;
echo &#039;****  This  will look for things like this:&#039;
echo &#039;update-initramfs: Generating /boot/initrd.img-6.18.10-kirkwood-tld-1&#039;
echo &#039; &#039;
echo &#039;**** IF FOUND, you will have to do this (otherwies, do nothing):&#039;
echo &#039; &#039;
echo &#039;cd /boot&#039;
echo &#039;mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.18.10-kirkwood-tld-1 -d initrd.img-6.18.10-kirkwood-tld-1 uInitrd &#039;
echo &#039;(check what version you have!)&#039;
echo &#039; &#039;
echo &#039;**** Checking (if you see nothing here under, nothing is found)....&#039;
grep update-initramfs /root/apt-upgrade.log</pre>
<br />
When you run the script, it looks like this and as you see it now takes about <b>5 min</b> (before 45 min, and before that 24 hours)<br />
<br />
<pre class="bbcode">
root@debian:~# time ./run-apt-upgrade.sh
.
=== Stopping services ===
Stopping Glances server: glances .
Stopping Authentication failure monitor: fail2ban.
Stopping Name Service Cache Daemon: nscd.
Stopping NetBIOS name server: nmbd.
Stopping atop = OK
Stopping atopacct = OK
Stopping Samba SMB/CIFS daemon: smbd.
Stopping NTP server: ntpd.
.
=== Running apt-get update ===
Hit:1 <a href="http://deb.debian.org/debian"  rel="nofollow">http://deb.debian.org/debian</a> stable InRelease
Hit:2 <a href="http://deb.debian.org/debian-security"  rel="nofollow">http://deb.debian.org/debian-security</a> stable-security InRelease
Hit:3 <a href="http://deb.debian.org/debian"  rel="nofollow">http://deb.debian.org/debian</a> stable-updates InRelease
Reading package lists... Done
.
=== Running apt-get upgrade ===
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
.
=== Running apt-get autoremove and clean ===
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
.
=== Starting services ===
Starting NTP server: ntpd2026-03-02T10:49:09 ntpd[2367]: INIT: ntpd ntpsec-1.2.3: Starting
2026-03-02T10:49:09 ntpd[2367]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106
.
Starting Samba SMB/CIFS daemon: smbd.
Starting atopacct = OK
Starting atop = OK
Starting NetBIOS name server: nmbd.
Starting Name Service Cache Daemon: nscd.
Starting Authentication failure monitor: fail2ban.
Starting Glances server: glances .

****  CHECKING FOR UPDATE-INITRAMFS!  **********
****  This  will look for things like this:
update-initramfs: Generating /boot/initrd.img-6.18.10-kirkwood-tld-1

**** IF FOUND, you will have to do this (otherwies, do nothing):

cd /boot
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.18.10-kirkwood-tld-1 -d initrd.img-6.18.10-kirkwood-tld-1 uInitrd
(check what version you have!)

**** Checking (if you see nothing here under, nothing is found)....

real    4m21.498s
user    0m52.053s
sys     0m41.530s
root@debian:~#</pre>
<br />
<br />
<b>Summary of results</b><br />
<br />
Before: apt-get update frequently got OOM-killed near 95–97% (“Reading package lists…”) and overall apt was “unusable”.<br />
<br />
After: with bigger zram + lower swappiness + disabling translations/pdiffs + stopping a few services during apt-get update/upgrade completes reliably.<br />
<br />
Hope this helps anyone trying to keep very old low-RAM ARM NAS/routers running apt-get on modern Debian.]]></description>
            <dc:creator>raffe</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 26 Feb 2026 13:03:25 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,140483,140495#msg-140495</guid>
            <title>Re: Apt speed problems after 6.17.7 on LG N1T1 NAS</title>
            <link>https://forum.doozan.com/read.php?2,140483,140495#msg-140495</link>
            <description><![CDATA[ raffe,<br />
<br />
&gt; Yes, all is on the HDD, I do not use USB.<br />
<br />
Then there is something not optimum in your rootfs. The Pogo V4 has the same specs as your LG N1T1, and I had no problem upgrading.<br />
<br />
&gt; Is there a way to during boot change from server<br />
&gt; mode?<br />
<br />
You don&#039;t need to run the latest kernel always. If you think one does not work well for whatever reason, then don&#039;t upgrade. Wait until the next one.<br />
<br />
&gt; Or maybe some other tinkering?<br />
<br />
Check the <a href="https://forum.doozan.com/read.php?2,23630"  rel="nofollow">Wiki thread</a> to see if you have done the recommended tuning. <br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />Memory &amp; Swap Settings <br />
<br />
Tuning for low RAM boxes - System and HDD performance. Also read several posts after for setups for logging to RAM. <br />
logrotate examples <br />
How to create and use a Swap file</div></blockquote>]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 13 Nov 2025 14:03:14 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,140483,140493#msg-140493</guid>
            <title>Re: Apt speed problems after 6.17.7 on LG N1T1 NAS</title>
            <link>https://forum.doozan.com/read.php?2,140483,140493#msg-140493</link>
            <description><![CDATA[ Hi, and thanks for testing!<br />
<br />
Yes, all is on the HDD, I do not use USB.<br />
<br />
Is there a way to during boot change from server mode?<br />
<br />
Or maybe some other tinkering?]]></description>
            <dc:creator>raffe</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 13 Nov 2025 00:09:12 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,140483,140491#msg-140491</guid>
            <title>Re: Apt speed problems after 6.17.7 on LG N1T1 NAS</title>
            <link>https://forum.doozan.com/read.php?2,140483,140491#msg-140491</link>
            <description><![CDATA[ raffe,<br />
<br />
<b>Pogo V4</b> <br />
<br />
<pre class="bbcode">
800 MHz CPU, 128 MB RAM,  1Gbs Ethernet
Linux version 6.17.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 Mon Nov  3 16:38:22 PST 2025
USB 2.0 rootfs
2GB swapfile on HDD</pre>
<br />
Took 42 minutes to upgrade from Debian 12.8 to 12.12. This is normal for a USB rootfs. <br />
<br />
It really does not matter about USB 2.0 or 3.0 rootfs. Just that the Pogo V4 draw a lot of power for USB 3.0 so I don&#039;t want that to be a factor. But swap space is important for these low power boxes. <br />
<br />
The upgrade massively reads and writes to the rootfs, and with the 128MB RAM, the swap process is running all the time. So the swap file must be on the HDD/SSD for this to run smoothly.<br />
<br />
Your LG N1T1 has the same specs as the Pogo V4. You need to have your swap file on the HDD.  Do you?]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 12 Nov 2025 16:11:57 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,140483,140488#msg-140488</guid>
            <title>Re: Apt speed problems after 6.17.7 on LG N1T1 NAS</title>
            <link>https://forum.doozan.com/read.php?2,140483,140488#msg-140488</link>
            <description><![CDATA[ <b>GoFlex Net</b><br />
<br />
<pre class="bbcode">
1.2GHz CPU, 128MB RAM, 1Gbs Ethernet
Linux version 6.17.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 Mon Nov  3 16:38:22 PST 2025
USB 2.0 rootfs</pre>
<br />
Took 41 minutes to upgrade from Debian 12.8 to 12.12. This is normal for a USB rootfs. <br />
<br />
<b>Pogo V4</b> <br />
<br />
<pre class="bbcode">
800 MHz CPU, 128 MB RAM,  1Gbs Ethernet
Linux version 6.17.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 Mon Nov  3 16:38:22 PST 2025
USB 3.0 rootfs</pre>
<br />
<br />
Taking forever, but still running OK, not stuck. It seems it was spending too much time in usb_storage process. I&#039;m not sure what&#039;s the cause. <br />
<br />
I&#039;ve aborted the upgrade and will try again with a new USB 2.0 drive.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 11 Nov 2025 19:16:08 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,140483,140486#msg-140486</guid>
            <title>Re: Apt speed problems after 6.17.7 on LG N1T1 NAS</title>
            <link>https://forum.doozan.com/read.php?2,140483,140486#msg-140486</link>
            <description><![CDATA[ BTW, the reason I configured this kernel to server mode was mentioned in the release notes.<br />
<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>https://forum.doozan.com/read.php?2,12096</strong><br />
<br />
- General kernel upgrade. <br />
- This kernel is now running with the non-preempt scheduler. This is to avoid a kernel bug that was introduced recently in mainline Linux. Also, the performance should improve a little bit for Kirkwood boxes running as servers. <br />
- Update the DTS for Promwad Thin Client <br />
- Update the DTS for Synology DS112v10j <br />
- See Important Note in Step 5 about uInitrd size </div></blockquote>]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 11 Nov 2025 14:45:24 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,140483,140484#msg-140484</guid>
            <title>Re: Apt speed problems after 6.17.7 on LG N1T1 NAS</title>
            <link>https://forum.doozan.com/read.php?2,140483,140484#msg-140484</link>
            <description><![CDATA[ raffe,<br />
<br />
&gt; My LG N1T1 is slow, and normally <b>apt<br />
&gt; upgrade</b> takes a few minutes. But with 6.17.7<br />
&gt; &quot;Building dependency tree&quot; took about 10 hours to<br />
&gt; 100% but then never continued. <br />
<br />
It might be a coincidence, but this kernel runs differently from the 6.16.5. The 6.16.5 kernel was built with preemptive scheduler (good for response time), this 6.17.7 kernel was built with non-preemptive scheduler (good for server). <br />
<br />
Let me try <i>apt-get</i> upgrade on my lowest memroy and CPU box (Pogo V4) and see if I can repeat your problem.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 11 Nov 2025 14:19:48 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,140483,140483#msg-140483</guid>
            <title>Apt speed problems after 6.17.7 on LG N1T1 NAS</title>
            <link>https://forum.doozan.com/read.php?2,140483,140483#msg-140483</link>
            <description><![CDATA[ Hi!<br />
<br />
My LG N1T1 is slow, and normally <b>apt upgrade</b> takes a few minutes. But with 6.17.7 &quot;Building dependency tree&quot; took about 10 hours to 100% but then never continued. I tried:<br />
<pre class="bbcode">
apt autoremove
rm -f /var/cache/apt/*.bin
rm -rf /var/lib/apt/lists/*
apt clean
apt update</pre>
But it did not help.<br />
<br />
I also have a backup script that did not work, it stopped at <b>cat /media/data/backup/log/Backup-mail.log | ssmtp -vvv $THEEMAIL</b> when it was supposed to email what it has done<br />
<br />
So I tried to go back to 6.16.5 and now it is back to normal. Info about the system (from when I log in): <br />
<pre class="bbcode">
Model: LG N1T1
Linux version 6.16.5-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 PREEMPT Thu Sep  4 15:49:06 PDT 2025
Debian 13.1</pre>
<br />
What could be the issue?]]></description>
            <dc:creator>raffe</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 11 Nov 2025 05:49:32 -0600</pubDate>
        </item>
    </channel>
</rss>
