Help with Linux Installation

Message boards : Number crunching : Help with Linux Installation

To post messages, you must log in.

AuthorMessage
Paul

Send message
Joined: 29 Oct 05
Posts: 193
Credit: 65,754,624
RAC: 1,396
Message 62108 - Posted: 6 Jul 2009, 19:32:17 UTC
Last modified: 6 Jul 2009, 19:46:31 UTC

All:

I have R@H running on lots of Windows PCs and now I am working on my first Linux build. I need lots of help because I know almost NOTHING about linux. To make things more complicated, this system boots from a USB thumbdrive so I have some limitations....

I am running xPUD distribution of Linux. I have downloaded BOINC version 6.4.5 and I think I have it installed. When I run the run_manager, I see the graphical interface but at the command line I receive several errors:
Xlib: extension "Generic Even Extension" missing on display ":0.0".
Xlib: extension "Generic Even Extension" missing on display ":0.0".
Xlib: extension "Generic Even Extension" missing on display ":0.0".
Xlib: extension "Generic Even Extension" missing on display ":0.0".
Xlib: extension "Generic Even Extension" missing on display ":0.0".

After several min. I receive:
connection: connection timed out
Error: cannot get the official host name (error 0: Success)
connect: operation now in progress
Error: cannot get the official host name (error 0: Success)

BOINC Client reveals -
Linux OS 2.6.28

I recall there are some .xml files that control the host name - maybe some command line arguments I can pass to get the system working.

Any help you can provide is greatly appreciated.

thank you.
Thx!

Paul

ID: 62108 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Paul

Send message
Joined: 29 Oct 05
Posts: 193
Credit: 65,754,624
RAC: 1,396
Message 62110 - Posted: 6 Jul 2009, 22:57:09 UTC - in response to Message 62108.  

It looks like I will also need to create a RAM drive as this is a diskless system or I need someone to help with the local prefs to make this not be an issue.

It looks like if we can fix the official host name issue, we will have most of the work done.

thx for any help you can provide.

Thx!

Paul

ID: 62110 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Paul

Send message
Joined: 29 Oct 05
Posts: 193
Credit: 65,754,624
RAC: 1,396
Message 62118 - Posted: 7 Jul 2009, 21:31:08 UTC - in response to Message 62110.  

Ignore this thread. Got Ubuntu installed on a USB flash drive - very slow device but everything is working now.
Thx!

Paul

ID: 62118 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
mikey
Avatar

Send message
Joined: 5 Jan 06
Posts: 1894
Credit: 8,767,498
RAC: 6,467
Message 62120 - Posted: 8 Jul 2009, 8:46:47 UTC - in response to Message 62118.  

Ignore this thread. Got Ubuntu installed on a USB flash drive - very slow device but everything is working now.


The one thing to remember is that USB flash devices have a limited number of writes you can do to them over their lifetime. When you hit that magic number...poof the drive no longer works, AT ALL! I have lost one drive to that already, nothing related to Boinc though. It is usually around 10,000 writes or so, reads are not a problem just writes.
ID: 62120 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Paul

Send message
Joined: 29 Oct 05
Posts: 193
Credit: 65,754,624
RAC: 1,396
Message 62127 - Posted: 8 Jul 2009, 12:17:39 UTC - in response to Message 62120.  

I started to wonder how long this USB device would work. For $15 I am not too worried but I guess I should get a hard drive ordered so I have it in stock when the USB drive dies.

I used all of the tricks I could find to decrease swap, cache dirty writes, ... and things are better but the device is still so slow.

thanks for the warning. Any idea how long it will take to get to 10K writes? It is the only storage device in the system so I would assume with all of the logs and save points and writing to disk every 1200 seconds, I will hit 10K writes in a month or so.
Thx!

Paul

ID: 62127 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
mikey
Avatar

Send message
Joined: 5 Jan 06
Posts: 1894
Credit: 8,767,498
RAC: 6,467
Message 62141 - Posted: 9 Jul 2009, 11:13:21 UTC - in response to Message 62127.  
Last modified: 9 Jul 2009, 11:22:12 UTC

I started to wonder how long this USB device would work. For $15 I am not too worried but I guess I should get a hard drive ordered so I have it in stock when the USB drive dies.

I used all of the tricks I could find to decrease swap, cache dirty writes, ... and things are better but the device is still so slow.

thanks for the warning. Any idea how long it will take to get to 10K writes? It is the only storage device in the system so I would assume with all of the logs and save points and writing to disk every 1200 seconds, I will hit 10K writes in a month or so.


I did some simple math and 1200 seconds is 20 minutes, 10,000 divided by 20 equals 500. 3 times per hour, times 24 hours, equals 72 times per day, divided into 500 equals about 7 days. Which is how many times you can write before it becomes susceptible to dying, more or less. You should be able to get a cheap hard drive at a computer show, on line, wherever, if you look a little bit. I just did a fast look up at tigerdirect.com and found this http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=533139&CatId=134 A 40 gig hard drive for $40.00US with no rebate but plus shipping. Ebay is of course cheaper but you never know what you are getting.
ID: 62141 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
AMD_is_logical

Send message
Joined: 20 Dec 05
Posts: 299
Credit: 31,460,681
RAC: 0
Message 62144 - Posted: 9 Jul 2009, 12:32:22 UTC - in response to Message 62141.  

I did some simple math and 1200 seconds is 20 minutes, 10,000 divided by 20 equals 500. 3 times per hour, times 24 hours, equals 72 times per day, divided into 500 equals about 7 days. Which is how many times you can write before it becomes susceptible to dying, more or less.


Why did you divide 10,000 by 20?

10,000 writes divided by 72 writes per day gives 139 days.
ID: 62144 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
mikey
Avatar

Send message
Joined: 5 Jan 06
Posts: 1894
Credit: 8,767,498
RAC: 6,467
Message 62162 - Posted: 10 Jul 2009, 9:18:45 UTC - in response to Message 62144.  

I did some simple math and 1200 seconds is 20 minutes, 10,000 divided by 20 equals 500. 3 times per hour, times 24 hours, equals 72 times per day, divided into 500 equals about 7 days. Which is how many times you can write before it becomes susceptible to dying, more or less.


Why did you divide 10,000 by 20?

10,000 writes divided by 72 writes per day gives 139 days.


Because 20 is how often it writes, so 10,000 writes divided by a write every 20 minutes gives me the number of writes which can then be translated to hours. I like your math better, but either way you NEED a hard drive. I used to run Seti on a floppy way back when but I do not think you can do it that way anymore. Someone may be able to setup Boinc to use a floppy as the database storage site instead of a USB disk though, but that is beyond me.
ID: 62162 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Paul

Send message
Joined: 29 Oct 05
Posts: 193
Credit: 65,754,624
RAC: 1,396
Message 62181 - Posted: 11 Jul 2009, 2:51:03 UTC - in response to Message 62162.  

I don't really care about the $15 USB thumbdrive and I kinda want to test and see if it will last 4 months.

I found an 80 gig SATA drive on ebay. It should be here tomorrow or the next day. Once I have Ubuntu installed and running on that HDD this weekend.

thx for the help.
Thx!

Paul

ID: 62181 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
mikey
Avatar

Send message
Joined: 5 Jan 06
Posts: 1894
Credit: 8,767,498
RAC: 6,467
Message 62202 - Posted: 12 Jul 2009, 9:56:20 UTC - in response to Message 62181.  

I don't really care about the $15 USB thumbdrive and I kinda want to test and see if it will last 4 months.

I found an 80 gig SATA drive on ebay. It should be here tomorrow or the next day. Once I have Ubuntu installed and running on that HDD this weekend.

thx for the help.


Sounds perfect! I too have several cheap USB drives I bought and don't much care what happens to them, seems funny thinking back, USB drives as 'disposable' items! They used to be sooo expensive when they first came out. Now here is a $4.99 one brand new from Tiger http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=4833076&CatId=904 That is a TON of floppies for only 5 bucks!!
ID: 62202 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile dgnuff
Avatar

Send message
Joined: 1 Nov 05
Posts: 350
Credit: 24,773,605
RAC: 0
Message 62444 - Posted: 26 Jul 2009, 7:28:11 UTC - in response to Message 62162.  

I did some simple math and 1200 seconds is 20 minutes, 10,000 divided by 20 equals 500. 3 times per hour, times 24 hours, equals 72 times per day, divided into 500 equals about 7 days. Which is how many times you can write before it becomes susceptible to dying, more or less.


Why did you divide 10,000 by 20?

10,000 writes divided by 72 writes per day gives 139 days.


Because 20 is how often it writes, so 10,000 writes divided by a write every 20 minutes gives me the number of writes which can then be translated to hours. I like your math better, but either way you NEED a hard drive. I used to run Seti on a floppy way back when but I do not think you can do it that way anymore. Someone may be able to setup Boinc to use a floppy as the database storage site instead of a USB disk though, but that is beyond me.


It'll go a lot further than that. Flash memory units do all sorts of tricks to shuffle around where they're writing to extend the life. This page on wikipedia covers it in some detail.

http://en.wikipedia.org/wiki/Wear_levelling

Bottom line, your flash drive will last a great deal longer than the hypothetical 139 days
ID: 62444 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Paul

Send message
Joined: 29 Oct 05
Posts: 193
Credit: 65,754,624
RAC: 1,396
Message 62460 - Posted: 26 Jul 2009, 13:28:29 UTC - in response to Message 62444.  

Now I want to build a system with USB SSD just to see how long it will run. The worst case in the SANDisk WhitePaper was 79 years.

I bet we could burn a 4GB USB device in far less time.
Thx!

Paul

ID: 62460 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : Help with Linux Installation



©2024 University of Washington
https://www.bakerlab.org