LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-25-2008, 06:39 AM   #1
jerome_isip
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
Whats the difference between i386 and i586 installers for wine and mysql


Could anyone explain to me whats the difference between an .i386 rpm from an .i386 rpm.

I do not know what to choose between the two for software such as wine and mysql. Please help me!


Every information will help.
 
Old 11-25-2008, 06:47 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Quote:
an .i386 rpm from an .i386 rpm.
Assuming you mean i386 vs i586: When the package is compiled you can choose which CPU it is optimized for. Each new version of the cpu(386,....,686)added new instructions to there toolbox. So while a 686 can run code optimized for 386, a 386 cannot run code optimized for a 686(the code will contain instructions the 386 does not understand). That being said, most applications will not run significantly faster when compiled for 386 rather than 686, the exceptions are usually multimedia applications. So most packages are compiled 386 for maximum compatibility. If you have the choice and your machine can use the higher versions, higher is better (marginally).

Last edited by lazlow; 11-25-2008 at 06:48 AM.
 
Old 11-25-2008, 08:40 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Good explanation..

The items that the 586 version will utilize will be things like:

(Keep in mind this list will cover 686 as well, so some of these may not be avail in the 586 version.)
Code:
Added with Pentium MMX
RDPMC*

Added with Pentium Pro
Conditional MOV: CMOVA, CMOVAE, CMOVB, CMOVBE, CMOVC, CMOVE, CMOVG, CMOVGE, CMOVL, CMOVLE, CMOVNA, CMOVNAE, CMOVNB, CMOVNBE, CMOVNC, CMOVNE, CMOVNG, CMOVNGE, CMOVNL, CMOVNLE, CMOVNO, CMOVNP, CMOVNS, CMOVNZ, CMOVO, CMOVP, CMOVPE, CMOVPO, CMOVS, CMOVZ, SYSENTER (SYStem call ENTER), SYSEXIT (SYStem call EXIT), RDPMC*, UD2

 * RDPMC was introduced in the Pentium Pro processor and the Pentium processor with MMX technology.

Added with AMD K6-2
SYSCALL, SYSRET (functionally equivalent to SYSENTER and SYSEXIT)

Added with SSE
MASKMOVQ, MOVNTPS, MOVNTQ, PREFETCH0, PREFETCH1, PREFETCH2, PREFETCHNTA, SFENCE (for Cacheability and Memory Ordering)

Added with SSE2
CLFLUSH, LFENCE, MASKMOVDQU, MFENCE, MOVNTDQ, MOVNTI, MOVNTPD, PAUSE (for Cacheability)

 Added with SSE3
LDDQU (for Video Encoding)

MONITOR, MWAIT (for thread synchronization; only on processors supporting Hyper-threading and some dual-core processors like Core 2, Phenom and others)

Added with Intel VT
VMPTRLD, VMPTRST, VMCLEAR, VMREAD, VMWRITE, VMCALL, VMLAUNCH, VMRESUME, VMXOFF, VMXON

 Added with AMD-V
CLGI, SKINIT, STGI, VMLOAD, VMMCALL, VMRUN, VMSAVE (SVM instructions of AMD-V)

 Added with x86-64
CMPXCHG16B (CoMPaRe and eXCHanGe 16 bytes), RDTSCP (ReaD Time Stamp Counter and Processor ID)

 Added with SSE4a
LZCNT, POPCNT (POPulation CouNT) - advanced bit manipulation
Not that you need to know what any of those are, just that they were added to improve performance for specific tasks.

Wikipedia has detail on them if you are interested.
http://en.wikipedia.org/wiki/MMX_(instruction_set)
http://en.wikipedia.org/wiki/Streaming_SIMD_Extensions
http://en.wikipedia.org/wiki/SSE2
etc...
 
Old 11-26-2008, 04:26 AM   #4
jerome_isip
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Sorry, I mean i586.

I thought it has something to do with the processor.
then if I will see rpm's with "i386" in its filename that means it will be compatible with an i386 architecture?

did i get it right?
 
Old 11-26-2008, 05:00 AM   #5
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Quote:
Originally Posted by jerome_isip View Post
then if I will see rpm's with "i386" in its filename that means it will be compatible with an i386 architecture?

did i get it right?
Yes; it will also be compatible with all future x86 family of processors (including AMD64/EMT64) because the instruction set used is a subset of the instructions on later CPUs in the family.
 
  


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
What's the difference between i386, i586, and i686 Arc4ne Linux - Hardware 9 04-19-2007 03:49 AM
WIne/WineTools whats the difference? soulxcavtor Linux - Software 1 06-07-2006 01:48 AM
What is the difference between i386 and i586? danbaerg Mandriva 1 05-31-2006 02:31 AM
i386 i586 or i686 what's the difference? OSI-laya Linux - General 6 06-11-2003 08:19 AM
What's the difference between i386,i586,i686 rpm's daverino Linux - Newbie 2 02-15-2002 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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