Q1from handoutsExample
An I/O device transfers data at a rate of 10MB/s over a 100MB/s bus. The data is
transferred in 4KB blocks. If the processor operates at 500MHz, and it takes a total of
5000 cycles to handle each DMA request, find the fraction of CPU time handling the data
transfer with and without DMA.
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, 20% of each second is spent transferring data. Thus 20% of the CPU time is spent copying data to memory.
With DMA
Time required in handling each DMA request is 5000 cycles. Since 2500 DMA requests are issued (10MB/4KB) the total time taken is 12,500,000 cycles. As the CPU clock is 500MHZ, the fraction of CPU time spent is 12,500,000/(500x106) or 2.5%
On Thu, Jun 16, 2011 at 8:44 PM, afaaq <afaaqtariq233@gmail.com> wrote:
--On Fri, Jun 17, 2011 at 8:42 AM, mc090204640 Salamat Masih <mc090204640@vu.edu.pk> wrote:
Hello Dear Attock GroupsI hope you are all fine and enjoying good health.Please Send me solution of assignment no.4 CS501-Advance Computer ArchitectureLast date is 19 June 2011.Thanks a lot.--
Group Basic Rules:
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Spamming are strictly prohibited and banned in group.
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
Group Email Address:
Attock-VU-Group@Googlegroups.Com
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
Click here to Join this group at Facebook:
https://www.facebook.com/home.php?sk=group_111877855568034
Asslam O Alikum
Remember Me In Your Prayers
Best regard's
Muhammad Afaaq
MBA 4th (Final Semester) Finance Group
0346-5329264
Islamabad
Afaaq_Tariq@yahoo.com
For latest assignments solved quizzes files gdb solve n unsolved past papers Come join us in
http://vugoogle.com
http://www.alliswell.com.pk/
http://groups.google.com/group/vustudymania
If u like me than raise your hand with me
If not then raise ur standard
That's about me … !
--
Group Basic Rules:
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Spamming are strictly prohibited and banned in group.
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
Group Email Address:
Attock-VU-Group@Googlegroups.Com
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
Click here to Join this group at Facebook:
https://www.facebook.com/home.php?sk=group_111877855568034
--Best Regards,Muhammad Naveed AnjumMC100202262
--
Group Basic Rules:
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Spamming are strictly prohibited and banned in group.
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
Group Email Address:
Attock-VU-Group@Googlegroups.Com
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
Click here to Join this group at Facebook:
https://www.facebook.com/home.php?sk=group_111877855568034
No comments:
Post a Comment