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

  • Still alive

    Been feeling a bit nostalgic. Not about to return to LiveJournal - their new ownership is unfortunate, but I wanted to briefly note what's been up…

  • Unplugging LJ

    It's about time I pulled the plug on the LJ version of my blog: 1) I'm much more active on G+ than I am with general blogging. I post many times a…

  • Mutual Trust

    I don't know which should be considered more remarkable: That a cat should trust a member of a far larger and stronger species that it can't…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments