Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-03-2014, 03:06 PM
|
#1
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Rep: 
|
Do you use alternative kernels?
I am trying to have my system as fast as posible and was searching for custom kernels like zen-kernel, for example. But I didn't find any reason to use them, it doesn't seem they make that much of a difference. What do you think?
|
|
|
01-03-2014, 03:19 PM
|
#2
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Kernels won't make your system run any faster than the hardware will allow. You could strip a kernel to barebones minimum trying to reduce the memory footprint, but that's about it.
To get a system to run faster you have to do things like overclocking, replacing older hardware with newer and faster versions, and maybe adding more RAM, a faster hard drive, or faster CPU.
|
|
1 members found this post helpful.
|
01-03-2014, 03:24 PM
|
#3
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,357
Rep: 
|
Fast doing what? Please give some examples or tasks you'd like to accelerate else you could receive pointless advices.
Generally speaking, I don't think you'll gain, much customizing your kernel, and fast hardware can be a more important factor than software optimization.
PS ReaperX7 was faster 
Last edited by Didier Spaier; 01-03-2014 at 03:25 PM.
Reason: PS added
|
|
|
01-03-2014, 03:40 PM
|
#4
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Original Poster
Rep: 
|
Ok, let me explain myself better: I often see those people, like the ones developing/using them, saying it is optimized/faster/whatever. It seems that isn't the case.
|
|
|
01-03-2014, 03:55 PM
|
#5
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,351
|
I know your question is not about Gentoo, but be careful to not fall into this trap...
HOLY COW I'M TOTALLY GOING SO FAST OH F***.
There is no magic incantation like "-OMG speed=150%". Just do the things that you understand, one by one, and gauge the result yourself on your own system.
As stated earlier, kernel-wise you can reduce the memory footprint and remove unneeded modules, but generally there are not any dramatic speed gains to be made there.
*** EDIT ***
I was not familiar with the "zen kernel" so I did a quick search and found a lot of 404 pages, including what appears to be the ZenKernel home page on the buntu wiki, which says:
... and leads to another 404...
So unless I missed something, the ZenKernel, whatever it was, is no more...
Last edited by astrogeek; 01-03-2014 at 04:07 PM.
|
|
2 members found this post helpful.
|
01-03-2014, 04:13 PM
|
#6
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Original Poster
Rep: 
|
|
|
|
01-03-2014, 04:14 PM
|
#7
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Zen is supposed to be some kind of universal desktop kernel for everyday usage. To be honest, it's not really that great. It's often best to stick to the kernel provided by your distribution, or built yourself.
|
|
|
01-03-2014, 04:16 PM
|
#8
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Original Poster
Rep: 
|
There is liquorix too (and many others), but it seems to be worse than stock kernel
http://www.phoronix.com/scan.php?pag...uorix_32&num=1
|
|
|
01-03-2014, 04:22 PM
|
#9
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Original Poster
Rep: 
|
Oh, and by the way I am testing Gentoo (what a funny webpage lol) but I am still totally confused (I am not a very skilled linux user but whatever). I like the idea behind it and I like compiling stuff but I don't know if it is worth it and it is definitely not as simple as Slackware.
|
|
|
01-03-2014, 04:27 PM
|
#10
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
A new kernel compiled for your processor, will boost performance by a bit. Another thing I have found to increase performance is recompiling glibc, glib, and glib2 using '-march=native' in the Slackbuilds.
|
|
|
01-03-2014, 04:30 PM
|
#11
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Original Poster
Rep: 
|
I am running a recompiled kernel and I am not seeing much difference. And I don't feel comfortable enough to recompile glibc, glib or glib2.
|
|
|
01-03-2014, 05:35 PM
|
#12
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
It depends, a different kernel can run faster, but usually not because of better optimization, but because a newer kernel may contain bug fixes that speed up the system. For example, kernels 3.11 and earlier had a bug in the ondemand CPU governor that was fixed in 3.12. Under certain circumstances and with specific benchmarks this bugfix could speed up the system up to 90%.
But usually you will increase performance to a much better extent if you rather compile your applications for your specific CPU or GPU. But don't expect wonders from that either.
|
|
2 members found this post helpful.
|
01-03-2014, 06:19 PM
|
#13
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
Quote:
Originally Posted by moisespedro
I am running a recompiled kernel and I am not seeing much difference. And I don't feel comfortable enough to recompile glibc, glib or glib2.
|
It's simple, just run 'lftp' to mirror the slackware directory you want for example:
Code:
lftp -c 'open ftp://mirrors.usc.edu/pub/linux/distributions/slackware/slackware64-14.1/source/l/glib/; mirror'
Make sure the slackware version is right. Then edit the Slackbuild to contain '-march=native' for your architecture or for all if you are not sure. Then you run the Slackbuild as root, wait for it to finish, and then run 'upgradepkg --reinstall' on the package that is created.
|
|
|
01-03-2014, 07:07 PM
|
#14
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
moisespedro
I don't use Slackware.
If you are going to quote an old link about Liquorix kernels as per post number 8 you may not have observed that it appears to be dated 27 March 2012
rant starts.....giggles
and that is the point why I use and will continue to use it. Altho on Debian sid
reason
If there is a kernel security update or patch required I have always found that Steven Barrett AKA damentz does a great job of pumping out updates very quickly
now look at your repo for Slackware and tell me what is the kernel version?
I will attempt to show it via web pages ok
at time of writing this rant.....forgive me as I don't have slack installed to check YMMV
slackware
http://slackbuilds.org/mirror/slackw...s/VERSIONS.TXT
claims 3.10.17 for 32 bit
liquorix
http://liquorix.net/debian/pool/main/l/linux-liquorix/
claims 3.12-6 for 32 bit
sorry if I offend any one
rant ends
Last edited by aus9; 01-03-2014 at 07:08 PM.
|
|
|
All times are GMT -5. The time now is 02:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|