Linux guru wanted to update Overfoldnix

Page 3 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

osage

Diamond Member
Jul 16, 2000
5,686
0
76
"Does that disk recognize that is running on an SMP system ?"

I did not see anything on the boot screen as it loaded that made me think it saw 2 cpus. but perhaps the old Mandrake 8.2 did not offer a SMP kernel.

"Is no interaction better than slight interaction?"

I like a bit of interaction, basic stuff. I'm now going to do XYZ now is this OK? that kind of stuff, ofdnix dosen't ask you anything unless you run cfgfolding, then it asks for username, then team number.
But with ofdnix as soon as you boot it you will be running the default configuation for team #32 as another user, the creator of the orig distro. Just because that's how he set it up in the beginning, I suppose he just made it for himself and a few team members. It would be ideal if the congfig was blank till you entered your info, this would make it more generic and of use to more ppl perhaps.

"Are those all of the flags that should be set?"

No there is 1 other that I'm not supposed to mention.
The ability to select the particular switches that you want/need on a given machine is something that would be very important. force SSE does nothing for a Intel system.

"With the points increase in Tinker, isn't the -advmethods just a personal pref now?"

advmethods = Public Beta testing, If it crashes don't complain because they're late stage Beta.

"From looking at the documentation, it seems to me that having both -forceSSE and -forceasm is kind of redundant."

-forceasm = After a system crash, force the default optimization: 3DNow+ for chips that have it. SSE or AltiVec if either is available but not 3DNow (e.g.-Intel), for advanced users who know what they're doing ....
-forceSSE = Force SSE on, if both 3DNow+ and SSE are available. this just makes sure the best avalible optimization is used, I believe that AMD chips were sometimes just using 3DNow even if SSE was avalible. SSE makes a very large diff in the production of a AMD rig..big improvment over 3DNow

"Also, -local is supposedly worthless on Linux, if I remember the docs correctly"

you are correct, the local switch prob just got tossed in ther cause it is listed somewhere as a possible switch that you would use...if you run windows and have a SMP rig.




 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Thanks. The wheels are turning. Tomorrow I might start preparations for this. Today, I sleep. :p
 

yelo333

Senior member
Dec 13, 2003
990
0
71
Originally posted by: osage
"Does that disk recognize that is running on an SMP system ?"

I did not see anything on the boot screen as it loaded that made me think it saw 2 cpus. but perhaps the old Mandrake 8.2 did not offer a SMP kernel.

"Is no interaction better than slight interaction?"

I like a bit of interaction, basic stuff. I'm now going to do XYZ now is this OK? that kind of stuff, ofdnix dosen't ask you anything unless you run cfgfolding, then it asks for username, then team number.
But with ofdnix as soon as you boot it you will be running the default configuation for team #32 as another user, the creator of the orig distro. Just because that's how he set it up in the beginning, I suppose he just made it for himself and a few team members. It would be ideal if the congfig was blank till you entered your info, this would make it more generic and of use to more ppl perhaps.

"Are those all of the flags that should be set?"

No there is 1 other that I'm not supposed to mention.
The ability to select the particular switches that you want/need on a given machine is something that would be very important. force SSE does nothing for a Intel system.

"With the points increase in Tinker, isn't the -advmethods just a personal pref now?"

advmethods = Public Beta testing, If it crashes don't complain because they're late stage Beta.

"From looking at the documentation, it seems to me that having both -forceSSE and -forceasm is kind of redundant."

-forceasm = After a system crash, force the default optimization: 3DNow+ for chips that have it. SSE or AltiVec if either is available but not 3DNow (e.g.-Intel), for advanced users who know what they're doing ....
-forceSSE = Force SSE on, if both 3DNow+ and SSE are available. this just makes sure the best avalible optimization is used, I believe that AMD chips were sometimes just using 3DNow even if SSE was avalible. SSE makes a very large diff in the production of a AMD rig..big improvment over 3DNow

"Also, -local is supposedly worthless on Linux, if I remember the docs correctly"

you are correct, the local switch prob just got tossed in ther cause it is listed somewhere as a possible switch that you would use...if you run windows and have a SMP rig.


All answered on the ofldx forums :)
 

MDE

Lifer
Jul 17, 2003
13,199
1
81
Man, I don't check back here and you guys go ahead and set up the Torrent and everything :).
I'm trying to download it now and I'll seed it for as long as needed.
 

yelo333

Senior member
Dec 13, 2003
990
0
71
Have you guys ever considered something more along the lines of:

http://www.extremeoverclocking.com/articles/howto/FAH_Diskless_Farm_1.html

?

This would make all your f@H-ers run off a linux server you set up, booting off the network, eleminating the need for even a cdrom drive. As a plus, every f@h comp would have a folder on the HDD to work with, allowing you to pick up where you left off on a workunit even after a power outage.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: yelo333
Have you guys ever considered something more along the lines of:

http://www.extremeoverclocking.com/articles/howto/FAH_Diskless_Farm_1.html

?

This would make all your f@H-ers run off a linux server you set up, booting off the network, eleminating the need for even a cdrom drive. As a plus, every f@h comp would have a folder on the HDD to work with, allowing you to pick up where you left off on a workunit even after a power outage.

I have a couple of netbooting clients (SETI) at home, and documentation on setting it up. But it's OpenBSD, not Linux. Although, it can run some Linux programs...

I've considered figuring out how to netboot Linux. If I get around to it, I'll update my documentation with Linux info and x86/PXE.
EDIT: That link looks pretty good so far. I'm jut skimming it though. :p
 

trevinom

Golden Member
Sep 19, 2003
1,061
0
0
Originally posted by: yelo333
Have you guys ever considered something more along the lines of: http://www.extremeoverclocking.com/articles/howto/FAH_Diskless_Farm_1.html ? This would make all your f@H-ers run off a linux server you set up, booting off the network, eleminating the need for even a cdrom drive. As a plus, every f@h comp would have a folder on the HDD to work with, allowing you to pick up where you left off on a workunit even after a power outage.

Now you tell me. I have already set up all my frankensteins up to run off of my main rig which is running XP. :(

 

osage

Diamond Member
Jul 16, 2000
5,686
0
76
I have been moving my rigs over to the new Overfoldnix as they finish the current WUs. got 4 rigs on this now, and 4 less HDDs in use.
It would be nice to be able to change the config to what you want for the individual machine with the correct username and team number then burn the image, but I don't know how to do that. So I will take one of the HDDs that I'm not using anymore load Knoppix and see if I can extract the ISO and get to the config file and change it.

My rigs run all the time and nobody touches them but me, they are in the basement away from eveything and everybody.... so once set up they should be good to go for a long time.
 

MDE

Lifer
Jul 17, 2003
13,199
1
81
I've got it downloaded and will give 15KB\s of my upload bandwidth (half of it) towards seeding.
 

Hyperfocal

Senior member
Oct 8, 2003
801
0
0
Trying to download via torrent, but am getting nothing. I can leave it running on my DSL if I can get the file.
 

osage

Diamond Member
Jul 16, 2000
5,686
0
76
are you still not getting it, I'm sitting on a seed with no downloads at the moment.............

just pulled 3 more HDDs out of service...
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: osage
I have been moving my rigs over to the new Overfoldnix as they finish the current WUs. got 4 rigs on this now, and 4 less HDDs in use.
It would be nice to be able to change the config to what you want for the individual machine with the correct username and team number then burn the image, but I don't know how to do that. So I will take one of the HDDs that I'm not using anymore load Knoppix and see if I can extract the ISO and get to the config file and change it.

My rigs run all the time and nobody touches them but me, they are in the basement away from eveything and everybody.... so once set up they should be good to go for a long time.

You can try mounting the iso using alchohol 120%(?) or the improperly named daemontools(? there was already a program named daemontools), edit the files, and then unmount. I don't know if it would work though...
 

osage

Diamond Member
Jul 16, 2000
5,686
0
76
K , I show 1 connected now, maybe you, who knows.

dont forget to log in as root, password=0verf0ld1x

those are zeros not the letter o

cfggolding: will stop the client and ask for username and team number, then restart with the new confg.

foldoff

foldon

foldlog

cfgfolding

thats it all the basic commands
 

osage

Diamond Member
Jul 16, 2000
5,686
0
76
n0cmonkey, I tried that, but could not see the config file.

oh well tommorow is another day, off to work now.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Hmmm, there might be a way to write a script to pull a configuration off of a server (teamanandtech.com? ;)) and use it, or start configuration if necessary. I've got a basic script for pulling the client, checking md5, and starting with various configurations. Maybe I'll add a way to pull configuration from a website somewhere. Or maybe usb memory sticks would be easier (although this almost takes away the usefulness of booting from the cd :p
 

trevinom

Golden Member
Sep 19, 2003
1,061
0
0
Originally posted by: n0cmonkey
Hmmm, there might be a way to write a script to pull a configuration off of a server (teamanandtech.com? ;)) and use it, or start configuration if necessary. I've got a basic script for pulling the client, checking md5, and starting with various configurations. Maybe I'll add a way to pull configuration from a website somewhere. Or maybe usb memory sticks would be easier (although this almost takes away the usefulness of booting from the cd :p

Why not put the configuration file in the server folder that is being used to store checkpoints?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: trevinom
Originally posted by: n0cmonkey
Hmmm, there might be a way to write a script to pull a configuration off of a server (teamanandtech.com? ;)) and use it, or start configuration if necessary. I've got a basic script for pulling the client, checking md5, and starting with various configurations. Maybe I'll add a way to pull configuration from a website somewhere. Or maybe usb memory sticks would be easier (although this almost takes away the usefulness of booting from the cd :p

Why not put the configuration file in the server folder that is being used to store checkpoints?

If I was doing netbooting that would be a lot easier. But if I boot off of a cd, creating a generic cd that requires no interaction would be a lot more difficult. I figured keeping everyhing in a ram disk would be the easiest way, then I won't have to know anyone's configuration and we could have a very generic iso.

I'm not sure what the best way is. And unfortunately I don't have the time to get something done right now, or I'd have a link or two up already :p

Suggestions are definitely welcome though.
 

yelo333

Senior member
Dec 13, 2003
990
0
71
OK, I hacked up a script to help automate the modification process. note that it's very alpha stage(doesn't check for errors, just keeps on plowing even if one of the steps fails), but if anybody wants, drop me a pm with your email address
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
My script basically gives you a number of options (some of which are going to change based on what people seem to want as far as client flags), downloads the clients, checks md5 and makes sure the file is executable, goes through the regular configuration, and then starts the client.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Got the script, I'll look at it tonight at work.

