Docsity

Programming Assignment 3: Interactive Bit Torrent for ECS251, Winter 2009, Assignments of Operating Systems

Toggle sidebar
bg1
ECS251, Winter 2009, Programming Assignment #3
Interactive Bit Torrent
This programming assignment is extending your result from HW#2 (and well as HW#1,
in some sense) to support the Bit Torrent protocol from the kernel.
Your kernel module from HW#2 should now store the block # (or the offset) from a
random file sample application (like the file we used to produce sss.txt), but with the read
accesses to the file your BT client (ctorrent) is downloading. These block numbers can be
retrieved by the BT client via a new system call you will implement. After obtaining
these block numbers, your BT client will then try to perform piece selection based on
such inputs. In the interactive grading, you just need to show that your BT client indeed
obtains the information from the kernel and behave differently (select different pieces
based on the inputs from the new system call).
Please schedule the interactive appointments for HW#3 with me as early as March 2nd of
2009.
Presentation of your Survey Paper:
You can do this at the same time for your HW#3 grading, or you can schedule differently,
whichever better for you.

Partial preview of the text

Download Programming Assignment 3: Interactive Bit Torrent for ECS251, Winter 2009 and more Assignments Operating Systems in PDF only on Docsity!

ECS251, Winter 2009, Programming Assignment # Interactive Bit Torrent This programming assignment is extending your result from HW#2 (and well as HW#1, in some sense) to support the Bit Torrent protocol from the kernel. Your kernel module from HW#2 should now store the block # (or the offset) from a random file sample application (like the file we used to produce sss.txt), but with the read accesses to the file your BT client (ctorrent) is downloading. These block numbers can be retrieved by the BT client via a new system call you will implement. After obtaining these block numbers, your BT client will then try to perform piece selection based on such inputs. In the interactive grading, you just need to show that your BT client indeed obtains the information from the kernel and behave differently (select different pieces based on the inputs from the new system call). Please schedule the interactive appointments for HW#3 with me as early as March 2nd^ of

Presentation of your Survey Paper: You can do this at the same time for your HW#3 grading, or you can schedule differently, whichever better for you.