LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-29-2004, 11:01 AM   #1
denning
Member
 
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150

Rep: Reputation: 15
remove frills


Just some ideas i have of speeding up and removing unnecessary frills from slackware 10, KDE, to improve performance:

1. disable arts in kde
2. comment out ldconfig and fc-cache for bootstrap process.
3. Take away bsd-fortunes so fortune won't come up on every logon (? Will this help much?)
4. disable all KDE fancy stuff

Any other ideas apart from using light window manager? I want to keep KDE. I just want to slim down the system, speed up bootstrap or performance in general. I read about dietlibc and another libc, but that sounds rather extreme and may have compatibility problems.

THanks
 
Old 11-29-2004, 11:14 AM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Speeding up a system is a simple thing. Some of the things I do are:

Remove or disable all unnecessary crap. For me this includes KDE, Gnome, all system services I'm not using (FTP, SMTP, etc) and so forth
Compile everything with optimizations turned on (gcc -O2) <-- This may break some things

Basically, everything that you have running that doesn't *have* to be is a waste of memory. Your CPU can only be so fast, but the less memory you use, the less swap you'll use, and the faster the system will feel. Think of it like stripping weight off a race car -- turn off everything you can live without.
 
Old 11-29-2004, 11:15 AM   #3
tank728
Member
 
Registered: Sep 2003
Posts: 142

Rep: Reputation: 17
1) Disabling arts is probably a good idea. I dont use KDE so I can't give you any help here.
2) ldconfig is very important especially if you test out new software all the time
you can set ldconfig to run at shutdown, which would do just the same.
3) The BSD fortunes, I like , but i don think it would increase system performance.
if might increase log on time, but i think there is little to improve from the time you hit enter on your password, to the time you get your shell (default is bash).
4) The fancy stuff would of course be benificial.

-tank
 
Old 11-29-2004, 11:22 AM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
2. comment out ldconfig and fc-cache for bootstrap process.
ldconfig updates your shared libraries........you need this when installing other programs--
fc-cache updates the fonts library for the X-server...........
you really don't want to get rid of these!!
 
Old 11-29-2004, 12:00 PM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
well...compiling all stuff yourself won't help, you''ll not notice the difference.
and if it's really so hard to wait 10 seconds at boot ( grab a cup of tea or so...),
then don't switch the thing off.

egag
 
Old 11-29-2004, 12:55 PM   #6
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Quote:
Originally posted by egag
well...compiling all stuff yourself won't help, you''ll not notice the difference.
Your not being able to tell the difference doesn't mean they won't be able to.

Quote:
and if it's really so hard to wait 10 seconds at boot ( grab a cup of tea or so...),
then don't switch the thing off.
I think the original poster was looking for ways to speed up the system in general, not boot time. Why would anyone go to alot of trouble to speed up boot time? That's the thing a computer does least.
 
Old 11-29-2004, 03:35 PM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
qoute
--------
I think the original poster was looking for ways to speed up the system in general, not boot time. Why would anyone go to alot of trouble to speed up boot time? That's the thing a computer does least.
---------endquote

well... i'm sorry if i misunderstood , but the points 2 and 3 really suggest a quest for speedy booting.
( and in that time , i always grab a cup of tea...but that's just an example. )
and if anyone has really good reasons to compile it all ( and there are...), not one of those reasons will be speed.
you can't win much speed there , but it's just an opinion. don't feel offended.
anyone is free to try but don't expect miracles.

egag
 
Old 11-29-2004, 05:07 PM   #8
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
No offence taken

There's only so much you can do to make a 400MHz with 128MB running KDE3 "fast" (Not suggesting the poster has that configuration, just making a point). I was just trying to help.
 
Old 11-29-2004, 05:18 PM   #9
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
I would recommend running only from console and forgetting all that eye candy desktop stuff. Your system will be quick and you will learn more about linux than you ever thought possible. No drag and drop, double click stuff.
 
Old 11-29-2004, 05:44 PM   #10
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Quote:
Originally posted by ringwraith
I would recommend running only from console and forgetting all that eye candy desktop stuff. Your system will be quick and you will learn more about linux than you ever thought possible. No drag and drop, double click stuff.
That might be a bit extreme. I work in consoles to machines in various places around the world all day long, and while you can get your work done, 80x25 kind of sucks for browsing the web -- even with elinks or w3c -- though I do read my email in a terminal

X is for lots of terminals and a browser. I recommend evilwm or ratpoison. Nothing pretty to distract you. (black|open|flux)box if you just have to have buttons to click on
 
Old 11-29-2004, 09:04 PM   #11
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Is there away to watch video without kicking up xwindow?
 
Old 11-29-2004, 09:32 PM   #12
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
I understand that mplayer can use framebuffer to watch video in console.
 
Old 11-29-2004, 11:07 PM   #13
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by ringwraith
I understand that mplayer can use framebuffer to watch video in console.
Yes, enable framebuffer support and man mplayer for more details, its detailed and probably one of the best man pages out there.

2. comment out ldconfig and fc-cache for bootstrap process.

This will do nothing to help performance except that its only run at bootime. Removing these will only help speed up the boot process time.
I personally remove these to speed up my own boot of my system, but its best to remember to run these after installing fonts or applications.. or just setup a cronjob to run everynight, etc.

3. Take away bsd-fortunes so fortune won't come up on every logon (? Will this help much?)

Its only loaded that one time at bootup, so removing it won't help your performance as it will only take up the 1/10 of a second to display at login.
 
Old 11-29-2004, 11:15 PM   #14
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Quote:
That might be a bit extreme. I work in consoles to machines in various places around the world all day long, and while you can get your work done, 80x25 kind of sucks for browsing the web -- even with elinks or w3c -- though I do read my email in a terminal
You could always use a framebuffer console. I've seen 132x50 text - certainly that's better than 80x25.

But either way, using Fluxbox or something would probably be easier to manage.
 
Old 11-30-2004, 12:14 AM   #15
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Rep: Reputation: 31
Fluxbox? Bah, use BadWM when I need resources free. I use 13% of my RAM on boot and I have 256mb - that's with a desktop background and a few different services running.
 
  


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
What to Remove Logarithim Slackware 3 05-01-2005 11:24 AM
remove services alaios Debian 3 01-10-2005 09:28 PM
What can I remove and how?? halo14 Slackware 5 09-23-2004 10:34 AM
Installing Slackware without the frills. DFarist Slackware 6 02-06-2004 03:50 AM
Remove everything Rooster14 Linux - Newbie 1 12-21-2003 09:19 PM

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

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