Академический Документы
Профессиональный Документы
Культура Документы
Memory is a storage for keeping data & it has to work fast because it work directly to
CPU
Random Access Memory
Random Access Memory (RAM) is a computer storage temporary holding of data
(volatile). Random Access meaning data can be access any order without
restriction opposite of RAM is magnetic tape. Memory is consist of transistor &
capacitors to create memory cell which represents a single bit of data ,capacitor
holds the bit of information a 0 or a 1 ,transistor acts as a switch that control
circuitry on the memory chip read the capacitor or change its state. A capacitor
is like a small bucket that is able to store electrons. To store a 1 in the memory
cell, the bucket is filled with electrons. To store a 0, it is emptied. The problem
with the capacitor's bucket is that it has a leak. In a matter of a few
milliseconds a full bucket becomes empty. Therefore, for dynamic memory to
work, either the CPU or the memory controller has to come along and
recharge all of the capacitors holding a 1 before they discharge. To do this,
the memory controller reads the memory and then writes it right back. This
refresh operation happens automatically thousands of times per second.This
refresh operation is where dynamic RAM gets its name. Dynamic RAM has to be
dynamically refreshed all of the time or it forgets what it is holding. The downside
of all of this refreshing is that it takes time and slows down the memory.
Flash Memory
Flash memory is much faster than EEPROM because it erased a block or
entire chips to rewrite ,flash memory uses in -circuit wiring to apply electric
field to the entire chip or section known as block(example :BIOS)
Cache Memory
Cache memory is to store recently used program or data ,when CPU request a
programs or data Cache search for the data then it supplied to CPU at a very short
time, if the information or data is not available it would get it from either main
memory or hard disk., if the data or information is not available in the cache
memory is a “missed” if available is a “hit”
Cache memory can increased the speed of the PC but it’s expensive therefore we
need only small amount of it.
The speed of L2 cache is (30 nanoseconds)(30 billionths of second) which is 2
times faster than the (RAM),so does L2 cache much faster above them speed
233(MHZ)megahertz ,pentium3.5 times.
Virtual Memory
When PC RAM space is not enough to run many programs at once time
virtual memory help to look for areas that have not been used recently &
copy them onto the hard disk this free up space in RAM to load new
applications, but if it keep copying to & from hard disk the computer will slow
down. Other benefit of virtual memory it automatically copying without you
notice it & you feel like you have unlimited RAM space.
The area of the hard disk that store the RAM image is called a page file ,it
hold pages of RAM on the hard disk & the Operating system moves data back &
forth between the page file & RAM .On a window machine ,page file have a SWP
extension(2-11)