Einstein@Home on OLPC

Norm
Norm
Joined: 18 Nov 07
Posts: 11
Credit: 12716
RAC: 0
Topic 193418

Since I didn't see any mention of OLPC (One Laptop per Child) on this forum, I thought I'd let people know that I am successfully running BOINC and Einstein@Home on my OLPC XO, which I just received under the give-1-get-1 program. You can see it as the "AuthenticAMD Geode" under the Computer list in my user account.

I am running the CLI client. To do this, I opened the Terminal Activity and followed exactly the procedure in this post.

Notes:

1. I used http://boincdl.ssl.berkeley.edu/dl/boinc_5.10.28_i686-pc-linux-gnu.sh instead of http://boincdl.ssl.berkeley.edu/dl/boinc_5.10.21_i686-pc-linux-gnu.sh

2. I think wget is already on the XO, but if not it can be installed with "yum install wget". (I did several yum installs like gcc but don't remember if wget was one of them. I don't think anything else I installed is necessary for BOINC.)

Norm

KSMarksPsych
KSMarksPsych
Moderator
Joined: 15 Oct 05
Posts: 2702
Credit: 4090227
RAC: 0

Einstein@Home on OLPC

Eric Myers got xeyes running on his. Here are his notes/log.

(caption added by me -- I couldn't resist)

Kathryn :o)

Einstein@Home Moderator

Michael Karlinsky
Michael Karlinsky
Joined: 22 Jan 05
Posts: 888
Credit: 23502182
RAC: 0

And BOINC! Michael

And BOINC!

Michael

KSMarksPsych
KSMarksPsych
Moderator
Joined: 15 Oct 05
Posts: 2702
Credit: 4090227
RAC: 0

Hey Norm. Your benchmarks

Hey Norm.

Your benchmarks are really goofy. For one they're too high (Eric is getting about 100/300 on his). Second, the float and int benchmarks are both the same (1000/1000).

Any ideas about that?

Can you force a new set? I don't remember the CLI flag off the top of my head.

Kathryn :o)

Einstein@Home Moderator

