🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.hardware
Article #855

Re: P4 vs Athlon for Linux latexing, is gcc-2.95 responsible?

#855
From: Josh Stern
Date: Sat, 15 Jun 2002 22:50
54 lines
3441 bytes
In <3D0B57CB.5060406@nospam.com>, Hugh wrote:

Your reference to "special features" is not very specific.

For GCC 3.1, the release notes say (
http://gcc.gnu.org/gcc-3.1/changes.html )

*********************************
* The compiler now supports MMX, 3DNow!, SSE, and SSE2 instructions. 
Options -mmmx, -m3dnow, -msse, and -msse2 will enable the respective 
instruction sets. Intel C++ compatible MMX/3DNow!/SSE intrinsics are 
implemented. SSE2 intrinsics will be added in next major release.

* Following those improvements, targets for Pentium MMX, K6-2, K6-3, 
Pentium III, Pentium 4, and Athlon 4 Mobile/XP/MP were added. 
Refer to the documentation on -march= and -mcpu= options for details.
*******************************************************************

Note that the Athlon supports MMX and the Athlong XP supports SSE.

In the case of latex and a large document though, I'm not sure that
the newer instructions could play a big role.   The problem for Pentium 4
is probably that there is a lot of branching, probably
a large working set (number of different active pages in memory on
avg.), and frequent I/O operations.  One expects the Pentium 4 to 
be strong in situations where there are big vectors to process
deterministically, and in these cases, the compiler opimizations
play a big role.


-= Josh


> The following is my general finding so far:
> 
> Special features of Pentium 4 cpu is not generally utilized by
> gcc-2.95.** which is used for most Linux distributions rpms. Latexing a
> big document with Zeon Pentium 4 at 1.7GHz (52 sec) is actually even
> slower than Pentium III running at 700MHz giving 35 sec.
> 
> On Athlon at 1.6GHz, it gives 16 sec.  The best.
> 
> Is my understanding for the reason of slow speed with P4 correct?
> gcc-2.95.  If I do obtain te-latex.src.rpm and then compile it with
> gcc-3.1, would I get much faster binary under Pentium 4?
> 
> The problem with Pentium 4 is not just limited with Latex. I in fact
> hate Pentium 4, because I simply believed in their high SPEC rating, and
> bought a bunch of Pentium 4 Xeon duals only to find out that the even
> the Fortran speed (with their Intel compiler) is in fact dismal.
> 
> Regards,
> 
> Hugh
Technical Details
Message-ID: <ugnh53o8h1bq55@corp.supernews.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <3D0B57CB.5060406@nospam.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9e16,ea3300a83f1f851c
X-Google-Attributes: gidf9e16,public
X-Google-Thread: 102b32,ea3300a83f1f851c
X-Google-Attributes: gid102b32,public
X-Google-Thread: f65d0,ea3300a83f1f851c
X-Google-Attributes: gidf65d0,public
X-Google-Thread: 1045b9,ea3300a83f1f851c
X-Google-Attributes: gid1045b9,public
X-Google-ArrivalTime: 2002-06-15 15:50:12 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: Josh Stern <jstern@spamless.citilink.com>
Newsgroups: comp.os.linux.hardware,gnu.gcc,comp.sys.ibm.pc.hardware.chips,comp.text.tex
Subject: Re: P4  vs Athlon for Linux latexing, is gcc-2.95 responsible?
Date: Sat, 15 Jun 2002 17:50:09 -0500
Organization: Seldom
Message-ID: <ugnh53o8h1bq55@corp.supernews.com>
References: <3D0B57CB.5060406@nospam.com>
User-Agent: Pan/0.11.2 (Unix)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Comment-To: "Hugh" <hugh@nospam.com>
X-Complaints-To: newsabuse@supernews.com
Lines: 54