Comparch Individual Assignment1
Comparch Individual Assignment1
INDIVIDUAL ASSIGNMENT
Submitedto:mr.tinbit
Submision date :10/05/2023
1. One element of cache design is the address of cache memory. Based on this
design element
a cache could be classified as using logical or physical address. Identify/draw
the organization
of the cache in each case and list out the main features of each design options.
A logical cache, also known as a virtual cache, stores data using virtual
addresses. The processor accesses the cache directly, without going through the
MMU. A physical cache stores data using main memory physical addresses.
One obvious advantage of the logical cache is that cache access speed is faster
than for a physical cache, because the cache can respond before the MMU
performs an address translation.
The disadvantage has to do with the fact that most virtual memory systems
supply each application with the same virtual memory address space. That is,
each application sees a virtual memory that starts at address 0. Thus, the same
virtual address in two different applications refers to two different physical
addresses.The cache memory must therefore be completely flushed with each
application context switch, or extra bits must be added to each line of the cache
to identify which virtual address space this address refers to.
Physical address is a location that exists in the memory; it allows accessing a
particular storage cell in the main memory..it is an accessible physical location
existing within the memory.
The user program does not have the ability to view the physical address
directly.
The computer memory can be divided into 5 major hierarchies that are based on
use as well as speed. A processor can easily move from any one level to some
other on the basis of its requirements. These five hierarchies in a system’s
memory are register, cache memory, main memory, magnetic disc, and magnetic
tap.
With synchronous access, the DRAM moves data in and out under control of
the system clock. The processor or other master issues the instruction and
address
the mode register and associated control logic is another key feature
differentiating SDRAMs from conventional DRAMs. It provides a mechanism
to customize the SDRAM to suit specific system needs.
DR achieves higher data rates in three ways. First, the data transfer is
synchronized to both the rising and falling edge of the clock, rather than just
the rising edge. This doubles the data rate; hence the term double data rate.
Second, DDR uses higher clock rate on the bus to increase the transfer rate.
Third, a buffering scheme is used, as explained subsequently.
4. Solid State Drives (SSDs) are starting to replace or complement the Hard
Disk Drives (HDD) both as internal and external secondary memory.
Identify the basic characteristics, organization and advantages of SSDs
exhaustively
SSD is used to provide satisfactory performance and also to reduce power usage in an
existing computer system.Generally, SSD is developed using NAND flash memory,
DRAM-based device can also be deemed a solid-state drive.SSD handles vibration and
shock much better than that a rotating hard disk drive since it has no moving parts.The
most notable Solid state device form factor is 2.5 and it has a SATA interface. A 2.5”
SSD is installed in the same way as a regular hard disk drive.
It has a Smaller Physical Size that could be withdrawn in the case of SD Card,
Compact Flash, and so on.
Advantages of Solid State Drive (SSD)
Below are limited reasons why SSD look interesting to most people:
They make use of fewer moving fractions which renders them less possible to
undergo damage from drops, vibrations, accidents, and others.
Fewer moving fraction likewise implies that SSDs are much quicker, delivering
instant-load accomplishment.
They have a long battery life, which makes them require less power to operate on
like the hard drives that requires much power to operate.
Organization of SSDs
5 .Explain the difference between a simple CAV system and a multiple zoned
recording system.
A simple CAV system has a disk that is divided into a number of pie-shaped
sectors and into a series of concentric tracks.For the constant angular velocity
(CAV) system, the number of bits per track is constant.The advantage of using
CAV is that individual blocks of data can be directly addressed by track and
sector. To move the head from its current location to a specific address, it only
takes a short movement of the head to a specific track and a short wait for the
proper sector to spin under the head. The disadvantage of CAV is that the
amount of data thatcan be stored on the long outer tracks is the only same as
what can be stored on the short inner tracks
Because the density, in bits per linear inch, increases in moving from the
outermost track to the innermost track, disk storage capacity in a straightforward
CAV system is limited by the maximum recording density that can be achieved
on the innermost track. To increase density, modern hard disk systems use a
technique known as multiple zone recording, in which the surface is divided
into a number of concentric zones (16 is typical). Within a zone, the number of
bits per track is constant. Zones farther from the center contain more bits (more
sectors) than zones closer to the center.This allows for greater overall storage
capacity at the expense of somewhat more complex circuitry. As the disk head
moves from one zone to another, the length (along the track) of individual bits
changes, causing a change in the timing for reads and
writes.
The I/O channel represents an extension of the DMA concept. An I/O channel
has the ability to execute I/O instructions, which gives it complete control over
I/O operations. In a computer system with such devices, the CPU does not
execute
I/O instructions. Such instructions are stored in main memory to be executed by
a
special-purpose processor in the I/O channel itself. Thus, the CPU initiates an I/O
priority, and actions to be taken for certain error conditions. The I/O channel
follows
Two types of I/O channels are common,selector channel controls multiple high-
speed devices and, at any one time, is dedicated to the transfer of data with one
of those devices
Each IOP controls and manage the input-output tasks. The IOP is similar to CPU
except that it handles only the details of I/O processing. The IOP can fetch and
execute its own instructions. These IOP instructions are designed to manage I/O
transfers only.
Below is a block diagram of a computer along with various I/O Processors. The
memory unit occupies the central position and can communicate with each
processor.
The CPU processes the data required for solving the computational tasks. The
IOP provides a path for transfer of data between peripherals and memory. The
CPU assigns the task of initiating the I/O program.The IOP operates independent
from CPU and transfer data between peripherals and memory.
The communication between the IOP and the devices is similar to the program
control method of transfer. And the communication with the memory is similar
to the direct memory access method.
The Input Output Processor is a specialized processor which loads and stores
data into memory along with the execution of I/O instructions. It acts as an
interface between system and devices. It involves a sequence of events to
executing I/O operations and then store the results into the memory
USB is widely used for peripheral connections. It is the default interface for
slowerspeed devices, such as keyboard and pointing devices, but is also
commonly used for high-speed I/O, including printers, disk drives, and network
adapters.USB has gone through multiple generations.A USB system is controlled
by a root host controller, which attaches to devices to create a local network with
a hierarchical tree topology.
FireWire Serial Bus
FireWire provides for what is known as hot plugging, which makes it possible to
connect and disconnect peripherals without having to power the computer
system down or reconfigure the system.
Thunderbolt
The most recent, and one of fastest, peripheral connection technology to become
available for general-purpose use is Thunderbolt, developed by Intel with
collaboration from Apple. One Thunderbolt cable can manage the work
previously required of multiple cables.
InfiniBand
SATA (Serial ATA): a standard for connecting storage devices such as hard drives
and solid-state drives to a computer. Here are some of the key characteristics of SATA
external memory:
Speed: SATA provides a data transfer rate of up to 6 Gbps, making it faster than its
predecessor, IDE.
Size: SATA connectors are smaller and more compact than IDE connectors, which
makes them easier to use in smaller devices such as laptops and small form factor
desktop computers.
Cable length: SATA cables can be up to 1 meter long, making them ideal for use in
desktop computers.
Power consumption: SATA drives are designed to be power efficient, consuming
less power than IDE drives, which helps to extend the battery life of laptops and
other portable devices.
Hot-swapping: SATA drives can be hot-swapped, which means that you can remove
and replace them without having to shut down the computer.
Enhanced features: SATA includes features such as Native Command Queuing
(NCQ), which allows the drive to receive and execute multiple commands in the
order that optimizes performance, and TRIM support for solid-state drives, which
helps to keep them operating at optimal performance.
Compatibility: SATA is widely used and is compatible with a range of operating systems,
including Windows, MacOS,