PDA

View Full Version : Smp issues


j1999dl
11-13-07, 09:16 AM
I installed the SMP client on my C2D machine and it runs fine for one or two projects and then it slows down on the rest of the projects. On the first one or two work projects it will due a step in 15-20 minutes then it will slow down to and 1 hour to 1-1/2 hours to do a step. Now all of the projects are the 500,000 step units. If anyone can give me some input I would appreciate it. Also its a E6600 overclocked to 2.66, there is no stability issues or anythin like that.

thideras
11-13-07, 09:21 AM
Can you post a log and give us more information on the computer? What OS etc...

j1999dl
11-13-07, 09:22 AM
My hardware is in my sig. And I cant post a screenshot right now. Im at work.

thideras
11-13-07, 09:25 AM
Ok, well...we can't help you much until you post your log ;)

j1999dl
11-13-07, 09:28 AM
Aight I will post it up whenever I get home. Also I can say this I know it has happened once before with no interruption from anything but this last time. I had the electricity go out at the house and whenever I got home it started it again. Now I am not sure if that had anythin to do with it cause I didnt get to see the log before that had happened but I know the first time it did this I had to reinstall the smp client and everything an start off with a new WU cause it wouldnt even finish the one before it. But I will get you a Log just as soon as possible.

thideras
11-13-07, 09:35 AM
Ah, then you have to give it a flag, I know what the issue is....

-forceasm

You will have to add that to the shortcut so when it runs it forces it with ASM.

j1999dl
11-13-07, 09:44 AM
How do I add that to the shortcut. I have never added flags before. Also what is the ASM for. I mean what is it suppose to do.

j1999dl
11-13-07, 09:51 AM
Also is there other flags that I should be using? I also have a Quad machine that is running the smp client as well and it is just running one smp client. Is there something else I could do to run two smp clients or is that just not possible. Sorry for being a newb at this just trying to get all of this right.

thideras
11-13-07, 09:53 AM
How do I add that to the shortcut. I have never added flags before. Also what is the ASM for. I mean what is it suppose to do.Here is a link:

http://fahwiki.net/index.php/How_do_I_know_what_the_client_flags_(-switches)_are,_and_what_they_do%3F

-forceasm
Instructs the fahcore to use processor optimizations, such as SSE or 3DNow+ assembly instructions if possible, even if the core has previously determined the computer may not be handling the client well. Stable systems do not need this switch, although it may be helpful for stable systems running on not-so-stable power grids without UPS intervention. Supported in client versions v3.x, 4.x, 5.x, 6.x.
This switch will add this warning to the fahlog.

j1999dl
11-13-07, 09:55 AM
Thanks for the info I will fix this just as soon as I get home. Also did you see my other post right above yours. Sorry if you have already as I am writing this.

thideras
11-13-07, 09:59 AM
Thanks for the info I will fix this just as soon as I get home. Also did you see my other post right above yours. Sorry if you have already as I am writing this.You could also add the '-verbosity 9' flag if you want, that makes your logs longer and easier to troubleshoot.

j1999dl
11-13-07, 10:03 AM
Ok Do I need to add a space in between those flags.

thideras
11-13-07, 10:04 AM
Ok Do I need to add a space in between those flags.Yup, you want to change your shortcut to look like this:

c:/Program Files/FAH SMP -forceasm -verbosity 9

Note that your install location may be different, but the end part (the options) will be the same ;)

j1999dl
11-13-07, 10:05 AM
Thanks

thideras
11-13-07, 10:06 AM
ThanksNo problem :thup:

ChasR
11-13-07, 12:19 PM
Sorry guys, but -forceasm doesn't do anything on the SMP client. It defaults to optimizations on at all times. If it didn't, power failures and improper shutdowns would always lead to missed deadlines.

I'd look for runaway processes in task manager, most likely anti-virus, anti-spyware, mpiexec.exe, or internet explorer.

thideras
11-13-07, 12:20 PM
Sorry guys, but -forceasm doesn't do anything on the SMP client. It defaults to optimizations on at all times. If it didn't, power failures and improper shutdowns would always lead to missed deadlines.

I'd look for runaway processes in task manager, most likely anti-virus, anti-spyware, mpiexec.exe, or internet explorer.Wow....I fail.

Good to know though.

j1999dl
11-13-07, 12:27 PM
I did notice the mpiexec.exe was running and also the csrss.exe was running as well. What would I need to do to stop those.

thideras
11-13-07, 12:30 PM
I did notice the mpiexec.exe was running and also the csrss.exe was running as well. What would I need to do to stop those.Open TaskManager, go to Processes, right click the process and select "End Process".

I know that with mpiexec.exe you have to "end" it multiple times before it actually stops.

ChasR
11-13-07, 12:30 PM
Stopping mpiexec will kill the SMP client and the work unit. It should be running but using zero cpu.

j1999dl
11-13-07, 12:35 PM
nope both it and the csrss.exe swap from back and forth from zero to around 20 sometimes the csrss.exe even gets higher than that and that is with just the smp client and fahmon running.

nitteo
11-13-07, 12:59 PM
j1999dl, CTR+ALT+DLT and go to processes, sort the processes by CPU, what do you get?

You should get 4 FAHcore1s at the top with numbers ranging from 9-25%

And in the log, does it say SSE Boost when you start the client?

j1999dl
11-13-07, 01:05 PM
Yes they are there and the log does say that about the sse boost, but as I explained earlier the other two processes we were talkin bout are usin cpu as well sometimes more than the fahcore especially the csrss.exe. Sorry I would give you a screenshot but I am not at home I am just remembering from what I say this morning.

Adak
11-13-07, 01:17 PM
I installed the SMP client on my C2D machine and it runs fine for one or two projects and then it slows down on the rest of the projects. On the first one or two work projects it will due a step in 15-20 minutes then it will slow down to and 1 hour to 1-1/2 hours to do a step. Now all of the projects are the 500,000 step units. If anyone can give me some input I would appreciate it. Also its a E6600 overclocked to 2.66, there is no stability issues or anythin like that.

F@H is a low-priority program, so your problem could be ANY other program that starts running anew. Fah will run in *unused* cpu cycles.

I had a problem similar to this from my BIOS. In an effort to save energy, it would cut the processor speed way down, unless keys were being pressed, after so many minutes (minutes are usually adjustable, sort of like a screensaver utility). What you may have to do is go into your BIOS and turn that setting, off. Be sure to save that setting before exiting the BIOS.

edit: Also, check your OS. They also have "energy savings" features that can foil folding.

Mpiexec and crss are not the problem, here. My C2D folder has both these running while it folds. The first is essential, and the crss doesn't hurt. This is with a C2D running WinXP, folding 24/7.

thideras
11-13-07, 01:19 PM
I had a problem similar to this from my BIOS. In an effort to save energy, it would cut the processor speed way down, unless there were keypresses being made, after so many minutes (minutes are usually adjustable, sort of like a screensaver utility). What you may have to do is go into your BIOS and turn that setting, off. Be sure to save that setting before exiting the BIOS.I have never heard of that option.

There is speedstepping, which will change core speed depending on CPU usage.

ChasR
11-13-07, 03:35 PM
mpiexec is a process necessary to run the SMP client and it cannot be stopped, but if it is using any cpu, it is part of the problem. Csrss.exe is the Microsoft client server runtime which generates worker threads for client requests. It is also essential, but should not be using any of the cpu.

Is this SMP instance installed as a service?

j1999dl
11-13-07, 03:43 PM
no it is not installed as a service.

j1999dl
11-13-07, 07:58 PM
Here is the log of the current work unit from the start


[13:59:04] + Attempting to send results
[14:00:27] + Results successfully sent
[14:00:27] Thank you for your contribution to Folding@Home.
[14:00:27] + Number of Units Completed: 2

