Announcement

Collapse
No announcement yet.

Setting Affinity for Services?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting Affinity for Services?

    Is it possible to set affinity for multiple copies of a service running under Win2k? I have to boxes with dual procs but se limited production because the first proc is always being utilized by network boxes and other services. If I could set the second copy of DF to the second proc it would help greatly.
    Pete

  • #2
    If you're using FireDaemon, you can choose what cpu's a service can run on.

    Comment


    • #3
      Thanks Rattle!
      So that's a No on the Service as installed without using Firedaemon? I can't have any programs installed that will show anywhere but in services or atleast can be renamed as to appear to be something different or unrecognizable. Our network is mutually owned by my Brother and Myself. With all the protection measures we take I have a integrity issue when it comes to my Brother finding out I'm running a DC prog on our server.
      It's not a prob though if he doesn't know though!!
      Saves a big argument about viruses etc...
      (he knows enough to look in task manager- He was the Comp. Science student not me)

      Comment


      • #4
        You can of course manually change the affinity in task manager for other services also...
        Oh, and atleast with seti@home it's no problem with using other services, since the client has an affinity-switch.

        Maybe there's other services also, I don't know. Since I'm not running DF, maybe affinity is one of the more or less hidden switches...

        As for hiding in task manager, I've heard seti-hide? has the option to stop execution if listed program(s) starts... maybe it's usable with DF also...
        But if it was me, I've started digging around if task-manager shows 0% cpu-usage but idle-process is just a couple of minutes...

        Comment


        • #5
          Thanks again.
          I've tried setting affinity as I normaly would through task manager but with the DF client it won't allow me to change it. Has to be something with the client as it also won't allow me to stop it either. And yes I do have admin rights on the server and it does allow me to change any other progs affinity. Strange but I'll have to post on some other DC forums as well to get more info. I'm a computer fanatic but not trained in computer's at all so I know very little as to how progs actualy function and interact with the other components of an OS. I know enough to screw things up really well though

          Pete

          Comment


          • #6
            1. You can't stop services from Task Manager no matter how Administrator you are.

            2. I'm not sure you can change affinity on running services.

            Suggestion #1: Can't you install the service with the /install2 switch to get it running on proc2? (oh gosh I read the fecking reame1st.txt)

            Suggestion #2: If #1 doesn't work how about starting DF with dfGUI 1.8, choose hidden and then change affinity from Task Manager (should be possible when not running as a service).

            Kim

            Edit: Glinleps resror
            Last edited by Sisyfos; 21 September 2002, 12:12.
            P5B Deluxe, C2D E6600, Scythe Ninja, G.Skill 2GBHX
            Raptor 150x3, Plextor PX-760SA, X-Fi Elite, 7900GT, 21" CM813ET Plus, CM Stacker

            Comment


            • #7
              I stop services through Services in Admin Tools.

              Suggestion #1: Can't you install the service with the /install2 switch to get it running on proc2? (oh gosh I read the fecking reame1st.txt)
              I did install it as /install2 (and I also read the fecking reame1st.txt ) but I still show no utilization of proc 2 and I see both copy 1 and 2 running in Task Manager. I believed it to be, as you say, that copy 2 should use proc 2. I'm not sure how windows handles services and dual procs though.

              As for sugg. #2- Too many things running in Task Manager with unfamiliar names gets the other half (My Brother) of our Computer support team too curious and then he starts poking around. I don't think he's to familiar with services and He probably won't look their but Task Manager he will look into.
              It's just much more hidden when DF is run as a service, especially when you change the name of the .exe's.

              I'm actually just curious about the subject since I brought it up. I've run dual proc machines for years but have never heard mention of setting affinity on services or if it could be done. I am going to ask this question on one of my old daily hangouts- 2cpu.com. Haven't been there much since I started building AMD machines.

              Thanks Kim,
              Pete

              Comment


              • #8
                I have DF running on a dual CPU and I started both DFs via dfGUI, chose hidden and then closed dfGUI. This way I can alter affinity.
                But I guess you can't change the name of the .exe this way
                Maybe with a 3rd party utility

                Ah, the joy of not having a nosy brother

                Kim
                P5B Deluxe, C2D E6600, Scythe Ninja, G.Skill 2GBHX
                Raptor 150x3, Plextor PX-760SA, X-Fi Elite, 7900GT, 21" CM813ET Plus, CM Stacker

                Comment


                • #9
                  Ah, the joy of not having a nosy brother
                  And I work with my younger sister and Father as well
                  The joys of running a Family owned business

                  Comment


                  • #10
                    ...been offline some days...

                    You can change the affinity, and probably kill it also, if you don't run the service as LocalSystem but as Administrator. Just go into the services-applet and change it.

                    As for running services, it seems strange you're not utilizing both cpu's automatically.
                    Now, since I'm not running DF, I really don't know the workings... but if you're manually running two instances, is it using both cpu's now? If not, try running df + another project (seti/genome/folding). If it still uses only 1 cpu, also try running two seti-instances with no cpu-switches. If the last doesn't use both cpu's, you've got a problem with the OS.
                    If manually running two df-instances work, how is the service-installing? Is both services running? I had problems with srvany.exe not starting...

                    Comment

                    Working...
                    X