I also had a major brain storming session, one of few that didn't require massive amounts of alcohol from TN.

I'm going to work on my script tonight, but I think I can get a decent attended setup script going. I've added quick bits for SMB, NFS, and HTTP configurations. You either keep a "ready to run" copy of FaH on an SMB or NFS share, or keep the client.cfg and custom.cfg on an HTTP server and the script will use them. It should crunch in the SMB or NFS shares. I think, and correct me if I'm wrong, that the client.cfg file is the only configuration file you NEED, everything else gets created automagically and without interaction when FaH starts up.

The custom.cfg file would basically be a file containing the flags to run the process with. A simple text file like:
-forceasm -forceSSE -advmethods
The contents would be added to the execution of the client...

The only way I see to make 1 ISO for everyone, and have it 100% unattended (besides custom configs like yelo333 is providing ;)) is to make sure it is using DHCP, have it log into a central server to get the correct configuration based on it's external ip address, or finally require each user to run a webserver on his network with a set ip address to get the config fles from...

Having DHCP by default would probably be the best, since most people have routers and whatnot. Logging into a central server to get configuration files is tricky. I know I can't write the server side scripts to do that, but there are enough geniuses on the Team (they did join THIS team after alll) to get something going. I'm thinking the external ip address couldn't change often though, or a dyndns.org type of hostname would have to be used and kept up to date... Not totally sure, but it might be more trouble than it's worth (unless we can get the rest of the team to participate and make this more than just FaH, which I am thinking might be fun anyways).

Running an internal webserver with a known internal ip address wouldn't be hard, it's just a PITA for anyone that doesn't know how to do it. It kind of defeats the purpose of an unattended and easy boot cd...

If I sound like a mad man, just say so and I'll be quiet about my ideas. :p How easy/foolproof do we want to make this? ;)

EDIT: and this quick fusetalk change threw everything out of whack!
 

osage

Diamond Member
Jul 16, 2000
5,686
0
76
question for anyone.

how do I find the ip address for these machines running Overfoldnix, I'm tring to connect to them via ssh and I don't know the IPs of the machines. Is there a command I can use on the machines running Overfoldnix to make it show me the IP.

I did get to a couple of them, but running thru all possible IPs on the LAN is kinda slow and painfull.

thanks, osage
 

MDE

Lifer
Jul 17, 2003
13,199
1
81
If they're hooked up to a router you can go into the router's setup and see what devices are connected. Otherwise they should all take IPs in order if they're connected to a server.
 

osage

Diamond Member
Jul 16, 2000
5,686
0
76
Yeah, I figured that out after a while, checked the router logs and they were tho only ones without a host name.

ssh is cool, beats moving monitors around and such.

thanks all