Bikeman (Heinz-Bernd Eggenstein)
Bikeman (Heinz-...
Moderator
Joined: 28 Aug 06
Posts: 3522
Credit: 715597161
RAC: 964239

RE: Hey Norm. Your

Message 76679 in response to message 76678

Quote:

Hey Norm.

Your benchmarks are really goofy. For one they're too high (Eric is getting about 100/300 on his). Second, the float and int benchmarks are both the same (1000/1000).

Any ideas about that?

Can you force a new set? I don't remember the CLI flag off the top of my head.

I Guess you would have to force an update as well to transmit benchmark result to server, so:

# ./boinc_cmd --run_benchmarks

# ./boinc_cmd --project http://einstein.phys.uwm.edu update

Nice to see E@H run on this kind of machine, tho I'm afraid it will require roughly 10 days of 24/7 operation for a single result. I don't expect much from the Floating Point Unit of this CPU.

CU
H-B

Norm
Norm
Joined: 18 Nov 07
Posts: 11
Credit: 12716
RAC: 0

RE: RE: Hey Norm. Your

Message 76680 in response to message 76679

Quote:
Quote:

Hey Norm.

Your benchmarks are really goofy. For one they're too high (Eric is getting about 100/300 on his). Second, the float and int benchmarks are both the same (1000/1000).
...

# ./boinc_cmd --run_benchmarks

# ./boinc_cmd --project http://einstein.phys.uwm.edu update
...
H-B

I did these updates, and it's 110/313 now. Not much compared to the big guys, but I guess if someday a neat screensaver gets millions of kids running it... I just hope it meets the completion deadline. :)

I wonder how the electrical energy per op compares. It runs pretty cool, just slightly warm behind the display screen.

Norm

Bikeman (Heinz-Bernd Eggenstein)
Bikeman (Heinz-...
Moderator
Joined: 28 Aug 06
Posts: 3522
Credit: 715597161
RAC: 964239

RE: RE: RE: Hey

Message 76681 in response to message 76680

Quote:
Quote:
Quote:

Hey Norm.

Your benchmarks are really goofy. For one they're too high (Eric is getting about 100/300 on his). Second, the float and int benchmarks are both the same (1000/1000).
...

# ./boinc_cmd --run_benchmarks

# ./boinc_cmd --project http://einstein.phys.uwm.edu update
...
H-B

I did these updates, and it's 110/313 now. Not much compared to the big guys, but I guess if someday a neat screensaver gets millions of kids running it... I just hope it meets the completion deadline. :)

I wonder how the electrical energy per op compares. It runs pretty cool, just slightly warm behind the display screen.

Norm

I think the CPU consumes only up to 1.5 W or so (!!), and I understand the OLPC has flash memory instead of a HD. So I guess energy per op is quite good actually.

CU

BRM

Eric Myers
Eric Myers
Joined: 8 Nov 04
Posts: 45
Credit: 1349848
RAC: 0

My initial test of BOINC on

My initial test of BOINC on my XO used short workunits from Pirates@Home, but after seeing Norm's post I also connected it to Einstein@Home. While it does run, I found the XO got really sluggish and non-responsive. The back of the screen was noticeably warm in one spot, presumably the location of the CPU. Eventually I had to shut it off by holding the power button down, since I could not get back to the "home" view to the shutdown menu. Details here.

I was thinking, however, that if the XO had accelerometers, either built in (in a newer model) or easily added via USB, then they could be used with the new project Carl Christiensen is working on, the Quake Catcher Network.

- Eric Myers

Norm
Norm
Joined: 18 Nov 07
Posts: 11
Credit: 12716
RAC: 0

Hi Eric, So far

Message 76683 in response to message 76682

Hi Eric,

So far Einstein@Home is still running on my XO, and the workunit is 41% done.

Most things I'm doing right now are lightweight CLI stuff, and I haven't noticed much sluggishness. Opera also seems reasonably crisp with 8 tabs open. I haven't played with the other Activities while Einstein@Home is on. I am using boinc_cmd; perhaps the BOINC Manager causes a problem? I downloaded the 1MB "command line interface only" version of BOINC, not the 4MB "standard GUI" version, if that makes a difference. ps aux shows Einstein@Home using 23% of memory (53MB) and boinc using 0.5%. I do have to turn off Einstein@Home for any yum install: if not, I get a memory allocation failure, even for very small packages.

I found it useful to add the /etc/init.d/boinc start and stop script described on your page, Installing and Running the BOINC client on Unix. (In that script, I changed the assignments to BOINCUSER=olpc, BOINCDIR=/home/olpc/BOINC, and BOINCEXE=/home/olpc/BOINC/boinc to conform to my instructions above. Eventually I might reorganize the directories per your description.) This way I can turn it off when using the XO heavily or showing it off to friends, and restart it when the computer is idle.

Eric Myers
Eric Myers
Joined: 8 Nov 04
Posts: 45
Credit: 1349848
RAC: 0

Norm wrote:So far

Message 76684 in response to message 76683

Norm wrote:
So far Einstein@Home is still running on my XO, and the workunit is 41% done.


Great. Let us know when it finishes.

In my case I think I may have had "run always" set instead of "run according to preferences", or the prefs/Venue were set to keep it running. I'll try again when I get a chance to see how well it detects user activity and suspends.

My benchmarks match your new ones pretty closely.

Quote:

I found it useful to add the /etc/init.d/boinc start and stop script described on your page,... This way I can turn it off when using the XO heavily or showing it off to friends, and restart it when the computer is idle.


That's definitely better than what I did, which was just to run the client by hand in one Terminal Activity window, and control it from BOINC Manager running on another host. But I just wanted to see if it would run, not actually use it for crunching.

I've not tried running the Manager on the XO. I suspect you'd have a problem getting back to the window after switching activities, since that is what happened when I tried xeyes.

I see you are on the MIT team, and an alum. If you are still anywhere near Boston (or New York, where I am) then perhaps we could get together to see how two XO's interact? I feel like a kid who got only one walkie-talkie for christmas. :-) But a very cool walkie-talkie!

- Eric Myers

Norm
Norm
Joined: 18 Nov 07
Posts: 11
Credit: 12716
RAC: 0

Eric Myers wrote:If you are

Message 76685 in response to message 76684

Eric Myers wrote:
If you are still anywhere near Boston (or New York, where I am) then perhaps we could get together to see how two XO's interact? I feel like a kid who got only one walkie-talkie for christmas. :-) But a very cool walkie-talkie!

Let me know if you're in the Lexington, MA area, and we'll see if the machines can communicate. I've heard it's strange to hear them hiss at each other when you ask them to calculate the distance between XOs

Quote:
Let us know when it finishes

Will do. It is at 83% now.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.