Advanced search

Message boards : Number crunching : GPUGRID on a stick (ex: Awesome new free software...)

Author Message
bigtuna
Volunteer moderator
Send message
Joined: 6 May 10
Posts: 80
Credit: 98,784,188
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwat
Message 17578 - Posted: 12 Jun 2010 | 2:19:13 UTC

I'm a big fan of Puppy Linux. Puppy is under 200 MB so it can be run completely in RAM which makes Puppy very, very fast. Unfortunately Puppy is only 32 bit software so it can not run GPUGRID.

Rather than spend hundreds of dollars equipping crunching boxes with Windows it makes fiscal sense to use Linux. Since Puppy can't GRID I've been stuck with more bloated versions of Linux like Ubuntu/Kubuntu, until now...

Enter FatDog-64, a 64 bit version of Puppy Linux. I've used FatDoG-64 to run Rosetta and it works great. It shouldn't take too much to get GPUGRID up and running FatDog-64.

Keep in mind FatDog-64 is in a beta state so it isn't perfect but it has great potential for crunching.

I've not yet used FatDog-64 for GPUGRID but I will be making the attempt soon.

With FatDog-64 you have a super fast, fully modern OS that saves you the cost of software and the cost of a hard drive. Puppy/FatDog will run directly from CD or from a 512MB (or bigger) flash drive.

If you are interested download the latest "ISO" (currently rc3) and burn it to a CD. Boot from the CD and check it out!

http://www.murga-linux.com/puppy/viewtopic.php?t=54455

http://distro.ibiblio.org/pub/linux/distributions/fatdog/iso/



bigtuna
Volunteer moderator
Send message
Joined: 6 May 10
Posts: 80
Credit: 98,784,188
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwat
Message 17583 - Posted: 12 Jun 2010 | 9:08:13 UTC - in response to Message 17578.
Last modified: 12 Jun 2010 | 9:19:13 UTC

Awesome!!

It lives:

http://yfrog.com/7gfatdog64boinchardinfop

and it was easy...assuming you have at least 1 GB ram...

1) Download FatDog64 iso
2) Burn iso file to a CD (as an iso disk image, not as data)
3) If your computer is not set to boot from CD select "boot from CD" in BIOS or boot menu
4) Boot from FatDog CD (you can unplug your hard drive if you are worried about it, FatDog will not be needing it)
5) Set up networking by clicking "Net-Wizard".
6) Open browser by clicking "Firefox"
7) Click "click here for pet packages"
8) Download the nvidia driver pet. Pay attention to where it puts the file.
9) Go to the file and click it. It will install automatically.
9a) Restart X server (just the GUI, not the whole OS)
10) Use Firefox to download BOINC for 64 bit Linux (it should auto detect and come up automatically on BOINC download site) Pay attention to where it puts the file.
11) Right click on the BOINC file, go to properties and make the file executable.
12) Left click, BOINC installs itself.
13) In the same folder you found the original install file there should now be a folder named BOINC. Open the folder and click on boincmgr.

The rest should be familiar (setting up BOINC and attaching to a the project).

Snow Crash
Send message
Joined: 4 Apr 09
Posts: 450
Credit: 539,316,349
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 17584 - Posted: 12 Jun 2010 | 12:25:52 UTC - in response to Message 17583.

Sounds interesting ... can you tell us which of your machines you are running this on with GPUGrid so we can see how it performs relative to the other versions of linux / win xp etc.? To help compare can you please let us know which version of the driver gets installed and what, if any overclocking you have done to your card(s). Any issues with wireless?
____________
Thanks - Steve

Toni
Send message
Joined: 24 Sep 08
Posts: 1
Credit: 0
RAC: 0
Level

Scientific publications
wat
Message 17585 - Posted: 12 Jun 2010 | 16:17:45 UTC - in response to Message 17584.
Last modified: 12 Jun 2010 | 17:09:33 UTC

Very good, I am testing it on a 4x480 system and it works really fine.

Just a minor problem: with a 480 it could not start the GUI automatically (probably because the open-source nv does not support it yet). You can fix it easily with the following steps

4a. You will be left at the console. Enter the command "mp"
4b. An editor appears. Type ctrl-o and, when requested a file, enter /etc/X11/xorg.conf (respect capitals)
4c. In the "Device" section, add the following line
Driver "vesa"
4d. Save and exit (ctrl-q)
4e. Type "startx".

This should put you on a low-res GUI from which you can resume with the following steps. After you install the proprietary nvidia drivers, the resolution will be fine.

bigtuna
Volunteer moderator
Send message
Joined: 6 May 10
Posts: 80
Credit: 98,784,188
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwat
Message 17586 - Posted: 12 Jun 2010 | 18:49:28 UTC - in response to Message 17584.

Sounds interesting ... can you tell us which of your machines you are running this on with GPUGrid so we can see how it performs relative to the other versions of linux / win xp etc.? To help compare can you please let us know which version of the driver gets installed and what, if any overclocking you have done to your card(s). Any issues with wireless?


The machine is "Puppy PC", it is about done with the first work unit now. Its CPU is the being an older AMD 4000 + dual core and a gt240. The time looks to be in the ballpark with the other faster machines (which also have gt240 cards).

