Monday, 13 January 2014

How Data is stored on Hard Disk

Hard disk is a common data storage used in computers. Data is stored on the hard disk in the form of 0 and 1. Through this article we will find out how actually data is stored on the hard disk drive.  The part of the hard disk that stores the data is known as platter. Platters are circular disk made of a non magnetic material typically aluminum alloy, glass or ceramic and are coated with a thin layer (10-20nm) of a magnetic material. Platters are further separated in to the tracks and sectors where tracks are concentric circles while sectors are pie shaped wedges on the track.


                  
                                               Hard disk stores information in the form of magnetic fields. Data is stored digitally in the form of tiny magnetized regions on the platter where each region represents a bit. To write a data on the hard disk, a magnetic field is placed on the tiny field in one of these two polarities: N-S – If North Pole arrives before the south pole and S-N – if the south pole arrives before the north pole while the field is accessed.  An orientation in the one direction (like N-S) can represent the ‘1’ while the opposite orientation (S-N) represents “0”. This polarity is sensed by integrated controllers built within the hard disk.

Introduction Computer Motherboard

Now let’s dive into the pc box. The whole computer is built up around a motherboard, and it is the most important component in the PC.
In this chapter I will introduce the motherboard and it’s components.

  • Construction of the motherboard.

  • The CPU.

  • The busses.

  • Chipsets (controllers).
    I will work through the individual components in more detail later in the guide. This chapter will describe the architecture in “broader” brush strokes.

    Data exchange in the motherboard

    The motherboard is a large printed circuit board, which has lots of chips, connectors and other electronics mounted on it. Computer nerds simply call it a board.
    Inside the PC, data is constantly being exchanged between or via the various devices shown in Fig. 17. Most of the data exchange takes place on the motherboard itself, where all the components are connected to each other:

    Fig.  23. Data exchange on the motherboard.
    In relation to the PC’s external devices, the motherboard functions like a central railway station.

    Fig.  24. The motherboard is the hub of all data exchange.
    All traffic originates from or ends up in the motherboard; which is appropriately called the most important component of the PC. I will show you pictures of the individual components of the motherboard later, but this is what it looks like as a total unit:

    Fig.  25. A motherboard is a board covered with electronics.

    Find your motherboard

    If you are in position to look at a motherboard, I would recommend you do so. It is a very good exercise to try to identify the various components on a motherboard.
    The motherboard is really just a big plastic sheet which is full of electrical conductors. The conductors (also called tracks) run across and down, and in several layers, in order to connect all the individual components, and transfer data between them.
    The motherboard is mounted in the PC box using small plastic brackets and screws. The cabinet and the motherboard are made to suit each other, so there are holes in the metal for the connectors mounted on the board. Finally, the motherboard has to be connected to the PC’s power supply installed in the cabinet. This is done using a standard connector:

    Fig. 26. The power supply is connected to the motherboard via a multicoloured cable and a large white plastic connector.
    Now we’ll look at the various types of components on the motherboard.

    Chips

    The active devices on the motherboard are gathered together in chips. These are tiny electronic circuits which are crammed with transistors. The chips have various functions. For example, there are:

  • ROM chips, which store the BIOS and other programs.

  • CMOS storage, which contains user-defined data used by the setup program.

  • The chipset, which normally consists of two, so-called controllers, which incorporate a number of very essential functions.
    You’ll learn a lot about these chips and their functions later in the guide.

    Sockets

    You will also find sockets on the motherboard. These are holders, which have been soldered to the motherboard. The sockets are built to exactly match a card or a chip.
    This is how a number of components are directly connected to the motherboard. For example, there are sockets (slots) to mount:

  • The CPU and working storage (the RAM modules).

  • Expansion cards, also called adapters (PCI, AGP and AMR slots, etc.).
    The idea of a socket is, that you can install a component directly on the motherboard without needing special tools. The component has to be pushed carefully and firmly into the socket, and will then hopefully stay there.

    Fig. 27. Here you can see three (white) PCI sockets, in which plug-in cards can be installed.

    Plugs, connectors and ports…

    The motherboard also contains a number of inputs and outputs, to which various equipment can be connected. Most ports (also called I/O ports) can be seen where they end in a connector at the back of the PC. These are:

  • Ports for the keyboard and mouse.

  • Serial ports, the parallel port, and USB ports.

  • Sockets for speakers/microphone etc.
    Often, the various connectors are soldered onto the motherboard, so that the external components, like the keyboard, mouse, printer, speakers, etc., can be connected directly to the motherboard.

    Fig.  28. Connectors mounted directly on a motherboard.
    In addition to these sockets, connectors and ports, the motherboard contains a number of other contacts. These include:

  • The big connector which supplies the motherboard with power from the power supply (see Fig. 26.

  • Other connectors for the diskette drive, hard disk, CD-ROM drive, etc.

  • So-called jumpers, which are used on some motherboards to configure voltage and various operating speeds, etc.

  • A number of pins used to connect the reset button, LED for hard disk activity, built-in speaker, etc.

    Fig.  29. A connector can be an array of pins like this, which suits a special cable.
    Take a look at Fig. 30 and Fig. 31, which show connectors and jumpers from two different motherboards.


    Fig. 30. The tiny connectors and jumpers that are hidden on any motherboard.
    The ROM BIOS chip (Award brand), inFig. 31, contains a small collection of programs (software) which are permanently stored on the motherboard, and which are used, for example, when the PC starts up:

    Fig. 31. At the bottom left, you can see the two rows of pins which connect, for example, to the little speaker inside the cabinet. On the bottom right you can see two “jumpers”.
    The round thing in Fig. 31 is the motherboard battery, which maintains the clock function and any settings saved in the CMOS storage
  • Sunday, 12 January 2014

    Recording Technique

    Magnetic storage is essentially an analog medium. The data a PC stores on it, however, is digital information—that is, 1s and 0s. When the drive sends digital information to a magnetic recording head, the head creates magnetic domains on the storage medium with specific polarities corresponding to the positive and negative voltages the drive applies to the head. The flux reversals form the boundaries between the areas of positive and negative polarity that the drive controller uses to encode the digital data onto the analog medium. During a read operation, each flux reversal the drive detects generates a positive or negative pulse that the device uses to reconstruct the original binary data.

    To optimize the placement of flux transitions during magnetic storage, the drive passes the raw digital input data through a device called an encoder/decoder (endec), which converts the raw binary information to a waveform designed to optimally place the flux transitions (pulses) on the media. During a read operation, the endec reverses the process and decodes the pulse train back into the original binary data. Over the years, several schemes for encoding data in this manner have been developed; some are better or more efficient than others, which you see later in this section.


    Other descriptions of the data-encoding process might be much simpler, but they omit the facts that make some of the issues related to hard drive reliability so critical—namely, timing. Engineers and designers are constantly pushing the envelope to stuff more and more bits of information into the limited quantity of magnetic flux reversals per inch. What they’ve come up with, essentially, is a design in which the bits of information are decoded not only from the presence or absence of flux reversals, but from the timing between them. The more accurately they can time the reversals, the more information that can be encoded (and subsequently decoded) from that timing information.

    In any form of binary signaling, the use of timing is significant. When a read or write waveform is interpreted, the timing of each voltage transition event is critical. Timing is what defines a particular bit or transition cell—that is, the time window within which the drive is either writing or reading a transition. If the timing is off, a given voltage transition might be recognized at the wrong time as being in a different cell, which would throw the conversion or encoding off, resulting in bits being missed, added, or misinterpreted. To ensure that the timing is precise, the transmitting and receiving devices must be in perfect synchronization. For example, if recording a 0 is done by placing no transition on the disk for a given time period or cell, imagine recording ten 0 bits in a row—you would have a long period of time (ten cells) with no activity, no transitions at all.

    Imagine now that the clock on the encoder was slightly off time while reading data as compared to when it was originally written. If it were fast, the encoder might think that during this long stretch of 10 cells with no transitions, only nine cells had actually elapsed. Or if it were slow, it might think that 11 cells had elapsed instead. In either case, this would result in a read error, meaning the bits that were originally written would not be read as being the same. To prevent timing errors in drive encoding/decoding, perfect synchronization is necessary between the reading and writing processes. This synchronization often is accomplished by adding a separate timing signal, called a clock signal, to the transmission between the two devices. The clock and data signals also can be combined and transmitted as a single signal. Most magnetic data-encoding schemes use this type of combination of clock and data signals.

    Adding a clock signal to the data ensures that the communicating devices can accurately interpret the individual bit cells. Each bit cell is bounded by two other cells containing the clock transitions. Because clock information is sent along with the data, the clocks remain in sync, even if the medium contains a long string of identical 0 bits. Unfortunately, the transition cells used solely for timing take up space on the medium that could otherwise be used for data.

    Because the number of flux transitions a drive can record in a given space on a particular medium is limited by the physical nature or density of the medium and the head technology, drive engineers have developed various ways of encoding the data by using a minimum number of flux reversals (taking into consideration the fact that some flux reversals used solely for clocking are required). Signal encoding enables the system to make the maximum use of a given drive hardware technology.

    Although various encoding schemes have been tried, only a few are popular today. Over the years, these three basic types have been the most popular:

    • Frequency Modulation
    • Modified Frequency Modulation
    • Run Length Limited

    The following sections examine these codes, how they work, where they are used, and any advantages or disadvantages that apply to them. It will help to refer to the image on page six of this piece as you read the descriptions of these encoding schemes because this figure depicts how each of them would store an “X” on the same media.

    Frequency Modulation Encoding


    One of the earliest techniques for encoding data for magnetic storage is called Frequency Modulation encoding. This encoding scheme—sometimes called Single-Density encoding—was used in the earliest floppy disk drives installed in PC systems. The original Osborne portable computer, for example, used these single-density floppy disk drives, which stored about 80 KB of data on a single disk. Although it was popular until the late 1970s, FM encoding is no longer used.

    Modified FM Encoding


    Modified Frequency Modulation encoding was devised to reduce the number of flux reversals used in the original FM encoding scheme and, thus, to pack more data onto the disk. MFM encoding minimizes the use of clock transitions, leaving more room for the data. It records clock transitions only when a stored 0 bit is preceded by another 0 bit; in all other cases, a clock transition is not required. Because MFM minimizes the use of clock transitions, it can double the clock frequency used by FM encoding, which enables it to store twice as many data bits in the same number of flux transitions.

    Because MFM encoding writes twice as many data bits by using the same number of flux reversals as FM, the clock speed of the data is doubled and the drive actually sees the same number of total flux reversals as with FM. This means a drive using MFM encoding reads and writes data at twice the speed of FM, even though the drive sees the flux reversals arriving at the same frequency as in FM.

    Because it is twice as efficient as FM encoding, MFM encoding also has been called double-density recording. MFM is used in virtually all PC floppy disk drives today and was used in nearly all PC hard disks for a number of years. Today, virtually all hard disks use variations of RLL encoding, which provides even greater efficiency than MFM.

    The table below shows the data bit-to-flux reversal translation in MFM encoding.

    MFM Data-to-Flux Transition Encoding
    Data Bit ValueFlux Encoding
    1NT
    0 preceded by 0TN
    0 preceded by 1NN
    T = Flux transition, N = No flux transition

    Thursday, 9 January 2014

    Intel X79 Express Chipset with Label Components

    •2nd Generation Intel® Core™ i7 processor family for the LGA 2011 Socket

     

     

     

    •Intel® X79 Express Chipset
    •Support for up to 64GB of system memory with an 8-DIMM design
    •TUF Thermal Armor - Total Airflow-Boosting Heat Dissipation
    •TUF Thermal Radar - Real Time Temp Detection and Heat Removal
    •TUF Components [Choke, Cap. & MOSFET; Certified by Military-standard] - Certified for Tough Duty
    •New DIGI+ Power Control - All-New Digital Power Control for both CPU and DRAM
    •ASUS SSD Caching - 3X faster performance at a click

    Specifications

    CPU Intel® Socket 2011 for 2nd Generation Core™ i7 Processors
    Supports Intel® Turbo Boost Technology 2 
    Chipset Intel® X79
    Memory 8 x DIMM, Max. 64GB, DDR3 1866/1600/1333/1066 MHz Non-ECC, Un-buffered Memory
    Quad Channel Memory Architecture
    Supports Intel® Extreme Memory Profile (XMP)
    Multi-GPU Support Supports NVIDIA® Quad-GPU SLI™ Technology
    Supports AMD Quad-GPU CrossFireX™ Technology
    Expansion Slots 2 x PCIe 3.0/2.0 x16 (dual x16) *1
    1 x PCIe 3.0/2.0 x16 (x8 mode) *1
    2 x PCIe 2.0 x1
    1 x PCI 
    Storage Intel® X79 chipset :
    2 x SATA 6Gb/s port(s), brown
    4 x SATA 3Gb/s port(s), black
    Support Raid 0, 1, 5, 10
    Marvell® PCIe 9128 controller :
    2 x SATA 6Gb/s port(s), gray
    ASMedia® ASM1061 controller :
    1 x Power eSATA 6Gb/s port(s), green
    1 x eSATA 6Gb/s port(s), red
    LAN Intel® 82579V, 1 x Gigabit LAN Controller(s)
    Audio Realtek® ALC892 8-Channel High Definition Audio CODEC
    - Supports : Jack-detection, Multi-streaming, Front Panel Jack-retasking
    Audio Feature :
    - Absolute Pitch 192kHz/ 24-bit True BD Lossless Sound
    - Blu-ray audio layer Content Protection
    - Optical S/PDIF out port(s) at back panel
    IEEE 1394 VIA® 6315N controller
    1 x IEEE 1394a port(s)
    (1 at back panel)
    USB Ports ASMedia® USB 3.0 controller :
    6 x USB 3.0 port(s) (4 at back panel, blue, 2 at mid-board)
    Intel® X79 chipset :
    14 x USB 2.0 port(s) (6 at back panel, black, 8 at mid-board)
    Special Features TUF ENGINE! Power Design :
    - 8 +2 +2 +2 Digital Phase Power Design
    - TUF Components (Choke, Cap. & MOSFET; certified by military-standard)
    - ASUS DIGI+ Power Control Utility
    Ultimate COOL! Thermal Solution :
    - TUF Thermal Armor
    - TUF Thermal Radar
    ASUS Exclusive Features :
    - MemOK!
    - AI Suite II
    - Anti-Surge
    - ESD Guards
    - ASUS UEFI BIOS EZ Mode featuring friendly graphics user interface
    - ASUS SSD Caching
    - USB 3.0 Boost
    ASUS EZ DIY :
    - USB BIOS Flashback
    - ASUS Q-Shield
    - ASUS O.C. Profile
    - ASUS CrashFree BIOS 3
    - ASUS EZ Flash 2
    - ASUS MyLogo 2
    - Multi-language BIOS
    ASUS Q-Design :
    - ASUS Q-LED (CPU, DRAM, VGA, Boot Device LED)
    - ASUS Q-Slot
    - ASUS Q-DIMM
    - ASUS Q-Connector
    Back I/O Ports 1 x PS/2 keyboard/mouse combo port(s)
    1 x eSATA 6Gb/s
    1 x Power eSATA 6Gb/s
    1 x IEEE 1394a
    1 x LAN (RJ45) port(s)
    4 x USB 3.0
    6 x USB 2.0
    1 x Optical S/PDIF out
    6 x Audio jack(s)
    1 x USB BIOS Flashback Button(s)
    Internal I/O Ports 1 x USB 3.0 connector(s) support(s) additional 2 USB 3.0 port(s) (19-pin, moss green)
    4 x USB 2.0 connector(s) support(s) additional 8 USB 2.0 port(s)
    1 x COM port(s) connector(s)
    4 x SATA 6Gb/s connector(s)
    4 x SATA 3Gb/s connector(s)
    1 x CPU Fan connector(s) (4 -pin)
    4 x Chassis Fan connector(s) (4 -pin)
    1 x Optional Fan connector(s) (4 -pin)
    1 x Assistant Fan connector(s) (4 -pin)
    1 x S/PDIF out header(s)
    1 x 24-pin EATX Power connector(s)
    1 x 8-pin ATX 12V Power connector(s)
    1 x Front panel audio connector(s) (AAFP)
    1 x System panel(s) (Q-Connector)
    1 x MemOK! button(s)
    1 x Clear CMOS jumper(s)
    Accessories User's manual
    ASUS Q-Shield
    2 x SATA 3Gb/s cable(s)
    4 x SATA 6Gb/s cable(s)
    1 x SLI bridge(s)
    1 x Q-connector(s) (2 in 1)
    1 x I/O Cover Fan(s)
    1 x TUF Certification card(s)
    1 x TUF 5 Year Warranty manual(s) (by region)
    BIOS 64 Mb Flash ROM, UEFI BIOS, PnP, DMI2.0, WfM2.0, SM BIOS 2.6, ACPI 2.0a, Multi-language BIOS, ASUS EZ Flash 2, ASUS CrashFree BIOS 3 
    Manageability WfM 2.0, DMI 2.0, WOL by PME, WOR by PME, PXE
    Support Disc Drivers
    Anti-virus software (OEM version)
    ASUS Update
    ASUS Utilities 
    Form Factor ATX Form Factor
    12 inch x 9.6 inch ( 30.5 cm x 24.4 cm ) 

    Thursday, 2 January 2014

     What is the difference between static RAM and dynamic RAM?

     Your computer probably uses both static RAM and dynamic RAM at the same time, but it uses them for different reasons because of the cost difference between the two types. If you understand how dynamic RAM and static RAM chips work inside, it is easy to see why the cost difference is there,­ and you can also understand the names.

    Dynamic RAM is the most common type of memory in use today. Inside a dynamic RAM chip, each memory cell holds one bit of information and is made up of two parts: a transistor and a capacitor. These are, of course, extremely small transistors and capacitors so that millions of them can fit on a single memory chip. The capacitor holds the bit of information -- a 0 or a 1 (see How Bits and Bytes Work for information on bits). The transistor acts as a switch that lets the 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.
    Static RAM uses a completely different technology. In static RAM, a form of flip-flop holds each bit of memory (see How Boolean Gates Work for detail on flip-flops). A flip-flop for a memory cell takes 4 or 6 transistors along with some wiring, but never has to be refreshed. This makes static RAM significantly faster than dynamic RAM. However, because it has more parts, a static memory cell takes a lot more space on a chip than a dynamic memory cell. Therefore you get less memory per chip, and that makes static RAM a lot more expensive.
    So static RAM is fast and expensive, and dynamic RAM is less expensive and slower. Therefore static RAM is used to create the CPU's speed-sensitive cache, while dynamic RAM forms the larger system RAM space.

     Difference Between Static & Dynamic RAM


    Static RAM is more expensive, requires four times the amount of space for a given amount of data than dynamic RAM, but, unlike dynamic RAM, does not need to be power-refreshed and is therefore faster to access. One source gives a typical access time as 25 nanoseconds in contrast to a typical access time of 60 nanoseconds for dynamic RAM. (More recent advances in dynamic RAM have improved access time.) Static RAM is used mainly for the level-1 and level-2 caches that the microprocessor looks in first before looking in dynamic RAM.

    Dynamic RAM (DRAM)  

    Dynamic RAM uses a kind of capacitor that needs frequent power refreshing to retain its charge. Because reading a DRAM discharges its contents, a power refresh is required after each read. Apart from reading, just to maintain the charge that holds its content in place, DRAM must be refreshed about every 15 microseconds. DRAM is the least expensive kind of RAM.