F@H with Hyper Threading

JonshandbrakeJonshandbrake PERTH, WESTERN AUSTRALIA Member
edited February 2004 in Folding@Home
G'day everyone. :topic: Yes finally I believe we have built a reasonably stable puta. :celebrate ...Had a few problems as you know but everything seems to be quite stable now. I still have some sort of driver conflict which causes me to crash from time to time :eek3: , but for the most part the system is working great. :cheers:

I updated the Bios today. :woowoo: .....WOW wasn't that a scary job. But between Jon & myself putting our heads together and walking through the steps slowly everything seems to be fine.....you won't believe the amount of backups I did.....LOL!!. I still have a problem with the crashs causing the system to reboot but unable to find the start up HDD. This happens only when the system fails and reboots itself, not when I restart the system with restart option, but this is a problem for another thread me thinks. Still have to clone the C: but that can wait a while..........another scarey project for me........LOL......I'll let you know how that goes :)

Anyway about this Hyper Threading.....Hubby :respect: (dragonV8) tells me that I can run 2 consoles at the same time. So not really understanding how to do this, I thought maybe one of you gentlemen could help a damsel in distress......LOL. :p

What I have done so far........

I have made two seperate folders in C: called Folding 1 & Folding 2. Downloaded a console for each folder. Initiated folder 1 and starting folding as per normal my first unit on this computer..... :fold: Yeehar!! at last...LOL.

Set up the properties in the short cut as per Muddocktor's screen shot ( dragonV8's thread - "Do I need to reinstall F@H") ......Thanks so much for that. It made it so very easy for me to follow thankyou. :thumbup

Now on to console two........initiated install of this folder (Folder #2). Everything was moving along nicely until the install noticed the other console working. :shakehead Said something about "not being able to run another unit on the same system" then exited out......mmmm bugger!!!! Now what do I do....totally at a loss. Particularly as I know nothing about this HTing.

Could someone please give me step by step (easy to follow please for a poor old lady) instructions on what and how to set up this other console.......that's ofcourse if it can be done.

Thankyou all for your help and I will be waiting patiently for your replies.

Sally........love these smilies...LOL!!!
«1

Comments

  • sgstairsgstair Reverse Engineer Redmond, WA Icrontian
    edited February 2004
    I haven't done this personally, but I think you need the -local flag if you're going to run more than one instance on the same computer.

    -Stephen
  • JonshandbrakeJonshandbrake PERTH, WESTERN AUSTRALIA Member
    edited February 2004
    Thank you for that Stephen. But could you tell me where in the string I should put that please...

    Thanx

    Sally
  • Al_CapownAl_Capown Indiana
    edited February 2004
    Here's an example thread of how to run such flags as -local -forceSSE etc

    http://www.short-media.com/forum/showthread.php?t=6347&highlight=flags
  • BlackHawkBlackHawk Bible music connoisseur There's no place like 127.0.0.1 Icrontian
    edited February 2004
    Asuming you're running directly from the folder, create a shortcut of the exe, right click and properties. Where it says "Target". After it says "FAH4Console.exe" (that's if you're running the console version), put "-local". I recommend "-advmethods -forcesse -local -service".
  • csimoncsimon Acadiana Icrontian
    edited February 2004
    find the client.cfg file in the first instance of F@H and it should look simular to this:

    [settings]
    username=csimon
    team=93
    asknet=no
    machineid=1
    local=112

    [http]
    active=no
    host=localhost
    port=8080
    usereg=no

    [clienttype]
    type=1

    [core]
    checkpoint=30

    The second instance simular to this:

    [settings]
    username=csimon
    team=93
    asknet=no
    machineid=2
    local=112

    [http]
    active=no
    host=localhost
    port=8080
    usereg=no

    [clienttype]
    type=1

    [core]
    checkpoint=30

    So ...the only thing that distinguishes one instance from the other is the machine ID! If both client.cfg files use machineid=1 then they won't both work.
  • JonshandbrakeJonshandbrake PERTH, WESTERN AUSTRALIA Member
    edited February 2004
    Here is a cut and paste of the string " -advmethods -forceasm -local -service -verbosity 9" would this be correct????

    If after doing this how do I get #2 console to crank up???? Just start it as per norm???

    Sally
  • BlackHawkBlackHawk Bible music connoisseur There's no place like 127.0.0.1 Icrontian
    edited February 2004
    Here is a cut and paste of the string " -advmethods -forceasm -local -service -verbosity 9" would this be correct????
    That is correct.
    If after doing this how do I get #2 console to crank up???? Just start it as per norm???
    You could add them to the startup menu and use TrayIt.
  • Al_CapownAl_Capown Indiana
    edited February 2004
    Hrm... I'll do my best to explain this process.

    First go into My Documents and create a new folder called F@H.

    Within this folder make 2 folders. One called "CPU0" the other called
    "CPU1".

    Next go to folding.stanford.edu. Wait for it to redirect you, then click download. Hit the dowload link under the Microsoft Windows logo for the ""Windows 98/ME/NT/ 2000/XP "No-nonsense" text-only console"". Save it in the CPU0 folder.

    Download the same console again and drop it in the CPU1 folder.

    Run the client in the CPU0 folder, and tell that it's MachineID 1 when you launch it and configure for the first time.

    Make the client in CPU1 folder MachineID 2.

    Then right click the console in each folder and create a shortcut. Move the shortcut into the startup folder under the START button.

    Once you get these shortcuts, right click them and select properties. For the target line add these flags: "-forceSSE" "-advmethods" "-service" "-local"

    Best of Luck,
    N.
  • JonshandbrakeJonshandbrake PERTH, WESTERN AUSTRALIA Member
    edited February 2004
    Here is a cut and paste of Folder's 1 & 2. Would you check it out and advise the corrections please. I wouldn't ask only it looks slightly different to the one you posted.

    Folder 1

    [settings]
    username=JonsHandbrake
    team=93
    asknet=no
    machineid=1

    [http]
    active=no
    host=localhost
    port=8080
    usereg=yes
    proxy_name=
    proxy_passwd=

    [graphics]
    drawgap=125
    drawtitle=1
    drawlogos=1
    logourl=
    subtitle=Team Media # 93
    drawmode=0

    [core]
    priority=0
    cpuusage=100
    disableassembly=no
    checkpoint=15
    ignoredeadlines=no

    Folder 2

    Sorry after checking the folder there isn't a file with .cfg extension. Probably this files is only there after installation???? Do I have to make the changes to folder 1 first???

    Regards

    Sally
  • BlackHawkBlackHawk Bible music connoisseur There's no place like 127.0.0.1 Icrontian
    edited February 2004
    add the switches to the 2nd client. Start it and one of the questions it asks is the machine id. I think it may be an advance option. Just put 2 and you're good to go. If you don't see it, just continue the configuration and then edit the config file.
  • JonshandbrakeJonshandbrake PERTH, WESTERN AUSTRALIA Member
    edited February 2004
    Thank you N. for these instructions. It is all starting to become clearer to me now. Lets see how I go with this......I'll get back to you shortly

    Regards

    Sally
  • Al_CapownAl_Capown Indiana
    edited February 2004
    looks fine to me
  • mmonninmmonnin Centreville, VA
    edited February 2004
    Make sure you say yes to adv settings when its asking for info. Then set machine ID to 2.
  • csimoncsimon Acadiana Icrontian
    edited February 2004
    or just edit the client.cfg
  • a2jfreaka2jfreak Houston, TX Member
    edited February 2004
    csimon wrote:
    find the client.cfg file in the first instance of F@H and it should look simular to this:

    [settings]
    local=112

    What are the different values for local? I have local set to 1 on a few machines.


    // Edit: the csimon quote isn't a direct quote. Text has been removed and bold/italics were added for emphasis.
  • csimoncsimon Acadiana Icrontian
    edited February 2004
    Here is a cut and paste of Folder's 1 & 2. Would you check it out and advise the corrections please. I wouldn't ask only it looks slightly different to the one you posted.

    Folder 1

    [settings]
    username=JonsHandbrake
    team=93
    asknet=no
    machineid=1

    [http]
    active=no
    host=localhost
    port=8080
    usereg=yes
    proxy_name=
    proxy_passwd=

    [graphics]
    drawgap=125
    drawtitle=1
    drawlogos=1
    logourl=
    subtitle=Team Media # 93
    drawmode=0

    [core]
    priority=0
    cpuusage=100
    disableassembly=no
    checkpoint=15
    ignoredeadlines=no

    Folder 2

    Sorry after checking the folder there isn't a file with .cfg extension. Probably this files is only there after installation???? Do I have to make the changes to folder 1 first???

    Regards

    Sally

    Hmmm ...try to copy the client.cfg from Folder 1 to Folder 2 then edit the machineid=1 line in folder 2 to read machineid=2

    Wait a minute ...are you sure you are running two console versions or are you trying to run two gui versions? 2 gui's won't work but you can run 1 gui + 1 console or 2 consoles but not 2 gui's.
  • edcentricedcentric near Milwaukee, Wisconsin Icrontian
    edited February 2004
    Bingo, that is the graphical interface version.
    You can leave that one Sally. But the other one must be the no-frills console version. Then you can say yes to advanced options and set the machine number to 2.
  • JonshandbrakeJonshandbrake PERTH, WESTERN AUSTRALIA Member
    edited February 2004
    Here we go. Firstly I had to turn of the running console to install the second. That went smoothly enough. Sorry guys I can't seem to find where it asks for the machine number, unless I am just plain old blind.......LOL!!! Finished up the configuration then went to the .cfg file in the folder.

    Oh no!!!! :scratch: All it had in the file was machineID=1 and active=no. So I typed into the file the same configuration as folder 1 except changing the machineID=2. Then add the consoles to the startup menu from the folders in the program files on the start menu.

    Then sent the consoles to the desktop where I edited the flags string. Added the same to both consoles
    "-advmethods -forceSSM -local -service -verbosity9" Double checked everything was OK including the "Start In" section, made sure the Folder # was correct in the "Target" string.

    Every thing seemed to be OK, so restarted the computer. Here we go :fold::fold: I can't tell you how exited I was. But only for a short while though. A screen popped up with the following on it "Usage: Fah4 [-option1][-option2]. That was the heading and was followed by a whole heap of option flags.

    While this screen stayed open Both consoles where in the tray. One of which download a work unit while the other said "Loading". As soon as I pressed OK I lost one of the consoles :fold::scratch::confused: :bawling:

    I then double checked the properties and they had changed. Not all the flags where there on one and both of the properties had the same Folder # :scratch::scratch::wtf: So I re typed the strings again then rebooted again.

    Again the system (which is now taking quite a long time to boot.....but does finally bootup) tries to load both consoles. Again I get the same screen appear "Usage: Fah4 etc.," with all the options, and again when I click OK the screen disappears taking with it one of the consoles. :confused2

    So I checked both the properties again but this time they were both as I had left them.

    I feel it in my bones that I am so close and I must be missing something. Here are copies of the two .cfg files as they are now. Am I missing something..........Boy this is turning into a boooook........LOL!!!

    Folder 1

    [settings]
    username=JonsHandbrake
    team=93
    asknet=no
    machineid=1

    [http]
    active=no
    host=localhost
    port=8080
    usereg=yes
    proxy_name=
    proxy_passwd=

    [graphics]
    drawgap=125
    drawtitle=1
    drawlogos=1
    logourl=
    subtitle=Team Media # 93
    drawmode=0

    [core]
    priority=0
    cpuusage=100
    disableassembly=no
    checkpoint=15
    ignoredeadlines=no

    Folder 2

    [settings]
    machineid=1

    [http]
    active=no


    Now then your all going to tell me I didn't save the .cfg file after editing it. I know I did. Could someone tell me how this reverted back?? :scratch: I did edit the .cfg file and like I said I just copied verbatim (except the machineID which I changed to 2) the .cfg file in Folder 1. This file reverting would explain why No 2 hasn't cranked up yet. I'll try editing and saving again and see how that goes

    I'll also try and keep my posts shorter........sorry!!!

    Sally
  • csimoncsimon Acadiana Icrontian
    edited February 2004
    yeah I saw:

    [graphics]
    drawgap=125
    drawtitle=1
    drawlogos=1
    logourl=
    subtitle=Team Media # 93
    drawmode=0


    and thought ...uh oh gui's!

    sorry I think this is the line that lead me to assume we were talking consoles ...
    I have made two seperate folders in C: called Folding 1 & Folding 2. Downloaded a console for each folder. Initiated folder 1 and starting folding as per normal my first unit on this computer..... Yeehar!! at last...LOL.
  • Al_CapownAl_Capown Indiana
    edited February 2004
    Then sent the consoles to the desktop where I edited the flags string. Added the same to both consoles
    "-advmethods -forceSSM -local -service -verbosity9" Double checked everything was OK including the "Start In" section, made sure the Folder # was correct in the "Target" string.
    change the -forceSSM tag to -forceSSE
  • csimoncsimon Acadiana Icrontian
    edited February 2004
    No I think what's happening is this.
    I think that you are trying to install 2 clients from the first download (the one at the top of the page here) marked Graphical client. The one you should be using is the "no nonsense" text-only console third from the top.

    You can use one Graphical and one Console or you can use two Consoles ...you just can't use two Graphicals.

    This is why it's not working and changing your client.cfg file. If you want to keep using the Graphical client then download a copy of the Console and install it in Folder 2 for example. If you have a "work" folder you probably should leave it because that's where our work units are located.

    Or ...you can install two Console clients.
  • JonshandbrakeJonshandbrake PERTH, WESTERN AUSTRALIA Member
    edited February 2004
    Update....I have deleted the graphic one and downloaded the console version. Thanks for that guys. I just didn't realise.........We have to a certain degree some success.......Yes I now have two working WU's. BUT, on install of the console version I double clicked to install and the installation was automatic and immediate. No opportunity to edit the configuration as I just wasn't given the opportunity.

    Funnily enough both work units are working from machineID=1. I have tried at least 3-4 times now to edit and change the .cfg file but to no avail.

    Now here is the clincher.......It is running as an annoymous user. It just has an alpha numeric no in the user ID. The .cfg file wont stabilise with my settings i.e. machineID=2 and I try to put username=Jonshandbrake immediately under that, save it then exit. I go back into the file and it has reverted to just two settings....

    Folder

    [settings]
    machineid=1

    [http]
    active=no

    Funnily enough though it has only been running for a little over an hour now and it is nearly finished. I think I must have picked up a WU that was only half done. But I wont get the credit for it, as I said it is running annonymously....... :confused:

    Any suggestions on how to fix this up would be very much appreciated.

    Too sum up......Good News - two units folding, but the way I see it only credit for one :confused2

    Sally
  • sgstairsgstair Reverse Engineer Redmond, WA Icrontian
    edited February 2004
    My suggestion is this:
    Stop both clients
    Delete both client.cfg files
    Use the command prompt to run each of them, one at a time, with the -local flag, putting in all the data, and seperate machine IDs

    Then start them up again, with all the flags (from a shortcut or somesuch)
    Maybe not the easiest way, but probably the simplest.
    -Stephen
  • Al_CapownAl_Capown Indiana
    edited February 2004
    Keep us updated Sally ;)
  • JonshandbrakeJonshandbrake PERTH, WESTERN AUSTRALIA Member
    edited February 2004
    Sorry for the delay in replying.......puta is acting up.....grrr.

    Ok this is what I have done. Firstly I uninstalled and deleted both programs (not sure now what too call them.......LOL) Ran a cleanup on the registry. Then reboot. Just to make sure computer clean.

    Downloaded a fresh Console to folder 1 and the graphical to folder 2. Fiddled about till I was able to get them both to the startup folder. Then tried some extra flags. i.e. -username -machineid. Ofcourse neither of these worked as they are not recognised as a configuration option.

    So I added the flag "-config" to the console program on folder 1(yep the no frills one) and started up by double clicking on the desktop icon. It instantly burst into action and allowed me to configure my username........you beauty!! But not the machineid....grrr. As this was the first one activated by design I wanted to assign machineid=1 anyway. So everything honky dory with this one.

    Then onto the graphical program. As I said I put that in folder two and set it off, hopeing to be able to assign the machineid easier with this program. Initiated well. Was able to input my userid during install.

    But believe me when I tell you there is absolutely no way of assigning the machineid in the start of the program. No advanced features except the advanced tab. All you can change there is core priority, disable highly optimised assembly code, adjust checkpointing frequency, cpu usage, deadlines & preferred project.

    So I was relying on the Client.cfg file which is only created on the graphical program and not the consol. That is why I installed in this order - hoping to be able to edit this file and save it........crisis over........NOT!!!!.....LOL. *nervous giggle*

    I keeping changing the .cfg file to machineid=2 and it keeps reverting back......bugger!!!!! I have been trying to find a way for the last hour or so to save it but to no joy.......grrrrr!!!

    Funnily enough though both WU's are working away quite merrily away with the same machineid=1. I don't know how......just is. To add another conundrum to the mix I have two FahCore_78.exe and a FAH4consol.exe working in the processes in Task manager. The two Cores are sharing the CPU usage with approx 50% each. Give or take a %point. The FAH4Consol, though in the processes doesn't appear to be drawing anything from the CPU. Sitting on 00% the whole time. But I can look at the unit working and it is moving along quite nicely.

    Now the downside to all this is my system is just about grinding to a halt. Everything takes forever to open up to use and to close down. It appears like I am on the brink of a crash. Programs are not responding and/or closing down due to a conflict of some sort, if I highlight for example any thing in the system tray or a file by holding the pointer over it I can only read a portion of the highlight, the rest of the writing is blacked out. :confused2

    So yes I have got these programs folding but I don't know if both of them will fully work. Looks like I still need some further help or advice......sorry

    Sally
  • EyesOnlyEyesOnly Sweden New
    edited February 2004
    My advice is to use only the console version. Also delete everything in the fah folders and start over. I know you'll lose the wu:s but at least you will have a clean start. Next when the console starts it will after a while ask if you want to change advanced options. Say yes to this because then you can edit the machine id. Do this for both clients so you can check the id on them.

    As for your rig being slow that can't be fah because i'm running it on a P2 and it not slower. But if you fix the clients i think that the rig wont be slow again, asuming that fah is causing it.
  • JonshandbrakeJonshandbrake PERTH, WESTERN AUSTRALIA Member
    edited February 2004
    Thank you eyes only. Your advice is well received........But Yeeeharr!!! I have had a win.......at long last.

    Yes you were right with the advance settings. I finally realised to put -config in the string and taddah it finally worked. This got me into the advance settings the second time I booted up. The GUI version is working merrily away........no problems!!! Yippee Finally got it right after literally hours of trial and error. :rockon:

    On the down side (ofcourse....downside....always seems to be a down side :grumble:Why??? ) I was right about my computer it had a major crash. On recovery from that the report said it was a driver caused the error....bugger!!!

    This has been happening to me for a couple of days now. Virtually since we started up the new system........No little yellow UKAS in the device manager, so I don't have a clue as to how to chase down the bad driver as just about all of them are Microsoft drivers anyway. The few that aren't I have already updated......... :scratch:

    Anyway that may be for another thread........The good news is 2 yes 2 :fold::fold: lovely little red icons in the tray and going strong.......I'll just have to deal with the drivers somehow..........

    So now it's party time.........actually it's bed time.......I have been up since yesterday 1500hrs........it's is now 1625hrs here and I have worked on this for most of the night.......but each day brings a new challenge and with it a new triumph - not bad for a learner!!!.....LOL!!!

    :fold::fold::fold:

    Just one more thing.....with each WU do I have to config the programme each time or will it just run now till I stop it for any reason like the GUI version.......and would the WU's fold faster in the console version instead of 1xGUI and 1xConsole????

    Jon :respect: if you're reading this thread I will email you later with all the how toos.

    Sally.........for now I'm off to bed for a nap
  • EyesOnlyEyesOnly Sweden New
    edited February 2004
    The console will be faster since it doesn't have to draw any protiens nor deal with a interface but drawing can be turned of and unless you're nuts about your production like most people here seems to be :) you needn't worry to much.

    Unless something else is wrong the settings you made should be remembered so just let it run.
  • mmonninmmonnin Centreville, VA
    edited February 2004
    If you are going to use the GUI and the console, the GUI must be started first or the console given machine ID of 2. The GUI has a machine ID of one when you install. There is no set of adv options when you install. The console does.

    Install the GUI w/o the network cable plugged in.
    Close the GUI after its installed.
    Omce its installed go the the shortcut in startup and add -advmethods -forcesse like you did for -config.
    Plug network cable in and restart the client. You should get A WU and core and start folding.
    I said to unplug the cable so you wont get a tinker before you specify for gromacs.

    Open the console with a shortcut with -advmethods -forcesse (same as GUI). Enter your info. Say yes to adv options Q. Enter machine ID of 2.

    Should be good to go now.
  • edited February 2004
    OK Jonshandbrake, I was trying to post this yesterday but I was having mega trouble with my sat broadband :banghead: but here's what I was trying to post for you.

    Here's a pic of me setting up a third instance of the console client, all the answers I gave and such. All you would have to change from what I've entered is the username(obviously;) ) and the machine ID. I used a machine ID of "3" on this instance but you would use a "2" in your case. Here's a pic of my setup:
Sign In or Register to comment.