We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

# CS501 Assignment No 03 Solution & Discussion Due Date:21-01-2013

Assignment No. 03

Due Date:

• Assignment should be in .doc format.
• Assignment submission through email is highly discouraged.

Rules for Marking:

It should be clear that your assignment will not get any credit if:

• The assignment is submitted after due date.
• The submitted assignment file is corrupted.
• The assignment is copied.

Note:

• Font style: “Times New Roman”
• Font color: “Black”
• Font size: “12”
• Font in Italic is not allowed at all.
• No formatting or bullets are allowed to use.

Total Marks = 20

Question:

An I/O device transfers data at a rate of 5MB/s over a 100MB/s bus. The data is
transferred in 5KB block. If the processor operates at 400MHz, and it takes a total of 4000 cycles to handle each DMA request, find the fraction of CPU time handling the data transfer with and without DMA.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Views: 3993

### Replies to This Discussion

Our main purpose here discussion not just Solution

thnx ali..........

In assignment question figures are change...how we can done by formulatically

An I/O device transfers data at a rate of 5MB/s over a 100MB/s bus. The data is
transferred in 5KB block. If the processor operates at 400MHz, and it takes a total of 4000 cycles to handle each DMA request, find the fraction of CPU time handling the data transfer with and without DMA.

plz tell

kia agr ma sirf warding change kr k book wali example lak lu tu tek ho ga

koi idea do na iss about k figures change hain to ab kia krna hai

dear value change han assignment ki....

koi btye ga k kesy krna ha solve

solution of half question will be as follows

Without DMA: The processor here copies the data into memory as it is sent over the bus. Since the I/O device sends data at a rate of 5MB/s over the 100MB/s bus, 5 % of each second is spent transferring data. Thus 5% of the CPU time is spent copying data to memory.

Solution of with DMA koi aur btaye to theek wrna, last date pe main hi bta dunga, don't worry sbke 20 aayenge :P

saeeda malik

ap ny value tu change ki nahi with DMA k solution men..pehly waly ki discussion again dy di.

Saeeda, inko paka pkaaya chahiye, khair hai naaa, jub itni effort ki hai ap ne to thori aur kr do! solution likhao ta k yeh sirf copy, paste aur changes kren :)

0.1 ans aya hai Saeeda sis.

## Latest Activity

S ι у α ♡ updated their profile
3 hours ago
4 hours ago
4 hours ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + posted discussions
5 hours ago
5 hours ago
5 hours ago
+ ⵑⵑ ӍᎥŞŞ ⲤһᵘʳһშᎥⵏ ⵑⵑ + updated their profile
5 hours ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + liked Ammara Sabir's discussion !!!!!!Muhabbat!!!!!!
5 hours ago
6 hours ago
6 hours ago
6 hours ago
6 hours ago

1

2

3

4

5