Limiting number of cores


Advanced search

Message boards : Cruncher's Corner : Limiting number of cores

AuthorMessage
Roberto Sartori [VENETO]
Send message
Joined: Apr 26 09
Posts: 14
Credit: 1,248,359
RAC: 0
Message 115375 - Posted 17 Dec 2011 12:06:38 UTC

    Hello to everyone.
    There is the possibility of limiting the use of the cores of the CPU, for example, use 3 cores in a quad-core for einstein@home? Without using the resource share that does not work..
    thanks :)

    Profile Gundolf Jahn
    Send message
    Joined: Mar 1 05
    Posts: 1055
    Credit: 310,792
    RAC: 36
    Message 115376 - Posted 17 Dec 2011 12:43:19 UTC - in response to Message 115375.

      To use 3 cores in a quad-core set

      On multiprocessors, use at most 75% of the processors
      Enforced by version 6.1+
      in your Computing preferences.

      Gruß,
      Gundolf
      ____________
      Computer sind nicht alles im Leben. (Kleiner Scherz)

      Roberto Sartori [VENETO]
      Send message
      Joined: Apr 26 09
      Posts: 14
      Credit: 1,248,359
      RAC: 0
      Message 115378 - Posted 17 Dec 2011 12:53:41 UTC - in response to Message 115376.

        Last modified: 17 Dec 2011 12:54:38 UTC

        To use 3 cores in a quad-core set
        On multiprocessors, use at most 75% of the processors
        Enforced by version 6.1+
        in your Computing preferences.

        Gruß,
        Gundolf

        thanks... and if i want to use 3 cores with einstein and one core with another project? :)

        Claggy
        Send message
        Joined: Dec 29 06
        Posts: 273
        Credit: 727,432
        RAC: 75
        Message 115379 - Posted 17 Dec 2011 13:35:31 UTC - in response to Message 115378.

          To use 3 cores in a quad-core set
          On multiprocessors, use at most 75% of the processors
          Enforced by version 6.1+
          in your Computing preferences.

          Gruß,
          Gundolf

          thanks... and if i want to use 3 cores with einstein and one core with another project? :)

          Then set your resource share to 75% to Einstein and 25% to the other project ;-)

          Claggy

          Roberto Sartori [VENETO]
          Send message
          Joined: Apr 26 09
          Posts: 14
          Credit: 1,248,359
          RAC: 0
          Message 115380 - Posted 17 Dec 2011 13:44:03 UTC - in response to Message 115379.

            To use 3 cores in a quad-core set
            On multiprocessors, use at most 75% of the processors
            Enforced by version 6.1+
            in your Computing preferences.

            Gruß,
            Gundolf

            thanks... and if i want to use 3 cores with einstein and one core with another project? :)

            Then set your resource share to 75% to Einstein and 25% to the other project ;-)

            Claggy

            i've try, but it doesn't work...boinc always downloads tasks for eistein...and elaborate only einstein wus...:(

            Claggy
            Send message
            Joined: Dec 29 06
            Posts: 273
            Credit: 727,432
            RAC: 75
            Message 115381 - Posted 17 Dec 2011 14:00:58 UTC - in response to Message 115380.

              To use 3 cores in a quad-core set
              On multiprocessors, use at most 75% of the processors
              Enforced by version 6.1+
              in your Computing preferences.

              Gruß,
              Gundolf

              thanks... and if i want to use 3 cores with einstein and one core with another project? :)

              Then set your resource share to 75% to Einstein and 25% to the other project ;-)

              Claggy

              i've try, but it doesn't work...boinc always downloads tasks for eistein...and elaborate only einstein wus...:(

              Boinc is probably paying Debt back to Einstein, in time it should equalise, then it should work,

              Claggy

              Roberto Sartori [VENETO]
              Send message
              Joined: Apr 26 09
              Posts: 14
              Credit: 1,248,359
              RAC: 0
              Message 115382 - Posted 17 Dec 2011 14:07:48 UTC - in response to Message 115381.

                To use 3 cores in a quad-core set
                On multiprocessors, use at most 75% of the processors
                Enforced by version 6.1+
                in your Computing preferences.

                Gruß,
                Gundolf

                thanks... and if i want to use 3 cores with einstein and one core with another project? :)

                Then set your resource share to 75% to Einstein and 25% to the other project ;-)

                Claggy

                i've try, but it doesn't work...boinc always downloads tasks for eistein...and elaborate only einstein wus...:(

                Boinc is probably paying Debt back to Einstein, in time it should equalise, then it should work,

                Claggy

                i don't think so, because i'm using einstein with 500.000 credits and 3000 rac, and the other project has 3000 credit and 30 rac...

                Profile Gary Roberts
                Forum moderator
                Send message
                Joined: Feb 9 05
                Posts: 2733
                Credit: 461,946,468
                RAC: 767,531
                Message 115383 - Posted 18 Dec 2011 0:18:44 UTC - in response to Message 115382.

                  i don't think so, because i'm using einstein with 500.000 credits and 3000 rac, and the other project has 3000 credit and 30 rac...

                  But can the other project actually supply work? If the other project has no tasks available to send, BOINC will run only E@H tasks on all the cores. A debt will build up to the other project and when the other project does have tasks, BOINC will favour it until the debt is repaid.

                  What is the other project and are you sure it has tasks available?

                  ____________
                  Cheers,
                  Gary.

                  archae86
                  Send message
                  Joined: Dec 6 05
                  Posts: 880
                  Credit: 55,712,197
                  RAC: 75,927
                  Message 115385 - Posted 18 Dec 2011 5:11:05 UTC - in response to Message 115379.

                    Then set your resource share to 75% to Einstein and 25% to the other project ;-)

                    Claggy

                    Claggy, I've seen you be a reliable source time after time, but I think this is an error.

                    Resource share appears as part of "computing preferences" which in the Einstein page set says right at the top of the page "These apply to all BOINC projects in which you participate."

                    On the SETI version of this page, an additional line adds the observation "On computers participating in multiple projects, the most recently modified preferences will be used."

                    Now, on the other hand, if you are using app_info to run simultaneous tasks on a GPU, nothing tops you from running 3-fold Einstein and 1-fold SETI, but that is another matter not involving the computing preference mechanism.

                    ____________

                    ExtraTerrestrial Apes
                    Avatar
                    Send message
                    Joined: Nov 10 04
                    Posts: 187
                    Credit: 16,154,373
                    RAC: 25,957
                    Message 115386 - Posted 18 Dec 2011 9:16:21 UTC - in response to Message 115385.

                      Nah, he should be right about this. Ressource share is set for each project individually (and in each profile, to be precise). And it tells BOINC just what one would expect, in this case "dedicate 75% of my computing time to Einstein and 25% to the other one. If you can."

                      Note that this doesn't mean you're getting a 3:1 RAC ratio, as this depends on the projects themselves.

                      MrS
                      ____________
                      Scanning for our furry friends since Jan 2002

                      Roberto Sartori [VENETO]
                      Send message
                      Joined: Apr 26 09
                      Posts: 14
                      Credit: 1,248,359
                      RAC: 0
                      Message 115388 - Posted 18 Dec 2011 10:18:54 UTC

                        the project is test4theory of CERN, that has a very long deadline, so i have to find a way to elaborate wu from t4t and wu from einstein at the same time...:)

                        Claggy
                        Send message
                        Joined: Dec 29 06
                        Posts: 273
                        Credit: 727,432
                        RAC: 75
                        Message 115390 - Posted 18 Dec 2011 13:47:16 UTC - in response to Message 115385.

                          Then set your resource share to 75% to Einstein and 25% to the other project ;-)

                          Claggy

                          Claggy, I've seen you be a reliable source time after time, but I think this is an error.

                          Resource share appears as part of "computing preferences" which in the Einstein page set says right at the top of the page "These apply to all BOINC projects in which you participate."

                          On the SETI version of this page, an additional line adds the observation "On computers participating in multiple projects, the most recently modified preferences will be used."

                          Now, on the other hand, if you are using app_info to run simultaneous tasks on a GPU, nothing tops you from running 3-fold Einstein and 1-fold SETI, but that is another matter not involving the computing preference mechanism.

                          As ExtraTerrestrial Apes has already pointed out, resource share is part of the Project Preferences, Not Computing Preferences,
                          changing selections on the Setiathome Project Preferences will have no direct effect on the Einstein Project Preferences,
                          (deselecting Use CPU or Use Nvidia GPU at Setiathome or only having Astropulse v505 selected will have an indirect effect of getting more Einstein work)

                          Claggy

                          archae86
                          Send message
                          Joined: Dec 6 05
                          Posts: 880
                          Credit: 55,712,197
                          RAC: 75,927
                          Message 115391 - Posted 18 Dec 2011 14:25:27 UTC - in response to Message 115390.


                            As ExtraTerrestrial Apes has already pointed out, resource share is part of the Project Preferences, Not Computing Preferences,
                            changing selections on the Setiathome Project Preferences will have no direct effect on the Einstein Project Preferences,
                            (deselecting Use CPU or Use Nvidia GPU at Setiathome or only having Astropulse v505 selected will have an indirect effect of getting more Einstein work)

                            Claggy

                            I can't explain how I managed to misread the question at hand, to fail to consider the fact that those commenting are on my "usually reliable" list, and to keep my typing fingers still until I got over my brain fade.

                            As must be obvious, I transmuted the question posed in this specific thread offshoot to the different one posed in the original thread title.

                            Oops.

                            ____________

                            Claggy
                            Send message
                            Joined: Dec 29 06
                            Posts: 273
                            Credit: 727,432
                            RAC: 75
                            Message 115392 - Posted 18 Dec 2011 14:59:23 UTC - in response to Message 115388.

                              the project is test4theory of CERN, that has a very long deadline, so i have to find a way to elaborate wu from t4t and wu from einstein at the same time...:)

                              First of all i'd upgrade Boinc to 6.12.34 or later as Upgrade BOINC client to version >= 6.12.34 asked,

                              The latest development build is 6.12.43, a lot of the fixes have been just for that project:

                              http://boinc.berkeley.edu/dl/boinc_6.12.43_windows_intelx86.exe
                              http://boinc.berkeley.edu/dl/boinc_6.12.43_windows_x86_64.exe

                              Claggy

                              Roberto Sartori [VENETO]
                              Send message
                              Joined: Apr 26 09
                              Posts: 14
                              Credit: 1,248,359
                              RAC: 0
                              Message 115393 - Posted 18 Dec 2011 15:33:47 UTC - in response to Message 115392.

                                Last modified: 18 Dec 2011 15:34:07 UTC

                                the project is test4theory of CERN, that has a very long deadline, so i have to find a way to elaborate wu from t4t and wu from einstein at the same time...:)

                                First of all i'd upgrade Boinc to 6.12.34 or later as Upgrade BOINC client to version >= 6.12.34 asked,

                                The latest development build is 6.12.43, a lot of the fixes have been just for that project:

                                http://boinc.berkeley.edu/dl/boinc_6.12.43_windows_intelx86.exe
                                http://boinc.berkeley.edu/dl/boinc_6.12.43_windows_x86_64.exe

                                Claggy

                                i've try a few days ago, but the situation doesn't change (and in this version there isn't the message page...it's hide...)

                                Claggy
                                Send message
                                Joined: Dec 29 06
                                Posts: 273
                                Credit: 727,432
                                RAC: 75
                                Message 115394 - Posted 18 Dec 2011 15:45:13 UTC - in response to Message 115393.

                                  the project is test4theory of CERN, that has a very long deadline, so i have to find a way to elaborate wu from t4t and wu from einstein at the same time...:)

                                  First of all i'd upgrade Boinc to 6.12.34 or later as Upgrade BOINC client to version >= 6.12.34 asked,

                                  The latest development build is 6.12.43, a lot of the fixes have been just for that project:

                                  http://boinc.berkeley.edu/dl/boinc_6.12.43_windows_intelx86.exe
                                  http://boinc.berkeley.edu/dl/boinc_6.12.43_windows_x86_64.exe

                                  Claggy

                                  i've try a few days ago, but the situation doesn't change (and in this version there isn't the message page...it's hide...)


                                  If you want to keep the old style Boinc Manager, copy boincmgr.exe and boinc.dll to a safe location, and once Boinc 6.12.x is installed, copy them back, eithier over-writing the 6.12.x Boinc Manager, or giving it a slightly different name,
                                  (i've actully got both 6.10.58 & 6.12.43 Boinc Managers on my Laptop, and just fire up whichever Manager i want to use)

                                  Claggy

                                  Roberto Sartori [VENETO]
                                  Send message
                                  Joined: Apr 26 09
                                  Posts: 14
                                  Credit: 1,248,359
                                  RAC: 0
                                  Message 115395 - Posted 18 Dec 2011 16:01:15 UTC - in response to Message 115394.

                                    the project is test4theory of CERN, that has a very long deadline, so i have to find a way to elaborate wu from t4t and wu from einstein at the same time...:)

                                    First of all i'd upgrade Boinc to 6.12.34 or later as Upgrade BOINC client to version >= 6.12.34 asked,

                                    The latest development build is 6.12.43, a lot of the fixes have been just for that project:

                                    http://boinc.berkeley.edu/dl/boinc_6.12.43_windows_intelx86.exe
                                    http://boinc.berkeley.edu/dl/boinc_6.12.43_windows_x86_64.exe

                                    Claggy

                                    i've try a few days ago, but the situation doesn't change (and in this version there isn't the message page...it's hide...)


                                    If you want to keep the old style Boinc Manager, copy boincmgr.exe and boinc.dll to a safe location, and once Boinc 6.12.x is installed, copy them back, eithier over-writing the 6.12.x Boinc Manager, or giving it a slightly different name,
                                    (i've actully got both 6.10.58 & 6.12.43 Boinc Managers on my Laptop, and just fire up whichever Manager i want to use)

                                    Claggy

                                    ok thanks, i'm going to try ;)

                                    Claggy
                                    Send message
                                    Joined: Dec 29 06
                                    Posts: 273
                                    Credit: 727,432
                                    RAC: 75
                                    Message 115396 - Posted 18 Dec 2011 16:18:32 UTC - in response to Message 115388.

                                      the project is test4theory of CERN, that has a very long deadline, so i have to find a way to elaborate wu from t4t and wu from einstein at the same time...:)

                                      So what is the Debt to Einstein? If you make a cc_config.xml file with Notepad with the following in it:

                                      <cc_config>
                                      <log_flags>
                                      <debt_debug>1</debt_debug>
                                      </log_flags>
                                      </cc_config>


                                      Then drop the file in your Boinc Data directory, (It'll be hidden, the location is in your Boinc Startup messages), now do a Read config file, you should get lines saying:

                                      18/12/2011 15:50:37 Re-reading cc_config.xml
                                      18/12/2011 15:50:37 Re-read config file
                                      18/12/2011 15:50:37 log flags: file_xfer, sched_ops, task, debt_debug,

                                      Now just copy and paste one cycle of the debt messages, one you're done that, edit your cc_config.xml and change the 1 to a 0, then do a Reread config file. (that'll turn the debt messages off again)

                                      Claggy

                                      Roberto Sartori [VENETO]
                                      Send message
                                      Joined: Apr 26 09
                                      Posts: 14
                                      Credit: 1,248,359
                                      RAC: 0
                                      Message 115397 - Posted 18 Dec 2011 16:49:09 UTC - in response to Message 115396.

                                        the project is test4theory of CERN, that has a very long deadline, so i have to find a way to elaborate wu from t4t and wu from einstein at the same time...:)

                                        So what is the Debt to Einstein? If you make a cc_config.xml file with Notepad with the following in it:

                                        <cc_config>
                                        <log_flags>
                                        <debt_debug>1</debt_debug>
                                        </log_flags>
                                        </cc_config>


                                        Then drop the file in your Boinc Data directory, (It'll be hidden, the location is in your Boinc Startup messages), now do a Read config file, you should get lines saying:

                                        18/12/2011 15:50:37 Re-reading cc_config.xml
                                        18/12/2011 15:50:37 Re-read config file
                                        18/12/2011 15:50:37 log flags: file_xfer, sched_ops, task, debt_debug,

                                        Now just copy and paste one cycle of the debt messages, one you're done that, edit your cc_config.xml and change the 1 to a 0, then do a Reread config file. (that'll turn the debt messages off again)

                                        Claggy

                                        now it seems to work changing boinc version, but i will confirm tomorrow :)
                                        thanks to everyone :)

                                        Roberto Sartori [VENETO]
                                        Send message
                                        Joined: Apr 26 09
                                        Posts: 14
                                        Credit: 1,248,359
                                        RAC: 0
                                        Message 115402 - Posted 19 Dec 2011 18:34:35 UTC - in response to Message 115396.

                                          the project is test4theory of CERN, that has a very long deadline, so i have to find a way to elaborate wu from t4t and wu from einstein at the same time...:)

                                          So what is the Debt to Einstein? If you make a cc_config.xml file with Notepad with the following in it:

                                          <cc_config>
                                          <log_flags>
                                          <debt_debug>1</debt_debug>
                                          </log_flags>
                                          </cc_config>


                                          Then drop the file in your Boinc Data directory, (It'll be hidden, the location is in your Boinc Startup messages), now do a Read config file, you should get lines saying:

                                          18/12/2011 15:50:37 Re-reading cc_config.xml
                                          18/12/2011 15:50:37 Re-read config file
                                          18/12/2011 15:50:37 log flags: file_xfer, sched_ops, task, debt_debug,

                                          Now just copy and paste one cycle of the debt messages, one you're done that, edit your cc_config.xml and change the 1 to a 0, then do a Reread config file. (that'll turn the debt messages off again)

                                          Claggy

                                          now boinc is working only on eintein...so, this is the report
                                          19/12/2011 19:31:42 Re-reading cc_config.xml
                                          19/12/2011 19:31:42 log flags: file_xfer, sched_ops, task, debt_debug
                                          19/12/2011 19:31:43 Einstein@Home [debt] CPU ineligible; LTD -767388.48
                                          19/12/2011 19:31:43 Test4Theory@Home [debt] CPU LTD 31.86 delta 31.86 (0.99*172.20 - 43.05)/4
                                          19/12/2011 19:31:43 Cosmology@Home [debt] CPU LTD -85447.17 delta -10.34 (0.01*172.20 - 43.05)/4
                                          19/12/2011 19:31:43 [debt] CPU LTD: adding offset -31.860878
                                          19/12/2011 19:31:43 [debt] NVIDIA GPU: no eligible projects

                                          but cosmology is a few days that i've stopped running...

                                          Roberto Sartori [VENETO]
                                          Send message
                                          Joined: Apr 26 09
                                          Posts: 14
                                          Credit: 1,248,359
                                          RAC: 0
                                          Message 115443 - Posted 24 Dec 2011 13:15:15 UTC

                                            any ideas? an app_info or cc_config? :)

                                            Horacio
                                            Send message
                                            Joined: Oct 3 11
                                            Posts: 205
                                            Credit: 44,259,055
                                            RAC: 81,583
                                            Message 115574 - Posted 9 Jan 2012 17:16:46 UTC

                                              AFAIK, no matter what settings you choose, BOINC will be allways using the cores in a dynamic way and it will be hard to achieve an exact 3:1 (or whatever ratio)

                                              If you really want to have always one core crunching for a specific project, then the only way is to have 2 instances of BOINC running in the same computer and setting one of those instances to use only 1 core and attached only to the intended project, while the other instance will be running the other cores and the other projects...
                                              I know that its possible to install 2 BOINC clients, but there is some trick as you need to move/copy the folders manually or else the installer will "upgrade" the previous installation and you will need to change the cc_configs to exclude certain GPU/CPUs so they dont clash... Ive never tried so I cant be more specific, but Im sure somebody else can guide you to get the 2nd instance installed if you want to try...

                                              However, in your case there is a second option, as you have Win7 you can get the virtual PC from MS and use the WinXPmode virtual machine (its free for download for win7 pro and above versions and includes the license to use the XP) and then you will be able to install the second BOINC instance in the virtual XP. As the MS virtual machine only uses one core it will be what you wanted, just keep in mind that under the Virtual XP guest you wont get any usable GPU (off course they will be still available in the "real" Win7 host) also you should install another antivirus for the virtual machine...

                                              Im not sure if all this hassle is worth just to assure a 3:1 ratio, but...

                                              Roberto Sartori [VENETO]
                                              Send message
                                              Joined: Apr 26 09
                                              Posts: 14
                                              Credit: 1,248,359
                                              RAC: 0
                                              Message 115575 - Posted 9 Jan 2012 20:01:00 UTC - in response to Message 115574.

                                                AFAIK, no matter what settings you choose, BOINC will be allways using the cores in a dynamic way and it will be hard to achieve an exact 3:1 (or whatever ratio)

                                                If you really want to have always one core crunching for a specific project, then the only way is to have 2 instances of BOINC running in the same computer and setting one of those instances to use only 1 core and attached only to the intended project, while the other instance will be running the other cores and the other projects...
                                                I know that its possible to install 2 BOINC clients, but there is some trick as you need to move/copy the folders manually or else the installer will "upgrade" the previous installation and you will need to change the cc_configs to exclude certain GPU/CPUs so they dont clash... Ive never tried so I cant be more specific, but Im sure somebody else can guide you to get the 2nd instance installed if you want to try...

                                                However, in your case there is a second option, as you have Win7 you can get the virtual PC from MS and use the WinXPmode virtual machine (its free for download for win7 pro and above versions and includes the license to use the XP) and then you will be able to install the second BOINC instance in the virtual XP. As the MS virtual machine only uses one core it will be what you wanted, just keep in mind that under the Virtual XP guest you wont get any usable GPU (off course they will be still available in the "real" Win7 host) also you should install another antivirus for the virtual machine...

                                                Im not sure if all this hassle is worth just to assure a 3:1 ratio, but...

                                                i know this things, but i asked if there is a way...if it isn't no problem :)

                                                Profile Rechenkuenstler
                                                Avatar
                                                Send message
                                                Joined: Aug 22 10
                                                Posts: 99
                                                Credit: 40,284,258
                                                RAC: 40,165
                                                Message 115580 - Posted 10 Jan 2012 10:13:16 UTC - in response to Message 115375.

                                                  Hello to everyone.
                                                  There is the possibility of limiting the use of the cores of the CPU, for example, use 3 cores in a quad-core for einstein@home? Without using the resource share that does not work..
                                                  thanks :)


                                                  You can set the same preference individually for each machine in the local preferences. So the setting appears only at that particular machine. And it works. I use it for myself.

                                                  ____________

                                                  Roberto Sartori [VENETO]
                                                  Send message
                                                  Joined: Apr 26 09
                                                  Posts: 14
                                                  Credit: 1,248,359
                                                  RAC: 0
                                                  Message 115631 - Posted 15 Jan 2012 10:26:35 UTC - in response to Message 115580.

                                                    Hello to everyone.
                                                    There is the possibility of limiting the use of the cores of the CPU, for example, use 3 cores in a quad-core for einstein@home? Without using the resource share that does not work..
                                                    thanks :)


                                                    You can set the same preference individually for each machine in the local preferences. So the setting appears only at that particular machine. And it works. I use it for myself.

                                                    yes but i can't set the use of the cpu for a project...

                                                    Lovermann
                                                    Send message
                                                    Joined: Feb 19 12
                                                    Posts: 1
                                                    Credit: 64,845
                                                    RAC: 0
                                                    Message 116059 - Posted 22 Feb 2012 0:20:50 UTC

                                                      Thanks for useful information. I plan to use multithreading CPU.

                                                      Post to thread

                                                      Message boards : Cruncher's Corner : Limiting number of cores


                                                      Home · Your account · Message boards

                                                      This material is based upon work supported by the National Science Foundation (NSF) under Grants PHY-1104902, PHY-1104617 and PHY-1105572 and by the Max Planck Gesellschaft (MPG). Any opinions, findings, and conclusions or recommendations expressed in this material are those of the investigators and do not necessarily reflect the views of the NSF or the MPG.

                                                      Copyright © 2013 Bruce Allen