Computer Systems and Software Engineering

UNIVERSITY OF DERBY College of Engineering and Technology Electrical and Electronic Engineering ASSESSED WORK Module: Computer Systems and Software Engineering Module Code: 5EJ503 Module Leader: Dr Xiaojun Zhai Marking Tutor: Dr Xiaojun Zhai Programmes (s) BEng/BEng(Honours) Stage: 2 Assessment Title: Cache memory Assessment Number: 1 Learning Outcomes Assessed: 1 Submission Date 20th November 2015 Assignment 1 Task A (40%) Cache memory has been developed to improve the performance of computer systems by reducing the memory access time. The cache memory is smaller in size but faster and makes copies of the most frequently accessed locations of the main memory. If most memory locations that are accessed are cached then the memory access time will be close to that of the cache memory. Write an article that describes the principles behind cache memory and the three principal cache mapping functions used and summarizes their advantages and disadvantages (no more than 500 words). Task B (60%) Use the SMPCache software provided to carry out the following: 1. Investigate the influence of the cache size on the miss rate. (30%) Configure a system with the following architectural characteristics: Processors in SMP = 1. Cache coherence protocol = MESI. Scheme for bus arbitration = Random. Word wide (bits) = 16. Words by block = 16 (block size = 32 bytes). Blocks in main memory = 8192 (main memory size = 256 KB). Mapping = Fully-Associative. Replacement policy = LRU. Configure the blocks in cache using the following configurations: 1 (cache size = 0.03 KB), 2, 4, 8, 16, 32, 64, 128, 256, and 512 (cache size = 16 KB). For each of the configurations, obtain the miss rate using the traces produced by the software. a) Draw a graph of the miss rate versus the cache size. (10%) b) Does the miss rate increase or decrease as the cache size increases? (10%) c) In these experiments, it may be observed that for great cache sizes, the miss rate is stabilized. Why? (5%) d) Does the increase of cache size improve the system performance? (5%) 2. Study the influence of the block size on the miss rate. (30%) Configure a system with the following architectural characteristics: Processors in SMP = 1. Cache coherence protocol = MESI. Scheme for bus arbitration = Random. Word wide (bits) = 16. Main memory size = 256 KB (the number of blocks in main memory will vary). Cache size = 4 KB (the number of blocks in cache will vary). Mapping = Fully-Associative. Replacement policy = LRU. Configure the words by block using the following configurations: 4 (block size = 8 bytes), 8, 16, 32, 64, 128, 256, 512, and 1024 (block size = 2048 bytes). For each of the configurations, obtain the miss rate using the traces produced by the software. (a) Draw a graph of the miss rate versus the cache size. (10%) (b) Does the miss rate increase or decrease as the block size increases? Why? (10%) (c) Does the increase of block size improve the system performance? (10%) You are required to submit a single word document file covering both tasks. Assessment In order to pass the module THIS ASSESSED WORK MUST BE ATTEMPTED AND THE WORK SUBMITTED Electronically. Assessment is based upon the achievement or non-achievement of learning outcomes and the grade achieved. In evaluating the student’s performance the assessor compares the product with the set of grade descriptors shown in the Assessment Grade table in the Assessment Regulations handbook or Rights, Responsibilities and Regulations handbook Assessment Criteria % mark Mark Descriptors Class 70-100% Excellent Outstanding; high to very high standard; a high level of critical analysis and evaluation, incisive original thinking; commendable originality; exceptionally well researched; high quality presentation; exceptional clarity of ideas; excellent coherence and logic. Trivial or very minor errors. First 60-69% Very good A very good standard; a very good level of critical analysis and evaluation; significant originality; well researched; a very good standard of presentation; pleasing clarity of ideas; thoughtful and effective presentation; very good sense of coherence and logic; minor errors only. Second Div 1 50-59% Good A good standard; a fairly good level of critical analysis and evaluation; some evidence of original thinking or originality; quite well researched; a good standard of presentation; ideas generally clear and coherent, some evidence of misunderstandings; some deficiencies in presentation. Second Div 2 40-49% Satisfactory A sound standard of work; a fair level of critical analysis and evaluation; little evidence of original thinking or originality; adequately researched; a sound standard of presentation; ideas fairly clear and coherent, some significant misunderstandings and errors; some weakness in style or presentation but satisfactory overall. Third 35-39% Unsatisfactory Overall marginally unsatisfactory; some sound aspects but some of the following weaknesses are evident; inadequate critical analysis and evaluation; little evidence of originality; not well researched; standard of presentation unacceptable; ideas unclear and incoherent; some significant errors and misunderstandings. Marginal fail. Marginal Fail 1-34% Very poor Well below the pass standard; a poor critical analysis and evaluation; no evidence of originality; poorly researched; standard of presentation totally unacceptable; ideas confused and incoherent, some serious misunderstandings and errors. A clear fail well short of the pass standard. At the bottom of the range the work demonstrates nothing of merit. Fail NS Non-submission No work has been submitted. Z Academic offence notation Applies to proven instances of academic offence. Assignment Presentation and Submission The written report should be submitted electronically. See the Electronic Submission Guide for detail

p(5)

Place your order now to enjoy great discounts on this or a similar topic.

People choose us because we provide:

Essays written from scratch, 100% original,

Delivery within deadlines,

Competitive prices and excellent quality,

24/7 customer support,

Priority on their privacy,

Unlimited free revisions upon request, and

Plagiarism free work,

 

Order Similar Assignment Now!

  • Our Support Staff are online 24/7
  • Our Writers are available 24/7
  • Most Urgent order is delivered within 4 Hrs
  • 100% Original Assignment Plagiarism report can be sent to you upon request.

GET 15 % DISCOUNT TODAY use the discount code PAPER15 at the order form.

Type of paper Academic level Subject area
Number of pages Paper urgency Cost per page:
 Total: