Pat Gunn (dachte) wrote,
Pat Gunn
dachte

SIGBORED

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
Subscribe

  • Substitute Gift

    This is the time where the more materialist of us are giving gifts and the geeky of us are giving GIFs. Instead, I offer you a year's end music mix:…

  • Clean Ears

    Weird Al recently released another another album, Alpocalypse. I've always liked his Polka medleys, but not having a TV means I don't hear much of…

  • Bohemian ID Card

    Anyone who has played Portal 2 and has a good knowledge of classical music, I have a question (might be spoily for those who have not yet played…

  • Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments