F5F Stay Refreshed Software Operating Systems Need guidance on configuring Zram and sysctl.conf correctly.

Need guidance on configuring Zram and sysctl.conf correctly.

Need guidance on configuring Zram and sysctl.conf correctly.

Pages (2): 1 2 Next
C
ChickenPhoYou
Posting Freak
850
01-22-2016, 02:20 AM
#1
i encountered a problem with the RAM on my system. My desktop and laptop tend to drain quickly, especially during gaming or editing when usage hits 70-100%. On average, it pulls up to a full state, but rarely uses Zram unless I check the settings. After reviewing the Zram configuration, I suspect the values might be incorrect. This is the setup I have: screen grab, comparison, same algorithm and priority config (-1000 p) for both laptop and desktop. For the laptop, RAM is 11GB out of 16GB, and for the desktop, it's 40GB of 64GB. The -1000 p setting should be adjusted to -75 instead of -1000, and I think the sysctl.conf values need tweaking. Other parameters like swappiness, page cluster, zone reclaim mode, etc., are set to default or higher than ideal. Any advice on fine-tuning would be appreciated.
C
ChickenPhoYou
01-22-2016, 02:20 AM #1

i encountered a problem with the RAM on my system. My desktop and laptop tend to drain quickly, especially during gaming or editing when usage hits 70-100%. On average, it pulls up to a full state, but rarely uses Zram unless I check the settings. After reviewing the Zram configuration, I suspect the values might be incorrect. This is the setup I have: screen grab, comparison, same algorithm and priority config (-1000 p) for both laptop and desktop. For the laptop, RAM is 11GB out of 16GB, and for the desktop, it's 40GB of 64GB. The -1000 p setting should be adjusted to -75 instead of -1000, and I think the sysctl.conf values need tweaking. Other parameters like swappiness, page cluster, zone reclaim mode, etc., are set to default or higher than ideal. Any advice on fine-tuning would be appreciated.

M
MineSharck
Member
183
02-01-2016, 01:36 PM
#2
The swappiness threshold is around 100, not 200. Adjusting it to 100 would improve swapping. How much swapping occurs? Does your system have a disk swap device available?
M
MineSharck
02-01-2016, 01:36 PM #2

The swappiness threshold is around 100, not 200. Adjusting it to 100 would improve swapping. How much swapping occurs? Does your system have a disk swap device available?

M
moonhoax
Member
148
02-03-2016, 08:02 PM
#3
Only a RAM module is required.
M
moonhoax
02-03-2016, 08:02 PM #3

Only a RAM module is required.

H
HeroMinion
Junior Member
26
02-04-2016, 07:48 AM
#4
Simplify your zram configuration with zram-generator and ensure zswap is turned off. Refer to the Arch Wiki for setup details. Using default swap settings typically works well, as many options are redundant. The vm.swappiness value should be around 200, which is the most aggressive setting possible on kernel 5.8 or newer.
H
HeroMinion
02-04-2016, 07:48 AM #4

Simplify your zram configuration with zram-generator and ensure zswap is turned off. Refer to the Arch Wiki for setup details. Using default swap settings typically works well, as many options are redundant. The vm.swappiness value should be around 200, which is the most aggressive setting possible on kernel 5.8 or newer.

T
tom13m
Junior Member
17
02-07-2016, 04:10 PM
#5
The value was raised to 200 in Kernel 5.8 to align more closely with zram and zswap.
T
tom13m
02-07-2016, 04:10 PM #5

The value was raised to 200 in Kernel 5.8 to align more closely with zram and zswap.

P
Poyel
Member
134
02-08-2016, 12:43 AM
#6
Zram acts as a swap mechanism, which appears in swap statistics. The system indicates how much swap memory is currently utilized.
P
Poyel
02-08-2016, 12:43 AM #6

Zram acts as a swap mechanism, which appears in swap statistics. The system indicates how much swap memory is currently utilized.

X
xAlphaLegend
Member
222
02-09-2016, 12:02 AM
#7
your system runs kernel version 6.8.0-31-generic with ubuntu 24.04lts
X
xAlphaLegend
02-09-2016, 12:02 AM #7

your system runs kernel version 6.8.0-31-generic with ubuntu 24.04lts

A
alejitozilla
Junior Member
3
02-13-2016, 01:39 AM
#8
The output shows system details and memory usage information. It lists disk sizes, compression settings, and available buffers. It also indicates free and shared cache space along with current memory allocation.
A
alejitozilla
02-13-2016, 01:39 AM #8

The output shows system details and memory usage information. It lists disk sizes, compression settings, and available buffers. It also indicates free and shared cache space along with current memory allocation.

X
xNotax01
Member
60
02-14-2016, 11:47 PM
#9
deleted
X
xNotax01
02-14-2016, 11:47 PM #9

deleted

M
Manolo_Loco
Junior Member
2
02-15-2016, 02:04 AM
#10
Your issue is clear. The zram configuration isn't being treated as swap space. If there had been available swap, the total would have shown it. This suggests your script might not be running correctly or isn't being triggered.
M
Manolo_Loco
02-15-2016, 02:04 AM #10

Your issue is clear. The zram configuration isn't being treated as swap space. If there had been available swap, the total would have shown it. This suggests your script might not be running correctly or isn't being triggered.

Pages (2): 1 2 Next