[14:02:31] - Preparing to get new work unit...
[14:02:31] + Attempting to get work packet
[14:02:31] - Connecting to assignment server
[14:02:31] - Successful: assigned to (171.64.65.64).
[14:02:31] + News From Folding@Home: Welcome to Folding@Home
[14:02:31] Loaded queue successfully.
[14:02:44] + Closed connections
[14:02:44]
[14:02:44] + Processing work unit
[14:02:44] Core required: FahCore_a1.exe
[14:02:44] Core found.
[14:02:44] Working on Unit 03 [November 12 14:02:44]
[14:02:44] + Working ...
[14:02:44]
[14:02:44] *------------------------------*
[14:02:44] Folding@Home Gromacs SMP Core
[14:02:44] Version 1.74 (March 10, 2007)
[14:02:44]
[14:02:44] Preparing to commence simulation
[14:02:44] - Ensuring status. Please wait.
[14:02:46] - Starting from initial work packet
[14:02:47]
[14:02:47] Project: 2653 (Run 2, Clone 182, Gen 3)
[14:02:47]
[14:02:47] Assembly optimizations on if available.
[14:02:47] Entering M.D.
[14:03:06] 5 percent)
[14:03:06] - Starting from initial work packet
[14:03:06]
[14:03:06] Project: 2653 (Run 2, Clone 182, Gen 3)
[14:03:06]
[14:03:09] Entering M.D.
[14:03:15] Rejecting checkpoint
[14:03:16] Protein: Protein in POPC
[14:03:16] Writing local files
[14:03:17] Extra SSE boost OK.
[14:03:18] Writing local files
[14:03:18] Completed 0 out of 500000 steps (0 percent)
[14:21:04] Writing local files
[14:21:05] Completed 5000 out of 500000 steps (1 percent)
[14:38:28] Writing local files
[14:38:28] Completed 10000 out of 500000 steps (2 percent)
[14:55:29] Writing local files
[14:55:29] Completed 15000 out of 500000 steps (3 percent)
[15:13:22] Writing local files
[15:13:23] Completed 20000 out of 500000 steps (4 percent)
[15:31:14] Writing local files
[15:31:14] Completed 25000 out of 500000 steps (5 percent)
[15:49:39] Writing local files
[15:49:39] Completed 30000 out of 500000 steps (6 percent)
[16:07:16] Writing local files
[16:07:17] Completed 35000 out of 500000 steps (7 percent)
[16:23:55] Writing local files
[16:23:55] Completed 40000 out of 500000 steps (8 percent)
[16:40:32] Writing local files
[16:40:32] Completed 45000 out of 500000 steps (9 percent)
[16:57:10] Writing local files
[16:57:10] Completed 50000 out of 500000 steps (10 percent)
[17:13:48] Writing local files
[17:13:48] Completed 55000 out of 500000 steps (11 percent)
[17:30:25] Writing local files
[17:30:25] Completed 60000 out of 500000 steps (12 percent)
[17:47:03] Writing local files
[17:47:03] Completed 65000 out of 500000 steps (13 percent)
[18:03:39] Writing local files
[18:03:39] Completed 70000 out of 500000 steps (14 percent)
[18:20:15] Writing local files
[18:20:16] Completed 75000 out of 500000 steps (15 percent)
[18:36:52] Writing local files
[18:36:52] Completed 80000 out of 500000 steps (16 percent)
[18:53:28] Writing local files
[18:53:28] Completed 85000 out of 500000 steps (17 percent)
[19:10:05] Writing local files
[19:10:06] Completed 90000 out of 500000 steps (18 percent)
[19:26:43] Writing local files
[19:26:43] Completed 95000 out of 500000 steps (19 percent)
[19:43:20] Writing local files
[19:43:21] Completed 100000 out of 500000 steps (20 percent)
[19:59:57] Writing local files
[19:59:58] Completed 105000 out of 500000 steps (21 percent)
[20:16:34] Writing local files
[20:16:34] Completed 110000 out of 500000 steps (22 percent)
[20:33:09] Writing local files
[20:33:09] Completed 115000 out of 500000 steps (23 percent)


--- Opening Log file [November 12 23:02:36]


# SMP Client ################################################## ################
################################################## #############################

Folding@Home Client Version 5.91beta5

http://folding.stanford.edu

################################################## #############################
################################################## #############################

Launch directory: C:\Program Files\Folding@Home Windows SMP Client V1.01
Service: C:\Program Files\Folding@Home Windows SMP Client V1.01\fah.exe
Arguments: -svcstart

Launched as a service.
Entered C:\Program Files\Folding@Home Windows SMP Client V1.01 to do work.

