|
15-410 Homework 2This homework assignment is due Friday, December 5th at 23:59:59. As we intend to make solutions available on the web site immediately thereafter, . Homework must be submitted (online) in either PostScript or PDF format (not:
Microsoft Word, Word Perfect, Apple Works, LaTeX,
XyWrite,
WordStar,
etc.). Except as otherwise directed (in the crypto question), turn
in your answers as
As usual, you may discuss this assignment with others, but you must then go off by yourself to write up the solution. Question 1 - Public Key PracticumThis question is not hard, but it does take some time to do it right. Please don't leave this question to the last minute, and think carefully about what the various steps accomplish. Follow the directions in gpg.html to generate
a PGP key ring,
containing public and private keys
for digital signature and encryption purposes.
Do not turn the key ring in to your
Question 2 - Demand LoadingSuppose that Project 4 had been adding demand loading of
executables to your Project 3 kernel.
The key idea of demand loading is that each individual
invocation of a program will execute only a subset of the
instructions, and hence typically access only a subset
of the data; it is thus possible to save time and
memory during Part AExplain what housekeeping information would be required by the page-fault handler in order to enable demand loading of pages from the text region. Briefly outline how the page-fault handler would access and use that information. We do not expect that you will need more than a paragraph for your answer. Part BNow choose another memory region to discuss in the same fashion as your answer for Part A. Try to select the "most interesting" region, and briefly state why you chose the one you did. Part CSome systems may benefit more from demand loading
than others. Use the Linux Part DIt is possible to use the Helpful HintBy the way, if you think you are having AFS permission problems,
try running the program located at
| ||||||||||
[Last modified Wednesday December 03, 2008] |