Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
I have the 7cd Mandrake 8.2 power pack, with the 2 source installation cd's. I have 2 high-end i686 machines running linux, one as described in my signature. I really like 8.2 overall, but have been somewhat little disappointed with the performance on this fairly high-end hardware. I've already done all possible hdparm and "Services" tweaking, but linux still lags far behind win98SE in overall performance on the same hardware. I've been reading alot about the differences between compiling from source, and using the "generic" i586 versions, in relation to linux performance, and my questions are as follows:
1. What are the real world differences in performance when you actually compile on particular hardware, i.e., is your resulting system then optimzed for the hardware it is compiled on? Details please, like how to insure a ./config script will compile for the specific hardware, or is this automatically accomplished?
2.Since Mandrake 8.2 is i586 based, and I'm running it on i686 architecture, would I get noticably better performance if I reinstalled it entirely from my 2 source installation cd's, and how exactly is that done? Or is it even possible?
3. Would I be better off building from scatch with a Linux From Scratch or Gentoo installation, or will there be a Mandrake (or other rpm distro) version completely optimized for i686 hardware soon? Would the performance gain even be worth the trouble?
4. Am I correct in thinking it's better to compile all my applications from source, instead of using rpm's compiled for lesser hardware? i686 rpms seem almost non-existent. If so, what's the best procedure? I have been putting all tarballs into a directory in /home, and extracting them there, and then doing my compiling from there.
Any info and/or experiences are greatly appreciated. Perhaps I'm a little obsessed with performance, but I really expect more out of a high-end system than I'm getting. Over the years, I made drastic improvements on windows based systems, and feel certain the same can be done with Linux systems- I just don't know how, beyond the few things I mentioned above.
Thanks,
wrc1944
i686 is rather general architecture specification for all ix86 family, you are running athlon (why would you need SSE instructions support, for instance) - so I'd concider using athlon optimization get a small article from LFS cvs repository http://cvs.linuxfromscratch.org/inde...timization.txt
There are numerous options for optimization in gcc, probably
man gcc would be of more help.
neo77777,
Just looked at that little article. Thats exactly the kind of info I was looking for. This makes me seriously consider uninstalling a bunch of application rpms and compiling from them source. Is it really worth the trouble? On another forum, I got a reply that suggested a bunch of options for the CFLAGS. Here's what he said- does it make sense?:
to /etc/profile."
----------------------------------------------
The article you suggested said to place things like this in .bashrc, so I'm still not quite clear on all this. Guess I'll do some more research first. Anyway, looks like a good learning experience, and fun.
ok /etc/profile is a system wide configuration script that runs on users' login, .bashrc is only relevent to a particular user, put it under /etc/profile and you won't miss it, make mcpu=athlon and march=athlon
A side note: it is recommended to recompile your kernel with athlon optimization support as well. When you are in /usr/src/linux
do make menuconfig or make config or make xconfig in the procesor section pick Athlon/K7, choose what else you need, for detailed kernel compilation process search forums here, and http://www.tldp.org
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.