www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

# 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.

Views: 4057

### 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.

1

2

3

4

5

## Latest Activity

Muhammad Rizwan Ansari liked Karina Lopez's profile
10 minutes ago
alvia khan and Shoaib Hasan Khan are now friends
26 minutes ago
Huma noor left a comment for Karina Lopez
4 hours ago
Shoaib Hasan Khan updated their profile
5 hours ago
memon added a discussion to the group CS615 Software Project Management

7 hours ago