* Kernel performance patch (completed)
@ 2000-10-02 12:32 Rick Gorton
2000-10-09 18:34 ` RH 7.0 Speedracer
0 siblings, 1 reply; 4+ messages in thread
From: Rick Gorton @ 2000-10-02 12:32 UTC (permalink / raw)
To: 'axp-list@redhat.com'
I've finally completed (and characterized) an ev6-specific set of Linux
kernel
performance improving code. The changes are in tarball form at:
http://www.alpha-processor.com/products/downloads/developer_support/
kernelperf.tar.gz
This is a set of replacement routines for code in:
linux-2.4.0-test6/arch/alpha/lib
linux-2.4.0-test6/include/asm-alpha
These routines have not been back-ported to the 2.2 kernel - is there anyone
out there interested and willing to undertake that?
Performance summary: Using these patches results in a _system_ time speedup
of
40% when doing kernel builds, and 15% to 20% when doing gcc builds.
Technical summary: The code changes can be described as:
1) Stall prevention - reschedule the existing 21164 tuned code to
run well on 21264, minimizing processor stalls
2) Use 21264-specific features where relevant (wh64, cttz)
3) Re-write some code sequences into slightly
faster versions (byte swapping, ip checksums)
Enjoy,
Rick Gorton
rick.gorton@alpha-processor.com
The performance data details:
The system:
UP1000, 700 Mhz 21264 w/128 Mb of memory.
RedHat 6.2 installed; 2.4.0-test6 kernel
All compiles were performed with egcs-2.91.66, with the output
writes all going to local disk.
Characterization:
Test loads: 5 runs each of
1) make boot of the 2.4.0-test6 kernel
2) make -j 2 boot of the 2.4.0-test6 kernel
3) make -j 4 boot of the 2.4.0-test6 kernel
4) make -j 8 boot of the 2.4.0-test6 kernel
5) make of gcc-2.95.2
6) make -j 2 of gcc-2.95.2
7) make -j 4 of gcc-2.95.2
8) make -j 8 of gcc-2.95.2
Measurement comparison:
System time was compared for each test load (/usr/bin/time -p),
while running
a) an 'straight-up' kernel (2.4.0-test6) without the performance
changes
b) a patched kernel (again, 2.4.0-test6) with all of these changes.
The data:
Kernel boot -j 2 boot -j 4 boot
-j 8 boot
------- -------------- -------------- -------------- --------------
Patched 18,18,18,18,18 19,18,18,18,18 19,18,18,19
25,25,26,26,26
Base 25,25,25,25 26,26,25,25,26 26,26,26,26,27
34,33,37,37,34
Speedup 38% 44% ~40%
~40%
gcc make make -j 2 make -j 4
make -j 8
------- -------------- -------------- -------------- --------------
Patched 63,64,64,64,63 46,47,47,48,48 53,52,52,51 63,61,60
Base 75,74,73,73,74 59,58,57,57,57 62,63,62,61
69,74
Speedup 19% 23% 19%
~16%
Notes: gcc make -j 4 fails occasionally;
gcc make -j 8 fails nearly 50% of the time
^ permalink raw reply [flat|nested] 4+ messages in thread
* RH 7.0
2000-10-02 12:32 Kernel performance patch (completed) Rick Gorton
@ 2000-10-09 18:34 ` Speedracer
2000-10-09 20:44 ` Speedracer
2000-10-17 13:35 ` Matt Wilson
0 siblings, 2 replies; 4+ messages in thread
From: Speedracer @ 2000-10-09 18:34 UTC (permalink / raw)
To: 'axp-list@redhat.com'
As usual the RH release ending in a "0" has some nasty problems. Not sure
if anyone has tried it yet, but my advice is to wait.
The GCC installed was a snap shot, and not a stable version. Although
this version of GCC is supposed to be better suited to Alphas.
See the mailing list link for more details.
http://gcc.gnu.org/ml/gcc-announce/2000/msg00003.html
I was unable to compile a decent kernel or much else (mysql) with it (oh
BTW did I mention to compile the kerenl you use kgcc with RH 7.0).
*crash*crash*crash* Was able to compile very simple kernel, but by scsi
adapter and ethernet cards (same as my multia) caused the kernel compile
to fail.
This was on a x86. Alpha users may wish to wait for something more
stable and with a compiler that works. The new X server worked fine
though, I guess that was reason enough to bring out this update?? 7.0 is
NOT ready for a production environment IMHO. Just a heads up before the
Alpha version hits.
YMMV
If you do decide to use RH7.0 on your alpha please report back to the
list, I would be curious on your results.
PS a new 3.0 GCC will be out probably by January, KDE2.0 should be out in
Nov or Dec, as well as the new 2.4 kerenl about the same time frame
(Maybe later now just read Linus's update :( ). This is an exciting time
to be a Linux user in general, but on a production machine it may behoove
people to wait and test a bit before moving up.
\--------------------------------------------------------------------------/
\ Aaron Gee AKA Spdracer /
\"Maseratis are more than cars, they are a passion that is understood /
\by some, but enjoyed by a very few" /
\URL---> http://www.italian-cars.com /
\e-mail--> spdracer@america.com Fax-->1 (904) 253 1006 /
\--------------------------------------------------------------/
\ | /
\_|_/
(---)
0
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: RH 7.0
2000-10-09 18:34 ` RH 7.0 Speedracer
@ 2000-10-09 20:44 ` Speedracer
2000-10-17 13:35 ` Matt Wilson
1 sibling, 0 replies; 4+ messages in thread
From: Speedracer @ 2000-10-09 20:44 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Wow, seems redhat is catching a ton of flack for the RH 7.0 release and so
did I for my post. I wrote my e-mail after an especially long frustrating
night.
see http://linuxtoday.com/news_story.php3?ltsn=2000-10-09-005-21-NW-CY-RH
I wasn't trying to be a troll or add to some of the bad press. For those
of you that wrote me personal e-mails, yes I know there is a MYSQL RPM. I
have always compiled my own with options to fit what I'm running.
I'm sorry that I may have struck a nerve with some users. (Strange as RH
7.0 isn't out for alpha yet) I'm glad those that responded did it to my
e-mail personally. I'm not anti-RedHat (far from it) and I'm sorry if
people thought I was trolling. Just shared my recent experience with an
update on a non production machine. As I said in my original post YMMV.
\--------------------------------------------------------------------------/
\ Aaron Gee AKA Spdracer /
\"Maseratis are more than cars, they are a passion that is understood /
\by some, but enjoyed by a very few" /
\URL---> http://www.italian-cars.com /
\e-mail--> spdracer@america.com Fax-->1 (904) 253 1006 /
\--------------------------------------------------------------/
\ | /
\_|_/
(---)
0
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: RH 7.0
2000-10-09 18:34 ` RH 7.0 Speedracer
2000-10-09 20:44 ` Speedracer
@ 2000-10-17 13:35 ` Matt Wilson
1 sibling, 0 replies; 4+ messages in thread
From: Matt Wilson @ 2000-10-17 13:35 UTC (permalink / raw)
To: axp-list
The Alpha support in the development compilers was one of the main
reasons we choose to use it.
Compaq was demoing povray rendering races of gcc versus ccc in our
(Red Hat's) booth during ALS. I didn't really like how much ccc was
beating gcc (being a fan of Free Software). So I asked Jim, "Which
gcc did you build that with?" He said "egcs 1.1.2." I said, "I'd
like to try rebuilding povray with the 2.96 snapshot." So we built it
with "-O6 -ffast-math -mieee -mcpu-ev6". ccc no longer hands us our
hat when it comes to the povray render race. There were a few scenes
where the gcc 2.96 built povray *beat* ccc. Yes, the Compaq compiler
guy scrambled over to our booth from the Compaq booth to see what was
going on...
Currently our mysql package builds with it. As far as kernel builds
go, we had decided long ago to use egcs 1.1.2 to build the kernel, so
making gcc 2.96 snapshot build one was never a release criteria. That
was probably a mistake.
During development of 7, I was running 2.96 snapshot-built kernels for
weeks at a time.
Cheers,
Matt
On Mon, Oct 09, 2000 at 02:34:32PM -0400, Speedracer wrote:
>
> As usual the RH release ending in a "0" has some nasty problems. Not sure
> if anyone has tried it yet, but my advice is to wait.
>
> The GCC installed was a snap shot, and not a stable version. Although
> this version of GCC is supposed to be better suited to Alphas.
>
> See the mailing list link for more details.
> http://gcc.gnu.org/ml/gcc-announce/2000/msg00003.html
>
> I was unable to compile a decent kernel or much else (mysql) with it (oh
> BTW did I mention to compile the kerenl you use kgcc with RH 7.0).
> *crash*crash*crash* Was able to compile very simple kernel, but by scsi
> adapter and ethernet cards (same as my multia) caused the kernel compile
> to fail.
>
> This was on a x86. Alpha users may wish to wait for something more
> stable and with a compiler that works. The new X server worked fine
> though, I guess that was reason enough to bring out this update?? 7.0 is
> NOT ready for a production environment IMHO. Just a heads up before the
> Alpha version hits.
>
> YMMV
>
> If you do decide to use RH7.0 on your alpha please report back to the
> list, I would be curious on your results.
>
> PS a new 3.0 GCC will be out probably by January, KDE2.0 should be out in
> Nov or Dec, as well as the new 2.4 kerenl about the same time frame
> (Maybe later now just read Linus's update :( ). This is an exciting time
> to be a Linux user in general, but on a production machine it may behoove
> people to wait and test a bit before moving up.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-10-17 13:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-02 12:32 Kernel performance patch (completed) Rick Gorton
2000-10-09 18:34 ` RH 7.0 Speedracer
2000-10-09 20:44 ` Speedracer
2000-10-17 13:35 ` Matt Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox