Pat Gunn (dachte) wrote,
Pat Gunn


Oh, another idea I had at the conference that I just remembered. A usefulthing -- when the system's CPU usage drops below 10%, it sends a SIGBOREDto each process in turn, and if they catch it instead of ignoring it, itwaits for the CPU usage to drop again below 10% again, and continues to sendthem. Once all processes get it, it then waits awhile before doing it again.Default handler is to ignore. There might be a process, kidled, that asks thekernel to do things that are best handled in kernel-space. Why? So thesystem can do housekeeping when it's not otherwise busy. Why not defrag thedisk? Have Perl or your JVM do garbage-collection? Have Postgres flush it'sdead table entries. Etc etc.

Tags: tech

  • JS Ugliness

    I'm weirded out that standards for Javascript programming are so low. Having made a more-or-less a successful first project, where I really rushed…

  • Controversial Opinions in Programming

    I like that recently there's been a meme floating around, started by one good blog post that got a lot of airtime, of posting and then talking about…

  • Firefox and Clipboard-clobbering

    I often find that my PRIMARY clipboard (the one associated with mouse selections in the X Window System, not to be confused with the CLIPBOARD…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded