about LISP performance

For friendly off topic discussion not covered in a forum above.
Forum rules
No politics, please.
robespierre
Posts: 1552
Joined: Mon Sep 12, 2011 2:28 pm
Location: Boston

Re: about LISP performance

Unread postby robespierre » Mon Oct 28, 2013 7:55 pm

What machine is the microexplorer running in? I tried using one in a Quadra 840 and it didn't work.
:PI: :O2: :Indigo2IMP: :Indigo2IMP:

User avatar
kjaer
Posts: 424
Joined: Wed May 07, 2008 7:47 pm
Location: Seattle, WA
Contact:

Re: about LISP performance

Unread postby kjaer » Mon Oct 28, 2013 8:04 pm

Macintosh II. It's a "real microExplorer", in that it has all the TI stickers on it. microExplorer logo on the front; configuration and serial number sticker on the back.

The whole microExplorer system is designed around MultiFinder. I'm not sure whether it would work at all under System 7. I didn't try.
Attachments
STRAYLIGHT-BEAR-SCREENS-DHUMBSTONES2.png
:OnyxR: :IRIS3130: :IRIS2400: :Onyx: :ChallengeL: :4D220VGX: :Indigo: :Octane: :Cube: :Indigo2IMP: :Indigo2: :Indy:

User avatar
mia
Posts: 1055
Joined: Wed Feb 19, 2003 1:54 pm

Re: about LISP performance

Unread postby mia » Mon Oct 28, 2013 8:06 pm

haha cute.

would be nice to run this on a symbolics.
:Onyx2:

User avatar
kjaer
Posts: 424
Joined: Wed May 07, 2008 7:47 pm
Location: Seattle, WA
Contact:

Re: about LISP performance

Unread postby kjaer » Mon Oct 28, 2013 8:08 pm

I guess I could... my Symbolics projects are farther behind though.
:OnyxR: :IRIS3130: :IRIS2400: :Onyx: :ChallengeL: :4D220VGX: :Indigo: :Octane: :Cube: :Indigo2IMP: :Indigo2: :Indy:

User avatar
ClassicHasClass
Donor
Donor
Posts: 2072
Joined: Wed Jul 25, 2012 7:12 pm
Location: Sunny So Cal
Contact:

Re: about LISP performance

Unread postby ClassicHasClass » Mon Oct 28, 2013 8:15 pm

That's pretty sweet, kjaer. I knew about the MacIvory, but never used one of the MicroExplorers.
smit happens.

:Fuel: bigred, 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy, 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze, 175MHz R10000, Solid IMPACT
probably posted from Image bruce, Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * RDI PrecisionBook * BeBox * Solbourne S3000 * Commodore 128 * many more...

robespierre
Posts: 1552
Joined: Mon Sep 12, 2011 2:28 pm
Location: Boston

Re: about LISP performance

Unread postby robespierre » Mon Oct 28, 2013 8:38 pm

Another dubious "project" is to upgrade this MicroExplorer from 8MB to 12MB (2 MW to 3 MW). But there is a specific TI gate array that I don't think I'll be able to find.
:PI: :O2: :Indigo2IMP: :Indigo2IMP:

User avatar
kjaer
Posts: 424
Joined: Wed May 07, 2008 7:47 pm
Location: Seattle, WA
Contact:

Re: about LISP performance

Unread postby kjaer » Wed Oct 30, 2013 8:47 pm

Pulled out the MacIvory machine. MacIvory 2 gives slightly better but roughly equal performance to the microExplorer, despite having to access its memory over the Nubus. 34 seconds for 50000 iterations.
Attachments
macivory2-dhumbstones.png
:OnyxR: :IRIS3130: :IRIS2400: :Onyx: :ChallengeL: :4D220VGX: :Indigo: :Octane: :Cube: :Indigo2IMP: :Indigo2: :Indy:

User avatar
kjaer
Posts: 424
Joined: Wed May 07, 2008 7:47 pm
Location: Seattle, WA
Contact:

Re: about LISP performance

Unread postby kjaer » Wed Oct 30, 2013 8:52 pm

Swapped in the MacIvory 1 board. Not surprisingly, it has slightly better than half of the performance of the MacIvory 2, since the MacIvory 1 is in every way identical to the 2 except for having slightly better than twice the cycle time. 62 seconds for 50000 iterations.
Attachments
macivory-dhumbstones.png
:OnyxR: :IRIS3130: :IRIS2400: :Onyx: :ChallengeL: :4D220VGX: :Indigo: :Octane: :Cube: :Indigo2IMP: :Indigo2: :Indy:

User avatar
geo
Posts: 527
Joined: Tue Jul 21, 2009 5:07 am
Location: Nagano-ken, Shiojiri-shi, Japan

Re: about LISP performance

Unread postby geo » Thu Oct 31, 2013 8:56 pm

hi kjaer! thanks for sharing these results :)

looking forward to see the compiled result ;)

hmm wow, this is already considered almost the high end Lispm from Symbolics right? i wonder if the standalone Symbolics can do better? or the TI Explorer or LMI Lambda?

i even tried this test on some of our Linux servers and using CMUCL, CCL, CLISP and SBCL let me pull out the results later..
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein

robespierre
Posts: 1552
Joined: Mon Sep 12, 2011 2:28 pm
Location: Boston

Re: about LISP performance

Unread postby robespierre » Thu Oct 31, 2013 11:38 pm

The Microexplorer uses the same chip as the TI Explorer II, the first VLSI lisp processor released commercially. The Symbolics Ivory came out a year or so later. The MacIvory I and II access main memory over the NuBus, which was a performance bottleneck the standalone machines did not have. The TI Explorers were also based on NuBus, but had a faster local bus for main memory access.

