Showing posts with label Operating System. Show all posts
Showing posts with label Operating System. Show all posts

Tuesday, January 22, 2013

Register


Register
A, special, high-speed storage area within the CPU. All data must be represented in a register before it can be processed. For example, if two numbers are to be multiplied, both numbers must be in registers, and the result is also placed in a register. (The register can contain the address of a memory location where data is stored rather than the actual data itself.)
The number of registers that a CPU has and the size of each (number of bits) help determine the power and speed of a CPU. For example a 32-bit CPU is one in which each register is 32 bits wide. Therefore, each CPU instruction can manipulate 32 bits of data.
Usually, the movement of data in and out of registers is completely transparent to users, and even to programmers. 
Only assembly language programs can manipulate registers. 
In high-level languages, the compiler is responsible for translating high-level operations into low-level operations that access registers.
  • Primary Storage is the top level and is made up of CPU registers, CPU cache and memory which are the only components that are directly accessible to the systems CPU. The CPU can continuously read data stored in these areas and execute all instructions as required quickly in a uniform manner. Secondary Storage differs from primary storage in that it is not directly accessible by the CPU. A system uses input/output (I/O) channels to connect to the secondary storage which control the data flow through a system when required and on request
  • Secondary storage is non-volatile so does not lose data when it is powered down so consequently modern computer systems tend to have a more secondary storage than primary storage. All secondary storage today consist of hard disk drives (HDD), usually set up in a RAID configuration, however older installations also included removable media such us magneto optical or MO
  • Tertiary Storage is mainly used as backup and archival of data and although based on the slowest devices can be classed as the most important in terms of data protection against a variety of disasters that can affect an IT infrastructure. Most devices in this segment are automated via robotics and software to reduce management costs and risk of human error and consist primarily of disk & tape based back up devices
  • Offline Storage is the final category and is where removable types of storage media sit such as tape cartridges and optical disc such as CD and DVD. Offline storage is can be used to transfer data between systems but also allow for data to be secured offsite to ensure companies always have a copy of valuable data in the event of a disaster.

Friday, December 28, 2012

计算机存储

怎么向外行解释“缓存”的概念?——“就像把牛奶放在冰箱,这样每次想喝,就不用去超市买了”,你还有更好的答案么?

Monday, December 17, 2012

Operating System

http://www.cs.rutgers.edu/~pxk/416/notes/03-concepts.html

Traditionally the operating system consists of three parts:
PartFunction
KernelThe low level core being loaded after the boot process.
Has many functions such as control of the data flow between memory and I/O units.
ShellThe user interface
File systemA standard for disk formatting