If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Setting process priority so it runs when screen is locked
Hello Experts,
I run some CPU intensive processes (video encoding using X264) in a command shell. Since I don't want it to affect my normal foreground applications, I set it to IDLE/BELOW_NORMAL priority using Process Explorer. However, when I lock my screen (manually or automatically after some idle time), the encoding virtually stops. When I unlock my screen, I can see from recent history that CPU was idle instead of being utilized to run the encoding process. What can I do to ensure that my background encoding process continues to run even when I am away from the computer (the screen is locked), but at the same time not affect any foreground applications if I happen to be using the computer? Thanks P Adhia |
Ads |
#2
|
|||
|
|||
Setting process priority so it runs when screen is locked
It is not a good idea to reduce the priority to below normal or idle. It
would tell the CPU to execute the application with this priority only when there is no other process running at a higher priortiy than idle or below normal, hence your application will never get a chance to execute since there will be atleast one process running at a priority higher than below normal. Check http://technet.microsoft.com/en-us/l.../cc958314.aspx http://technet.microsoft.com/en-us/l.../cc938611.aspx http://blogs.technet.com/markrussino...4/3126858.aspx -- Regards Gurpreet Singh "P Adhia" wrote: Hello Experts, I run some CPU intensive processes (video encoding using X264) in a command shell. Since I don't want it to affect my normal foreground applications, I set it to IDLE/BELOW_NORMAL priority using Process Explorer. However, when I lock my screen (manually or automatically after some idle time), the encoding virtually stops. When I unlock my screen, I can see from recent history that CPU was idle instead of being utilized to run the encoding process. What can I do to ensure that my background encoding process continues to run even when I am away from the computer (the screen is locked), but at the same time not affect any foreground applications if I happen to be using the computer? Thanks P Adhia |
#3
|
|||
|
|||
Setting process priority so it runs when screen is locked
It is not a good idea to reduce the priority to below normal or idle. It
would tell the CPU to execute the application with this priority only when there is no other process running at a higher priortiy than idle or below normal, hence your application will never get a chance to execute since there will be atleast one process running at a priority higher than below normal. Check http://technet.microsoft.com/en-us/l.../cc958314.aspx http://technet.microsoft.com/en-us/l.../cc938611.aspx http://blogs.technet.com/markrussino...4/3126858.aspx -- Regards Gurpreet Singh "P Adhia" wrote: Hello Experts, I run some CPU intensive processes (video encoding using X264) in a command shell. Since I don't want it to affect my normal foreground applications, I set it to IDLE/BELOW_NORMAL priority using Process Explorer. However, when I lock my screen (manually or automatically after some idle time), the encoding virtually stops. When I unlock my screen, I can see from recent history that CPU was idle instead of being utilized to run the encoding process. What can I do to ensure that my background encoding process continues to run even when I am away from the computer (the screen is locked), but at the same time not affect any foreground applications if I happen to be using the computer? Thanks P Adhia |
#4
|
|||
|
|||
Setting process priority so it runs when screen is locked
Get a more powerful CPU and more RAM (8 gig). Use Vista 64 bit operating
system. -- Richard Urban Microsoft MVP Windows Desktop Experience "P Adhia" wrote in message ... Hello Experts, I run some CPU intensive processes (video encoding using X264) in a command shell. Since I don't want it to affect my normal foreground applications, I set it to IDLE/BELOW_NORMAL priority using Process Explorer. However, when I lock my screen (manually or automatically after some idle time), the encoding virtually stops. When I unlock my screen, I can see from recent history that CPU was idle instead of being utilized to run the encoding process. What can I do to ensure that my background encoding process continues to run even when I am away from the computer (the screen is locked), but at the same time not affect any foreground applications if I happen to be using the computer? Thanks P Adhia |
#5
|
|||
|
|||
Setting process priority so it runs when screen is locked
Get a more powerful CPU and more RAM (8 gig). Use Vista 64 bit operating
system. -- Richard Urban Microsoft MVP Windows Desktop Experience "P Adhia" wrote in message ... Hello Experts, I run some CPU intensive processes (video encoding using X264) in a command shell. Since I don't want it to affect my normal foreground applications, I set it to IDLE/BELOW_NORMAL priority using Process Explorer. However, when I lock my screen (manually or automatically after some idle time), the encoding virtually stops. When I unlock my screen, I can see from recent history that CPU was idle instead of being utilized to run the encoding process. What can I do to ensure that my background encoding process continues to run even when I am away from the computer (the screen is locked), but at the same time not affect any foreground applications if I happen to be using the computer? Thanks P Adhia |
#6
|
|||
|
|||
Setting process priority so it runs when screen is locked
On Apr 14, 4:32 am, "Richard Urban"
wrote: Get a more powerful CPU and more RAM (8 gig). Use Vista 64 bit operating system. Probably I wasn't clear in my previous email. I have adequate CPU and memory. It's just that the encoding comes to crawl WHEN I "Lock Computer". It seems Windows gives minimum CPU time when screen is either locked or screen-saver is active, even though no other high priority processes are running. Thanks |
#7
|
|||
|
|||
Setting process priority so it runs when screen is locked
On Apr 14, 4:32 am, "Richard Urban"
wrote: Get a more powerful CPU and more RAM (8 gig). Use Vista 64 bit operating system. Probably I wasn't clear in my previous email. I have adequate CPU and memory. It's just that the encoding comes to crawl WHEN I "Lock Computer". It seems Windows gives minimum CPU time when screen is either locked or screen-saver is active, even though no other high priority processes are running. Thanks |
#8
|
|||
|
|||
Setting process priority so it runs when screen is locked
"P Adhia" wrote in message ... On Apr 14, 4:32 am, "Richard Urban" wrote: Get a more powerful CPU and more RAM (8 gig). Use Vista 64 bit operating system. Probably I wasn't clear in my previous email. I have adequate CPU and memory. It's just that the encoding comes to crawl WHEN I "Lock Computer". It seems Windows gives minimum CPU time when screen is either locked or screen-saver is active, even though no other high priority processes are running. Thanks Have you checked your power options in Control Panel? |
#9
|
|||
|
|||
Setting process priority so it runs when screen is locked
"P Adhia" wrote in message ... On Apr 14, 4:32 am, "Richard Urban" wrote: Get a more powerful CPU and more RAM (8 gig). Use Vista 64 bit operating system. Probably I wasn't clear in my previous email. I have adequate CPU and memory. It's just that the encoding comes to crawl WHEN I "Lock Computer". It seems Windows gives minimum CPU time when screen is either locked or screen-saver is active, even though no other high priority processes are running. Thanks Have you checked your power options in Control Panel? |
#10
|
|||
|
|||
Setting process priority so it runs when screen is locked
Have you checked your power options in Control Panel?
Right on target! I set my power profile to "Maximum Performance" and encoding chugs along nicely. Thanks |
#11
|
|||
|
|||
Setting process priority so it runs when screen is locked
Have you checked your power options in Control Panel?
Right on target! I set my power profile to "Maximum Performance" and encoding chugs along nicely. Thanks |
#12
|
|||
|
|||
Setting process priority so it runs when screen is locked
"P Adhia" wrote in message ... Have you checked your power options in Control Panel? Right on target! I set my power profile to "Maximum Performance" and encoding chugs along nicely. Thanks Your welcome. |
#13
|
|||
|
|||
Setting process priority so it runs when screen is locked
"P Adhia" wrote in message ... Have you checked your power options in Control Panel? Right on target! I set my power profile to "Maximum Performance" and encoding chugs along nicely. Thanks Your welcome. |
Thread Tools | |
Display Modes | |
|
|