Running this "dhumbstone" in interpreted code is amusing, and it reminds me of a story I read here.
:PI: :O2: :Indigo2IMP: :Indigo2IMP:

User avatar
hamei
Posts: 10433
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: about LISP performance

Unread postby hamei » Fri Nov 01, 2013 3:35 am

robespierre wrote:... a story I read here.

"n general terms, the job description was to take a customer question; translate it into inoffensive language and present it to the developers. We then took the answer and tranlated that into inoffensive language and presented it to the customer. "

That was funny :D
I spent a fortune on booze, birds, and fast cars ... the rest I just squandered

User avatar
geo
Posts: 527
Joined: Tue Jul 21, 2009 5:07 am
Location: Nagano-ken, Shiojiri-shi, Japan

Re: about LISP performance

Unread postby geo » Fri Nov 01, 2013 9:21 am

robespierre wrote: a story I read here.


you mean this:
...and another jrd story:
I did the macivory serial stuff, so when a guy at Lincoln Labs started having problems using a macivory to do data acquisition over a serial line to some random piece of hardware, I got dragged into the loop in short order. I talked to the guy, and debugged over the phone a little, and came to the conclusion that (a) he didn't have much of a clue, and (b) there was a stupid bug in some low-level queue-handling code. I knocked together a patch and sent it off. The next day he calls back, and he's not losing data any more, but "every once in a while" the whole machine hangs up, wedged solidly in Run state, not responsive to keyboard or anything else. It would do that for some number of seconds, and then start running again. I did a lot of head-scratching over that, but couldn't come up with an explanation. Finally I went and found Greenwald, who'd written the (then) new scheduler, to ask him if I was doing something wrong. He looked at the code, and said it looked ok. Eventually the management said if we couldn't fix it over the phone, we should just go out there, so we drove over. Met the guy (more military security checks) and got into the lab. Sure enough, the machine wedges up whenever it turns around. Mike digs around in the scheduler datastructures for a while, but can't find any explanation. After some FEP debugging, Mike says "I dunno, but it looks to me like it's just spending a lot of time in the interpreter". We look at each other. I ask the costomer "You loaded the patch I sent you, right?" "Yes." "Did you compile it first?" He looks blankly at me. Mike and I look at each other again. I tell the guy "You have to compile it before you load it." "Really?? I never do that with my code." After discarding several other responses, I said "Just compile it and reload it and let's try it again". He goes off to compile it and save it into a world, we go get coffee and boggle and the level of lossage. Now he's got his new world set up, so we go try again. No joy, it still wedges up. Thinking maybe we hadn't really fixed it, Mike digs around some more. After a while, "It still looks to me like it's spending a lot of time in the interpreter." I ask the customer "You compiled that, right?" "Yes" "and loaded it into this world, right?" "Yes". Grumble. Well maybe it didn't get saved where we thought it did. He saves a new world. Try again. Still wedges. By now we're both stumped. Let's try it one last time. "You're sure you compiled it" "Sure I'm sure!" "And loaded the binary file into this world, right?" Blank look. "Binary file?" The thing that really amazed me about the whole incident was what it said about genera robustness. We were running a fair-sized slab of code interpreted, at interrupt level, and it didn't croak anything.
--- jrd
indeed funny hehe

hamei wrote:"n general terms, the job description was to take a customer question; translate it into inoffensive language and present it to the developers. We then took the answer and tranlated that into inoffensive language and presented it to the customer. "

That was funny
hahaha this sounds like our project managers job here :)
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein

User avatar
kjaer
Posts: 424
Joined: Wed May 07, 2008 7:47 pm
Location: Seattle, WA
Contact:

Re: about LISP performance

Unread postby kjaer » Sun Nov 03, 2013 1:29 am

I have compiled results to share, and there's no word for them but "hilarious". I ended up having to use n=50000000 (as in the original examples) for the compiled results, because n=50000 was too fast for the resolution of the timer.

MacIvory 2: 28
MacIvory 1: 54
MicroExplorer: 339
:OnyxR: :IRIS3130: :IRIS2400: :Onyx: :ChallengeL: :4D220VGX: :Indigo: :Octane: :Cube: :Indigo2IMP: :Indigo2: :Indy:

User avatar
kjaer
Posts: 424
Joined: Wed May 07, 2008 7:47 pm
Location: Seattle, WA
Contact:

Re: about LISP performance

Unread postby kjaer » Sun Nov 03, 2013 5:18 pm

Those results made me curious. So I tried the same on OpenGenera 2 in a Linux VM, on my Mac Pro.

Interpreted: 1171
Compiled: 2

Nice.
:OnyxR: :IRIS3130: :IRIS2400: :Onyx: :ChallengeL: :4D220VGX: :Indigo: :Octane: :Cube: :Indigo2IMP: :Indigo2: :Indy:

User avatar
geo
Posts: 527
Joined: Tue Jul 21, 2009 5:07 am
Location: Nagano-ken, Shiojiri-shi, Japan

Re: about LISP performance

Unread postby geo » Sun Nov 03, 2013 6:40 pm

morning kjaer!

thanks for all this results! wow! the TI uExplorer is really behind hehe
but wow! the OpenGenera 2 on your Linux VM under Mac Pro :shock: :shock:

hmmm how about the Genera under Alpha? i think that was the latest setup from Symbolics right? do you have such setup? :) i still cannot make mine work on Ubuntu 64bit via virtualbox.. i already tried almost all the available instructions on the net but still wont work.. i think its about my network setup..
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Return to “Everything Else”

Who is online

Users browsing this forum: No registered users and 3 guests