Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Writing the Fastest Code, by Hand, for Fun: A Human Computer Keeps Speeding Up Chips
The New York Times ^ | November 28, 2005 | JOHN MARKOFF

Posted on 11/28/2005 12:18:02 PM PST by Ernest_at_the_Beach

SEATTLE - There was a time long ago when the word "computer" was a job description referring to the humans who performed the tedious mathematical calculations for huge military and engineering projects.

It is in the same sense that Kazushige Goto's business card says simply "high performance computing."

Mr. Goto, who is 37, might even be called the John Henry of the information age.

But instead of competing against a steam drill, Mr. Goto, a research associate at the Texas Advanced Computing Center at the University of Texas at Austin, has bested the work of a powerful automated system and entire teams of software developers in producing programs that run the world's fastest supercomputers.

He has done it alone at his keyboard the old-fashioned way - by writing code that reorders, one at a time, the instructions given to microprocessor chips.

At one point recently, Mr. Goto's software - collections of programs called subroutines - dominated the rarefied machines competing for the title of the world's fastest supercomputer. In 2003 his handmade code was used by 7 of the 10 fastest supercomputers. (The Japanese Earth Simulator, which was then the world's fastest machine, however, did not use his software.)

In the most recent ranking of supercomputers, I.B.M.

machines overtook a number of supercomputers using Mr. Goto's software to capture the top three spots in the fastest computer rankings. Still, the Goto Basic Linear Algebra Subroutines, or BLAS, as his programs are known, were used by 4 of the world's 11 fastest computers.

Mr. Goto has become a legend in the supercomputing community because of his solitary crusade. And he shows no signs of flagging in the contest to wring every ounce of computing speed from the world's fastest microprocessor chips.

(Excerpt) Read more at nytimes.com ...


TOPICS: Computers/Internet
KEYWORDS: supercomputing
Navigation: use the links below to view more comments.
first 1-2021-26 next last

1 posted on 11/28/2005 12:18:04 PM PST by Ernest_at_the_Beach
[ Post Reply | Private Reply | View Replies]

To: Ernest_at_the_Beach; ASA Vet
Writing the Fastest Code

Where is the ASA pingeroo???

2 posted on 11/28/2005 12:20:09 PM PST by beyond the sea (Murtha: Redeployment - What .......Surrender? // “Victory is not a strategy”)
[ Post Reply | Private Reply | To 1 | View Replies]

To: All

Kazushige Goto's software runs many of the fastest supercomputers.

3 posted on 11/28/2005 12:20:14 PM PST by Ernest_at_the_Beach (History is soon Forgotten,)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Ernest_at_the_Beach

Wow! Somebody still cares about writing fast code that isn't bloated with crap. Well done!


4 posted on 11/28/2005 12:22:04 PM PST by Poser
[ Post Reply | Private Reply | To 1 | View Replies]

To: beyond the sea; ShadowAce; RadioAstronomer; NormsRevenge; Grampa Dave; SierraWasp; Marine_Uncle; ...

There is hope for us Humans.....


5 posted on 11/28/2005 12:23:38 PM PST by Ernest_at_the_Beach (History is soon Forgotten,)
[ Post Reply | Private Reply | To 2 | View Replies]

To: rdb3; chance33_98; Calvinist_Dark_Lord; Bush2000; PenguinWry; GodGunsandGuts; CyberCowboy777; ...

6 posted on 11/28/2005 12:25:24 PM PST by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Ernest_at_the_Beach; ShadowAce; rdb3; chance33_98; Calvinist_Dark_Lord; Bush2000; PenguinWry; ...
10 PRINT "That's cool!"
20 GOTO 10

7 posted on 11/28/2005 12:32:34 PM PST by martin_fierro (< |:)~)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Poser

Applause due to a very aptly named fellow!


8 posted on 11/28/2005 12:32:49 PM PST by thoughtomator (What'ya mean you formatted the cat!?)
[ Post Reply | Private Reply | To 4 | View Replies]

To: Ernest_at_the_Beach

The best was Slashdot's title for this -- "Goto Leads to Faster Code"

Well, it is funny if you're a programmer.


9 posted on 11/28/2005 12:44:05 PM PST by antiRepublicrat
[ Post Reply | Private Reply | To 1 | View Replies]

To: martin_fierro
Assembler is faster!

You got to keep those compute loops in the cache.

Meanwhile just posted this:

CNET Prize Fight : AMD Dualcore vs Intel Duals ~ AMD wins all 7 categories

10 posted on 11/28/2005 12:54:12 PM PST by Ernest_at_the_Beach (History is soon Forgotten,)
[ Post Reply | Private Reply | To 7 | View Replies]

To: Ernest_at_the_Beach

From my college days....(I think I remembered this right).

Q: If you use goto in you code you will receive...

A. Goto C
B. Goto E
C. Goto B
D. Goto F
E. Goto D
F. F.


11 posted on 11/28/2005 12:55:28 PM PST by Salo (He hath touched me with his noodly appendage. Ramen.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Ernest_at_the_Beach
"It is by will alone I set my mind in motion. It is by the juice of coffee that thoughts acquire speed, the teeth acquire stains, the stains become a warning. It is by will alone I set my mind in motion."
12 posted on 11/28/2005 1:01:30 PM PST by Buggman (L'chaim b'Yeshua HaMashiach!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Ernest_at_the_Beach
Still, the Goto Basic Linear Algebra Subroutines, or BLAS, as his programs are known, were used by 4 of the world's 11 fastest computers.

BLAS is included with Mac OS X, and it runs fine on G4 and G5 PowerPC-based Macs, and the forthcoming Intel-Macs.

Most of the tricks Mr. Goto uses for writing high-performance code are described at developer.apple.com. Anyone who is experienced at writing assembler language code can probably figure this stuff out. Basically, you have to arrange the instructions to avoid stalling the processor, and use data streaming mode correctly.

13 posted on 11/28/2005 1:54:36 PM PST by HAL9000 (Get a Mac - The Ultimate FReeping Machine)
[ Post Reply | Private Reply | To 1 | View Replies]

To: thoughtomator
Applause due to a very aptly named fellow!

Actually, avoiding GOTO or any other unnecessary branches is critical for performance. Unroll those loops!

14 posted on 11/28/2005 2:02:12 PM PST by HAL9000 (Get a Mac - The Ultimate FReeping Machine)
[ Post Reply | Private Reply | To 8 | View Replies]

To: Ernest_at_the_Beach
"There is hope for us Humans....."
And perhaps for some programmers also. Sad I am sitting next to two Linux based systems and don't even turn them on anymore. Mind has really gotten very lazy. Could be writting all kinds of stuff in C and it's assembler package. Seems like all I want to do is play first person shooters and fly missions over Iraq and bomb shit anymore!
15 posted on 11/28/2005 2:32:05 PM PST by Marine_Uncle (Honor must be earned)
[ Post Reply | Private Reply | To 5 | View Replies]

To: martin_fierro
'10 PRINT "That's cool!" 20 GOTO 10'
Hey ya want to get extremly sophisticated try this....
10 goto 20 20 print "That's cool!"
Now there is some real handsome code.
16 posted on 11/28/2005 2:35:25 PM PST by Marine_Uncle (Honor must be earned)
[ Post Reply | Private Reply | To 7 | View Replies]

To: Marine_Uncle

10 Goto 10

Very fast code.


17 posted on 11/28/2005 3:12:56 PM PST by Poser
[ Post Reply | Private Reply | To 16 | View Replies]

To: Poser
"10 Goto 10 Very fast code."
Zooooooom.
18 posted on 11/28/2005 3:57:53 PM PST by Marine_Uncle (Honor must be earned)
[ Post Reply | Private Reply | To 17 | View Replies]

To: martin_fierro

Spaghetti code is my favorite kind, it has so many pastabilities.


19 posted on 11/28/2005 5:51:08 PM PST by SunkenCiv (Down with Dhimmicrats! I last updated my FR profile on Wednesday, November 2, 2005.)
[ Post Reply | Private Reply | To 7 | View Replies]

To: Ernest_at_the_Beach

Authoring Windows Applications In Assembly Language
Steve Gibson
http://www.grc.com/smgassembly.htm

Small Is Beautiful?
http://www.grc.com/files/sib.zip

Jon Kirwan's PC Assembly Programming
http://users.easystreet.com/jkirwan/pctools.html
http://users.easystreet.com/jkirwan/new/pctools.html


20 posted on 11/28/2005 6:03:48 PM PST by SunkenCiv (Down with Dhimmicrats! I last updated my FR profile on Wednesday, November 2, 2005.)
[ Post Reply | Private Reply | To 1 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-26 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson