Question

In: Computer Science

In a system with 16GB, external fragmentation requires that we compact memory to fill in the...

In a system with 16GB, external fragmentation requires
that we compact memory to fill in the holes. We need to
copy three fourths of memory from one location to another.
Assuming a 256-bit data bus with a system clock of 1GHz
that requires 50 clocks per read and write, how long will
it take for this operation to complete? Remember the
relationship between powers of 2 and 10 and don’t worry
about conversion errors.

Solutions

Expert Solution

Total memory of system, MT = 16 GB

MT = 24GB = 24 * 230

MT = 234b // 'b' stands for 'bits'

Amount of memory that we need to copy from one location to other location,

MC = (3/4) * 16GB

MC = 12GB

MC = 12 * 230b // 'b' stands for 'bits'

Our data bus size is 256 bits, so we can transfer 256 bits of data at once from one location to other location.

So, we have 'MC' amount of data to transfer using 256 bits size data bus, hence total number of reads required are,

RT = MC/256

RT = 12 * 230/28

RT = 12 * 222

1 read takes 50 clock cycles, so RT​​​​​​​ reads will take,

CC = 50 * 12 * 222

CC = 600 * 222

'CC' clock cycles will be required to copy required size memory area from one place and same number of CC cycles will be required to write this memory area onto other place.

so total clock cycles required are,

CCT = 2*CC

CCT = 1200 * 222

CCT = 75 * 226

Clock speed is 1GHZ means,

230 clock cycles = 1 second

75 * 226 clock cycles, T = (75 * 226)/230 seconds

T = 75/24 seconds

T = 4.6875 seconds


Related Solutions

In a system employing a paging scheme for memory management; wasted space is due to: External...
In a system employing a paging scheme for memory management; wasted space is due to: External fragmentation Internal fragmentation Pages and frames of different specified sizes None of these are reasons for wasted space in a paging scheme The page table for each process maintains: The frame location for each page of the process The page location for each frame of the process The physical memory location of the process None of these are what the page table maintains The...
Computer Architecture Theme: External Memory Very briefly discuss flash memory?
Computer Architecture Theme: External Memory Very briefly discuss flash memory?
What is internal and external fragmentation. Explain circumstances where one might be preferred over the other....
What is internal and external fragmentation. Explain circumstances where one might be preferred over the other. [ 6pts] Given the following: configuration with jobs arriving in order (Job A, B, C) and with blocks shown in order from low order memory to high order memory: [ 4 pts] Job List: Memory Block List: Job Number Memory Requested Memory Block Memory Block Size Job A 60K Block 1 10K Job B 10K Block 2 60K Job C 250K Block 3 100K...
A GC needs to fill and compact a trench that has the following dimensions 150 x...
A GC needs to fill and compact a trench that has the following dimensions 150 x 50 x 1.5 ft.   The sub is going to use a dump truck that can carry 12 CY, and travels at an average speed of 40 mph. The borrow pit is located 45 miles from the construction site. The truck driver makes $50/hr and works 8 hours per day. Loading time for the truck is 30 minutes and unloading time is 5 minutes. The...
A client needs to fill and compact a trench that has the following dimensions 150 x...
A client needs to fill and compact a trench that has the following dimensions 150 x 50 x 1.5 ft. The sub is going to use a dump truck that can carry 12 CY, and travels at an average speed of 40 mph. The borrow pit is located 45 miles from the construction site. The truck driver makes $50/hr and works 8 hours per day. Loading time for the truck is 30 minutes and unloading time is 5 minutes. The...
We decide to speed up the virtual memory system of question 1 by using a translation...
We decide to speed up the virtual memory system of question 1 by using a translation lookaside buffer (TLB). Suppose your memory system has the characteristics shown in the following table. The TLB and cache miss rates indicate how often the requested entry is not found. The main memory miss rate indicates how often page faults occur.                                                                            Memory Characteristics Memory Unit Access Time (Cycles) Miss Rate TLB 1 0.05% Cache 1 2% Main memory 100 0.0003% Hard drive...
What features of the American political system promote fragmentation, lack of coordination, and inconsistencies in the...
What features of the American political system promote fragmentation, lack of coordination, and inconsistencies in the policy-making process? In your view, how could this incremental system of policy making be changed?
1. A) Fill in the blanks: Faciliated diffusion requires a _____________________ for a solute to be...
1. A) Fill in the blanks: Faciliated diffusion requires a _____________________ for a solute to be transported down its concentration gradient. This is due to ­­­­­­­­__________ or _________________ limitations B) How do transport proteins become saturated? How does this affect the rate of facilitated diffusion?
what is Protection? what is Fill on demand? what is Copy on write? what is Memory...
what is Protection? what is Fill on demand? what is Copy on write? what is Memory mapped files? what is Web server role? what is Virtual machines? what is Fault tolerance?
write a surmmary: 5.4.2 Applying External Filtration Applying external filtration to a building requires modifica- tions...
write a surmmary: 5.4.2 Applying External Filtration Applying external filtration to a building requires modifica- tions to the building’s HVAC system and electrical system, and it also usually requires minor architectural changes to reduce air leakage from the selected protective envelope. These changes are necessary to ensure that, when the protective system is in operation, all outside air enters the building through the filters. The air exchange that normally occurs due to wind, chimney effect, and operation of fans must...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT