Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

The Linpack Benchmark

Jarod Godel
Utilitarian
Join date: 6 Nov 2003
Posts: 729
04-07-2006 13:31
I'm just asking this, and I should disclaim I've not read nearly enough on this do more than ask: would it be possible to implement The Linpack Benchmark in LSL? From a cursory glance, it looks like the biggest hangup would be the message passing requirements of it. However, perhaps someone with more knowledge than myself knows if even those could be ported to an LSL-based system.

Thanks!
_____________________
"All designers in SL need to be aware of the fact that there are now quite simple methods of complete texture theft in SL that are impossible to stop..." - Cristiano Midnight

Ad aspera per intelligentem prohibitus.
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
04-07-2006 15:38
How many Lindens can you pack in a prim Volkswagen?
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
04-07-2006 15:54
17
Jarod Godel
Utilitarian
Join date: 6 Nov 2003
Posts: 729
04-07-2006 22:08
Hmm... So the answer is DUUUUUUUH! Thanks.
_____________________
"All designers in SL need to be aware of the fact that there are now quite simple methods of complete texture theft in SL that are impossible to stop..." - Cristiano Midnight

Ad aspera per intelligentem prohibitus.
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
04-07-2006 23:54
At a cursory glance, it could happen.

However, given matrices and arrays are not a frontend function, as well as the script scheduler of 1.7+, benchmarking would face significant problems from external variables.


My thesis for making this even remotely possible, then, would be:

1) Find an empty cluster of four sims
2) Effectively rewrite linear algebra into LSL
3) Take "junk" measurements of each function along the way, noting relative time-to-complete
4) Scale down the test considerably to account for the 16k buffer

And of course....
5) Get nekkid so your avatar does not affect the results! :eek:



For all of that, it would simply be easier and more complete of an answer to ask a Linden, now. :o
_____________________
---
Nepenthes Ixchel
Broadly Offended.
Join date: 6 Dec 2005
Posts: 696
04-08-2006 04:08
From: Argent Stonecutter
How many Lindens can you pack in a prim Volkswagen?


31-(number of prims in Volkswagen). Otherwise physics can't be enabled.
Jarod Godel
Utilitarian
Join date: 6 Nov 2003
Posts: 729
04-08-2006 20:49
From: Jeffrey Gomez
For all of that, it would simply be easier and more complete of an answer to ask a Linden, now. :o
I am and have -- especially since I've no desire to rewrite linear algebra. Here's hoping we get arrays in Mono.
_____________________
"All designers in SL need to be aware of the fact that there are now quite simple methods of complete texture theft in SL that are impossible to stop..." - Cristiano Midnight

Ad aspera per intelligentem prohibitus.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
04-08-2006 21:28
LSL only supports 32bit floats (single precision). This benchmark requires 64bit percision. Not only do you have to write linear algebra in LSL, you also have to write and store doubles.

At one point i thought about writing LSL functions to emulate doubles. I did the research into the math required; I ran away screaming.

It would be crazy to even attempt this (and that coming from someone who has done some pretty crazy things in LSL).
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
04-09-2006 10:44
From: Nepenthes Ixchel
31-(number of prims in Volkswagen). Otherwise physics can't be enabled.
You win the Best Answer prize, and solve the Lindenpack Benchmark!
Talila Liu
Micro Builder
Join date: 29 Jan 2004
Posts: 132
04-09-2006 12:09
From: Jeffrey Gomez

And of course....
5) Get nekkid so your avatar does not affect the results! :eek:


I thought that had to do with static electricity?
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
04-10-2006 08:16
From: Talila Liu
From: Jeffrey Gomez
5) Get nekkid so your avatar does not affect the results!
I thought that had to do with static electricity?
Just don't use a soldering iron when naked.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
04-10-2006 08:44
From: Argent Stonecutter
Just don't use a soldering iron when naked.


Sounds like you've tried that.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey