LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 01-28-2002, 07:46 PM   #1
dj_relentless
Member
 
Registered: Jan 2002
Location: NZ, AKL
Distribution: Redhat 7.1
Posts: 168

Rep: Reputation: 30
LFS questions


No tech questions yet just curious on opinons..

Is there a point is optimising compiles?
I read here that you don't notice any difference..My computer will be the only one using it and I just did a cpu swap so won't be changing it for while now..Well has anyone noticed any particular programs that do perform better when optimised.

and..
I'm curious what window manager I should go for..now I'm sure you'll all say each to their own..I read window maker is good general purpose..
This lfs install is gonna be used for thrashing/testing/games (gotta be honest).. Cause I'm real curious about linux but was always too scared to play with mine..so I'm hoping I can play with this until it doesn't work without losing anything apart from time (not that it works yet anyway)..
I have yet to really see other people using linux for games but I love them and was very impressed with wolfenstien..it ran much better than my win version so rather than go with what I know I'd rather see what differences faster desktop env would make..
ummm..yea.. thats it..

Opinons? words of warning/wisdom?

annnnnd...

Unless I'm going senile at an early age I remember reading that you can use multiple desktop env's (why do I still call it that *shakes fist at windows*..what I mean is window managers)..if so anyone know I link with practical information about it ie. how one would go about it.

Last edited by dj_relentless; 01-28-2002 at 08:28 PM.
 
Old 01-29-2002, 03:09 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Well if you have a pretty recent machine you probably won't notice much especially since in the beginning the system is so minimal it seems so much faster then any distribution you've ever installed. I build my lfs system on a 350mhz machine so I optimized most packages to try and get the most speed out of it. I don't think I've noticed massive speed improvement but I do believe it makes a slight difference, especially if you add up the speed difference of all the packages. You might want to read the optimization hint though: http://hints.linuxfromscratch.org/hi...timization.txt

For a desktop environment you should really try out several of them and see which one suits you best. I'm sure you already read the "Which GUI do you use" thread in this forum which should give you some more pointers on peoples opinions.
I don't think referring to them as desktop environments is wrong since most of them include a lot more then just the window manager itself. But I'm probably terribly wrong on that.
 
Old 01-29-2002, 04:29 PM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Again, what Mik said is really right... if this is an Athlon 1800, the difference between .254 seconds and .250 seconds is kinda minimal.

I did mine on a P1 200, so optimizing for pentium I think may have sped things up quite a bit without all of the needless 386sx support for certain processes in there.

Cheers,

Finegan
 
Old 01-29-2002, 06:28 PM   #4
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
how to switch between window managers...

There are, as always, a few ways of doing it. Personally I do it by editing the .xinitrc file. Mine looks like this:

case "$1" in
kde)
exec /usr/kde/bin/startkde
;;
gnome)
exec /usr/gnome/bin/gnome-session
;;
blackbox)
exec /usr/bin/blackbox
xterm)
exec /usr/X11R6/bin/xterm
enlightenment)
exec /usr/bin/englightenment
;;
*)
$0 blackbox
esac


Now, you can pick which window manager you want to start by running "startx blah" where blah is one of kde, gnome, blackbox, xterm, englightenment

If you don't provide anything, the *) clause will kick in and blackbox is specified as default.
 
Old 01-30-2002, 01:17 AM   #5
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
a lot of the compile-time optimizations can only really be seen in comparison - if you have a lfs box sitting next to an ez-install-distro box with identical processers, specs, ect, you'll see a definite difference in boot time, execute, performance, ect. it's not so easy to notice the difference when you just upgrade one prog at a time like patchwork.
 
Old 01-30-2002, 12:13 PM   #6
dj_relentless
Member
 
Registered: Jan 2002
Location: NZ, AKL
Distribution: Redhat 7.1
Posts: 168

Original Poster
Rep: Reputation: 30
I'm thinking that optimising will have to wait util I've got more experience to be able to recognise the issues that it could cause or else I'd see myself in an endless loop..

So in your xinitrc file did you just replace the start window manager line with that case statement?

Up to page 84 now...no other isssues yet..but I realise that some source dirs you do need to remove after you first use them cause second time around just re-extracting them doesn't seem to put it back the way it was..
 
Old 02-06-2002, 09:53 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you don't want to rebuild with those old source folders.


and Dude !

twm rocks

 
  


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
Questions about building LFS kornerr Linux From Scratch 9 07-29-2005 08:06 AM
LFS Questions cclavey Linux From Scratch 2 07-19-2003 03:46 PM
Few lfs questions Tuvok Linux From Scratch 3 07-08-2003 02:11 PM
LFS Mailing List Questions... Grim Reaper Linux From Scratch 9 01-02-2003 01:02 AM
couple LFS questions glock19 Linux From Scratch 8 01-30-2002 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:22 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
Open Source Consulting | Domain Registration