I might run the 2.3GHz Core2Duo on FatDog to give an apples to apples comparison.

The current FatDog/4000+/gt240 system is in the basement so it is on wireless. I had no problems with the wireless but some wireless cards will not have Linux drivers. This is actually not a big deal because a program called NDISWRAPPER will allow Linux to use the Windows drivers.

Be warned that Puppy/FatDog "likes" some machines better than others. About half my computers will come right up. Others need tricks like "Puppy acpi=off" (shuts off certain troublesome features). I'll try to be as much help as I can.

Toni
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Send message
Joined: 9 Dec 08
Posts: 1006
Credit: 5,068,599
RAC: 0
Level
Ser
Scientific publications
watwatwatwat
Message 17603 - Posted: 14 Jun 2010 | 13:03:36 UTC - in response to Message 17586.
Last modified: 14 Jun 2010 | 13:05:26 UTC

Hi bigtuna, we really like the software and your tutorial. Would you be willing to copy/maintain these instructions in the FAQs?

Finally, if someone would be so kind to volunteer a screencast, we would be appreciating a lot!

Toni
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Send message
Joined: 9 Dec 08
Posts: 1006
Credit: 5,068,599
RAC: 0
Level
Ser
Scientific publications
watwatwatwat
Message 17604 - Posted: 14 Jun 2010 | 13:11:04 UTC
Last modified: 14 Jun 2010 | 13:15:34 UTC

Note that one can easily make a USB key with permanent storage (including BOINC user/net/nvidia settings), once booted from the CD.

14. Go to the "setup" menu, select "puppy universal installer"
14a. Follow the instructions. You should have a bootable USB key (>1 GB) as a result.
14b. Shutdown the system
14c. You will be asked if you want to create a permanent storage. Answer yes.
15. Remove the CD, reboot. Your USB will now remember settings between restarts. Redo steps 4a- if necessary.

bigtuna
Volunteer moderator
Send message
Joined: 6 May 10
Posts: 80
Credit: 98,784,188
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwat
Message 17610 - Posted: 14 Jun 2010 | 22:45:01 UTC - in response to Message 17603.
Last modified: 14 Jun 2010 | 22:45:31 UTC

Hi bigtuna, we really like the software and your tutorial. Would you be willing to copy/maintain these instructions in the FAQs?

Thanks and yes of course. It would be an honor, on one condition...

I'd need to be able to edit my own posts to keep the information current and to correct mistakes.

Finally, if someone would be so kind to volunteer a screencast, we would be appreciating a lot!


This is a link to a screen shot of FatDog up and running GPUGRID:

http://yfrog.com/7gfatdog64boinchardinfop

I could do a series of still pictures showing the steps but a video screencast is beyond my capability.

bigtuna
Volunteer moderator
Send message
Joined: 6 May 10
Posts: 80
Credit: 98,784,188
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwat
Message 17616 - Posted: 15 Jun 2010 | 7:03:23 UTC - in response to Message 17610.

There is an issue with saving data back to a USB memory stick...

When running from the CD you are running is pure RAM which is designed to handle many read/write cycles.

If you run from a USB key your working directory changes to work from the stick. This will eventually wear a USB stick out. I'm currently trying to figure out a way to change the working directory back into ram...

The great thing about FatDog/Puppy is that there are many options for booting including a remastered CD (which could include all the extra downloaded programs).

One of my friends boots Puppy from a re-writable DVD so he is able to store data back to the optical disk.

Of course you can always install to a proper hard drive as well...

Toni
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Send message
Joined: 9 Dec 08
Posts: 1006
Credit: 5,068,599
RAC: 0
Level
Ser
Scientific publications
watwatwatwat
Message 17617 - Posted: 15 Jun 2010 | 8:25:58 UTC - in response to Message 17616.
Last modified: 15 Jun 2010 | 8:27:32 UTC

Hi bigtuna,

of course you are welcome to maintain the instructions at its new location.. in fact, that would be great :-)

Concerning the read-write cycles, if I understood how puppy works, the "changing" files are kept in RAM, and only "frozen" to USB when you shutdown or click the "SAVE" target-shaped icon on the desktop. This should mitigate the wear-out problem quite a bit (however, we could put a warning).

I think you can start a new thread in the FAQs as soon as you like. You should be able to edit them afterwards yourself as ordinary posts. Feel free to merge in my posts if you need, of course. Possibly, when done, remove the old instructions from here, so we have only one "current" set. Don't worry for the screencast! :-)

I personally love the USB solution because it provides a "known working" and reproducible environment.

Thanks,
T

Toni
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Send message
Joined: 9 Dec 08
Posts: 1006
Credit: 5,068,599
RAC: 0
Level
Ser
Scientific publications
watwatwatwat
Message 17649 - Posted: 17 Jun 2010 | 10:44:34 UTC - in response to Message 17617.
Last modified: 17 Jun 2010 | 10:53:16 UTC

Excellent, thanks also for fixing the gparted stuff! I'm putting the FAQ in evidence. (PS: Toni and TG are the same person :)

Post to thread

Message boards : Number crunching : GPUGRID on a stick (ex: Awesome new free software...)

//