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:
Your assignment must be uploaded/submitted before or on21st Jan, 2013

Please view the Assignment Submission Processdocument provided to you by the Virtual University for uploading assignments.

• Assignment should be in .doc format.
• Save your assignment with your ID (e.g. bx020200786.doc).
• 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:
Your answer must follow the below given specifications. You will be assigned zero marks if you do not follow these instructions.

• Font style: “Times New Roman”
• Font color: “Black”
• Font size: “12”
• Bold for heading only.
• 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

## Latest Activity

spacedata posted discussions
10 minutes ago
spacedata, PatrickMontgomery and DamianTyson joined Virtual University of Pakistan
1 hour ago
11 hours ago
11 hours ago
DamianTyson joined + M.Tariq Malik's group

### PSY101 Introduction to Psychology

11 hours ago
Ifra updated their profile
19 hours ago
21 hours ago
Terry Brown replied to MEHMOOD QADIR's discussion Research Paper
22 hours ago