LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-03-2022, 08:02 AM   #1
hydramane
LQ Newbie
 
Registered: Feb 2022
Location: NC, USA
Distribution: Slackware
Posts: 4

Rep: Reputation: 5
Talking Any recommendations for improving performance on Slackware current?


Hello, I'm currently running Slackware current on my gaming machine, it has a Ryzen 7 3500U and AMD Picasso GPU. I'm using the mesa and vulkan drivers along with the 5.18 kernel. What more could be done to squeeze a bit more performance out of my machine, a custom kernel, messing with Xorg configs?
 
Old 07-03-2022, 08:30 AM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
At the moment I'm running KDE-plasma on my Slackware64-current laptop. If you wanted to use less system resources you could use a light window manager like Fluxbox. A suggestion.
 
2 members found this post helpful.
Old 07-03-2022, 09:37 AM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,133
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Basic info for that hardware.
https://wiki.archlinux.org/title/AMDGPU
 
1 members found this post helpful.
Old 07-03-2022, 10:03 AM   #4
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,780

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
If you are using a default kernel, afaik, whether generic or huge, you could benefit from a custom kernel. How much you could benefit would depend on how well you know all your hardware. Changing settings to your specific CPU type as opposed to generic, timing, pre-emptible (low latency) all make differences a person involved in heavier workloads, especially mulktimedia work, can feel as well as see in benchmarks.

As then list of supported hardware only increases since extremely old hardware still enjoys support and even though that is less a load than it used to be back before on-demand modules, there is a reason embedded systems can be so fast - tiny kernels only supporting what's actually there. Figuring out every chep your PC might have in 2022 is a massive job, one I stopped considering with 2.4 kernels.
 
2 members found this post helpful.
Old 07-03-2022, 02:00 PM   #5
hydramane
LQ Newbie
 
Registered: Feb 2022
Location: NC, USA
Distribution: Slackware
Posts: 4

Original Poster
Rep: Reputation: 5
Is it possible to compile already made custom build kernels like Xanmod from source, using the make oldconfig route? If not, I have no issue making one from the latest builds.

Last edited by hydramane; 07-03-2022 at 02:04 PM.
 
Old 07-03-2022, 02:04 PM   #6
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,680

Rep: Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374
enabling full dynamic preemption for your kernel could give a small boost if your machine is a basic desktop/gaming rig.
 
4 members found this post helpful.
Old 07-03-2022, 02:18 PM   #7
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 996

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Shut off useless daemons (i.e. haveged).

The necessary daemons to the login prompt are:

Code:
% ps ax | grep -v '[0-9] [[]'
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:00 init [3]
  676 ?        Ss     0:04 /sbin/udevd --daemon
  960 ?        Ss     0:00 /usr/sbin/syslogd -s
 1126 ?        Ss     0:00 /usr/bin/dbus-daemon --system
 1141 ?        S      0:00 elogind-daemon
 1170 ?        Ss     0:00 sshd: /usr/sbin/sshd[listener] 0 of 10-100 startups
 1181 ?        Ss     0:00 /usr/sbin/acpid
 1202 ?        Ss     0:00 /usr/sbin/crond -l notice
 1208 ?        Ss     0:00 /usr/sbin/atd -b 15 -l 1
 1235 ?        Ss     0:00 login -- ed
Ed
 
3 members found this post helpful.
Old 07-03-2022, 02:53 PM   #8
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 559

Rep: Reputation: Disabled
Install the PREEMPT_RT patch for kernel performance could improve a bit as Daedra mentioned.
https://www.opensourceforu.com/2021/...linux-kernels/

But as always there are differing opinions on the above.
Changing to a lighter window manager and building a custom kernel with make localmodconfig and make localyesconfig?
I'd still go through the kernel config with make menuconfig anyway.

Definitely use wired ethernet instead of wireless and modify the home router with better QOS marking for the gaming application.
A long time ago and on the home router, I gave the kids static IPs with 50% bandwidth while reserving the remainder for the better half and I ( ͡~ ͜ʖ ͡°)

Is messing around with the real-time scheduler still worth it with the new kernels?
 
1 members found this post helpful.
Old 07-03-2022, 03:04 PM   #9
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,680

Rep: Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374
edit: disregard

Last edited by Daedra; 07-03-2022 at 03:20 PM.
 
Old 07-03-2022, 03:32 PM   #10
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
The RT patchset won't necessarily get you better "performance" but it will help with interactivity. Its real purpose is to provide more predictable (and lower) latencies through preemption and priority. More kernel processes are preemptible too, with some locks converted to mutexes and stuff. Even soft interrupts are preemptible.

A prime example of something a desktop user might like is being able to, say, give something more priority and actually have the scheduler bias adhere to that instead of being all "fuzzy" about it.

I use it on my manjaroo system where I play games. Why? Mostly because giving pulseaudio RT priority through rtkit-daemon actually works with the RT kernel. I was able to remove all workarounds for audio crackling and the like from all my games. I no longer need PULSE_LATENCY_MSEC= (induces latency by buffering behind the number of milliseconds) or wine dll overrides to work around poor audio behaviour.

That's really the only benefit I can qualify other than saying my games are all performing well. It would not directly lead to "higher framerates" but possibly help with situations where there might be brief hitching or something.

Another thing... let's say I've got a big assed LTO build of Firefox or something going, niced +10. I can't even bloody tell I'm compiling. I once forgot I even had a build going on another virtual desktop and quit my session. Oops lol.

For most usage, the normal kernel with preempt=full should be good.
 
2 members found this post helpful.
Old 07-03-2022, 03:45 PM   #11
Minime_2003
Member
 
Registered: Aug 2021
Location: Sweden
Distribution: Slackware
Posts: 113

Rep: Reputation: 39
Turn off compositing in X is always recomended.
 
1 members found this post helpful.
  


Reply

Tags
gaming, performance, slackware -current


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Improving Remote X Display performance fisher99 Linux - Software 0 05-23-2004 01:30 PM
improving 3d performance ababkin Linux - Hardware 1 04-08-2004 11:33 PM
PHP Improving performance with Mysql guardian653 Programming 2 02-15-2004 10:30 PM
improving disk performance Henry_1 Linux - Laptop and Netbook 1 11-10-2003 05:28 PM
Improving hd performance psyklops Linux - General 2 08-21-2003 08:19 PM

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

All times are GMT -5. The time now is 06:01 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