Slashdot Mirror


Permanently Set Process Priority in Windows?

Dave asks: "I have a render farm set up for 3D Studio Max. I have a Render user that runs 3dsmax.exe when it is sent jobs by the render farm server. I have tried to set the process to low when it runs, and it works. However, when the computer is finished rendering the images, and is sent a new set to render, the priority goes back to normal (program closes in between renderings). This obviously defeats the purpose of rendering an image in the background while others are still working, as you can imagine having 3dsmax.exe pegged at 100% CPU, slows down the machine tremendously. Is there anything that can be done to set the render user's instance of 3dsmax.exe permanently to low? Or is it possible to just set 3dsmax.exe to the low priority. I know there is a command line that sets any .exe to low, but that also starts the program. I would like 3dsmax.exe to be set to low either: when render launches the program, or set 3dsmax.exe to low whenever it is launched. Can anything be done?"

125 comments

  1. U of A Prof by 2.7182 · · Score: 0, Offtopic

    Tom Sugar, a robotics professor at U of Arizona has done a lot of real time stuff, I think his website has something....

  2. start /low by teeheehee · · Score: 5, Informative

    If you check out 'help start' you can see that setting the priority of a process is pretty simple at the time of invocation.

    'start /low 3dsmax.exe' or 'start /low [program.exe]' should work for you.

    --
    "We are not always what we seem, and hardly ever what we dream."
    Schmendrick the Magician
    1. Re:start /low by teeheehee · · Score: 2, Informative

      Having re-read your post, I'm not sure if my reply helps :P

      I had thought that SysInternals had something to do this with command line, but was unable to find it. There's this third party tool which claims to be able to change the priority of a running process, but I've never used it to vouch for it: http://www.teamcti.com/pview/prcview.htm

      Sorry for the likely helpless quick-post. I should drink coffee either before or after reading, not at the same time!

      --
      "We are not always what we seem, and hardly ever what we dream."
      Schmendrick the Magician
    2. Re:start /low by Tim+C · · Score: 1, Informative

      While that won't set it permanently, if he modifies the shortcut that might be an acceptable workaround, providing he always uses the shortcut to launch the program (so no double-clicking on associated files).

    3. Re:start /low by SuiteSisterMary · · Score: 2, Informative

      At that rate, he should be able to edit the file type association to invoke the program itself.

      --
      Vintage computer games and RPG books available. Email me if you're interested.
    4. Re:start /low by Anonymous Coward · · Score: 0
      If you check out 'help start' you can see that setting the priority of a process is pretty simple at the time of invocation.

      That only works for console-mode applications, not GUI applications. This is the case on Windows XP at least. Test it with
      C:\>start /low iexplore
      IE still starts with Normal priority instead of Low priority. You can see it with Task Manager if you turn on the "Base Priority" column.
    5. Re:start /low by njvic · · Score: 1

      Microsoft do produce a utility that will help with the situation, however it's only available for enterprise or datacentre versions of Server 2003. It does exactly what the asker wants to do, but since the version of Windows he uses in the render farm is not specified, he may have to pay a premium to get this.

      Windows System Resource Manager

    6. Re:start /low by shadowmas · · Score: 1

      It works fine with GUI apps (try it with notepad.exe). I think the problem in this case is that iexplorer.exe which get launched is a wrapper which calls the actual IE (not sure).

  3. Priority Master? by varunnangia · · Score: 1

    I've had good results with Priority Master in XP, with only the occaisonal issue (video card lock up once or twice). Since I've moved to Vista, though, I've not really used it - but I suppose you could write a set of VBscript or - ugh - batch files that just launch the program in whatever priority you want, and replace the entries on your desktop/start menu with shortcuts to those script/batch files?

  4. Prio - Process Priority Saver by neonprimetime · · Score: 4, Informative

    Your solution is here

    1. Re:Prio - Process Priority Saver by kestasjk · · Score: 2, Insightful

      You should avoid apps from places like that at all costs, especially when there are easy solutions involving free software.

      I'd say write an app which looks for 3dmax.exe processes at frequent intervals and sets them to low. With cygwin it'd take a couple of minutes to write a shell script. Do anything but don't use 'Priority Saver Deluxe Edition v10 for only $19.99', these companies exist because of ignorance/laziness and PageRank bots.

      --
      // MD_Update(&m,buf,j);
    2. Re:Prio - Process Priority Saver by aminorex · · Score: 2, Insightful

      So let me get this straight: Writing a program that people find useful and offering it for sale is somehow an evil deed? I'm sorry, but I think you've completely detached yourself from any sort of moral perspective, and quite possibly from reality itself. Hate to see you go.

      --
      -I like my women like I like my tea: green-
    3. Re:Prio - Process Priority Saver by itwerx · · Score: 1, Insightful

      You should avoid apps from places like that at all costs, especially when there are easy solutions involving free software.

      Free software is never without cost though. If I have a problem that can be solved in 5 minutes by spending $19.95 that's a heck of a lot cheaper than spending an hour of research and testing to find and set up or write from a scratch a good OSS solution.
            Or, to put it another way, I'm very willing to pay somebody else $19.95 to do that research and testing for me and package the result up in a nice neat bundle.
            Let me say it again, OSS is never free.
            Let me say it a different way, under some circumstances OSS can be more expensive than commercial software.
            Once more for the fanboys - every problem has multiple solutions and in a business setting an ROI calculation is always part of the solution selection.

      (No offense intended, just clearing things up for the moderators who seemed to think the parent was insightful. :)

    4. Re:Prio - Process Priority Saver by ynohoo · · Score: 1

      If you would have looked around their site you would have dicovered that:

      1) it is free for personal use
      2) they do not currently have commercial terms for this product

      I also wonder what kind of world you live in where you think professional programmers do not deserve to make a living from their trade. If daddy gave me 100K a year, I might think so too.

    5. Re:Prio - Process Priority Saver by amliebsch · · Score: 2, Interesting

      I agree with above. For example, the following C# code works (.NET 2.0):

      using System;
      using System.Collections.Generic;
      using System.Text;
      using System.Diagnostics;
      using System.Threading;
       
      namespace SetLowPriority
      {
          class Program
          {
              static void Main(string[] args)
              {
                  string pname=null;
       
                  if (args.Length==0)
                  {
                      Console.WriteLine("You must specify a process name.");
                  }
                  else
                  {
                      pname = args[0];
                  }
       
                  while(true)
                  {
                      Thread.Sleep(1000);
                      checkForProcesses( pname);
                  }
       
              }
       
              static void checkForProcesses(string pname)
              {
                  if (Process.GetProcessesByName(pname).Length == 0)
                  {
                      Console.WriteLine("{0} is not running.", pname);
                  }
                  else
                  {
                      int processCount = 0;
                      foreach (Process p in Process.GetProcessesByName(pname))
                      {
                          if (!(p.PriorityClass == ProcessPriorityClass.BelowNormal))
                          {
                              p.PriorityClass = ProcessPriorityClass.BelowNormal;
                              processCount++;
                          }
                      }
                      Console.WriteLine("{0} is running; {1} instances switched to low priority.", pname, processCount);
                  }
              }
          }
      }
      --
      If you don't know where you are going, you will wind up somewhere else.
    6. Re:Prio - Process Priority Saver by amliebsch · · Score: 1

      Oh, and just in case - I personally authored the above code, and as owner of the copyright, release it into the public domain. ;)

      --
      If you don't know where you are going, you will wind up somewhere else.
    7. Re:Prio - Process Priority Saver by oddfox · · Score: 1

      It would appear that Prio doesn't enjoy an x64 Edition XP environment. Darn, was looking forward to giving it a run. Thanks for the link though.

      --
      "We invented personal computing." - Bill Gates
    8. Re:Prio - Process Priority Saver by SkunkPussy · · Score: 1

      "Let me say it again, OSS is never free."

      This is like saying commercial software always costs more than the invoiced price.

      --
      SURELY NOT!!!!!
    9. Re:Prio - Process Priority Saver by phfpht · · Score: 2, Insightful
      Preface: You are completely correct. I'll not dispute that.

      But, if you have "a problem" there *may* be a $19.95 solution that will work perfectly. But, just because it's $19.95 and neatly packaged doesn't mean it'll necessarily be any
      • a) easier to find (might still take an hour search just to find it amid the chaff of adware/junk out there) or
      • b) easy to use (installing a "nice package" may be quick, but using said program to solve "the problem" could still be complicated and time consuming).


      Commercial or OSS doesn't make or break any solution. You should always use the solution that works and leave idealogical hangups at the door if your interest is in solving "the problem".

      Or, to put it another way, paying someone $19.95 to research and package a solution for you doesn't guarantee they did it right. You'll still have to "spend" time to verify that yourself.

      Maybe that's what you meant, and if so I please disregard this post.
    10. Re:Prio - Process Priority Saver by try_anything · · Score: 1

      I think he's saying that a lot of web sites selling extremely cheap single-purpose Windows utilities sell malware or redundant software that is no easier to use than the already existing functionality in Windows. He may be right. I never buy from software from websites except when I have a recommendation from someone I personally know and trust, because I can't see any other way to differentiate scam artists from honest vendors. Their web design skills aren't any worse.

    11. Re:Prio - Process Priority Saver by Intron · · Score: 1

      Or, to put it another way, I'm very willing to pay somebody else $19.95 to do that research and testing for me and package the result up in a NICE neat bundle."

      Kind of funny.

      --
      Intron: the portion of DNA which expresses nothing useful.
    12. Re:Prio - Process Priority Saver by itwerx · · Score: 1

      ...commercial software always costs more than the invoiced price.

      Also very true and succinctly said!
            (If I ever write a book of IT wisdom I will have to include that. :)

    13. Re:Prio - Process Priority Saver by pla · · Score: 1

      So let me get this straight: Writing a program that people find useful and offering it for sale is somehow an evil deed?

      Well... When that program solves a problem with a solution already included with the base OS (ie, just change your shortcut to "start /low foo.exe") while pretending to do something more wonderful than sliced bread - Yes, we've entered the realm of less-than-kosher.

      As an aside, I wrote a very similar program back in the Win2k days, as it didn't support setting process affinity on the command line. Not to minimize the underlying knowledge required, but I can assure you that we deal with basically a "toy" program here - you can do the core task in ten lines of vanilla C, and my final pretty bells-n-whistles-added version came out to under 50 lines.

      So yes, charging people for a toy program, I would consider evil. Or at least, dishearteningly greedy.

  5. Another process question by maillemaker · · Score: 1

    Is there a way to determine how long a process has been "busy" (hourglass icon) for a given amount of time?

    I would like to be able to justify hardware upgrades by saying, "On PC #1 over a typical workday the user sees the hourglass icon X amount of time, but on new PC #2 he only sees it Y amount of time".

    Thanks,

    Steve

    --
    A work that expires before its copyright never enters the public domain and thus enjoys eternal copyright protection.
    1. Re:Another process question by giorgiofr · · Score: 2, Informative

      There's the whole Performance Monitor for that: you can save the value of many different parameters, such as CPU utilization, every n seconds, and generate reports based on those.

      --
      Global warming is a cube.
    2. Re:Another process question by flink · · Score: 3, Informative

      The hourglass is just a picture. It has no intrinsic meaning as far as the application goes. You're supposed to change the cursor to the hourglass when your program is about to do something that will cause it to cease reacting to user input. Then, after the blocking call, you change it back to a pointer. A process could be pegging the CPU and still be showing the arrow pointer because it can still respond to you (think software HD video decoding). It could also be showing an hourglass and not using any CPU or disk resources at all (like a network application waiting for the server to respond).

      Assuming you're on Windows, and that by "busy", you mean how often the CPU has been in use, then go into the Processes tab of Task Manager and look at the CPU time column for PID 0 (System Idle Process). Subtract that time from system up time to get the amount of time the CPU was in use, or divide to get idle%.

    3. Re:Another process question by phorm · · Score: 1

      I'm fairly sure there are programs to monitor+log overall CPU usage. Why not just spit out some nice graphs or charts with that for the boss-man?

    4. Re:Another process question by Blakey+Rat · · Score: 1

      In the real (non-Slashdot) world, a program isn't working when you can't click any buttons or type into any fields. i.e. when the hourglass icon is up. That's what the poster is asking about, not CPU usage.

    5. Re:Another process question by Intron · · Score: 1

      What he wants to measure is not the time the computer is busy, but the time that the user is idle.

      For that I would measure slashdot posts / day.

      --
      Intron: the portion of DNA which expresses nothing useful.
  6. Google It? by graphicartist82 · · Score: 1, Redundant

    I googled windows priority command line and the 6th result was titled: "smallbusiness.itworld.com - Windows Tip: Launching a low priority ..."

    Here's the link

    Executive Summary:
    It turns out there are several solutions to this problem. A simple approach is to use the start command to launch each job with Low priority as follows:
    start /low /b job5.exe -i input.dat

    1. Re:Google It? by MobileTatsu-NJG · · Score: 3, Insightful
      I googled windows priority command line and the 6th result was titled: "smallbusiness.itworld.com - Windows Tip: Launching a low priority ..."


      Did you Google a little farther and find the answer to the question that was asked? The network rendering manager is spawning 3DSM, not somebody sitting at the computer. The start command won't work unless the network renderer is modified. What he needs is for Windows to always recognize that .exe is low priority so that mode is set regardless of how the app is actually started. He's already got the 'use human interaction to make the process low priority' bit working, so elite Googling skills didn't save the day.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    2. Re:Google It? by graphicartist82 · · Score: 1

      Well, I hoped that he would use the information I gave him and adapt it for his needs. You can't expect me to do everything for him, can you? If the rendering manager is spawning 3DSM, why can't it spawn a batch file which spawns 3DSM in low priority mode instead?

      Ah, so my elite googling skills DID save the day!

    3. Re:Google It? by Khmer+Luge · · Score: 0, Flamebait

      No, your elite googling skills were misapplied because you didn't read carefully. Then, when you were corrected, you got defensive about it. How're those job skills coming along?

    4. Re:Google It? by Rigodi · · Score: 1

      should not it be : start /b /low [job] ?

    5. Re:Google It? by MobileTatsu-NJG · · Score: 1

      "You can't expect me to do everything for him, can you?"

      Nope. All that you're expected to do is understand the question before you answer.

      "If the rendering manager is spawning 3DSM, why can't it spawn a batch file which spawns 3DSM in low priority mode instead?"

      He can't change the code.

      "Ah, so my elite googling skills DID save the day!"

      Not even close. Your impression of Jim Carrey talking out of his rear, however, is spot on.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    6. Re:Google It? by Anonymous Coward · · Score: 0

      That's what I thought too. ;-)

  7. Wrapper by Bromskloss · · Score: 4, Informative

    Mabye replace "3sdmax.exe" with a shellscript that runs the real "3dsmax.exe" with the correct priority. You might have to work out how the renderer gets its data, so your shellscript can make sure it isn't dropped somewhere along the way.

    --
    Swedish plasma phys. PhD student; MSc EE; knows maths, programming, electronics; finance interest; seeks opportunities
    1. Re:Wrapper by gEvil+(beta) · · Score: 3, Funny

      From the bottom of that page: "prioritymaster.com has been on the web since 1995!"

      ...and we have the website to prove it!!!

      --
      This guy's the limit!
    2. Re:Wrapper by Klaruz · · Score: 1

      I realize he didn't explain what the link was, but it does look to be a legit piece of software that has to do with the article. Before you mark somebody a troll, at least take the time to verify they're actually trolling. This isn't digg yah know.

    3. Re:Wrapper by fbjon · · Score: 1
      Choice quotes from the page:
      • "ABSOLUTELY TOTALLY READY FOR "PRIME TIME"!!!"
      • "Professional Quality and Industrial Strength!
        Priority Master 2006 is the World's Best Prioritization Software 15 Times Over!"
      • "Get the fastest CD/DVD burn every time."
      • "Powerful and simple. It will knock your socks off!"
      • "Its a Tool, its a Utility, its a Productivity App with 1000's of Uses!"
      It slices, it dices...
      --
      True confidence comes not from realising you are as good as your peers, but that your peers are as bad as you are.
  8. nice/renice by Noksagt · · Score: 1

    There are versions of nice and renice for windows. One set is in Cygwin--in the sh-utils package.

  9. Your question contains its answer. by Magada · · Score: 2, Insightful

    "I know there is a command line that sets any .exe to low, but that also starts the program."
    Just make an alias to 3dsmax.exe that actually invokes the one-liner you are talking of. No?

    --
    Something bad is coming when people are suddenly anxious to tell the truth.
  10. Apparently.. by rob1980 · · Score: 1, Redundant
    1. Re:Apparently.. by MobileTatsu-NJG · · Score: 1

      "Google doesn't work for people anymore"

      Evidently not, since your search didn't reveal a solution either. He needs the process to start up at low priority when other programs call it, not just when a shortcut is clicked. You're right, though. Google doesn't work for people anymore, especially those that don't understand the question.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

  11. Thank you, Cliff!!! by Anonymous Coward · · Score: 2, Insightful

    I don't have any answer, but am pleased to see Ask Slashdot offering up a real technical question, not just a pretext for uninformed ranting.

    1. Re:Thank you, Cliff!!! by tehcyder · · Score: 1
      I don't have any answer, but am pleased to see Ask Slashdot offering up a real technical question, not just a pretext for uninformed ranting.
      Fucking n00b, he asked a sensible Windoze question, didn't mention Linux/OS alternatives to 3dMax, omitted an attack on Liberals, (or Creationists), didn't say whether or not he was a gun owner, and failed to include a joke about the French, Apple or gays.
      What sort of argument does he expect to get with that attitude?
      --
      To have a right to do a thing is not at all the same as to be right in doing it
    2. Re:Thank you, Cliff!!! by gbjbaanb · · Score: 1

      yes, but read the comments for reasons why Linux thread scheduling algorithm is superior to Windows, and that on a *proper* multi user system hourglasses are never ever seen, and why in Soviet Russia your poor performance results in you being squished into an hourglass by Ms Portman. :-)

    3. Re:Thank you, Cliff!!! by An+ominous+Cow+art · · Score: 1

      From your response, I'd say he's in the wrong place for an Argument. This is Abuse.

    4. Re:Thank you, Cliff!!! by Anonymous Coward · · Score: 0
      not just a pretext for uninformed ranting.

       
      and not a thinly-veiled advertisement for Product-X (methinks we been seein' WAY too much o' that crap lately...)
    5. Re:Thank you, Cliff!!! by pimpimpim · · Score: 1

      Indeed, he also failed to mention that the solution he asks for should actually be applied in some critical process for a top-500 company! How did this ever enter ask slashdot! :)

      --
      molmod.com - computing tips from a molecular modeling
  12. What about non-pageable? by Jah-Wren+Ryel · · Score: 1

    While we are at it, I've got a related windows admin question...

    How can I pin a process into RAM and make sure that all of its pages stay resident? I don't have source either, it's a proprietary app. The system will push it out of RAM in favor of buffercache, but that is a very sub-optimal for this guy, because he always ends up paging tons of stuff back in while the user sits there for a minute or two wondering if the thing crashed or what...

    --
    When information is power, privacy is freedom.
    1. Re:What about non-pageable? by TheLink · · Score: 1

      Simple. Set swap to zero ;).

      Seriously if a user is waiting for a minute or two for things to swap back in, and the user thinks that is too long, then the swap file is too big.

      Set it to something smaller and fixed, till the user only has to wait X seconds for things to swap back in in typical/worse case, where X is considered by the users to be a tolerable amount.

      IMO the people who talk about setting swap to multiples of RAM are silly. It's little to do with multiples of RAM and more the sort of apps you run and how slow you can tolerate your computer to be when it is low on memory.

      The sustained random read/write throughput of an ATA drive is probably about 10-15MB/sec, sequential throoughput is about 40-60MB/sec, so read+write probably about half those speeds - if your O/S pages in and out your stuff sequentially use the sequential values. But probably best to just test it out. Given the drives don't appear to be getting very much faster, the seconds/swap size figures would probably be usable for the next few years. The figures could change if you have swap on a RAID.

      Disadvantage: you are more likely to run out of memory.
      Advantage: you are more likely to run out of memory before your system starts crawling.

      Pick your poison.

      --
    2. Re:What about non-pageable? by Jah-Wren+Ryel · · Score: 1

      Seriously if a user is waiting for a minute or two for things to swap back in, and the user thinks that is too long, then the swap file is too big.

      You can't be serious. There is no such thing as "too much swap." If there is, something is seriously broken. All I want is for the system to treat process text and data as more important to keep in RAM than buffercache. I'm not running out of RAM, it is a single 1.2-1.4GB app on a 2GB system.

      --
      When information is power, privacy is freedom.
    3. Re:What about non-pageable? by TheLink · · Score: 1

      Of course there is such a thing as too much swap. Go figure out how long it takes for a normal ATA drive to page in and out 500GB of stuff.

      You may be different but I believe that most people want their PCs or applications to run out of memory way before that point.

      Because I believe it is rare to have a scenario where people have thousands of small/medium sized loaded applications taking up 500GB in swap, and only wake up and run once in a long while. Or one where users intentionally run a single app that takes 500GB, and effectively runs from disk (in the old days something like that was not so rare but the numbers were smaller and the relative speeds of disk to ram weren't as big - or the disk was the "RAM").

      Thus 500GB is too much swap, and thus there is such a thing as "too much swap".

      QED

      If you'd rather run out of memory than wait for 1GB to be read from and written to disk, then adjust your swap accordingly.

      I haven't really had a big problem with Linux's disk cache handling, windows memory/cache handling seems a bit crappy, and you can't even tune the system cache max properly nowadays- sysinternal's cacheset utility doesn't seem to work as advertised on > NT4.

      --
    4. Re:What about non-pageable? by joshetc · · Score: 1

      Sure there is such a thing as too much swap. My main rig has 2GB of ram, I've never run out. I routinely use anywhere from 250-500MB of swap. This absolutely should not be. There is no reason to swap when I am nowhere near running out of an order of magnitude faster physical RAM. The best solution, disabling swap isn't even an option as many programs require it.

    5. Re:What about non-pageable? by lachlan76 · · Score: 1

      How much swap you use is irrelevant; pages are put into swap so that when everything goes to hell you're not waiting for large amounts of memory to get moved over. The behaviour that you have described is correct, provided it isn't getting the data from swap instead of RAM.

    6. Re:What about non-pageable? by Gothmolly · · Score: 1

      Easy, just set the sticky bit. You young Windows whippersnappers.

      (A joke, I know that these days the sticky bit DOESNT pin things in RAM)

      --
      I want to delete my account but Slashdot doesn't allow it.
    7. Re:What about non-pageable? by Jah-Wren+Ryel · · Score: 1

      Of course there is such a thing as too much swap. Go figure out how long it takes for a normal ATA drive to page in and out 500GB of stuff.

      What you are talking about is not a case of having too much swap, it is a case of using too much memory.

      I CLEARLY defined in my first post that I am NOT using too much memory, but that the OS is behaving stupidly and paging out the application when there is still available physical RAM. Your responses have neither addressed my original question, much less come close to providing a useful answer.

      --
      When information is power, privacy is freedom.
    8. Re:What about non-pageable? by TheLink · · Score: 1

      Well you claimed there's no such thing as too much swap.

      And in your case, too much swap is probably anything much above 0MB.

      I doubt you've even tried my suggestion. If you don't like that answer well that's just too bad, your loss.

      Feel free to waste your time waiting for swap and grumbling about it.

      --
    9. Re:What about non-pageable? by Jah-Wren+Ryel · · Score: 1

      Well you claimed there's no such thing as too much swap.

      Because you made the false claim that there is such a thing. The only downside to having too much swap space should be wasted disk. That's it, and you didn't even mention that.

      And in your case, too much swap is probably anything much above 0MB.

      No, I like having swap. I do not like running out of memory. Do you have a clue what happens when a system runs out of memory? Processes start to randomly die. That is not a good thing, your pontifications notwithstanding. Swap is insurance that reduces the odds of some unexpected event causing memory oversubscription and killing important application(s) on the system.

      I doubt you've even tried my suggestion. If you don't like that answer well that's just too bad, your loss.

      Because your suggestion is not helpful. It's the kind of thing a freshmen in college who has no production experience, much less any internals knowledge, but is thoroughly sure of himself would make.

      Feel free to waste your time waiting for swap and grumbling about it.

      I'll waste my timing grumbling about dumbass responses on slashdot if it's all the same to you.

      --
      When information is power, privacy is freedom.
    10. Re:What about non-pageable? by Jah-Wren+Ryel · · Score: 1

      How much swap you use is irrelevant; pages are put into swap so that when everything goes to hell you're not waiting for large amounts of memory to get moved over.

      You are suggesting that there are two copies of some pages? One in physical ram and one paged out to disk? I'd really like to see some documentation of that claim because I don't believe you.

      --
      When information is power, privacy is freedom.
  13. Simple by addaon · · Score: 1, Interesting

    Just change priority.c and recompile the kernel.

    Oh, they don't let you do that? Sounds like your "soft"ware is a little brittle.

    --

    I've had this sig for three days.
    1. Re:Simple by LifesABeach · · Score: 1

      I'm also scratching my head on this one. I think the answer by the parent is NOT OFF TOPIC. It demonstrates why windoze sucks. If one is hesitant about simple kernel recompiles, then one could do the following:
      1. log in as a low priority user
      2. execute the following line of shell code: wine 3dsmax.exe [3dsmax program arguments]
      3. pipe the results, and move on.

      "slowly, one by one, the penguins steal my sanity" - Unknown

  14. Source code? by polymath69 · · Score: 1

    If you've got the source to 3dsmax, there's bound to be an API like 'nice' that you can insert to drop priority.

    If not, it might possibly work to rename 3dsmax.exe to 3dsmax_real.exe and write 3dsmax.bat (this depends entirely on how the code was written):

    start /low 3dsmax_real.exe

    Actually, if that doesn't work, you could do basically the same thing in a C wrapper program to be called 3dsmax.exe.

    --

    --
    I don't want to rule the world... I just want to be in charge of mayonnaise.
  15. Simple / obvious? by Stavr0 · · Score: 1
    Get a copy of Win32 'nice' here:

    Put this in NICE3D.CMD:

    @ECHO OFF
    FOR /L %Z in (1,1,0) DO NICE -i 3dsmax.exe > NUL:
  16. A small programming project by mr_rattles · · Score: 3, Informative

    If you're a programmer you could grab the source code for a utility I wrote to kill processes by name as they appear and modify it to change the priority any time the process appears. The tool is called Process Hunter Daemon. You can get the source code at my homepage (http://yakko.cs.wmich.edu/~rattles/development/wi ndows/#phunterd).

    The benefit of going this route would be that it doesn't matter how someone started the 3D Studio Max executable, it would always get changed to low priority. Actually I might do the modification myself because I'm kind of digging the idea. The list of programs that ProcessHunterD looks for is configurable, you could just as easily make the priority configurable as well so you could change it to give other executables higher priority if you'd like.

  17. More effective solution? by voice_of_all_reason · · Score: 4, Insightful

    I'd love to know if there's a way to limit ALL processes to a certain percentage of total CPU... say 75%. There's no reason programs should routinely be able to run up every bit of processing power.

    1. Re:More effective solution? by msuarezalvarez · · Score: 1

      Why not? Why would you want CPU power to just sit there, unused?

    2. Re:More effective solution? by gEvil+(beta) · · Score: 1

      So you would like some program to insert a wait cycle for every three cycles used? I'd much rather be able to set process priorities.

      --
      This guy's the limit!
    3. Re:More effective solution? by aminorex · · Score: 1

      My understanding of the grandparent is that the system should limit any individual process to some substantial fraction of available time, in order that a small reserve should remain available to initiate new processes, etc. If windows were to adopt this simple expedient, it would be substantially more responsive and useable, more Linux-like, if you will.

      --
      -I like my women like I like my tea: green-
    4. Re:More effective solution? by voice_of_all_reason · · Score: 1

      Because some programs have a habit of shooting up to 100% (iexplore.exe, explorer.exe). I mean, just completely randomly. You minimize firefox and just see the white void behind it while windows is playing with itself. This is retarded in this day and age.

      And whatever you were doing, you can't now, because the system is busy. So even though you know it's wrong, you try surfing the web or opening a file to pass the time, and it actually takes longer than process1+process2 completing by themselves (the medusa effect).

    5. Re:More effective solution? by gbjbaanb · · Score: 4, Informative

      not really. The windows task scheduler works on the principle that every process with the same priority gets equal share of the CPU. Now, if 1 app wants 100% of the CPU then it's going to be asking for it and using as much of its time slices as it can get, other apps get the same (if they want it - obviously most apps sit there twiddling their virtual thumbs waiting for the user, the disk, the network, etc). So if 2 apps want 100% each (as when you start an app whilst another is well busy) then they will each get 50%.. and take twice as long to do whatever it was they were doing, thus appearing to slow down user responsiveness.

      Usually the foreground app (ie window) gets a little bit extra so it makes Windows *more* responsive, but again, that doesn't help you if you're waiting for an app to start (as it'll be in the background...)(you can turn this feature off if you like - system control panel to make it more server like).

      So, with the system proposed, the starting app would not start any quicker - it would still want 75% of the CPU, as would the running app. The only benefit would be that the CPU had 25% time to sit there doing nothing. If you think you could use another app while those 2 fought over their 75% CPU resources, think that the app you want to use is also limited to 75% (and assuming you make it work and not sit mostly idle) it would be grabbing CPU time away from the 2 original apps, making them slower still.

      If you want more response, give 1 app a lower priority and Windows will leave it for a while until the higher priority app goes idle. I do not recommend doing this for explorer.exe :-)

      Incidentally, Linux uses a weighted round-robin scheduler (windows uses a plain one that gives equal time to all runnign aps of the same priority) that gives less time to apps the more they use the CPU, this is probably why you feel Linux is more responsive - an interactive app will spend more of its time waiting for the user, so when it does need to do something, it is given a larger amount of time than its peers. If you use it a lot though, you'd find it gets slower over time. (so if you have a text editor and a compiler running, the text editor gets more CPU time when it wants it, but if you set the editor to do a lengthy 100% CPU task, you'd find its responsiveness was not as good when it was finished).

    6. Re:More effective solution? by Achromatic1978 · · Score: 1

      There is a program that will do something like that... essentially the harder and longer a process hits the CPU, the lower it will make the priority... just got to remember the name, now... ;)

    7. Re:More effective solution? by Anonymous Coward · · Score: 0

      Isn't that due to windows moving the minimized program to the cache file? I don't think it has anything to do with the scheduler.

    8. Re:More effective solution? by Anonymous Coward · · Score: 0

      Really? I don't think so. Otherwise can you please explain in detail what the balance set manager thread is doing in Windows? It is most certainly demoting the priority of greedy processes (well, not really priority, but time quantum -- which is why you can't easily see it). There are lots of tunables hidden about in the registry for adjusting the behavior. IMHO Microsoft set some of them stupidly or should provide a bit better automatic regulation of these parameters.

      But thats what you see on the surface. The kernel's task scheduler (with the exception of no priority inheritance defenses) is pretty well architected.

      Please don't go spouting off on a subject you don't seem to know much about.

  18. AutoIt by bombshelter13 · · Score: 1

    There's a tool called AutoIt that lets you script various things in Windows that I use to accomplish the same thing you're asking for. Basically, I have a looped script that runs on low priority in the background... whenever it sees certain applications running it changes their priority to the level I want. In some cases, it might kill one application or another depending on whether it sees certain other applications running - for instance, I used to have it set to kill all my P2P apps whenever it sees an online game start. The script can be compiled to a standalone .exe and dropped in your /HK/LM/Software/Microsoft/Windows/CurrentVersion/R un list or Startup folder, whichever you prefer. The basic structure of my script looks like this, with ProcessManager.exe being the name of the compiled script itself:

    ProcessSetPriority ("ProcessManager.exe",1)
    $c = 1
    While $c = 1

    If ProcessExists ("arbitraryApplication1.exe") Then
    ProcessSetPriority ("arbitraryApplication1.exe",0)
    EndIf

    Sleep (30000)
    Wend

    Add additional entries for every additional application you want to have deprioritized to 'low' (that's what the 0 in ProcessSetPriority Means, 1 is BelowNormal, 2 is Normal and so on) and you should be good to go.

  19. Why Max/Windows? by Anonymous Coward · · Score: 0

    I think that's your problem. If you get an exporter for MAX and switch to a linux based render farm then people might take you seriously.

  20. I looked at that by maillemaker · · Score: 1

    Of course the first thing I did was fire up the Performance Monitor, but I'm not really interested in CPU utilization as a metric. If the user is using 100% of the CPU but is not waiting on the computer, it's not a problem. What I really need to know is how frequently does the program "hang" while processing.

    Steve

    --
    A work that expires before its copyright never enters the public domain and thus enjoys eternal copyright protection.
    1. Re:I looked at that by drinkypoo · · Score: 1

      I believe you can measure blocked reads and writes, both to disk and memory, in perfmon. Maybe not though.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  21. MOD PARENT UP by Anonymous Coward · · Score: 1, Interesting

    This is how it's done in the real world, major 3d houses demand full source code to their entire tool chain.

  22. Unfortunately, not an option... by maillemaker · · Score: 1

    >Could also be used to justify a switch to a proper desktop OS that doesn't spend
    >much time at all giving the user an hour glass (or similar). Sure, OS X has a beachball,
    >but even on a G4 I hardly see it. Question is, what are your using doing that they get an
    >hour glass at all?

    Unfortunately, the application in question only runs under Windows, and changing applications is not an option.

    Steve

    --
    A work that expires before its copyright never enters the public domain and thus enjoys eternal copyright protection.
  23. Thanks... by maillemaker · · Score: 1

    Thanks for the well-written response.

    My situation is this: We use CAD software to design mechanical things. On slow computers, after every command input the computer has to process the command. Obviously some commands take longer than others. When this happens, the cursor turns to an hourglass and the software will not respond to user input. If you check the Perf Monitor the program will frequently list as "Not Responding".

    I don't think CPU utilization will do the trick because I believe the CPU could be 100% utilized (or nearly so) but the program not stop responding or accepting user input.

    The question I'm really trying to answer is: "How long to I spend waiting on this program to respond every day". I can ask this question on two different hardware platforms and then quantitatively be able to say how much time savings ($) the new computer will provide.

    Steve

    --
    A work that expires before its copyright never enters the public domain and thus enjoys eternal copyright protection.
    1. Re:Thanks... by Jerf · · Score: 2, Informative

      I'm by no means a windows guru, but I do know if Task Manager says the task is "not responding", that means it is no longer responding to Windows messages. The easiest way for that to happen is for the program to be single-threaded, and in the middle of a lengthy computation, thus never getting back to the message pump, which is what you're getting.

      You might be able to write a relatively simple program that just periodically sends a message to the window and looks for a response; if it doesn't get it in a certain time period, it assumes it to be unresponsive. I don't know what message is best to send (I don't know if there's a "ping" message, although presumably Task Manager is doing something like that so maybe there is), but I'm sure there's something you can use.

      Unfortunately, that's about as far as I can take you, except to also suggest that you don't need to whip out Visual Studio for this; any number of more pleasent languages will be able to do this, too. Python with the Win32 extensions, for instance, can send Windows messages directly with a wrapped SendMessage call.

    2. Re:Thanks... by gbjbaanb · · Score: 1

      I'd suggest a stopwatch. The trouble with what you're after is that as the computer is spinning its hourglass its actually working on your behalf. If you had a better app that wasn't quite so single-threaded, then you'd be happier, but the app itself wouldn't go any quicker.

      You could use CPU usage, because with a faster CPU, the app would perform its work quicker too so all in all, you'd get more done in less time. Given its single-threaded, no-UI-response, I think the CPU will probably be at 100% while its processing the commands anyway, so you can log perfmon graph of CPU usage and see exactly when the computer is processing them. On a faster computer, the 100% plateaus will be shorter, and should show an obvious time difference. If CPU is not doing it, try network I/O, bytes per second, (or memory paging...) to get the same kind of results.

      You can set perfmon logging to a file and then view the file as a graph by loading it back into perfmon.

    3. Re:Thanks... by Ifni · · Score: 1

      Unfortunately, I don't think that checking this would yield useful results anyway. On the faster computer, the time the hourglass is shown might be cut in half for any given task, but with the user then able to perform more tasks, he'd probably just end up seeing the hourglass for the same amount of time - it'd be spread across twice as many tasks (using greatly simplified math), sure, but your metric would still show little improvement on the new system over a given time period (8 hour work day). Plus, each user is not likely to be doing the exact same thing, or spendign the same percentage of his day at his desk doing it. What you need to do is take a two step approach.

      First, use perfmon. So long as you are upgrading, spec the machine right. By adding the faster processor, the bottleneck might just move to the HDD. So maybe a fast SATA or even SCSI drive, possibly in a RAID configuration (the exact type depending on whether it is read bound, write bound, or both) could vastly improve performance. Or maybe the extra HDD activity is due to swap file usage, so extra RAM could boost performance again. And so on, with networking and video card performance, etc.

      Once you have an ideal system spec, now you need to compare the two systems side by side. The best tool for this is the plain old stopwatch. Pick a set of common tasks and perform them on each system, timing how long it takes to complete it. The time difference can then map to extra productivity/profit however you deem optimal. Then you can push for the upgrade with that data and wait for the poor engineers to curse your name for making them do twice as much in the same 8 hour day.

      Also note that as fast as the computer might be, it'll still likely spend most of its time waiting on the user, so all test results need to be viewed through appropriately tinted glasses.

      --

      Oh, was that my outside voice?

    4. Re:Thanks... by Frizzle+Fry · · Score: 1

      There is also an API called IsHungAppWindow that can be used to test whether a program is "not responding" in the task manager sense of not having pumped a message for five seconds.

      --
      I'd rather be lucky than good.
  24. processor affinity by Joe+The+Dragon · · Score: 1

    How do you do the same thing with processor affinity

  25. Since when did Slashdot.... by crivens · · Score: 1

    Since when did Slashdot become a technical discussion forum, in lieu of Arstechnica's forums??

  26. ProcessTamer by Anonymous Coward · · Score: 1, Informative

    did u try Process Tamer ?
    I didn't try it, but if it does what it says on the tin then this is what you want.

  27. Process Lasso by johu · · Score: 3, Informative

    You can do that with Process Lasso. http://www.bitsum.com/ProSuper.asp

  28. Priority for 3DSMax rendering by jsrlepage · · Score: 0

    You COULD use Backburner... Doesn't Autodesk bundle it with its latest 3DSMax shipments? And isn't it the "Autodesk De-Facto" networked rendering tool for, for example, 3D Studio Max?

    Just askin...


    This from a summer intern in the SCM department, where I had oh-so-many problems with the automated builds, 'specially for BackBurner...

    --
    This is my opinion. Everyone has a right to my opinion.
    1. Re:Priority for 3DSMax rendering by Anonymous Coward · · Score: 0

      IIRC burn and backburner are the rendering system for discreets compositing software, burn runs on the (linux) nodes and backburner is the windows controller. For MAX, the best approach would be to get a plug-in that lets you export to a different format (eg: RIB) and then use unix boxes for the actual rendering. I think this guy wants to use his school workstations or something, background rendering when they're in use, which is not a good solution whichever way you look at it.

  29. runprio by DJKC · · Score: 1
    Runprio

    C:\download\batchfiles>RUNPRIO.EXE /?
    RunPrio is copyright EnterNet Sweden 1999. All rights reserved.

    Usage: runprio [-x] [-t n] []
    where is one of "low", "normal", "high", "realtime"

    -x : Print exit code of
    -t n : Timeout after n seconds - kill the command

    Example: runprio -x high cmd /c echo Hello world!
    at 00:00 runprio -t 600 low mybatch.bat

  30. not using 3rd party tools.... by Anonymous Coward · · Score: 1, Informative

    You can also permanently set the process affinity mask of any executable by using Imagecfg.exe off the Windows 2000 Server Resource Kit CD (or find a copy hiding out online). I used to have to do that to fix problems with Mplayer back when I ran a dual AthlonMP system and a *shudder* soundblaster card.

    1. Re:not using 3rd party tools.... by afidel · · Score: 1

      I would mod you up but I already responded in this thread. This is EXACTLY the answer the article submitter needs!

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    2. Re:not using 3rd party tools.... by Anonymous Coward · · Score: 0
      You can also permanently set the process affinity mask of any executable by using Imagecfg.exe off the Windows 2000 Server Resource Kit CD (or find a copy hiding out online).


      I was going to suggest invoking WMIC but your idea is way better.

      as in:
      wmic process where name="3dsmax.exe" call setpriority 64
      (possible run remote from the jobinitiator with the /node switch.)
      Granted you can set process affinity via wmi aswell but when microsoft has already done it for you, why reinvent the wheel...
  31. Seconded, and a word of caution by Animaether · · Score: 1

    If your renderer doesn't have a Low Priority option already (e.g. Brazil r/s does), then Auto-It and similar methods (watching for the process) is your best bet. For those suggesting the command line options, please keep in mind that I think he is alluding to the 3dsmax process being started by a network rendering application such as the default BackBurner. There's a ton of information that gets passed back and forth that would make a command line option very difficult to write up.

    I also see Auto-It in use at several larger studios when they're not using their in-house solutions, so I'll second the Auto-It suggestion specifically.

    One thing to keep in mind with all this, though, is that Low Priority means exactly that - Low Priority. If anything else starts happening on your machine, your render will halt dead in its tracks. E.g. if you submit a 3dsmax job at low priority and a maya job at a higher priority, the max one will do zilch until the maya one finishes. In effect, you would have been -better off- submitting the two in succession because now the maya one will be rendering while the 3dsmax job is stuck doing nothing... but still owns a chunk of the RAM/etc. now not available to maya.
    So if you really want to do something like this, I would suggest reading the comment and its follow-ups here instead:
    http://ask.slashdot.org/comments.pl?sid=195694&cid =16044826
    That way you can actually say "max, you use 33% and maya, you go use 66%". I still wouldn't recommend it, but I know it's a solution one studio in Australia went for.

  32. The basic problem... by Animaether · · Score: 1

    The basic problem, really, is this...

    Say you have a 3D graphics outfit with a renderfarm, and you use both 3dsMax and maya. Let's say you submit a network rendering job from both.

    Now the 3dsMax renderer of choice - say, mental ray - sucks up 99% of the CPU on the render job, leaving the maya render job to do crap all until the 3dsMax render job is done.
    So you switch the 3dsMax process to Low Priority... but now the maya render job sucks up nearly all the CPU, and the 3dsMax render job does next-to-zilch until the maya render job is done.

    You could fiddle with higher/lower priorities and see if it ever balances out, but truth is that it never does. Some of these products are coded specifically to be very agressive with regards to CPU usage because most studios want their renders done yesterday.

    If you could actually monitor processes and limit their CPU usage so that you could specify 3dsmax.exe to use roughly 50%, and maya.exe to use roughly 50% as well, both render jobs will progress nicely.

    Not that I recommend it, as each process still eats time and more importantly the render job itself eats RAM/etc. that the other render job won't have access to. Splitting the farm up into whatever proportion and assigning the render job only to the segment of the renderfarm of interest is much more efficient even if it's a little more work to manage.

    1. Re:The basic problem... by afidel · · Score: 1

      Once you get to the point of running two different render apps you need a job controll program. These are programs written specifically to controll how much total CPU time a job gets based on priority and/or job cost. The better ones can split your compute farm up any way you choose limited only by how well you can map policy into their language.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  33. try threadmaster by Anonymous Coward · · Score: 0

    http://threadmaster.tripod.com/
    Works well for throttling specific apps on our citrix farms.

  34. Ding! by maillemaker · · Score: 1

    Exactly. Thanks.

    Steve

    --
    A work that expires before its copyright never enters the public domain and thus enjoys eternal copyright protection.
  35. 3DS Max Startup script by Grotus · · Score: 4, Informative

    For this particular problem, the easiest solution would be to use a startup MAXscript on your render nodes which sets the priority.

    Or you could use a rendering manager which lets you control the priority of the render nodes, like Deadline from Frantic Films.

    --
    "From my cold, dead hands you damn, dirty apes!" - CH
    1. Re:3DS Max Startup script by Anonymous Coward · · Score: 0

      The MaxScript code:

      sysInfo.MAXPriority #low

  36. Virtualize by Anonymous Coward · · Score: 0

    If you ran a second copy of Windows in virtual mode, you could maybe set that copy of windows to have a low priority. Then, inside that second Windows, run your rendering app.

    1. Re:Virtualize by Anonymous Coward · · Score: 0

      Yeah, right. Now, some non-braindead suggestions, please?

    2. Re:Virtualize by Anonymous Coward · · Score: 0

      In what way is that brain-dead? If the rendering app is using nearly 100% of the clock cycles of the secondary Windows environment, which has a low priority, then relative to the primary Windows environment, the rendering app never gets more cycles than you want it to have. Which, if not exactly what was being asked about in the Topic Question, should work equivalently well enough.

  37. Download OO clevercache. by Anonymous Coward · · Score: 0

    It lets you set the RAM priority in windows to favour processes over disk cache, and lets you limit disk cache.

  38. That's too bad by Anonymous Coward · · Score: 0

    And it's too bad. If there's anyone I can't stand, it's Liberal, Creationist, gun owning, French gays on their Apple computers.

  39. Not insightful, try delusional. by Anonymous Coward · · Score: 0

    So, when you pay $20 for software, it suddenly becomes perfect? You don't have to spend any time finding it, installing it, learning to use it, etc? And it will never have bugs, break things, leave parts around after uninstall, etc, etc?

    Free software costs you time. Commercial software costs you money and time. You have to add the cost of the time and the price to compare the two. You can just compare the time of one to the price of the other.

    1. Re:Not insightful, try delusional. by SirSlud · · Score: 1

      Cute, but incorrect. Both cost you money and time. I'm a huge freeware user, and OSS believer, but money and time are interchangable for the purposes of determining 'learning time' and such.

      I'm always blown away by the burning need people have to seperate time and money, and justify purchases based on one or the other, but rarely both.

      Since the customer never experiences a fully transparent market, its pretty obvious that we can only base decisions on a perceived balance of money and time.

      --
      "Old man yells at systemd"
  40. Except that Windows does it painfully by anomaly · · Score: 2, Interesting

    This is a sore point for me.

    I've got an XP box with 1.5GB RAM. Just checking Process Manager, I've got ~900MB RAM free - and less than 500MB of apps using RAM. Windows' default paging algorithm aggressively swaps LRU blocks, so regardless of whether I'm using all of my RAM (or more than 30%) I can count on windows swapping for a good amount of time during my work day - especially if I've had an application open and unused for a few hours.

    Your suggestion about disabling SWAP works - application access is rather like a rocket. Good show! Except for the fact that when swap is disabled, hibernation no longer works. In fact, I have to use a RAM defragger to keep Windows from blue screening when I hibernate. I call it "hibernation roulette."

    So, with windows, I have to choose whether I swap during the day, or whether I have to shut down and restart all of my applications every day. Ick.

    Any suggestions about how to be able to avoid swap *and* hibernate?
    FWIW, upgrading to SP2 and applying http://www.microsoft.com/downloads/details.aspx?am p;displaylang=en&familyid=4cbc68d2-09e1-4511-af14- 03f357180135&displaylang=en
    didn't help.....

    --
    But Herr Heisenberg, how does the electron know when I'm looking?
  41. ProcessTamer by Anonymous Coward · · Score: 2, Informative

    Try ProcessTamer. It lets you define rules and automatically raises/lowers the priority of "misbehaving" processes. Quite a nice app, too bad it has an annoying free registration procedure (as does most of the software on that site). --CK

  42. $19.95? by mkcmkc · · Score: 1
    $19.95? Can any technical problem be solved for $19.95? Assuming that you value your labor and the externalities and opportunity costs correctly, even the most trivial problems you're ever likely to encounter will run into the hundreds or (probably) thousands of dollars.

    You're absolutely correct that OSS is never cost-free. Neither is commercial software, even if it's "free" (or pirated). The primary reason for using Free Software, or Open Source Software, is that you have reason to believe that it will be less expensive in the long run, after all costs are considered. In my experience, this generally turns out to be the case (for the problem domains addressed).

    Mike

    --
    "Not an actor, but he plays one on TV."
  43. ThreadMaster by vrt3 · · Score: 1
    --
    This sig under construction. Please check back later.
  44. Mod parent up Prio looks like a good freeware util by blorg · · Score: 2, Insightful
    I just downloaded this myself and it seems very neat and tidy and integrates straight into Task Manager. It's as simple as adding "save priority" checkbox to the right-click menu. It also integrates a services tab (connected to the processes) and an optional TCP/IP tab which shows TCP/IP activity by process. And it has a few other nice features.

    Now I have only had it 5 minutes so can't give an in-depth account of how it is going to behave long-term regarding stability/system resources etc. but certainly the learning curve is non-existent if you know how to use task manager.

    Honestly, someone asks how to do something simple in Windows (note a closed source cost-money OS) and most of the replies divide between:
    1. completely igoring the problem and telling him how to _start_ a process with a given priority, duh;
    2. explaining how he can install cygwin and write a script himself to scan for processes and reset them to whatever priority (good luck on making that one neat and efficient in a 5-minute script;)
    3. reminding him that if was only using Linux he could recompile the kernel to achieve his aims (a completely irrelevant point in any case as Windows actually does expose interfaces to adjust process priorities. Recompiling the kernel is rarely the best way to achieve something if you have the option of a defined API. This is no different in Linux.)
    While the one answer that points out a simple and elegant freeware utility that does the exact job requested and does it well gets flamed.

    (And yes they do describe it as "freeware" on their website; I suspect what they mean to mean by "free for personal use" is that they retain copyright and you can't redistribute it, I don't think they actually intend to exclude commercial use - as suggested by the lack of a way to buy it on their purchase page.)
  45. I've been looking for this, too. by TellarHK · · Score: 1

    One problem that I'm running into quite frequently at work with our overloaded and underspecced NAS box, is that our file copies tend to be very high on CPU usage. We have an HP server with RAID 5 configured, and feeding two simultaneous feeds of streaming video over gigabit networking, we use 50% of our resources. This makes things nearly impossible to use when we need to copy in -new- material, while the old is still being sent out for broadcast. Is there any way to specifically lower priority for file copies? Explorer.exe can be set low, but again, there's the reliability and persistence issue to be dealt with.

  46. sounds promising by anomaly · · Score: 1

    Can I disable swap and still have hibernate work after applying this patch?

    --
    But Herr Heisenberg, how does the electron know when I'm looking?
    1. Re:sounds promising by Achromatic1978 · · Score: 1

      I /believe/ so. Windows swap uses 'pagefile.sys' (or similar), and hibernation 'hiberfil.sys' (space is allocated to the size of your physical memory + registers/cache at enabling of hibernation), so the use or not of pagefile.sys should be irrelevant.

  47. The solution is simple by Anonymous Coward · · Score: 0

    Rename 3dxmax.exe somethignelse.exe
    Download yourself a copy of quickbasic. Compile a program with one line:
    system ("somethingelse.exe whatever it takes to run at proper priority")
    call this program 3dxmax.exe

  48. Re:I've been looking for this, too. by Anonymous Coward · · Score: 0

    Check with the NIC manufacturer for newer, more efficient network card drivers. Or try a new card that has a TCPIP offload engine built in.

  49. Initially looks good by anomaly · · Score: 1

    Thanks for the tip.

    The patch appears not to be malware - (always a risk when downloading from someone other than MS - and sometimes a problem from them directly!)

    I applied it, restarted, turned off swap, restarted, fired up a ton of apps, then hibernated and restored without a blue screen! First time in a year I could pull that off.

    Thanks for the help. (I wish the XP swap algorithm was tunable or at least was not so aggressive about swapping. Running w/o swap is a risk, too, although not too great of one.)

    Regards,
    Anomaly

    --
    But Herr Heisenberg, how does the electron know when I'm looking?