Member

andfree
Thanks for the help. Web search helped me to find that the problem was the /etc/sysctl.conf file. There were the lines “vm.swappiness=1” and “vm.vfs_cache_pressure=50” (a bad copy-paste, probably by me, I suppose). I deleted these lines, edited /etc/sysctl.d/local.conf as shown in my initial post, rebooted, and everything is OK.
EDIT: I would mark this topic as solved, if I could.
-
This reply was modified 5 years, 3 months ago by andfree.
Member

mizpa
I just found, among my piles of junk in the storage, an old IBM Think Pad that I haven’t seen in a few years – in fact I forgotten we even had it. It has 256MB ram, and about 50 GB of a 100+ GB hard drive unused. Right now it has Winblows XP Pro on it and it will access the Internet. Just wondering if anyone has experienced any special issues with installing antiX on a Think Pad. Right now the Win XP takes up about 52GB of space, and I figure I can partition it in half (50 GB for Win, 50 GB for antiX, with about 1 GB left for swap). I will still be able to dual-boot with that much hard drive space, so as to be able to keep the Win XP partition for my Brewing software, which will accept Win XP. I’ll have no need to access the Internet from the brew-room, but will just connect when there is a need of for updating, etc.. Being unconnected from the internet means less bugs, termites, vermin or Trojan horses! Any issues/opinions/advice?
Oh BTW, does antiX still include a partitioner or do I need to go out and look for one? I didn’t pay attention when I installed 16 to my spare/backup laptop.
-
This topic was modified 5 years, 3 months ago by mizpa.
-
This topic was modified 5 years, 3 months ago by mizpa.
-
This topic was modified 5 years, 3 months ago by mizpa.
Member

nbah
Ext. mon. hooked by VGA cable.
I set shortcut key to open Arandr, not to enable dual monitors.
support.hp.com/us-en/product/HP-Mini-210-1000-PC-series/4075896/model/4126174
$ inxi -Fxz
System: Host: NETPUM Kernel: 4.10.5-antix.3-amd64-smp x86_64 bits: 64 gcc: 6.3.0
Desktop: IceWM 1.4.2 Distro: antiX-17_x64-base Heather Heyer 24 October 2017
Machine: Device: laptop System: Hewlett-Packard product: HP Mini 210-1000 v: N/A serial: N/A
Mobo: Hewlett-Packard model: 3660 v: 48.26 serial: N/A
BIOS: Hewlett-Packard v: F.22 date: 05/24/2010
CPU: Single core Intel Atom N450 (-MT-) arch: Bonnell rev.10 cache: 512 KB
flags: (lm nx sse sse2 sse3 ssse3) bmips: 3326
clock speeds: max: 1666 MHz 1: 1666 MHz 2: 1666 MHz
Graphics: Card: Intel Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
bus-ID: 00:02.0
Display Server: X.Org 1.19.2 driver: intel
Resolution: 1024x600@59.98hz, 1280x720@59.86hz
OpenGL: renderer: Mesa DRI Intel Pineview M
version: 2.1 Mesa 13.0.6 Direct Render: Yes
Audio: Card Intel NM10/ICH7 Family High Def. Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.10.5-antix.3-amd64-smp
Network: Card-1: Realtek RTL8101/2/6E PCIE Fast/Gigabit Ethernet controller
driver: r8169 v: 2.3LK-NAPI port: 5000 bus-ID: 01:00.0
IF: eth0 state: down mac: <filter>
Card-2: Broadcom Limited BCM4312 802.11b/g LP-PHY driver: wl bus-ID: 02:00.0
IF: wlan0 state: up mac: <filter>
Drives: HDD Total Size: 250.1GB (2.1% used)
ID-1: /dev/sda model: WDC_WD2500BEKT size: 250.1GB
Partition: ID-1: / size: 59G used: 3.2G (6%) fs: ext4 dev: /dev/sda6
ID-2: swap-1 size: 2.09GB used: 0.00GB (0%) fs: swap dev: /dev/sda7
Sensors: System Temperatures: cpu: 64.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 154 Uptime: 34 min Memory: 558.6/1991.3MB
Init: SysVinit runlevel: 5 Gcc sys: 6.3.0
Client: Shell (bash 4.4.121) inxi: 2.3.53
$ xrandr
Screen 0: minimum 320 x 200, current 2304 x 720, maximum 4096 x 4096
LVDS1 connected primary 1024x600+1280+120 (normal left inverted right x axis y axis) 222mm x 125mm
1024x600 59.98*+
800x600 60.32 56.25
640x480 59.94
VGA1 connected 1280x720+0+0 (normal left inverted right x axis y axis) 372mm x 209mm
1280x720 59.86*+ 75.02
1280x800 59.81
1024x768 75.03 70.07 60.00
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 59.94
720x400 70.08
can’t correct set backticks on first post, which gets hidden to me afterwards.
UPDATE 1st post: actually slim.conf three sessionstart_cmd lines isn’t working?
the script VGAleft doesn’t apply VGA right of LCD (netbook), remains what is default by Slim launch.
but WIFIlaunch script line does work, which runs wifi on \n dhclient -4 wlan0 .
and the first line is standard sessreg stuff.
So I comment out all customized stuff in slim.conf and wrote those entries in startup file of ~/.desktop-session/ , reboot and seems xrandr line to place VGA right of LCD is applied but incorrectly resolution, same old.
-
This reply was modified 5 years, 3 months ago by nbah.
-
This reply was modified 5 years, 3 months ago by nbah.

Anonymous
My initial reply in this topic was muddied by mentioning both huge (observed, by me) subscribed browser plugin lists and (comparatively tiny, as you rightly pointed out) /etc/hosts lists provided via the adblock-antix utility.
I backpedaled, undermining my initial rant regarding overhead & bloat by editing it in order to include your counterpoint and, within today’s post, acknowledged my deference to your position. I’m at a loss to understand why. you’re busting my chops and claiming that I’m quoting my own words.
Full quoteback:
#4904
Over the years I have run antiX on many different old low spec systems, with RAM ranging from 0.5GB to 1GB. antiX Adblock is always used on them. The prospect of performance being reduced by the use of Adblock has never been observed. If you are concerned that using Adblock might possibly invite the use of swapspace, then zram swapspace works at the speed of your RAM rather than the speed of your hard disk.
In my real world usage, the improved performance of web browsing when using Adblock far outweighs the unrealized concern of increased swapping.
A couple of ideas…
Adblock can be switched on and off as you desire, see the UNBLOCK tick box in its GUI. This might be used to enable blocking only when you want to web browse, and leave it unloaded when it will serve no purpose.
There might be value in using more than one web browser to obtain the performance strengths of each, depending upon the task you want to perform. Think of it this way, would you expect a surgeon to perform an operation using a scalpel or a dinner knife used to eat a meal. Your choice of software and the way in which you use it can pay big dividends.
The context of the original wording relates to the possibility of impaired performance only.
I typed “overhead“, whereas you had typed “prospect of performance being reduced by the use of“.
That qualifies as a misquote?
A few days ago, when “SiteAdmin” took issue with my closure of a confusingly off-course topic and quipped “bad spot in the universe?”, I suppose I should have “taken the hint” that my ongoing forum participation is begrudged. Your unwarranted provocation and chastisement here, in this topic, serve to cement that impression. The silence in response to several of my staff forum posts has already indicated that we’re not a functional “team”. I’m resigning skidoo’s role:moderator; I’ll just occasionally visit the forum to post tip-n-tricks.
Moderator

caprea
lookit, already discussed here
It’s another one I think.
if you copy and paste the comand
cat /boot/config-‘uname -r‘ | grep -i zswap
from terminal, like it has to be in terminal with backticks, by using the code button
the BBCodes software does the following
cat /boot/config-uname -r| grep -i zswap
-
This reply was modified 5 years, 3 months ago by caprea.

Anonymous
New 4.14.14 kernel works without problems on this old relic.
@dell-optiplex-320:~
$ inxi -Fxz
System: Host: dell-optiplex-320 Kernel: 4.14.14-antix.1-amd64-smp x86_64 bits: 64 gcc: 6.3.0
Desktop: IceWM 1.4.2 Distro: antiX-17_x64-base Heather Heyer 24 October 2017
Machine: Device: desktop System: Dell product: OptiPlex 320 serial: N/A
Mobo: Dell model: 0TY915 serial: N/A BIOS: Dell v: 1.1.12 date: 06/17/2009
CPU: Dual core Intel Pentium D (-MCP-) arch: Netburst Prescott rev.4 cache: 2048 KB
flags: (lm nx sse sse2 sse3 vmx) bmips: 13600
clock speeds: max: 3400 MHz 1: 3400 MHz 2: 3400 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] RV516 [Radeon X1300/X1550 Series] bus-ID: 01:00.0
Display Server: X.Org 1.19.2 drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
Resolution: 1280x720@60.00hz
OpenGL: renderer: Gallium 0.4 on ATI RV515 version: 2.1 Mesa 13.0.6 Direct Render: Yes
Audio: Card Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA) driver: snd_hda_intel bus-ID: 00:14.2
Sound: Advanced Linux Sound Architecture v: k4.14.14-antix.1-amd64-smp
Network: Card: Broadcom Limited BCM4401-B0 100Base-TX driver: b44 v: 2.0 bus-ID: 02:09.0
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 40.0GB (14.4% used)
ID-1: /dev/sda model: WDC_WD400JB size: 40.0GB
Partition: ID-1: / size: 35G used: 3.5G (11%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
Sensors: None detected - is lm-sensors installed and configured?
Info: Processes: 115 Uptime: 23 min Memory: 500.9/1994.8MB Init: SysVinit runlevel: 5 Gcc sys: 6.3.0
Client: Shell (bash 4.4.121) inxi: 2.3.54
@dell-optiplex-320:~

Anonymous
That’s the expected result ~~ as you can confirm, by performing a websearch “vm.swappiness permanent”
Member

andfree
Whatever I tried in a friend’s laptop, vm.swappiness after rebooting is always equal to 1. I created /etc/sysctl.d/local.conf and set it like the advice in this topic:
# Uncomment the following two values to improve perceived system performance
# Threshold at which swapping starts
# Values lower than default favour filling physical RAM before beginning to use a swap area
# Default vm.swappiness=60
vm.swappiness=10
#
# Threshold at which the directory and inode caches are reclaimed
# Values lower than default favour retaining them rather than recovering the memory they occupy
# Default vm.vfs_cache_pressure=100
vm.vfs_cache_pressure=50
After rebooting, vm.swappiness was still equal to 1. I removed the /etc/sysctl.d/local.conf file again and ran:
$ sudo sysctl vm.swappiness=5
vm.swappiness = 5
But after rebooting:
$ sudo sysctl vm.swappiness
vm.swappiness = 1
Member

andfree
When a friend plays this game on his laptop, it suddenly freezes and immediately the computer shuts down improperly. It doesn’t seem having to do with cpu temperature. It happens in firefox and in palemoon, too.
$ inxi -Fxz
System: Host: antix1 Kernel: 4.4.10-antix.1-486-smp i686
bits: 32 gcc: 4.9.3
Desktop: IceWM 1.3.8
Distro: antiX-16_386-full Berta Cáceres 26 June 2016
Machine: Device: laptop System: TOSHIBA product: SATELLITE C50-A v: PSCJEE-00600CGE serial: N/A
Mobo: TOSHIBA model: Portable PC v: MP serial: N/A
UEFI [Legacy]: INSYDE v: 1.40 date: 04/28/2014
CPU: Dual core Intel Celeron N2820 (-MCP-)
arch: Silvermont rev.3 cache: 1024 KB
flags: (lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 8524
clock speeds: max: 2399 MHz 1: 2399 MHz 2: 2399 MHz
Graphics: Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
bus-ID: 00:02.0
Display Server: X.Org 1.16.4
drivers: intel (unloaded: modesetting,fbdev,vesa)
Resolution: 1366x768@60.02hz
OpenGL: renderer: Mesa DRI Intel Bay Trail x86/MMX/SSE2
version: 3.3 Mesa 10.3.2 Direct Render: Yes
Audio: Card Intel Atom Processor Z36xxx/Z37xxx Series High Def. Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: ALSA v: k4.4.10-antix.1-486-smp
Network: Card: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
driver: ath9k bus-ID: 01:00.0
IF: wlan0 state: up mac: <filter>
Drives: HDD Total Size: 500.1GB (2.4% used)
ID-1: /dev/sda model: TOSHIBA_MQ01ABF0 size: 500.1GB
Partition: ID-1: / size: 457G used: 9.2G (3%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 2.17GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
ID-3: swap-2 size: 0.25GB used: 0.00GB (0%)
fs: swap dev: /dev/zram1
Sensors: System Temperatures: cpu: 52.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 140 Uptime: 42 min Memory: 308.9/1904.7MB
Init: SysVinit runlevel: 5 Gcc sys: 4.9.2
Client: Shell (bash 4.3.301) inxi: 2.3.54
Member

andfree
But what is going on this desktop computer?
$ lsmod | grep zram
zram 6301 1
zzz@zzz:~
$ sudo swapon --summary
[sudo] password for zzz:
Filename Type Size Used Priority
/dev/sda2 partition 2120576 0 -1
/dev/zram1 partition 64096 460 100
zzz@zzz:~
$ cat /sys/block/zram1/comp_algorithm
cat: /sys/block/zram1/comp_algorithm: No such file or directory
zzz@zzz:~
$ cat /sys/block/zram0/comp_algorithm
cat: /sys/block/zram0/comp_algorithm: No such file or directory
zzz@zzz:~
$ inxi -Fxz
System: Host: zzz Kernel: 3.7.10-antix.8-486-smp i686
bits: 32 gcc: 4.9.3
Desktop: IceWM 1.3.8
Distro: antiX-15-V_386-full Killah P 30 June 2015
Machine: Device: desktop Mobo: Gigabyte model: 8I915PL-G v: x.x serial: N/A
BIOS: Award v: F2 date: 03/30/2006
CPU: Single core Intel Pentium 4 (-MT-)
arch: Netburst Prescott rev.3 cache: 2048 KB
flags: (lm nx pae sse sse2 sse3) bmips: 6431
clock speeds: max: 3200 MHz 1: 3200 MHz 2: 2800 MHz
Graphics: Card: NVIDIA GT218 [GeForce 210] bus-ID: 01:00.0
Display Server: X.Org 1.16.4
drivers: nouveau (unloaded: modesetting,fbdev,vesa)
Resolution: 1024x768@60.00hz
OpenGL: renderer: Gallium 0.4 on NVA8
version: 3.3 Mesa 10.3.2 Direct Render: Yes
Audio: Card-1 NVIDIA High Def. Audio Controller
driver: snd_hda_intel bus-ID: 01:00.1
Card-2 Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller
driver: snd_intel8x0 ports: c000 c400 bus-ID: 00:1e.2
Sound: ALSA v: k3.7.10-antix.8-486-smp
Network: Card-1: Marvell 88E8001 Gigabit Ethernet Controller
driver: skge v: 1.14 port: 9400 bus-ID: 02:05.0
IF: eth0 state: down mac: <filter>
Card-2: Atheros TP-Link TL-WN821N v2 802.11n [Atheros AR9170]
driver: carl9170 v: 1:1.9.6 usb-ID: 001-003
IF: wlan0 state: N/A mac: N/A
Drives: HDD Total Size: 82.4GB (34.0% used)
ID-1: /dev/sda model: Excelstor_Techno size: 82.3GB
ID-2: USB /dev/sdf model: Memory_Stick size: 0.1GB
Partition: ID-1: / size: 74G used: 25G (35%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 2.17GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
ID-3: swap-2 size: 0.07GB used: 0.00GB (1%)
fs: swap dev: /dev/zram1
Sensors: System Temperatures: cpu: No active sensors found. Have you configured your sensors yet? mobo: N/A gpu: 54.0
Info: Processes: 103 Uptime: 18 min Memory: 212.1/500.8MB
Init: SysVinit runlevel: 5 Gcc sys: 4.9.2
Client: Shell (bash 4.3.301) inxi: 2.3.54

Anonymous
Mroot, thank you for your reply. I am including the hardware info. It does not list the pcmcia card though. Lspci only gives me the name of the chip on the motherboard but not on the card. You will notice that under graphics it also says it failed on something. Computer still does the job though. Here is the output:
System: Host: antix1 Kernel: 4.10.5-antix.1-486-smp i686 bits: 32
Desktop: IceWM 1.4.2 Distro: antiX-17_386-base Heather Heyer 24 October 2017
Machine: Device: other-vm? System: Compaq product: Presario 723EA 470029-712 v: 0F0C serial: N/A
Mobo: Compaq model: 0760h v: Rev.A serial: N/A
BIOS: Phoenix v: 4.06CJ15 date: 06/28/2002
CPU: Single core mobile AMD Duron (-UP-) cache: 64 KB speed: 1096 MHz (max)
Graphics: Card: S3 Graphics VT8636A [ProSavage KN133] AGP4X VGA Controller (TwisterK)
Display Server: X.Org 1.19.2
drivers: (unloaded: modesetting,fbdev,vesa) FAILED: savage
Resolution: 1024x768@60.00hz
OpenGL: renderer: Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)
version: 3.3 Mesa 13.0.6
Audio: Card VIA VT82C686 AC97 Audio Controller driver: snd_via82xx
Sound: Advanced Linux Sound Architecture v: k4.10.5-antix.1-486-smp
Network: Card-1: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
driver: 8139too
IF: eth0 state: down mac: <filter>
Card-2: D-Link System AirPlus G DWL-G122 Wireless Adapter(rev.E1) [Ralink RT2070]
IF: N/A state: N/A mac: N/A
Drives: HDD Total Size: 40.1GB (11.8% used)
ID-1: /dev/sda model: SAMSUNG_MP0402H size: 40.1GB
Partition: ID-1: / size: 35G used: 2.5G (8%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
Sensors: None detected - is lm-sensors installed and configured?
Repos: Active apt sources in file: /etc/apt/sources.list.d/antix.list
deb http://repo.antixlinux.com/stretch stretch main nosystemd
Active apt sources in file: /etc/apt/sources.list.d/debian-stable-updates.list
deb http://ftp.si.debian.org/debian/ stretch-updates main contrib non-free
Active apt sources in file: /etc/apt/sources.list.d/debian.list
deb http://ftp.si.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
Info: Processes: 130 Uptime: 3 min Memory: 77.5/227.1MB
Client: Shell (bash) inxi: 2.3.54
-
This reply was modified 5 years, 3 months ago by rokytnji.

Anonymous
I’m also back to using 64bit which does run excellent on this old relic with only 3.0 GB of ram.
I use what I have and don’t have to have the newest disposable crap manufactured today as I just like old electronics.
@dell-optiplex-360:~
$ inxi -Fxz
System: Host: dell-optiplex-360 Kernel: 4.14.12-antix.1-amd64-smp x86_64 bits: 64 gcc: 6.3.0
Desktop: IceWM 1.4.2 Distro: antiX-17_x64-base Heather Heyer 24 October 2017
Machine: Device: desktop System: Dell product: OptiPlex 360 serial: N/A
Mobo: Dell model: 0T656F v: A01 serial: N/A BIOS: Dell v: A01 date: 11/28/2008
CPU: Dual core Intel Core2 6300 (-MCP-) arch: Conroe rev.6 cache: 2048 KB
flags: (lm nx sse sse2 sse3 ssse3 vmx) bmips: 7446
clock speeds: max: 1867 MHz 1: 1867 MHz 2: 1867 MHz
Graphics: Card: NVIDIA G72 [GeForce 7300 LE] bus-ID: 01:00.0
Display Server: X.Org 1.19.2 drivers: nouveau (unloaded: modesetting,fbdev,vesa)
Resolution: 1024x768@60.00hz
OpenGL: renderer: Gallium 0.4 on NV46 version: 2.1 Mesa 13.0.6 Direct Render: Yes
Audio: Card Intel NM10/ICH7 Family High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.14.12-antix.1-amd64-smp
Network: Card: Broadcom Limited NetLink BCM5784M Gigabit Ethernet PCIe driver: tg3 v: 3.137 bus-ID: 02:00.0
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 80.0GB (9.3% used)
ID-1: /dev/sda model: SAMSUNG_HD080HJ/ size: 80.0GB
Partition: ID-1: / size: 71G used: 5.1G (8%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
Sensors: System Temperatures: cpu: 55.0C mobo: N/A gpu: 48.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 108 Uptime: 15:17 Memory: 464.8/3002.7MB Init: SysVinit runlevel: 5 Gcc sys: 6.3.0
Client: Shell (bash 4.4.121) inxi: 2.3.54
@dell-optiplex-360:~
Another of my old relics which only has 2.0 GB ram and runs very well.
@dell-optiplex-320:~
$ inxi -Fxz
System: Host: dell-optiplex-320 Kernel: 4.14.12-antix.1-amd64-smp x86_64 bits: 64 gcc: 6.3.0
Desktop: Xfce 4.12.3 (Gtk 2.24.31) Distro: MX-17_x64 Horizon December 15, 2017
Machine: Device: desktop System: Dell product: OptiPlex 320 serial: N/A
Mobo: Dell model: 0TY915 serial: N/A BIOS: Dell v: 1.1.12 date: 06/17/2009
CPU: Dual core Intel Pentium D (-MCP-) arch: Netburst Prescott rev.4 cache: 2048 KB
flags: (lm nx sse sse2 sse3 vmx) bmips: 13599
clock speeds: max: 3400 MHz 1: 3400 MHz 2: 3400 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] RV516 [Radeon X1300/X1550 Series] bus-ID: 01:00.0
Display Server: x11 (X.Org 1.19.2 ) drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
Resolution: 1280x720@60.00hz
OpenGL: renderer: Gallium 0.4 on ATI RV515 version: 2.1 Mesa 13.0.6 Direct Render: Yes
Audio: Card Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA) driver: snd_hda_intel bus-ID: 00:14.2
Sound: Advanced Linux Sound Architecture v: k4.14.12-antix.1-amd64-smp
Network: Card: Broadcom Limited BCM4401-B0 100Base-TX driver: b44 v: 2.0 bus-ID: 02:09.0
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 40.0GB (20.1% used)
ID-1: /dev/sda model: WDC_WD400JB size: 40.0GB
Partition: ID-1: / size: 35G used: 5.6G (18%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
Sensors: None detected - is lm-sensors installed and configured?
Info: Processes: 161 Uptime: 1 day Memory: 684.3/1994.7MB Init: SysVinit runlevel: 5 Gcc sys: 6.3.0
Client: Shell (bash 4.4.121) inxi: 2.3.54
@dell-optiplex-320:~
Member

andfree
I assume you got zram working using the method SamK detailed in his posts using the script he modified.
I did.
If you do find a solution please post it I think others would probably want to switch to lz4 as well.
I’m not this good to find it by myself. Moreover, I have disabled zram and turned it to zswap, as you wrote at this topic. So, if somebody wants me to test a solution on this (compaq) laptop, he must first tell me how to disable zswap!
I tested this on the other (toshiba) laptop:
$ cat /sys/block/zram0/comp_algorithm
[lzo] lz4
xxx@antix1:~
$ lsmod | grep zram
zram 12902 1
lz4_compress 2442 1 zram
The output above is confusing me. lzo is in the brackets, but the “lz4_compress” line appears.
I thought to try this:
$ sudo su
[sudo] password for xxx:
root@antix1:/home/xxx# echo lz4 > /sys/block/zram0/comp_algorithm
bash: echo: write error: Device or resource busy
I suppose this has to do with this:
once the device is initialised there is no way to change compression algorithm
I also thought to try these commands I found to the topic I referred above (but without replace zram with zswap on the toshiba laptop yet):
root@antix1:/home/xxx# echo lz4 >> /etc/initramfs-tools/modules
root@antix1:/home/xxx# echo lz4_compress >> /etc/initramfs-tools/modules
root@antix1:/home/xxx# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.0.5-antix.3-486-smp
root@antix1:/home/xxx#
This doesn’t seem to have changed the algorithm currently being used by the zram:
$ cat /sys/block/zram0/comp_algorithm
[lzo] lz4
-
This reply was modified 5 years, 3 months ago by andfree.
Moderator

BobC
If Dillo works, that means X windows is probably ok. For someone to diagnose I would start with what kind of machine is it and how much memory and swap is available, etc.
from a root terminal run, copy and paste the results of:
inxi -Fxz
and
ps_mem.py
Member

mroot
It would be helpful if we had more information. Please open a terminal and code the following:
inxi -Frz
You should get an output that looks similar to this below.
System: Host: antix17rmg Kernel: 4.14.12-antix.1-amd64-smp x86_64 bits: 64 Desktop: Fluxbox 1.3.5
Distro: antiX-17_x64-full Heather Heyer 24 October 2017
Machine: Device: laptop System: SAMSUNG product: RC512 v: 08VQ serial: <filter>
Mobo: SAMSUNG model: RC512 v: 08VQ serial: <filter>
BIOS: American Megatrends v: 08VQ.M038.20110817.SSH date: 08/17/2011
Battery BAT1: charge: 15.1 Wh 100.0% condition: 15.1/47.5 Wh (32%)
CPU: Quad core Intel Core i7-2630QM (-MT-MCP-) cache: 6144 KB
clock speeds: max: 2001 MHz 1: 900 MHz 2: 800 MHz 3: 1100 MHz 4: 1800 MHz 5: 900 MHz 6: 1700 MHz
7: 800 MHz 8: 1200 MHz
Graphics: Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
Card-2: NVIDIA GF108M [GeForce GT 525M]
Display Server: X.Org 1.19.2 drivers: modesetting,nouveau (unloaded: fbdev,vesa)
Resolution: 1366x768@60.00hz
OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile version: 3.3 Mesa 13.0.6
Audio: Card Intel 6 Series/C200 Series Family High Definition Audio Controller driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.14.12-antix.1-amd64-smp
Network: Card-1: Intel Centrino Advanced-N + WiMAX 6250 [Kilmer Peak] driver: iwlwifi
IF: wlan0 state: up mac: <filter>
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
IF: eth0 state: down mac: <filter>
Drives: HDD Total Size: 500.1GB (3.1% used)
ID-1: /dev/sda model: WDC_WD5000LPVX size: 500.1GB
Partition: ID-1: / size: 14G used: 3.8G (30%) fs: ext4 dev: /dev/sda9
ID-2: swap-1 size: 10.49GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
ID-3: swap-2 size: 0.18GB used: 0.00GB (0%) fs: swap dev: /dev/zram0
ID-4: swap-3 size: 0.18GB used: 0.00GB (0%) fs: swap dev: /dev/zram1
ID-5: swap-4 size: 0.18GB used: 0.00GB (0%) fs: swap dev: /dev/zram2
ID-6: swap-5 size: 0.18GB used: 0.00GB (0%) fs: swap dev: /dev/zram3
ID-7: swap-6 size: 0.18GB used: 0.00GB (0%) fs: swap dev: /dev/zram4
ID-8: swap-7 size: 0.18GB used: 0.00GB (0%) fs: swap dev: /dev/zram5
ID-9: swap-8 size: 0.18GB used: 0.00GB (0%) fs: swap dev: /dev/zram6
ID-10: swap-9 size: 0.18GB used: 0.00GB (0%) fs: swap dev: /dev/zram7
Sensors: System Temperatures: cpu: 59.0C mobo: 59.0C gpu: 50.0
Fan Speeds (in rpm): cpu: N/A
Repos: Active apt sources in file: /etc/apt/sources.list.d/antix.list
deb http://repo.antixlinux.com/stretch/ stretch main nosystemd
Active apt sources in file: /etc/apt/sources.list.d/debian-stable-updates.list
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
Active apt sources in file: /etc/apt/sources.list.d/debian.list
deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
Info: Processes: 189 Uptime: 5:14 Memory: 854.0/5874.6MB Client: Shell (bash) inxi: 2.3.54
Please post this hardware info to this thread (and the other one you started). It helps us help you. It also increases the likelihood that you will get a useful reply.
-mroot