LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-19-2013, 12:34 PM   #1
dazdaz
Member
 
Registered: Aug 2003
Location: Europe
Distribution: RHEL 6.x, 5.x, Fedora 20, Kubuntu 12.04, Solaris 10,8
Posts: 321

Rep: Reputation: 17
Disabling prelink on RHEL 6.3


Hi,

I have been tasked to setup several servers, database, web, mail, file and have been trying to figure out if I should disable prelink or not. prelink is enabled by default in this release (RHEL 6.3).

Does a server running the above services benefit significantly enough with improved performance to justify leaving pre-linking enabled on the system.

I've seen a lot of people discuss the advantages of using pre-linking on a desktop system, but does it make sense to leave it running on a fast server, does anyone have benchmarks on how it improves performance of httpd, smbd, postfix, mysqld.

I would think that most people leave it enabled or don't even know about it.

So part 2 of my question is..

I understand that pre-linking causes changes in a binary file, and therefore aide which is calculating checksums and noting mtimes, it is often tripped because of the pre-linking and not because of a cracker modifying the system binary.

How can I get aide working with prelink. I am aware of this previous post where a user disabled prelink to get aide to work, but that's a workaround and not a fix :-)

http://www.linuxquestions.org/questi...issues-584646/

Thanks for any tips.

Last edited by dazdaz; 03-19-2013 at 01:16 PM.
 
Old 03-19-2013, 08:30 PM   #2
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
I do not see how prelink would be beneficial in a server system.
 
Old 03-19-2013, 11:58 PM   #3
dazdaz
Member
 
Registered: Aug 2003
Location: Europe
Distribution: RHEL 6.x, 5.x, Fedora 20, Kubuntu 12.04, Solaris 10,8
Posts: 321

Original Poster
Rep: Reputation: 17
Can you elaborate upon that comment please.

Would a server not receive faster response times.

Last edited by dazdaz; 03-20-2013 at 08:41 AM.
 
Old 03-20-2013, 05:23 PM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
From man prelink
Quote:
prelink is a program that modifies ELF shared libraries and ELF dynamically linked binaries in such a way that the time needed for the dynamic linker to perform relocations at startup significantly decreases. Due to fewer relocations, the run-time memory consumption decreases as well (especially the number of unshareable pages). The prelinking information is only used at startup time if none of the dependent libraries have changed since prelinking; otherwise programs are relocated normally.
Since in server environment you do not load any libraries repeatedly (they are loaded at startup) prelinking will not give you significant benefits.
 
  


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
Reg. Disabling the Serial ports in RHEL naveenscs Linux - Hardware 9 01-17-2012 03:10 PM
rhel kernel: Disabling IRQ #233 _linux Linux - Newbie 1 05-18-2010 10:06 AM
what is prelink? anilbh Fedora 3 05-21-2008 07:40 PM
prelink amnesty_puppy Debian 4 05-11-2005 12:57 PM
Prelink and performance mr666white Linux - Software 5 08-31-2004 09:21 AM


All times are GMT -5. The time now is 01:24 PM.

Main Menu
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