LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-03-2005, 08:57 AM   #1
nkshirsagar
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Rep: Reputation: 0
native builds on linux flavours help performance?


i have a performance question. If I have binaries of an application built on red hat linux, and if I want to run the application on suse, will I be improving the performance if i build it on suse linux to run it on suse?

Will native builds actually help performance on the specific platform? Or will binaries built on any flavour of linux run just as efficiently on any flavour?

-nikhil.
 
Old 05-03-2005, 09:34 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
The efficiency should have zero to do with the distribution. However, it has plenty to do with architecture. If you have a binary built for x86 and a binary built for Pentium 4, then a Pentium 4 will run the second binary faster. How much faster depends on your application. For high-end graphical or math programs, it will be a substantial increase.
 
Old 05-03-2005, 10:08 AM   #3
nkshirsagar
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Original Poster
Rep: Reputation: 0
hmm..

just curious..

if i have a binary built on amd .. how does it run on x86 or itanium anyway? isnt the machine instructions different?
 
Old 05-03-2005, 11:10 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
There's an instruction set known as x86, which started with 386. All x86 processors support this instruction set, but many also have extensions to these.

For example, the Pentium 4 has the SSE and SSE2 floating point instruction sets.

All of the following are "x86" processors:

386
486
Pentium
Pentium Pro
Pentium II
Pentium III
Pentium IIII
Intel Xeon
AMD Athlon
AMD Duron
Celeron
Via C3

There are others, of course, but that should give you an idea.

Itanium 2 uses a completely different instruction set, from what I understand.

x86_64 (aka, AMD 64) supports both the x86 instruction set and an extended 64 bit set.
 
  


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
poor performance on ata (native sata board) atom Linux - Hardware 6 10-07-2005 02:10 AM
linux flavours waqer Linux - Newbie 5 12-28-2004 10:52 AM
Linux Flavours LinuxBie Linux - Distributions 3 01-01-2004 04:19 PM
Dual booting flavours of Linux proxp Linux - General 1 01-31-2003 07:11 PM
Number of linux flavours nigelpereira Linux - Newbie 4 07-20-2002 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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