DragonFly kernel List (threaded) for 2008-07
DragonFly BSD
DragonFly kernel List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Proportional share scheduler


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 3 Jul 2008 10:23:47 -0700 (PDT)

:Well, migration could be partly implemented using process checkpointing.
:I guess what is missing in DragonFly's process checkpointing is
:remembering the state of the associated files/sockets. Thinking about
:it, in the case of a vkernel, this should be no big deal. Anyone ever
:tried to checkpoint a running vkernel?
:
:That would be pretty cool to just checkpoint a running vkernel and
:reload it on any other machine (with a somewhat similar configuration).
:But I'm really missing a use case for myself right now ;-)
:
:Regards,
:
:   Michael

    It is possible to do this.  The vkernel only has a few open file
    descriptors... its raw disks and network interface and that's pretty
    much it.  The only other things that would need to be dealt with are
    the cpu and I/O threads and the special virtual page table memory
    mappings.  Both are easy to reconstruct.

    For the real kernel we have the beginnings of a universal identifier
    (that's what all the sysref stuff is), and ultimately the idea is to
    allow resources to be migrated piecemeal while the processes are
    still running.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]