LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-03-2014, 04:06 PM   #1
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,139

Rep: Reputation: 151Reputation: 151
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?
 
Old 01-03-2014, 04:19 PM   #2
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,827
Blog Entries: 15

Rep: Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184
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.
Old 01-03-2014, 04:24 PM   #3
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,653

Rep: Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233
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 04:25 PM. Reason: PS added
 
Old 01-03-2014, 04:40 PM   #4
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,139

Original Poster
Rep: Reputation: 151Reputation: 151
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.
 
Old 01-03-2014, 04:55 PM   #5
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,155

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
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:

Quote:
OBSOLETE, NEW WEBSITE

This document is currently obsolete, the new one can be found on the new Zen kernel home page at: http://zen-kernel.org/tutorials/dist...u-installation
... 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 05:07 PM.
 
2 members found this post helpful.
Old 01-03-2014, 05:13 PM   #6
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,139

Original Poster
Rep: Reputation: 151Reputation: 151
Here
 
Old 01-03-2014, 05:14 PM   #7
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,827
Blog Entries: 15

Rep: Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184
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.
 
Old 01-03-2014, 05:16 PM   #8
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,139

Original Poster
Rep: Reputation: 151Reputation: 151
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
 
Old 01-03-2014, 05:22 PM   #9
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,139

Original Poster
Rep: Reputation: 151Reputation: 151
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.
 
Old 01-03-2014, 05:27 PM   #10
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,521

Rep: Reputation: Disabled
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.
 
Old 01-03-2014, 05:30 PM   #11
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,139

Original Poster
Rep: Reputation: 151Reputation: 151
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.
 
Old 01-03-2014, 06:35 PM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,650
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
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.
Old 01-03-2014, 07:19 PM   #13
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,521

Rep: Reputation: Disabled
Quote:
Originally Posted by moisespedro View Post
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.
 
Old 01-03-2014, 08:07 PM   #14
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
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 08:08 PM.
 
Old 01-03-2014, 08:15 PM   #15
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,274

Rep: Reputation: 587Reputation: 587Reputation: 587Reputation: 587Reputation: 587Reputation: 587
I usually use the kernel that ships with Slackware, but, I have compiled my own kernel before. Alien Bob (one of our lead slackware developers) has a good kernel compile guide that works very well:

http://alien.slackbook.org/dokuwiki/doku.php?id=linux:kernelbuilding&s[]=kernel&s[]=compile
 
  


Reply


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
Getting Assertion `kernels [x] == kernels [x]' failed with emulator in Slackware 14 Holering Slackware 1 05-10-2013 04:43 PM
backward compatibility in kernels + custom kernels + more queries mmp_3341 Linux - Kernel 1 04-12-2007 08:28 AM
Now I Have Two Kernels comprookie2000 Red Hat 3 03-04-2004 08:58 PM
RH 8 kernels and their relation to 'stock' kernels psweetma Linux - Distributions 1 03-29-2003 11:46 PM
kernels watashiwaotaku7 General 2 12-26-2002 09:42 PM


All times are GMT -5. The time now is 09:39 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration