Building Boinc for Einstein@Home and the Raspberry Pi 2

poppageek
poppageek
Joined: 13 Aug 10
Posts: 259
Credit: 2473733122
RAC: 0

Found a nice command for

Found a nice command for getting temps and other settings and readings:

/opt/vc/bin/vcgencmd measure_temp To list other otions.

vcgencmd commands

Is installed by default with Raspian.

http://elinux.org/RPI_vcgencmd_usage

Jon
Jon
Joined: 14 Dec 11
Posts: 9
Credit: 97738315
RAC: 0

Hello all! Trying to add

Hello all! Trying to add Wisdom to my new Raspberry Pi 2. I'm new too Linux/Debian/Whezzy and RSP2. I tried the copy and paste to add but i can't locate the proper spot using the terminal. I have the file as wisdom.nb but not sure if that's right. Help would be most appreciated!

poppageek
poppageek
Joined: 13 Aug 10
Posts: 259
Credit: 2473733122
RAC: 0

Hi Jon The following will

Hi Jon

The following will open an editor that most find easy to use and create the wisdomf file in the correct spot. You will see how to save and exit the editor.

First we need to create the directory for the wisdomf file.

sudo mkdir /etc/fftw

Now create the file. Copy and paste the contents from below into the editor.

sudo nano /etc/fftw/wisdomf

CONTROL + o to save. CONTROL + x to Exit

(fftw-3.3.2 fftwf_wisdom #x4a633eef #xb5a95564 #x91014bdd #x9c85ce5f
(fftwf_codelet_n2fv_6_neon 0 #x10048 #x10048 #x0 #xb9cbc22e #xf75981ec #xfe7fc97d #xa7ef9237)
(fftwf_dft_vrank_geq1_register 0 #x10048 #x10048 #x0 #x09d6f37d #x36ae1044 #x6551932c #x0ec9837f)
(fftwf_codelet_q1_2 0 #x11048 #x11048 #x0 #x460f2bdc #x4aa37cb4 #x5c9974cb #x6f00dfca)
(fftwf_codelet_hc2cfdftv_4_neon 0 #x11048 #x11048 #x0 #xc338dbbd #x81477318 #xc96aed6b #xb15ea60a)
(fftwf_dft_vrank_geq1_register 0 #x10048 #x10048 #x0 #x67d50d3b #x1369bee7 #x0bbec497 #x32eabb65)
(fftwf_codelet_t2_8 0 #x10048 #x10048 #x0 #xf837784a #xe72939cb #x379e76e3 #x8e126882)
(fftwf_dft_vrank_geq1_register 0 #x10048 #x10048 #x0 #x1571fa10 #x389121a2 #xcbdf20c7 #x758fc9be)
(fftwf_dft_nop_register 0 #x11048 #x11048 #x0 #xe1547730 #xce0f0276 #x1f492e5e #xa455fbfa)
(fftwf_codelet_t2_8 0 #x10048 #x10048 #x0 #x8ea619df #xab3fb47d #x8f464445 #x0f6cea27)
(fftwf_rdft_rank0_register 3 #x11048 #x11048 #x0 #xa3218bf8 #x1e4e02e5 #xf3ad505f #xc8d6e15d)
(fftwf_dft_buffered_register 0 #x11048 #x11048 #x0 #x617ea872 #x4f8387c0 #xc0e3f3b1 #x32b873cd)
(fftwf_dft_vrank_geq1_register 0 #x11048 #x11048 #x0 #x70b600d6 #xe07ee625 #xbdfc11e2 #x38581e93)
(fftwf_dft_r2hc_register 0 #x11048 #x11048 #x0 #x92778231 #xf2c5be82 #xbf854e1f #xcdce7520)
(fftwf_codelet_r2cfII_4 2 #x11048 #x11048 #x0 #x583c6dad #xcad0b14f #xd60d8871 #x3c3e732b)
(fftwf_dft_vrank_geq1_register 0 #x10048 #x10048 #x0 #x15de8f80 #xf5ad0971 #xfb949337 #x44106823)
(fftwf_codelet_t3fv_4_neon 0 #x10048 #x10048 #x0 #x463dc2ec #xe48ba2db #x8a49b157 #x2a8a8635)
(fftwf_codelet_t2fv_16_neon 0 #x10048 #x10048 #x0 #x6beedaf2 #x6ed72333 #x36accb1e #xaee780f5)
(fftwf_dft_vrank_geq1_register 0 #x11048 #x11048 #x0 #x1f032d84 #x8c4d1b96 #xdb1f2c30 #xb7dd028c)
(fftwf_codelet_q1_8 0 #x11048 #x11048 #x0 #xd1bb3633 #x91bc40c2 #x20e3bbdc #x4f21b78b)
(fftwf_codelet_r2cf_4 2 #x11048 #x11048 #x0 #x1ccbb87b #xe43cf57c #xeb78f271 #x2bc4f22f)
(fftwf_codelet_t1fv_8_neon 0 #x11048 #x11048 #x0 #xa6d492a8 #x769e621f #x709716dc #x6920b4a0)
(fftwf_dft_vrank_geq1_register 0 #x11048 #x11048 #x0 #x38767c90 #x01ee70b5 #xb6e53cd8 #x51a820b2)
)

Hope this helps.

Cheers!

Jon
Jon
Joined: 14 Dec 11
Posts: 9
Credit: 97738315
RAC: 0

that did it! Thank you!

that did it! Thank you! restarting and i'll keep an eye on the times.

Jon
Jon
Joined: 14 Dec 11
Posts: 9
Credit: 97738315
RAC: 0

Would this make the file

Would this make the file readable by Boinc ?

sudo chmod 755 wisdomf.save

poppageek
poppageek
Joined: 13 Aug 10
Posts: 259
Credit: 2473733122
RAC: 0

It just needs to be world

It just needs to be world readable.

There is no extension to the file name. Just

Quote:
wisdomf
Jon
Jon
Joined: 14 Dec 11
Posts: 9
Credit: 97738315
RAC: 0

I may have messed it up and

I may have messed it up and not working properly. the time is almost 4 hours at 16%. Where it was before. I followed this post to get Boinc past the 7.0.xx version. Boinc says it's version 7.7.0! Is this bad and why the wisdomf not working?

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

RE: I may have messed it up

Quote:
I may have messed it up and not working properly. the time is almost 4 hours at 16%. Where it was before. I followed this post to get Boinc past the 7.0.xx version. Boinc says it's version 7.7.0! Is this bad and why the wisdomf not working?

This is way too slow for a Raspi 2, even w/o using a wisdom file.

While E@H jobs are running, you can use the following command to measure

temperature:

/opt/vc/bin/vcgencmd measure_temp

and CPU clock freq:

/opt/vc/bin/vcgencmd measure_clock arm

The CPU clock freq. should always be at 900MHz (or 1GHz when overclocking) , temperature should stay below 80 deg C .

Cheers
HB

Jon
Jon
Joined: 14 Dec 11
Posts: 9
Credit: 97738315
RAC: 0

I'm glad you agree that was

I'm glad you agree that was too slow. i left it alone for a day to see anything change. It did...time has been 22 hours. I checked Clock Arm measurement and it stays at 600mhz...even when they are at 100%. I overclocked using sudo raspi-config but still 600mhz.

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

RE: I'm glad you agree that

Quote:
I'm glad you agree that was too slow. i left it alone for a day to see anything change. It did...time has been 22 hours. I checked Clock Arm measurement and it stays at 600mhz...even when they are at 100%. I overclocked using sudo raspi-config but still 600mhz.

Ok, that explains the under-performance.

I can think of two reasons for the low clock rate from the top of my head:

a) overheating. What is the CPU temperature while running BOINC?

b) the power-saving configuration is set to dynamically adjust the clock but is also configured to not take "nice" jobs (jobs at a low priority) into account.

BTW which OS are you using?

Let us know what the following commands return on your Raspi:

(in brackets: on my Raspi2 undert full load)

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[ondemand]
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
[1000000]
cat /sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load
[0]

You can always force the highest available clock rate by including a line

force_turbo=1

in /boot/config.txt (use sudo nano /boot/config.txt to edit)

BUT THIS MIGHT VOID WARRANTY (which is recorded by permanently flipping a certain bit in the CPU ), at least it was this way in the days of Raspi 1: https://www.raspberrypi.org/forums/viewtopic.php?p=176865#p176865

Cheers
HB

Comment viewing options

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