Slashdot Mirror


Nice Performance Tuning For UNIX

Professor writes "Be 'nice' to your computers and examine some general guidelines for tuning server performance. A computer is like an employee who does tasks for you -- it's a good idea to keep from overburdening them. Keep this from happening by using the UNIX 'nice' command."

13 of 206 comments (clear)

  1. Scheduling Priority is for sissys by SatanicPuppy · · Score: 5, Funny

    Set 'em all to -19, and let the best program win! If they don't have to fight each other for CPU cycles they will grow up weak and feeble.

    --
    ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
    1. Re:Scheduling Priority is for sissys by eviloverlordx · · Score: 1, Funny

      Set 'em all to -19, and let the best program win! If they don't have to fight each other for CPU cycles they will grow up weak and feeble.

      Fight! Fight! Fight!

      --
      'Loose' is when your pants are three sizes too big. 'Lose' is when you misuse 'loose'.
  2. First Post? by bje2 · · Score: 5, Funny

    nice -19 -n doFirstPost

    i'll surely get first post this way!!!

    --

    "Facts are meaningless. You could use facts to prove anything that's even remotely true." - Homer Simpson
  3. Here's a tip. by Anonymous Coward · · Score: 5, Funny

    When using 'nice' try the -666 option to enable the evil bit. Hilarity will ensue.

    1. Re:Here's a tip. by rcamans · · Score: 2, Funny

      When I saw 666, the evil bit and Hilarity, I immediately thought Hillary (Clinton)???

      --
      wake up and hold your nose
  4. Have a DVD-ripping death match! by MoxFulder · · Score: 4, Funny

    Now here's a fun thing to do: rip a DVD with several programs at once, all at nice -19 at you suggest, and encode it to XVid and DivX and Theora all at once for good measure.

    Watch the DVD drive churn and seek and gasp!
    Watch the encoders fight for CPU time with top open in a terminal window!
    Run some unnecessary I/O-bound process like updatedb in the background so that the hard drive can get in on the thrashing!

    Wheeee! What fun...

    1. Re:Have a DVD-ripping death match! by dpilot · · Score: 2, Funny

      Do you complain about the lousy framerate you get playing your FPS while the rest of this is happening?

      --
      The living have better things to do than to continue hating the dead.
  5. Re:Next up: "man nice" "man man" "man mount" ? by eln · · Score: 4, Funny

    Whoa whoa whoa, slow down. First I learn there's a "nice" command, and now you're telling me there's a "man" command too? This is way too much information for one day.

  6. I got my server tuned by Anonymous Coward · · Score: 2, Funny

    You don't need the nice utility.

    Some "R" stickers along the side, a huge wing on top of the box, and replacing the sound card with a fart can is all you need to tune your server.

  7. Re:Next up: "man nice" "man man" "man mount" ? by wild_berry · · Score: 5, Funny

    "mount nice man" doesn't sound like my cup of tea.

  8. Ric Romero? by cashman73 · · Score: 2, Funny

    Is Ric Romero taking notes on this article?

  9. Jesus, what kind of a commie pinko are you? by RomulusNR · · Score: 2, Funny

    A computer is like an employee who does tasks for you -- it's a good idea to keep from overburdening them.

    Don't I already pay this hunk of junk enough in electricity and bandwidth to keep it from slacking off? If it isn't willing to constantly pull more weight, for the greater success, what am I keeping it on for?

    --
    Terrorists can attack freedom, but only Congress can destroy it.
  10. Re:Next up: "man nice" "man man" "man mount" ? by Anonymous Coward · · Score: 2, Funny

    I like the *nix guru's view of sex better:

    gawk; talk; nice; date; wine; grep; touch; unzip; strip; touch; gasp; finger; gasp; mount; fsck; more; yes; gasp; umount; make clean; make mrproper; sleep