[23:02:36] - Ask before connecting: No
[23:02:36] - User name: transam02 (Team 32407)
[23:02:36] - User ID: 34353A271EDB287A
[23:02:36] - Machine ID: 1
[23:02:36]
[23:02:36] Loaded queue successfully.
[23:02:36]
[23:02:36] + Processing work unit
[23:02:36] Core required: FahCore_a1.exe
[23:02:36] Core found.
[23:02:36] Working on Unit 03 [November 12 23:02:36]
[23:02:36] + Working ...
[23:04:52]
[23:04:52] *------------------------------*
[23:04:52] Folding@Home Gromacs SMP Core
[23:04:52] Version 1.74 (March 10, 2007)
[23:04:52]
[23:04:52] Preparing to commence simulation
[23:04:52] - Ensuring status. Please wait.
[23:05:09] - Looking at optimizations...
[23:05:09] - Working with standard loops on this execution.
[23:05:09] - Previous termination of core was improper.
[23:05:09] - Going to use standard loops.
[23:05:09] - Files status OK
[23:05:17] - Expanded 2964849 -> 15225228 (decompressed 513.5 percent)
[23:05:18]
[23:05:18] Project: 2653 (Run 2, Clone 182, Gen 3)
[23:05:18]
[23:05:22] Entering M.D.
[23:05:28] Calling FAH init
[23:05:30] Read topology
[23:05:30] (Starting from checkpoint)
[23:05:30] 000 out of 500000 steps (23 percent)
[23:05:30] PC
[23:05:30] Writing local files
[23:05:30] Completed 115000 out of 500000 steps (23 percent)
[23:05:32] Extra SSE boost OK.
[00:21:41] Writing local files
[00:21:41] Completed 120000 out of 500000 steps (24 percent)
[01:37:54] Writing local files
[01:37:54] Completed 125000 out of 500000 steps (25 percent)
[02:53:33] Writing local files
[02:53:33] Completed 130000 out of 500000 steps (26 percent)
[04:09:48] Writing local files
[04:09:49] Completed 135000 out of 500000 steps (27 percent)
[05:25:52] Writing local files
[05:25:52] Completed 140000 out of 500000 steps (28 percent)
[06:41:51] Writing local files
[06:41:51] Completed 145000 out of 500000 steps (29 percent)
[07:58:13] Writing local files
[07:58:13] Completed 150000 out of 500000 steps (30 percent)
[09:14:37] Writing local files
[09:14:37] Completed 155000 out of 500000 steps (31 percent)
[10:30:51] Writing local files
[10:30:51] Completed 160000 out of 500000 steps (32 percent)
[11:47:10] Writing local files
[11:47:10] Completed 165000 out of 500000 steps (33 percent)


--- Opening Log file [November 13 12:29:39]


# SMP Client ################################################## ################
################################################## #############################

Folding@Home Client Version 5.91beta5

http://folding.stanford.edu

################################################## #############################
################################################## #############################

Launch directory: C:\Program Files\Folding@Home Windows SMP Client V1.01
Service: C:\Program Files\Folding@Home Windows SMP Client V1.01\fah.exe
Arguments: -svcstart

Launched as a service.
Entered C:\Program Files\Folding@Home Windows SMP Client V1.01 to do work.

[12:29:39] - Ask before connecting: No
[12:29:39] - User name: transam02 (Team 32407)
[12:29:39] - User ID: 34353A271EDB287A
[12:29:39] - Machine ID: 1
[12:29:39]
[12:29:39] Loaded queue successfully.
[12:29:39]
[12:29:39] + Processing work unit
[12:29:39] Core required: FahCore_a1.exe
[12:29:39] Core found.
[12:29:39] Working on Unit 03 [November 13 12:29:39]
[12:29:39] + Working ...
[12:30:47]
[12:30:47] *------------------------------*
[12:30:47] Folding@Home Gromacs SMP Core
[12:30:47] Version 1.74 (March 10, 2007)
[12:30:47]
[12:30:47] Preparing to commence simulation
[12:30:47] - Ensuring status. Please wait.
[12:31:04] - Looking at optimizations...
[12:31:04] - Working with standard loops on this execution.
[12:31:04] Examination of work files indicates 8 consecutive improper terminations of core.
[12:31:14] - Expanded 2964849 -> 15225228 (decompressed 513.5 percent)
[12:31:15]
[12:31:15] Project: 2653 (Run 2, Clone 182, Gen 3)
[12:31:15]
[12:31:18] Entering M.D.
[12:31:24] Calling FAH init
[12:31:29] Read topology
[12:31:29] (Starting from checkpoint)
[12:31:30] Read checkpoint
[12:31:30] Protein: Protein in POPC
[12:31:30] Writing local files
[12:31:30] Completed 166985 out of 500000 steps (33 percent)
[12:31:34] Extra SSE boost OK.
[13:17:59] Writing local files
[13:17:59] Completed 170000 out of 500000 steps (34 percent)
[14:34:23] Writing local files
[14:34:24] Completed 175000 out of 500000 steps (35 percent)
[15:50:55] Writing local files
[15:50:56] Completed 180000 out of 500000 steps (36 percent)
[17:07:33] Writing local files
[17:07:33] Completed 185000 out of 500000 steps (37 percent)
[18:24:02] Writing local files
[18:24:03] Completed 190000 out of 500000 steps (38 percent)
[19:40:27] Writing local files
[19:40:28] Completed 195000 out of 500000 steps (39 percent)
[20:56:39] Writing local files
[20:56:40] Completed 200000 out of 500000 steps (40 percent)
[22:12:47] Writing local files
[22:12:48] Completed 205000 out of 500000 steps (41 percent)
[23:28:59] Writing local files
[23:28:59] Completed 210000 out of 500000 steps (42 percent)


--- Opening Log file [November 14 00:31:38]


# SMP Client ################################################## ################
################################################## #############################

Folding@Home Client Version 5.91beta5

http://folding.stanford.edu

################################################## #############################
################################################## #############################

Launch directory: C:\Program Files\Folding@Home Windows SMP Client V1.01
Service: C:\Program Files\Folding@Home Windows SMP Client V1.01\fah.exe
Arguments: -svcstart

Launched as a service.
Entered C:\Program Files\Folding@Home Windows SMP Client V1.01 to do work.

[00:31:38] - Ask before connecting: No
[00:31:38] - User name: transam02 (Team 32407)
[00:31:38] - User ID: 34353A271EDB287A
[00:31:38] - Machine ID: 1
[00:31:38]
[00:31:39] Loaded queue successfully.
[00:31:39]
[00:31:39] + Processing work unit
[00:31:39] Core required: FahCore_a1.exe
[00:31:39] Core found.
[00:31:39] Working on Unit 03 [November 14 00:31:39]
[00:31:39] + Working ...


--- Opening Log file [November 14 01:08:55]


# SMP Client ################################################## ################
################################################## #############################

Folding@Home Client Version 5.91beta5

http://folding.stanford.edu

################################################## #############################
################################################## #############################

Launch directory: C:\Program Files\Folding@Home Windows SMP Client V1.01
Service: C:\Program Files\Folding@Home Windows SMP Client V1.01\fah.exe
Arguments: -svcstart

Launched as a service.
Entered C:\Program Files\Folding@Home Windows SMP Client V1.01 to do work.

[01:08:55] - Ask before connecting: No
[01:08:55] - User name: transam02 (Team 32407)
[01:08:55] - User ID: 34353A271EDB287A
[01:08:55] - Machine ID: 1
[01:08:55]
[01:08:55] Loaded queue successfully.
[01:08:55]
[01:08:55] + Processing work unit
[01:08:55] Core required: FahCore_a1.exe
[01:08:55] Core found.
[01:08:55] Working on Unit 03 [November 14 01:08:55]
[01:08:55] + Working ...
[01:09:46]
[01:09:46] *------------------------------*
[01:09:46] Folding@Home Gromacs SMP Core
[01:09:46] Version 1.74 (March 10, 2007)
[01:09:46]
[01:09:46] Preparing to commence simulation
[01:09:47] - Ensuring status. Please wait.
[01:10:04] - Looking at optimizations...
[01:10:04] - Working with standard loops on this execution.
[01:10:04] Examination of work files indicates 8 consecutive improper terminations of core.
[01:10:13] - Expanded 2964849 -> 15225228 (decompressed 513.5 percent)
[01:10:15]
[01:10:15] Project: 2653 (Run 2, Clone 182, Gen 3)
[01:10:15]
[01:10:16] Entering M.D.
[01:10:22] Calling FAH init
[01:10:24] in POPC
[01:10:24] Writing local files
[01:10:24] checkpoint)
[01:10:24] Read checkpoint
[01:10:24] 0 steps (42 percent)
[01:10:24] PC
[01:10:24] Writing local files
[01:10:24] Completed 212953 out of 500000 steps (42 percent)
[01:10:27] Extra SSE boost OK.
[01:27:37] Writing local files
[01:27:37] Completed 215000 out of 500000 steps (43 percent)

ChasR
11-13-07, 09:13 PM
The log indicates a service install:

Arguments: -svcstart

Try this:
Disable the service. Run the client from the command line and see if your problem goes away.

cw823
11-13-07, 09:19 PM
I had a problem similar to this from my BIOS. In an effort to save energy, it would cut the processor speed way down, unless keys were being pressed, after so many minutes (minutes are usually adjustable, sort of like a screensaver utility). What you may have to do is go into your BIOS and turn that setting, off. Be sure to save that setting before exiting the BIOS.



Bingo. And the poster that doesn't have those options in BIOS? IF you're running any kind of Core 2 or quad chip, you have them. C1E and something else as I recall.

ChasR
11-13-07, 09:28 PM
The poster also reported mpiexec and csrss taking up 20% of the cpu, which happens on some service installs. That's one of the reasons service installs of the SMP client are unsupported. It could be both, however, C1E and SpeedStep (which should be disabled on a folding machine) have nothing to do with the two processes eating cpu time.

j1999dl
11-14-07, 07:23 AM
I started the smp client from the cmd prompt this morning and will find out how it is doin when I get back home. Thanks for all the help guys