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

  • Nashville Equlibrium

    Today at 16:45 I am running the Random Distance Run, which five years ago I managed to score second-worst of the people who finished. I imagine…

  • Technically Civilised

    Today I moved my lamp, tea kettle, and cup to my new office - this means that my office is technically civilised (not fully because I don't have…

  • Tryst and is Olde

    Musings on love in the abstract:I've been thinking about crushes I've had over my life, and asked myself the theoretical - if by some chance not…

  • 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