LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-13-2022, 05:49 AM   #406
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,494

Rep: Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245

To enable this feature:
Code:
With CONFIG_ZRAM_WRITEBACK, zram can write idle/incompressible page to backing storage
rather than keeping it in memory. To use the feature, admin should set up backing device via:

echo /dev/sda5 > /sys/block/zramX/backing_dev
Is it possible to set :
Code:
CONFIG_ZRAM_WRITEBACK=y
in the kernel ?
 
1 members found this post helpful.
Old 03-13-2022, 06:10 AM   #407
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,494

Rep: Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245
Perl 5.34.1

Changes:
https://metacpan.org/release/SHAY/perl-5.34.1/changes
Code:
There are no changes intentionally incompatible with 5.34.0. 
If any exist, they are bugs, and we request that you submit a report.
 
Old 03-13-2022, 06:21 AM   #408
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,093

Rep: Reputation: Disabled
@ marav: previous answer here. This being said I have enabled this in a Slint kernel with no issue, but was too lazy to script something to really use it (and I didn't need to so far). All I can say is that I have shipped swapinzram in Slint since Wednesday 23 December 2020 and nobody complained about it so far. Here and now (laptop mostly idle, Slint64-14.2.1, kernel 5.16.11):
Code:
LANG=C free -h
              total        used        free      shared  buff/cache   available
Mem:          7.7Gi       1.1Gi       2.8Gi       188Mi       3.7Gi       6.1Gi
Swap:          14Gi          0B        14Gi
zramctl 
NAME       ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram1 zstd         13,8G   4K   59B    4K       4 [SWAP]
swapon
NAME       TYPE       SIZE USED  PRIO
/swapfile  file      1024M   0B    10
/dev/zram1 partition 13,8G   0B 32567
I keep a small swap file just in case to help me realize the machine is slowing down so maybe the OOM killer is threatening me but can' t remember it having been used. Anyway, better safe than sorry.

Last edited by Didier Spaier; 03-13-2022 at 06:26 AM.
 
3 members found this post helpful.
Old 03-13-2022, 10:55 AM   #409
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,904

Rep: Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053
Quote:
Originally Posted by franzen View Post
From https://www.kernel.org/doc/html/v5.1...kdev/zram.html

my understanding is, that there is no use(anymore) for better performance to have multiple zram-devices.

There was a use case prior to kernel 3.15, https://wiki.gentoo.org/wiki/Zram
There is a use case if you have a low memory system, with multiple cores, a SD Card housing the kernel, and the OS installed to a SSD. I have noticed a small performance hit where the CPU load is higher by a small margin. That is due to the compression/decompression process. At the same time, I do not hit a wall where my systems are swapping to disk, which is often a larger performance issue. Especially on my lower end systems that have SATA hard disks rather than SSD's.

With that said: If you have a AMD Ryzen thread ripper with a nvme disk and 16GB+ RAM- I agree, zram is not all that useful.
 
1 members found this post helpful.
Old 03-13-2022, 11:40 AM   #410
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 544

Rep: Reputation: 386Reputation: 386Reputation: 386Reputation: 386
Quote:
Originally Posted by mralk3 View Post
There is a use case if you have a low memory system, ...
To clarify, i meant to say
Quote:
my understanding is, that there is no use(anymore) for better performance to have multiple zram-devices.
So a single zram-swap device has the same performance, and is a lifesaver for my old devices.
 
3 members found this post helpful.
Old 03-13-2022, 01:34 PM   #411
roberto967
Member
 
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64-15.0 multilib
Posts: 117

Rep: Reputation: 36
rc.cgconfig not parsing config files from /etc/cgconfig.d

rc.cgconfig is not parsing config files from /etc/cgconfig.d as cgconfigparser should do when used with the -L flag.

Can we patch it in this way?

Edit: I'm adding the same for cgclear

Code:
--- rc.cgconfig.orig    2022-03-13 19:28:46.623520787 +0100
+++ rc.cgconfig 2022-03-13 20:52:52.250726562 +0100
@@ -32,7 +32,9 @@
 # get correct location of binaries from configure
 prefix=/usr;exec_prefix=${prefix};sbindir=${exec_prefix}/sbin
 CGCONFIGPARSER_BIN=$sbindir/cgconfigparser
+CGCLEAR_BIN=$sbindir/cgclear
 CONFIG_FILE=/etc/cgconfig.conf
+CONFIG_DIR=/etc/cgconfig.d
 servicename=cgconfig
 lockfile=/var/lock/subsys/$servicename
 
@@ -103,10 +105,10 @@
                     return 6
                 fi
 
-                $CGCONFIGPARSER_BIN -l $CONFIG_FILE
+                $CGCONFIGPARSER_BIN -l $CONFIG_FILE -L $CONFIG_DIR
                 retval=$?
                 if [ $retval -ne 0 ]; then
-                    echo "Failed to parse " $CONFIG_FILE
+                    echo "Failed to parse " $CONFIG_FILE $CONFIG_DIR
                     return 1
                 fi
         fi
@@ -127,7 +129,7 @@
 
 stop() {
     echo -n "Stopping cgconfig service: "
-    /usr/sbin/cgclear -l /etc/cgconfig.conf
+    $CGCLEAR_BIN -l $CONFIG_FILE -L $CONFIG_DIR
     rm -f "$lockfile"
     #log_success_msg
     return 0

Last edited by roberto967; 03-13-2022 at 02:56 PM. Reason: patch improvement
 
Old 03-13-2022, 05:29 PM   #412
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,494

Rep: Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245
Firefox 98.0.1

https://ftp.mozilla.org/pub/firefox/releases/98.0.1/

Release notes :
https://www.mozilla.org/en-US/firefo.../releasenotes/


Changed:
Code:
Yandex and Mail.ru have been removed as optional search providers in the drop-down 
search menu in Firefox.

If you previously installed a customized version of Firefox with Yandex or Mail.ru, 
offered through partner distribution channels, this release removes those customizations, 
including add-ons and default bookmarks. Where applicable, your browser will revert back 
to default settings, as offered by Mozilla. All other releases of Firefox remain unaffected by the change.

Last edited by marav; 03-14-2022 at 12:21 PM.
 
1 members found this post helpful.
Old 03-14-2022, 05:59 AM   #413
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,494

Rep: Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245
httpd 2.4.53

Changes:
https://downloads.apache.org/httpd/CHANGES_2.4.53

Security fix:
Code:
CVE-2022-23943: mod_sed: Read/write beyond bounds
CVE-2022-22721: core: Possible buffer overflow with very large or unlimited LimitXMLRequestBody
CVE-2022-22720: HTTP request smuggling vulnerability in Apache HTTP Server 2.4.52 and earlier
CVE-2022-22719: mod_lua Use of uninitialized value of in r:parsebody
 
Old 03-14-2022, 06:05 PM   #414
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,494

Rep: Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245
libusb 1.0.25

+ patch from fedora

report:
https://bugzilla.redhat.com/show_bug.cgi?id=2055504
patch:
https://src.fedoraproject.org/rpms/l...-default.patch

note: this release include corrections and previous patch is no longer necessary

Last edited by marav; 03-14-2022 at 06:10 PM.
 
Old 03-15-2022, 12:06 PM   #415
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,494

Rep: Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245
Samba 4.15.6

Release Notes:
https://www.samba.org/samba/history/samba-4.15.6.html
 
Old 03-16-2022, 05:20 AM   #416
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,509
Blog Entries: 7

Rep: Reputation: 2593Reputation: 2593Reputation: 2593Reputation: 2593Reputation: 2593Reputation: 2593Reputation: 2593Reputation: 2593Reputation: 2593Reputation: 2593Reputation: 2593
Quote:
Originally Posted by SCerovec View Post
View me just as the voice of the (few?) people who found a life without KDE is not only possible but maybe more enjoyable and productive than vice versa.
Meh. I haven't got time (and really couldn't be bothered) searching for, compiling and learning how to use alternatives. Don't get me wrong... I used to be like you. I'd have a list of things I'd download, compile and install every time I installed the latest Slackware. But then more important things in life came along, and I reconciled myself to the fact that Thunderbird works just as well as Sylpheed... and K3b is pretty bloody good, and very hard to find a complete replacement for. I actually need to use my computer... I haven't got time to waste rebuilding it constantly.
Quote:
Originally Posted by SCerovec View Post
Also regarding possible "unused resources are wasted" rant: i do hug my PCs resources as i work about, but not by the DE/WM but with the actual useful payload/burden, call me silly, for I expect the underlying layers to serve - and do so gracefully and reliably in the first place - if i can make them look nice - the better.
Yeah, well, I'm not exactly running supercomputers here. At the office, I've got an 8th gen Intel NUC i5 running vmware with 7 VMs on top of it... not exactly "resource rich." Aside from the disk space (although it's 2022 man... who, in all honesty, can't afford the 16Gb that a full install takes??) modern KDE is quite light on resource usage. It's sufficiently snappy in a VM... snappier than Windows in fact.

This video puts some science behind it: https://www.youtube.com/watch?v=RrvJOXypAbk.
 
2 members found this post helpful.
Old 03-16-2022, 10:24 AM   #417
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,494

Rep: Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245
OpenSSL 1.1.1n

Changelog:
https://www.openssl.org/news/changelog.html#openssl-111

Code:
OpenSSL 1.1.1 users should upgrade to 1.1.1n
Security advisory:
https://www.openssl.org/news/secadv/20220315.txt
 
1 members found this post helpful.
Old 03-16-2022, 01:53 PM   #418
HQuest
Member
 
Registered: Jan 2018
Location: 2001:470:c2d0::/56
Distribution: Anything I can interface with
Posts: 107

Rep: Reputation: Disabled
ISC BIND 9.18.1 contains four security fixes, a few feature changes and some bug fixes.
 
Old 03-16-2022, 02:10 PM   #419
rasp
LQ Newbie
 
Registered: Dec 2018
Posts: 19

Rep: Reputation: Disabled
firefox extensions

clicking an extension in firefox (either from slackware or from their site) gives an empty rectangle and:
segfault at 0 ip 00007f83412db629 sp 00007ffc3f2573d0 error 4 in libc-2.35.so[7f83411bc000+186000]
in dmesg.
extensions are not working at all.

is this known/normal, am I stupid or is libc broken ?

-rasp
 
Old 03-16-2022, 02:12 PM   #420
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,494

Rep: Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245Reputation: 4245
Quote:
Originally Posted by rasp View Post
clicking an extension in firefox (either from slackware or from their site) gives an empty rectangle and:
segfault at 0 ip 00007f83412db629 sp 00007ffc3f2573d0 error 4 in libc-2.35.so[7f83411bc000+186000]
in dmesg.
extensions are not working at all.

is this known/normal, am I stupid or is libc broken ?

-rasp
and what does this have to do with the topic of this thread?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.4 requests to non-SSL site with "Upgrade-Insecure-Requests: 1" and no trailing / get redirected to default site owendelong Linux - Server 2 06-22-2021 02:08 PM
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration