operator<<
John Cormie's Radio Weblog

 






Subscribe to "operator<<" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 

 

  Thursday, April 17, 2003


Well we finally got our CS354 assignment 3 back. In less than two weeks we implemented a file system for nachos. It took them about the same time to write our mark on the cover sheet (and nothing more) and return it to us. No comments, no explanation, no nothing -- just a number. And after all that work.

Now that the assignment is over, I'm opening up our cvs repository to the public. Our Nachos operating system is fabulous, and got 105, 97, 97 (%) on A1, 2 and 3 respectively. Features:

  • Stable. "Like a rock," never crashes.
  • Process priorities.
  • Virtual memory works perfectly even under high load. Implemented "clock" page replacement algorithm, process suspension for load control.
  • File system supports variable sized disks and triple indirect data block pointers allow files up to 4MB in size. (That's big for Nachos!)
  • VM Page file coexists with filesystem.
  • Pipe() system call. shell supports stuff like:

    $ echo bleh | cat >> outfile

  • Remote access via telnet. Try:

    $ shell -i /tcp/[listen_on_port_number] &

  • Dynamic memory allocation (via malloc()/MemMap()) See matmult.c
  • A bunch of libc stuff ported to nachos: FILE*, fopen, fclose, fprintf (Original sources: K&R book, dietlibc, etc.)

Enjoy.
7:04:17 PM     comment []



Click here to visit the Radio UserLand website. © Copyright 2004 John Cormie.
Last update: 3/21/2004; 10:28:50 AM.

April 2003
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
Mar   May