Hi, long time since I was here, and the main reason for that:
The Porteus 3.5 Nemesis works so nice for me! With the frequent updates and all. :- )
(I have seen some small bugs since I started, had to change upower / pm-util,
needed to remove a symlink libcadec to be able to update,
but I did figure how to solve this problems by my self)
I am glad to see that the Arch-Manjaro-Porteus project still going on / restarted,
In my opinion this is the best one so far, almost bug free
I really like LXDE, and the automatic security updates in Manjaro-linux, and so on,
however.. there is some memory leak, probably in the html5 player or in Firefox.
Sometimes I have no HDD, but now it is installed on a very small HDD
I don't use any swap-partition, so then suddenly it can freeze the
system ..really hard.., Sometimes even the sysRq "R E I S U B" will not work,
A hard power off seems to be the only way if it really freezes everything before I can "killall firefox" :- /
Q. What is the correct method to enable Z-ram in this version?
I am almost new to Linux, so I am not 100% sure about how to do this,
I found some scripts here:
https://github.com/vaeth/zram-init
.
Zram, how to enable? (in Manjaro/Arch-Porteus)
Moderator: M. Eerie
-
- Samurai
- Posts: 116
- Joined: 10 Nov 2013, 12:02
- Distribution: LXDE3.5Manjaro, LXDE3.01-32bit
- Location: Sweden
Zram, how to enable? (in Manjaro/Arch-Porteus)
Last edited by ElectriQT on 26 Jan 2017, 12:12, edited 2 times in total.
- Blaze
- DEV Team
- Posts: 3996
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Re: Zram,how to enable?
Try zram=25% in /mnt/sdb1/boot/syslinux/porteus.cfg
For example
LABEL GRAPHICAL section
....
APPEND initrd=initrd.xz changes=/porteus zram=25%
Cheers
For example
LABEL GRAPHICAL section
....
APPEND initrd=initrd.xz changes=/porteus zram=25%
Cheers
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
-
- Samurai
- Posts: 116
- Joined: 10 Nov 2013, 12:02
- Distribution: LXDE3.5Manjaro, LXDE3.01-32bit
- Location: Sweden
Re: Zram,how to enable? (in Manjaro/Arch-Porteus)
-Nope,that did not work :- (Blaze wrote: boot/syslinux/porteus.cfg
APPEND initrd=initrd.xz changes=/porteus zram=25%
top (Htop) tells me: "Swp 0k/0k"
Maybe I need to shut of any running normal Harddrive-swap first?
[Edit: No, no difference. I tried swapon / swapoff -a ]
EDIT, I have the LXDE-version of Manjaro/Arch based PorteusNemesis3.5,
(I had no issues with Zram in the Slackwarebased Porteus)
All the latest updates from Manjaro installed with pacman update manager.)
EDIT, I Removed some redundant text. Moved a part of it to a second question about the Firewall.
- normalGuy
- Black ninja
- Posts: 52
- Joined: 06 Nov 2015, 23:36
- Distribution: porteus 3.2 xfce archBang
- Location: uk & portugal
Re: Zram, how to enable? (in Manjaro/Arch-Porteus)
Maybe cheatcode:
Works with me with arch in HD and porteus Usb.noswap
... Prevents the automatic use of an existing swap partition.
By default, Porteus searches your attached drives for
partitions that are formatted as swap, and will mount them
for use within Porteus. The 'noswap' cheatcode disables
this behaviour.
-
- Samurai
- Posts: 116
- Joined: 10 Nov 2013, 12:02
- Distribution: LXDE3.5Manjaro, LXDE3.01-32bit
- Location: Sweden
Zram, how to enable? (in Manjaro/Arch-Porteus)
http://www.techrapid.co.uk/2017/04/crea ... linux.html
works, (without sudo, I did it as root)
"zRam is a virtual memory compression using block devices named /dev/zram using a fast compression algorithm that compress the least recently used (LRU) or inactive space in the memory allows the GNU/Linux kernel to free up more memory with less performance hit.
zRam is greatly increasing the available amount of memory without swap disks/partition. It is recommended for user to use zRam instead of not use swap or swap on slow disks.
Create a zRam block devices
Load the zRam modules to the kernel using modprobe:
sudo modprobe zram
Set the zRam extremely fast compression algorithm using lz4:
sudo sh -c "echo 'lz4' > /sys/block/zram0/comp_algorithm"
Set 2 Gigabyte available zRam disk space for swap:
sudo sh -c "echo '2G' > /sys/block/zram0/disksize"
Create a swap on zRam block devices:
sudo mkswap --label zram0 /dev/zram0
Enable the zRam block devices for swapping with high priority:
sudo swapon --priority 100 /dev/zram0 "
works, (without sudo, I did it as root)
"zRam is a virtual memory compression using block devices named /dev/zram using a fast compression algorithm that compress the least recently used (LRU) or inactive space in the memory allows the GNU/Linux kernel to free up more memory with less performance hit.
zRam is greatly increasing the available amount of memory without swap disks/partition. It is recommended for user to use zRam instead of not use swap or swap on slow disks.
Create a zRam block devices
Load the zRam modules to the kernel using modprobe:
sudo modprobe zram
Set the zRam extremely fast compression algorithm using lz4:
sudo sh -c "echo 'lz4' > /sys/block/zram0/comp_algorithm"
Set 2 Gigabyte available zRam disk space for swap:
sudo sh -c "echo '2G' > /sys/block/zram0/disksize"
Create a swap on zRam block devices:
sudo mkswap --label zram0 /dev/zram0
Enable the zRam block devices for swapping with high priority:
sudo swapon --priority 100 /dev/zram0 "
- francois
- Contributor
- Posts: 6501
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Zram, how to enable? (in Manjaro/Arch-Porteus)
So still using nemesis.
Did you update to the most recent base modules updates by ncmprhnsbl, or are your running on your january installation? Are you using brokenman lxde modules or did you built your own on top of xorg from scratch.

Prendre son temps, profiter de celui qui passe.