Solved

Optimizing Linux kernel, libraries, software

Posted on 2004-04-14
3
273 Views
Last Modified: 2013-12-15
I've installed Linux Slackware 9.1. This distribution is compiled for 486 architecture. I've got P4 class processor and want use this machine as production server, so I would like to know, how to optimize the system for best performance. I want to compile all the software from source code, let these use all P4 processor features. But I think, I have to recompile libc/glibc frst, because these are compiled for 486, too (don't know how to do it). Then I have to compile new kernel with P4 support (this is not problem, but I don't know, wheter linux kernel uses libc/glibc). I have no idea about order of these steps. Short, what I need to know:
a) Do I have to recompile libc/glibc, how?
b) Does the kernel use libc/glibc?(have to compile kernel after libc/glibc recompilation?)
c) How to compile programs to force compiler to use P4 features and newly recompiled libc/glibc libraries
Every idea or links will help.
Thanx
0
Comment
Question by:karelrambousek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Expert Comment

by:bobgunzel
ID: 10831059
Basically compiling for a specific processor affects only the kernel. You don't need to recompile the software. So you only have to build a new kernel.

Bob Gunzel
0
 
LVL 3

Author Comment

by:karelrambousek
ID: 10831565
This is not true!!! If I use old libc/glibc compiled for 486 CPUs, the performance won't be the best. This question is not easy, I know.
So waiting for your answers. EXPERTS !!! :)
Thanx
0
 
LVL 4

Accepted Solution

by:
bobgunzel earned 500 total points
ID: 10831944
In that case you'll have to get the sources and the slackware build-files, like gcc.SlackBuild, change the options parameter to O3 and use pentium4 for the -march and -mcpu options.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question