MMM
Results 1 to 14 of 14

Thread: Multiple instance of FoH problem

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    41

    Multiple instance of FoH problem

    I've made a few posts about this in the 'Harassment and discussion' thread, but I'm still having problems, so I'm taking the liberty of opening my own thread

    Recap:

    I have a dual core Pentium D, and am running two instances of FoH, set up correctly (Machine ID 1 for the first client and, and Machine ID 2 for the second). The second instance seems to be progressing much slower then the first.

    I originally noticed that the CPU time of the second instance was much less then the first, e.g. 1 hour 50 Min vs. 30 Min. I tried setting the priority for both instances to low, instead of idle, but it doesn't seem to have made any difference to the overall progress.

    I suspected that each client wasn't actually getting a core to itself. When I closed one of the clients, the remaining one shows activity on both cores. I'm not sure that this isn't normal, but I figured that they were supposed to use a core each (hence the machine ID). I checked the Affinity via task manager, and each client was flagged as having access to core 0 and core 1. Again, I don't know if this is normal. I tried manually changing the setting, so one was assigned to core 0, and the other to core 1, but again, no change to the overall progress.

    The difference in progress really doesn't seem right, but I've no idea what the problem could be, if indeed there is a problem.

    I've attached a screenshot, what do you think?

    Note: WU's:

    Client 1 = Project: 3040 (Run 2, Clone 897, Gen 11)
    Client 2 = Project: 3040 (Run 0, Clone 496, Gen 11)

    Both WU's were started at the same time.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	fah.JPG 
Views:	97 
Size:	186.3 KB 
ID:	58169  

  2. #2
    Xtremely High Voltage Sparky's Avatar
    Join Date
    Mar 2006
    Location
    Ohio, USA
    Posts
    16,040
    When I kill one of my clients the total usage sticks around 50% but neither core is maxed out. For example right now core 0 is hovering around 85% and the other core is at 15%. No idea why.

    Now looking at your pic one core is using 45% the other is 44%, so apparently you have something else that is eating up CPU cycles. Go through your list and see what it is. I'd suspect that realplayer that I see in your taskbar.
    The Cardboard Master
    Crunch with us, the XS WCG team
    Intel Core i7 2600k @ 4.5GHz, 16GB DDR3-1600, Radeon 7950 @ 1000/1250, Win 10 Pro x64

  3. #3
    Registered User
    Join Date
    Apr 2007
    Posts
    41
    It's actually limited to 90% overall, I stepped it down from 100 after changing the priority to low. That 1% loss could be just task manager I suppose, I don't have real player or anything installed. I think that might be the soundMax utility that you are mistaking for real player. It's basically a clean Windows install with the mobo/graphics drivers/utilities.

    When left idle, both clients sustain 45% CPU, 90 total.

  4. #4
    Xtremely High Voltage Sparky's Avatar
    Join Date
    Mar 2006
    Location
    Ohio, USA
    Posts
    16,040
    Oh ok. Well both seem to be getting the same amount of CPU time. What it could be also is the one core is getting used for some windows stuff here and there, and maybe a good part of its cache is being used by Windows. Not sure really
    The Cardboard Master
    Crunch with us, the XS WCG team
    Intel Core i7 2600k @ 4.5GHz, 16GB DDR3-1600, Radeon 7950 @ 1000/1250, Win 10 Pro x64

  5. #5
    Registered User
    Join Date
    Apr 2007
    Posts
    41
    I don't know, unfortunately I have nothing to compare it to, so I don't know what's right and what's not.

    I've attached a screenshot, which is three different examples of CPU activity. The first is the second client running only, the second is the first client running only, finally the third is opening the second client, after the first client is already working. Does the activity look correct? This is what I meant before, about it not looking as though each instance is getting it's own core, it looks like the workload is being shared between the cores.

    Besides the Windows services etc. nothing other then FoH is running in these screenshots.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	fahcpu.JPG 
Views:	69 
Size:	76.9 KB 
ID:	58232  

  6. #6
    Xtremely High Voltage Sparky's Avatar
    Join Date
    Mar 2006
    Location
    Ohio, USA
    Posts
    16,040
    What happens if you manually set the affinity of each FAHcore process to their own cores?
    The Cardboard Master
    Crunch with us, the XS WCG team
    Intel Core i7 2600k @ 4.5GHz, 16GB DDR3-1600, Radeon 7950 @ 1000/1250, Win 10 Pro x64

  7. #7
    Registered User
    Join Date
    Apr 2007
    Posts
    41
    If I set the affinity manually, it behaves how you would expect it to behave. With one instance running, the first core is fully utilized, leaving the second idle. With the second running as well, each instance appears to utilize it's own core.

  8. #8
    Xtremely High Voltage Sparky's Avatar
    Join Date
    Mar 2006
    Location
    Ohio, USA
    Posts
    16,040
    OK try this, have the first client run on a specific by itself for a bit, see how long it takes for each %. Then set it to use either core (like default) and see if that time changes noticeably or not. If you want, repeat with the second client. Then set both to their own specific cores and see if the slower client speeds up any.
    The Cardboard Master
    Crunch with us, the XS WCG team
    Intel Core i7 2600k @ 4.5GHz, 16GB DDR3-1600, Radeon 7950 @ 1000/1250, Win 10 Pro x64

  9. #9
    Registered User
    Join Date
    Apr 2007
    Posts
    41
    Okay, will do. I'll post back later with results.

    Thanks for the help

  10. #10
    Registered User
    Join Date
    Apr 2007
    Posts
    41
    Okay, I've done some fairly thorough testing.

    Instance 1 only
    --------------

    Single core: 32 minutes per frame
    (set manually, via affinity)

    Default: 32 minutes per frame

    This really doesn't make sense to me, two cores are only doing the same amount of work that a single core was doing. The performance tab graph suggests that it's doing the equivalent of 1 core @ 90%, but with the work load shared between both cores.

    The logs also show that it was also taking 32 minutes per frame when both instances were running.

    Instance 2 only
    ---------------

    I'm a bit ahead of myself here, but the result looks fairly predictable, three check points have passed (i.e. 45 minutes), and no frames completed yet. If memory serves, it was taking just over an hour a frame with both instances running.

    I have made an observation, which doesn't explain the odd behaviour of the clients, core wise, but might explain why the second client is lagging behind. When the first client starts up, I see; "Extra SSE boost ok.", I don't get this on the second client...

  11. #11
    Xtremely High Voltage Sparky's Avatar
    Join Date
    Mar 2006
    Location
    Ohio, USA
    Posts
    16,040
    Hmmm... no SSE? That would REALLY impact your frame times by quite a lot. Do you have -forceasm in the command line for it?

    Also, the client is only single threaded, so my guess is one data "stream" gets done by the first core, then the next data "stream" is done by the second core, then the next back to the first core, etc. Goes really fast so it just appears on the graph as both cores being used partially.

    The windows SMP client might be a better choice for a dual core CPU though
    Last edited by Sparky; 04-30-2007 at 12:34 PM.
    The Cardboard Master
    Crunch with us, the XS WCG team
    Intel Core i7 2600k @ 4.5GHz, 16GB DDR3-1600, Radeon 7950 @ 1000/1250, Win 10 Pro x64

  12. #12
    Registered User
    Join Date
    Apr 2007
    Posts
    41
    Yes, both start up short cuts have the same commands, so why it's not working on one of them, I have no idea.

    It doesn't matter whether both instances are running, or just the second one, it never gets the SSE boost.

    EDIT:

    >> The windows SMP client might be a better choice for a dual core CPU though

    I did have a look at the SMP client, but something put me off, I forget what. I might have a look at it again, this is a bit of a headache

  13. #13
    Registered User
    Join Date
    Apr 2007
    Posts
    41
    It would seem that my problems have been self inflicted. I checked over the advanced configuration settings of each client, and noticed that the use of advanced assembly optimisation was disabled on the second. I have no idea why, I have no recollection of disabling it, so I can only assume it was human error when I set it up.

    Both clients show the "SSE boost" message now, so I presume that will fix the lagging issue.

    The strange core behaviour seems to have had me barking up the wrong tree.

    Quote Originally Posted by SparkyJJO View Post
    Also, the client is only single threaded, so my guess is one data "stream" gets done by the first core, then the next data "stream" is done by the second core, then the next back to the first core, etc. Goes really fast so it just appears on the graph as both cores being used partially.
    That makes sense, and would explain what I'm seeing happen. I think that was the main problem, it didn't appear to function as I expected, so I assumed that was the issue

    Anyway, thanks for taking the time to help me with this, it was appreciated.

  14. #14
    Xtremely High Voltage Sparky's Avatar
    Join Date
    Mar 2006
    Location
    Ohio, USA
    Posts
    16,040
    You're welcome, glad you have it sorted
    The Cardboard Master
    Crunch with us, the XS WCG team
    Intel Core i7 2600k @ 4.5GHz, 16GB DDR3-1600, Radeon 7950 @ 1000/1250, Win 10 Pro x64

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •