Interactive process handling!

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Anuraag

Interactive process handling!

Post by Anuraag »

Hi ppl,

My friends and I need some suggestions with a certain aspect of our project.
Suppose, we have a local process running on a remote terminal,
i.e. the process has been migrated to the remote terminal,
how can we make sure that all interactive statements for input-output
should be redirected back to the original terminal where the
processes originated. Basically, how do we carry out process migration
for interactive processes...

Thanx,
Anuraag;)
User avatar
AndrewAPrice
Member
Member
Posts: 2309
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Re: Interactive process handling!

Post by AndrewAPrice »

Anuraag wrote:Basically, how do we carry out process migration
for interactive processes...
I would freeze the state of a process, page it on to disk, then send the pages across the network, and page it into memory on the new machine. You would probably want an event system which prepares the process for transfering (so it's not in the middle of disk writing or something). For the input/output, you might think about keeping a network byte stream between the host computer and the origional?
My OS is Perception.
urxae
Member
Member
Posts: 149
Joined: Sun Jul 30, 2006 8:16 am
Location: The Netherlands

Post by urxae »

This thread is > 5.5 years old... :roll:
User avatar
hailstorm
Member
Member
Posts: 110
Joined: Wed Nov 02, 2005 12:00 am
Location: The Netherlands

Post by hailstorm »

That shows us how eager we are in helping eachother... :mrgreen:
User avatar
dc0d32
Member
Member
Posts: 69
Joined: Thu Jun 09, 2005 11:00 pm
Location: Right here

Post by dc0d32 »

after paging it out to disk, what about the streams it has opened or waiting on? How can we replicate that?
Post Reply