Unless your system is specially configured, under most situations 'nice' and 'renice' can only be used to slow down a process (make it behave more nicely, and give up its cycles). Root is the only user (or someone with root-like powers), who can increase the priority of a process to a level above its default value (in the scope of 'nice', giving it a lower 'nice' value).

Unfortunately, most systems are set up so that everything runs at the highest priority -- so you have to renice everything else that is running, and can't just tweek the one program. (some multi-user systems are set up differently, but I don't know of any OSes that come set up this way out of the box). But of course, if you renice the wrong stuff, that's actually needed by the OS, you can have bad things happen.

I'd say the way to go is hardware related ( faster disk, more memory, etc ), or reworking the program in question to deal with whatever the bottleneck is. If the system has been up for a while, a reboot before the process might help if anything leaked memory.


In reply to Re^2: Need to increase the processing speed? by jhourcle
in thread Need to increase the processing speed? by perlsen

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.