Why some processes cannot change CPU priority?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I'm on older machine and setting priority to Above Normal or High helps to improve performance for certain applications.



Like e.g. for games. I use System Explorer to set priority and set to Permanent so it would always remember it on every boot. But e.g. for this game (Apex Legends) it does not react to any changes and I do not understand what's going on.



enter image description here










share|improve this question


















  • 1





    It's entirely possible the software itself is preventing it. Have you contacted the developer?

    – Ramhound
    Feb 5 at 10:24











  • If CPU time isn’t a concern (significantly less than 100% load), changing priority will not make your program run faster.

    – Daniel B
    Feb 5 at 11:40











  • Make sure you run System Explorer as Administrator (right click => "Run as Administrator"). Then tell us if it helps.

    – X X
    Feb 5 at 12:40




















0















I'm on older machine and setting priority to Above Normal or High helps to improve performance for certain applications.



Like e.g. for games. I use System Explorer to set priority and set to Permanent so it would always remember it on every boot. But e.g. for this game (Apex Legends) it does not react to any changes and I do not understand what's going on.



enter image description here










share|improve this question


















  • 1





    It's entirely possible the software itself is preventing it. Have you contacted the developer?

    – Ramhound
    Feb 5 at 10:24











  • If CPU time isn’t a concern (significantly less than 100% load), changing priority will not make your program run faster.

    – Daniel B
    Feb 5 at 11:40











  • Make sure you run System Explorer as Administrator (right click => "Run as Administrator"). Then tell us if it helps.

    – X X
    Feb 5 at 12:40
















0












0








0








I'm on older machine and setting priority to Above Normal or High helps to improve performance for certain applications.



Like e.g. for games. I use System Explorer to set priority and set to Permanent so it would always remember it on every boot. But e.g. for this game (Apex Legends) it does not react to any changes and I do not understand what's going on.



enter image description here










share|improve this question














I'm on older machine and setting priority to Above Normal or High helps to improve performance for certain applications.



Like e.g. for games. I use System Explorer to set priority and set to Permanent so it would always remember it on every boot. But e.g. for this game (Apex Legends) it does not react to any changes and I do not understand what's going on.



enter image description here







windows-10 cpu task-manager priority






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 5 at 10:15









user3108268user3108268

2971622




2971622








  • 1





    It's entirely possible the software itself is preventing it. Have you contacted the developer?

    – Ramhound
    Feb 5 at 10:24











  • If CPU time isn’t a concern (significantly less than 100% load), changing priority will not make your program run faster.

    – Daniel B
    Feb 5 at 11:40











  • Make sure you run System Explorer as Administrator (right click => "Run as Administrator"). Then tell us if it helps.

    – X X
    Feb 5 at 12:40
















  • 1





    It's entirely possible the software itself is preventing it. Have you contacted the developer?

    – Ramhound
    Feb 5 at 10:24











  • If CPU time isn’t a concern (significantly less than 100% load), changing priority will not make your program run faster.

    – Daniel B
    Feb 5 at 11:40











  • Make sure you run System Explorer as Administrator (right click => "Run as Administrator"). Then tell us if it helps.

    – X X
    Feb 5 at 12:40










1




1





It's entirely possible the software itself is preventing it. Have you contacted the developer?

– Ramhound
Feb 5 at 10:24





It's entirely possible the software itself is preventing it. Have you contacted the developer?

– Ramhound
Feb 5 at 10:24













If CPU time isn’t a concern (significantly less than 100% load), changing priority will not make your program run faster.

– Daniel B
Feb 5 at 11:40





If CPU time isn’t a concern (significantly less than 100% load), changing priority will not make your program run faster.

– Daniel B
Feb 5 at 11:40













Make sure you run System Explorer as Administrator (right click => "Run as Administrator"). Then tell us if it helps.

– X X
Feb 5 at 12:40







Make sure you run System Explorer as Administrator (right click => "Run as Administrator"). Then tell us if it helps.

– X X
Feb 5 at 12:40












1 Answer
1






active

oldest

votes


















1














It is entirely possible that the process is setting and resetting it's own priorities faster than you can see.



Processes can call SetPriorityClass to set their own priority. There is one note in that page that mentions preventing your task from hampering system responsiveness:




The *_PRIORITY_CLASS values affect the CPU scheduling priority of the process. For processes that perform background work such as file I/O, network I/O, or data processing, it is not sufficient to adjust the CPU scheduling priority; even an idle CPU priority process can easily interfere with system responsiveness when it uses the disk and memory. Processes that perform background work should use the PROCESS_MODE_BACKGROUND_BEGIN and PROCESS_MODE_BACKGROUND_END values to adjust their resource scheduling priorities; processes that interact with the user should not use PROCESS_MODE_BACKGROUND_BEGIN.




It is possible that they are following this advice and wrapping their processing tasks in a background priority and when each task completes they reset the priority back to "normal".



If you were going to do that then typically you would store the current value to restore it after, but they might have just assumed that very few users would change the process priority and setting the priority to normal afterwards was fine.



Only the developers can say for certain.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1402197%2fwhy-some-processes-cannot-change-cpu-priority%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    It is entirely possible that the process is setting and resetting it's own priorities faster than you can see.



    Processes can call SetPriorityClass to set their own priority. There is one note in that page that mentions preventing your task from hampering system responsiveness:




    The *_PRIORITY_CLASS values affect the CPU scheduling priority of the process. For processes that perform background work such as file I/O, network I/O, or data processing, it is not sufficient to adjust the CPU scheduling priority; even an idle CPU priority process can easily interfere with system responsiveness when it uses the disk and memory. Processes that perform background work should use the PROCESS_MODE_BACKGROUND_BEGIN and PROCESS_MODE_BACKGROUND_END values to adjust their resource scheduling priorities; processes that interact with the user should not use PROCESS_MODE_BACKGROUND_BEGIN.




    It is possible that they are following this advice and wrapping their processing tasks in a background priority and when each task completes they reset the priority back to "normal".



    If you were going to do that then typically you would store the current value to restore it after, but they might have just assumed that very few users would change the process priority and setting the priority to normal afterwards was fine.



    Only the developers can say for certain.






    share|improve this answer




























      1














      It is entirely possible that the process is setting and resetting it's own priorities faster than you can see.



      Processes can call SetPriorityClass to set their own priority. There is one note in that page that mentions preventing your task from hampering system responsiveness:




      The *_PRIORITY_CLASS values affect the CPU scheduling priority of the process. For processes that perform background work such as file I/O, network I/O, or data processing, it is not sufficient to adjust the CPU scheduling priority; even an idle CPU priority process can easily interfere with system responsiveness when it uses the disk and memory. Processes that perform background work should use the PROCESS_MODE_BACKGROUND_BEGIN and PROCESS_MODE_BACKGROUND_END values to adjust their resource scheduling priorities; processes that interact with the user should not use PROCESS_MODE_BACKGROUND_BEGIN.




      It is possible that they are following this advice and wrapping their processing tasks in a background priority and when each task completes they reset the priority back to "normal".



      If you were going to do that then typically you would store the current value to restore it after, but they might have just assumed that very few users would change the process priority and setting the priority to normal afterwards was fine.



      Only the developers can say for certain.






      share|improve this answer


























        1












        1








        1







        It is entirely possible that the process is setting and resetting it's own priorities faster than you can see.



        Processes can call SetPriorityClass to set their own priority. There is one note in that page that mentions preventing your task from hampering system responsiveness:




        The *_PRIORITY_CLASS values affect the CPU scheduling priority of the process. For processes that perform background work such as file I/O, network I/O, or data processing, it is not sufficient to adjust the CPU scheduling priority; even an idle CPU priority process can easily interfere with system responsiveness when it uses the disk and memory. Processes that perform background work should use the PROCESS_MODE_BACKGROUND_BEGIN and PROCESS_MODE_BACKGROUND_END values to adjust their resource scheduling priorities; processes that interact with the user should not use PROCESS_MODE_BACKGROUND_BEGIN.




        It is possible that they are following this advice and wrapping their processing tasks in a background priority and when each task completes they reset the priority back to "normal".



        If you were going to do that then typically you would store the current value to restore it after, but they might have just assumed that very few users would change the process priority and setting the priority to normal afterwards was fine.



        Only the developers can say for certain.






        share|improve this answer













        It is entirely possible that the process is setting and resetting it's own priorities faster than you can see.



        Processes can call SetPriorityClass to set their own priority. There is one note in that page that mentions preventing your task from hampering system responsiveness:




        The *_PRIORITY_CLASS values affect the CPU scheduling priority of the process. For processes that perform background work such as file I/O, network I/O, or data processing, it is not sufficient to adjust the CPU scheduling priority; even an idle CPU priority process can easily interfere with system responsiveness when it uses the disk and memory. Processes that perform background work should use the PROCESS_MODE_BACKGROUND_BEGIN and PROCESS_MODE_BACKGROUND_END values to adjust their resource scheduling priorities; processes that interact with the user should not use PROCESS_MODE_BACKGROUND_BEGIN.




        It is possible that they are following this advice and wrapping their processing tasks in a background priority and when each task completes they reset the priority back to "normal".



        If you were going to do that then typically you would store the current value to restore it after, but they might have just assumed that very few users would change the process priority and setting the priority to normal afterwards was fine.



        Only the developers can say for certain.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 5 at 11:15









        MokubaiMokubai

        58.1k16139157




        58.1k16139157






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1402197%2fwhy-some-processes-cannot-change-cpu-priority%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Список кардиналов, возведённых папой римским Каликстом III

            Deduzione

            Mysql.sock missing - “Can't connect to local MySQL server through socket”