Thursday, October 15, 2009

Secondary storage

Secondary storage in popular usage, differs from primary storage in that it is not directly accessible by the CPU. The computer usually uses its input/output channels to access secondary storage and transfers the desired data using intermediate area in primary storage. Secondary storage does not lose the data when the device is powered down—it is non-volatile. Per unit, it is typically also an order of magnitude less expensive than primary storage. Consequently, modern computer systems typically have an order of magnitude more secondary storage than primary storage and data is kept for a longer time there.

In modern computers, hard disk drives are usually used as secondary storage. The time taken to access a given byte of information stored on a hard disk is typically a few thousandths of a second, or milliseconds. By contrast, the time taken to access a given byte of information stored in random access memory is measured in billionths of a second, or nanoseconds. This illustrates the very significant access-time difference which distinguishes solid-state memory from rotating magnetic storage devices: hard disks are typically about a million times slower than memory. Rotating optical storage devices, such as CD and DVD drives, have even longer access times.

Some other examples of secondary storage technologies are: flash memory (e.g. USB flash drives or keys), floppy disks, magnetic tape, paper tape, punched cards, standalone RAM disks, and Iomega Zip drives.

The secondary storage is often formatted according to a file system format, which provides the abstraction necessary to organize data into files and directories, providing also additional information (called metadata) describing the owner of a certain file, the access time, the access permissions, and other information.

Most computer operating systems use the concept of virtual memory, allowing utilization of more primary storage capacity than is physically available in the system. As the primary memory fills up, the system moves the least-used chunks (pages) to secondary storage devices (to a swap file or page file), retrieving them later when they are needed. As more of these retrievals from slower secondary storage are necessary, the more the overall system performance is degraded.

Video card

A video card, video adapter, graphics-accelerator card, display adapter, or graphics card is an expansion card whose function is to generate and output images to a display. Many video cards offer added functions, such as accelerated rendering of 3D scenes, video capture, TV-tuner adapter, MPEG-2 and MPEG-4 decoding, FireWire, light pen, TV output, or the ability to connect multiple monitors, while other modern high performance cards are used for more graphically demanding purposes such as PC games.

Video hardware can be integrated on the motherboard, as it often happened with early computers; in this configuration it was sometimes referred to as a video controller or graphics controller.

he first IBM PC video card, which was released with the first IBM PC, was developed by IBM in 1981. The MDA (Monochrome Display Adapter) could only work in text mode representing 80 columns and 25 lines (80x25) in the screen. It had a 4KB video memory and just one color.[1]

Starting with the MDA in 1981, several video cards were released, which are summarized in the attached table.[2][3][4][5]

VGA was widely accepted, which led some corporations such as ATI, Cirrus Logic and S3 to work with that video card, improving its resolution and the number of colours it used. This developed into the SVGA (Super VGA) standard, which reached 2 MB of video memory and a resolution of 1024x768 at 256 color mode.

In 1995 the first consumer 2D/3D cards were released, developed by Matrox, Creative, S3, ATI and others.[citation needed] These video cards followed the SVGA standard, but incorporated 3D functions. In 1997, 3dfx released the Voodoo graphics chip, which was more powerful compared to other consumer graphics cards, introducing 3D effects such mip mapping, Z-buffering and anti-aliasing into the consumer market. After this card, a series of 3D video cards were released, such as Voodoo2 from 3dfx, TNT and TNT2 from NVIDIA. The bandwidth required by these cards was approaching the limits of the PCI bus capacity. Intel developed the AGP (Accelerated Graphics Port) which solved the bottleneck between the microprocessor and the video card. From 1999 until 2002, NVIDIA controlled the video card market (taking over 3dfx) with the GeForce family.[6] The improvements carried out at this time were focused in 3D algorithms and graphics processor clock rate. Video memory was also increased to improve their data rate; DDR technology was incorporated, improving the capacity of video memory from 32 MB with GeForce to 128 MB withGeForce 4.

From 2002 onwards, the video card market came to be dominated almost entirely by the competition between ATI and Nvidia, with their Radeon and Geforce lines respectively, taking around 90% of the independent graphics card market between them, while other manufacturers were forced into much smaller, niche markets.[7].

Components

A modern video card consists of a printed circuit board on which the components are mounted. These include:

[edit] Graphics processing unit (GPU)

A GPU is a dedicated processor optimized for accelerating graphics. The processor is designed specifically to perform floating-point calculations, which are fundamental to 3D graphics rendering. The main attributes of the GPU are the core clock frequency, which typically ranges from 250 MHz to 4 GHz and the number of pipelines (vertex and fragment shaders), which translate a 3D image characterized by vertices and lines into a 2D image formed by pixels.

[edit] Video BIOS

The video BIOS or firmware contains the basic program, which is usually hidden, that governs the video card's operations and provides the instructions that allow the computer and software to interact with the card. It may contain information on the memory timing, operating speeds and voltages of the graphics processor, RAM, and other information. It is sometimes possible to change the BIOS (e.g. to enable factory-locked settings for higher performance), although this is typically only done by video card overclockers and has the potential to irreversibly damage the card.

[edit] Video memory

Type Memory clock rate (MHz) Bandwidth (GB/s)
DDR 166 - 950 1.2 - 30.4
DDR2 533 - 1000 8.5 - 16
GDDR3 700 - 2400 5.6 - 156.6
GDDR4 2000 - 3600 128 - 200
GDDR5 3400 - 5600 130 - 230

The memory capacity of most modern video cards ranges from 128 MB to 4 GB, though very few cards actually go over 1 GB.[8][9] Since video memory needs to be accessed by the GPU and the display circuitry, it often uses special high-speed or multi-port memory, such as VRAM, WRAM, SGRAM, etc. Around 2003, the video memory was typically based on DDR technology. During and after that year, manufacturers moved towards DDR2, GDDR3, GDDR4, and even GDDR5 utilized most notably by the ATI Radeon HD 4870. The effective memory clock rate in modern cards is generally between 400 MHz and 3.8 GHz.

Video memory may be used for storing other data as well as the screen image, such as the Z-buffer, which manages the depth coordinates in 3D graphics, textures, vertex buffers, and compiled shader programs.

[edit] RAMDAC

The RAMDAC, or Random Access Memory Digital-to-Analog Converter, converts digital signals to analog signals for use by a computer display that uses analog inputs such as CRT displays. Depending on the number of bits used and the RAMDAC-data-transfer rate, the converter will be able to support different computer-display refresh rates. With CRT displays, it is best to work over 75 Hz and never under 60 Hz, in order to minimize flicker.[10] (With LCD displays, flicker is not a problem.) Due to the growing popularity of digital computer displays and the integration of the RAMDAC onto the GPU die, it has mostly disappeared as a discrete component. All current LCD, plasma displays and TVs work in the digital domain and do not require a RAMDAC. There are few remaining legacy LCD and plasma displays that feature analog inputs (VGA, component, SCART etc.) only. These require a RAMDAC, but they reconvert the analog signal back to digital before they can display it, with the unavoidable loss of quality stemming from this digital-to-analog-to-digital conversion.

[edit] Outputs

9-pin VIVO for S-Video (TV-out), DVI for HDTV, and DE-15 for VGA outputs.

The most common connection systems between the video card and the computer display are:

[edit] Video Graphics Array (VGA) (DE-15)

Analog-based standard adopted in the late 1980s designed for CRT displays, also called VGA connector. Some problems of this standard are electrical noise, image distortion and sampling error evaluating pixels.

[edit] Digital Visual Interface (DVI)

Digital-based standard designed for displays such as flat-panel displays (LCDs, plasma screens, wide high-definition television displays) and video projectors. It avoids image distortion and electrical noise, corresponding each pixel from the computer to a display pixel, using its native resolution.

[edit] Video In Video Out (VIVO) for S-Video, Composite video and Component video

Pseudo miniDIN-9 Diagram.png
MiniDIN-9 Diagram.svg

Included to allow the connection with televisions, DVD players, video recorders and video game consoles. They often come in two 9-pin Mini-DIN connector variations, and the VIVO splitter cable generally comes with either 4 connectors (S-Video in and out + composite video in and out), or 6 connectors (S-Video in and out + component PB out + component PR out + component Y out [also composite out] + composite in).

[edit] High-Definition Multimedia Interface (HDMI)

HDMI Connector Pinout.svg

An advanced digital audio/video interconnect released in 2003 and is commonly used to connect game consoles and DVD players to a display. HDMI supports copy protection through HDCP.

[edit] DisplayPort

DisplayPort Connector.svg

An advanced license- and royalty-free digital audio/video interconnect released in 2007. DisplayPort intends to replace VGA and DVI for connecting a display to a computer.

[edit] Other types of connection systems

Composite video Analog system with lower resolution; it uses the RCA connector.
Composite.jpg
Component video It has three cables, each with RCA connector (YCBCR); it is used in projectors, DVD players and some televisions.
Component video jack.jpg
DB13W3 An analog standard once used by Sun Microsystems, SGI and IBM.
DB13W3 Pinout.svg
DMS-59 A connector that provides two DVI outputs on a single connector.
Dms-59.jpg

[edit] Motherboard interface

Chronologically, connection systems between video card and motherboard were, mainly:

  • S-100 bus: designed in 1974 as a part of the Altair 8800, it was the first industry-standard bus for the microcomputer industry.
  • ISA: Introduced in 1981 by IBM, it became dominant in the marketplace in the 1980s. It was a 16-bit bus clocked at 8 MHz.
  • NuBus: Used in Macintosh II, it was a 32-bit bus with an average bandwidth of 10 to 20 MB/s.
  • MCA: Introduced in 1987 by IBM it was a 32-bit bus clocked at 10 MHz.
  • EISA: Released in 1988 to compete with IBM's MCA, it was compatible with the earlier ISA bus. It was a 32-bit bus clocked at 8.33 MHz.
  • VLB: An extension of ISA, it was a 32-bit bus clocked at 33 MHz.
  • PCI: Replaced the EISA, ISA, MCA and VESA buses from 1993 onwards. PCI allowed dynamic connectivity between devices, avoiding the jumpers manual adjustments. It is a 32-bit bus clocked 33 MHz.
  • UPA: An interconnect bus architecture introduced by Sun Microsystems in 1995. It had a 64-bit bus clocked at 67 or 83 MHz.
  • USB: Mostly used for other types of devices, but there are USB displays.
  • AGP: First used in 1997, it is a dedicated-to-graphics bus. It is a 32-bit bus clocked at 66 MHz.
  • PCI-X: An extension of the PCI bus, it was introduced in 1998. It improves upon PCI by extending the width of bus to 64-bit and the clock frequency to up to 133 MHz.
  • PCI Express: Abbreviated PCIe, it is a point to point interface released in 2004. In 2006 provided double the data-transfer rate of AGP. It should not be confused with PCI-X, an enhanced version of the original PCI specification.

In the attached table[11] is a comparison between a selection of the features of some of those interfaces.

Computer monitor

A monitor or display (sometimes called a visual display unit) is a piece of electrical equipment which displays images generated by devices such as computers, without producing a permanent record. The monitor comprises the display device, circuitry, and an enclosure. The display device in modern monitors is typically a thin film transistor liquid crystal display (TFT-LCD), while older monitors use a cathode ray tube (CRT).

Screen size

The size of a display is usually given as the distance between two opposite screen corners. One problem with this method is that it does not distinguish between the aspect ratios of monitors with identical diagonal sizes, in spite of the fact that a shape of a given diagonal span's area decreases as it becomes less square. For example, a 4:3 21 inches (53.3 cm) monitor has an area of about 211 square inches (1,361 cm2), while a 16:9 21" widescreen has an area of only about 188 square inches (1,213 cm2).

For any rectangular section on a round tube, the diagonal measurement is also the diameter of the tube

This method of measurement is from the first types of CRT television, when round picture tubes were in common use. Being circular, they only needed to use their diameter to describe their tube size. When round tubes were used to display rectangular images, the diagonal measurement was equivalent to the round tube's diameter. This method continued even when CRT tubes were manufactured as rounded rectangles.

Another problematic practice was the direct measurement of a monitor's imaging element as its quoted size in publicity and advertising materials.Especially on CRT displays, a substantial portion of the imaging element is concealed behind the case's bezel or shroud in order to hide areas outside the monitor's safe area due to overscan. Seen as deceptive, widespread consumer objection and lawsuits eventually forced most manufacturers to instead measure viewable size.

Imaging technologies

19" inch (48.3 cm tube, 45.9 cm viewable) ViewSonic CRT computer monitor.

As with television, many hardware technologies exist for displaying computer-generated output:


Cathode ray tube

Comparison of a 21" CRT TV monitor with a 17" CRT PC monitor

The CRT or cathode ray tube, is the picture tube of a monitor. The back of the tube has a negatively charged cathode. The electron gun shoots electrons down the tube and onto a charged screen. The screen is coated with a pattern of phosphor dots that glow when struck by the electron stream. Each cluster of three dots, one of each color, is one pixel.

The image on the monitor's screen is usually made up from at least tens of thousands of such tiny dots glowing on command from the computer. The closer together the pixels are, the sharper the image on screen can be. The distance between pixels on a computer monitor screen is called its dot pitch and is measured in millimeters. Most monitors have a dot pitch of 0.28 millimetres (0.011 in) or less.

Two electromagnets around the collar of the tube deflect the electron beam. The beam scans across the top of the monitor from left to right, is then blanked and moved back to the left-hand side slightly below the previous trace (on the next scan line), scans across the second line and so on until the bottom right of the screen is reached. The beam is again blanked, and moved back to the top left to start again. This process draws a complete picture, typically 50 to 100 times a second. The number of times in one second that the electron gun redraws the entire image is called the refresh rate and is measured in hertz (cycles per second). It is common in television or very early computer equipment, to use a technique called interlacing, in which all the odd-numbered lines of an image are traced, and then all the even-numbered lines; the circuitry of such an interlaced display need be capable of only half the speed of a non-interlaced display. An interlaced display, particularly at a relatively low refresh rate, can appear to some observers to flicker, and may cause eyestrain.

Performance measurements

The performance of a monitor is measured by the following parameters:

  • Luminance is measured in candelas per square meter.
  • Viewable image size is measured diagonally. For CRTs, the viewable size is typically one inch (25 mm) smaller than the tube itself.
  • Aspect ratios is the ratio of the horizontal length to the vertical length. 4:3 is the standard aspect ratio, for example, so that a screen with a width of 1024 pixels will have a height of 768 pixels. If a widescreen display has an aspect ratio of 16:9, a display that is 1024 pixels wide will have a height of 576 pixels.
  • Display resolution is the number of distinct pixels in each dimension that can be displayed. (It does not mean currently displayed.) Maximum resolution is limited by dot pitch.
  • Dot pitch is the distance between pixels of the same color in millimeters. In general, the smaller the dot pitch, the sharper the picture will appear.
  • Refresh rate is the number of times in a second that a display is illuminated. Maximum refresh rate is limited by response time.
  • Response time is the time a pixel in a monitor takes to go from active (black) to inactive (white) and back to active (black) again, measured in milliseconds. Lower numbers mean faster transitions and therefore fewer visible image artifacts.
  • Contrast ratio is the ratio of the luminosity of the brightest color (white) to that of the darkest color (black) that the monitor is capable of producing.
  • Power consumption is measured in watts.
  • Viewing angle is the maximum angle at which images on the monitor can be viewed, without excessive degradation to the images. It is measured in degrees horizontally and vertically.

computer Power supply unit

A power supply unit (PSU) is the component that supplies power to the other components in a computer. More specifically, a power supply unit is typically designed to convert general-purpose alternating current (AC) electric power from the mains (100-127V in North America, parts of South America, Japan, and Taiwan; 220-240V in most of the rest of the world) to usable low-voltage DC power for the internal components of the computer. Some power supplies have a switch to change between 230 V and 115 V. Other models have automatic sensors that switch input voltage automatically, or are able to accept any voltage between those limits.

The most common computer power supplies are built to conform with the ATX form factor. This enables different power supplies to be interchangeable with different components inside the computer. ATX power supplies also are designed to turn on and off using a signal from the motherboard, and provide support for modern functions such as the standby mode available in many computers. The most recent specification of the ATX standard PSU as of mid-2008 is version 2.31.

Note that some manufacturers, most notably Compaq and Dell, have produced power supplies using the same connectors as ATX but with different voltages on different pins; mismatching such PSUs and motherboards can result in damage to either or both.

Power rating

Computer power supplies are rated based on their maximum output power. Typical power ranges are from 300 W to 500 W (lower than 300 W for Small form factor systems) and are intended for ordinary home computers, the use of which is limited to Internet-surfing and burning and playing DVDs[citation needed]. Power supplies used by gamers and enthusiasts mostly range from 450 W to 1400 W. Typical gaming PCs feature power supplies in the range of 500-800 W, with higher-end PCs demanding 800-1400 W supplies. The highest-end units are up to 2 kW strong and are intended mainly for servers and, to a lesser degree, extreme performance computers with multiple processors, several hard disks and multiple graphics cards (ATI CrossFire or NVIDIA SLI). The power rating of a PC power supply is not officially certified and is self-claimed by each manufacturer.[1] A common way to reach the power figure for PC PSUs is by adding the power available on each rail, which will not give a true power figure. Therefore it is possible to overload a PSU on one rail without having to use the maximum rated power.

Sometimes manufacturers inflate their power ratings, in order to gain an advantage in the market. This can be done due to a lack of clear standards regarding power supply labelling and testing. Some of the main ways employed are...[2]

  • Advertising the peak power, rather than the continuous power;
  • Determining the continuous output power capability at unrealistically low temperatures (at room temperature as opposed to 40°C, a more likely temperature inside a PC case);
  • Advertising total power as a measure of capacity, when modern systems are almost totally reliant on the current available from the 12 volt line(s).

This may mean that if:

  • PSU A has a peak rating of 550 watts at 25°C, with 25 amps (300 W) on the 12 volt line, and
  • PSU B has a continuous rating of 450 watts at 40°C, with 33 amps (400 W) on the 12 volt line,

and those ratings are accurate, then PSU B would have to be considered a vastly superior unit, despite its lower overall power rating. PSU A may only be capable of delivering a fraction of its rated power under real world conditions.

This tendency has led in turn to greatly overspecified power supply recommendations, and a shortage of high-quality power supplies with reasonable capacities. Very few computers require more than 300–350 watts maximum.[2] Higher end computers such as servers and gaming machines with multiple high power GPUs are among the few exceptions.

Connectors

Various connectors from a computer PSU.

Typically, power supplies have the following connectors:

  • PC Main power connector (usually called P1): Is the connector that goes to the motherboard to provide it with power. The connector has 20 or 24 pins. One of the pins belongs to the PS-ON wire (it is usually green). This connector is the largest of all the connectors. In older AT power supplies, this connector was split in two: P8 and P9. A power supply with a 24-pin connector can be used on a motherboard with a 20-pin connector. In cases where the motherboard has a 24-pin connector, some power supplies come with two connectors (one with 20-pin and other with 4-pin) which can be used together to form the 24-pin connector.
  • ATX12V 4-pin power connector (also called the P4 power connector). A second connector that goes to the motherboard (in addition to the main 24-pin connector) to supply dedicated power for the processor. For high-end motherboards and processors, more power is required, therefore EPS12V has an 8 pin connector.
  • 4-pin Peripheral power connectors (usually called Molex for its manufacturer): These are the other, smaller connectors that go to the various disk drives of the computer. Most of them have four wires: two black, one red, and one yellow. Unlike the standard mains electrical wire color-coding, each black wire is a ground, the red wire is +5 V, and the yellow wire is +12 V. In some cases these are also used to provide additional power to PCI cards such as FireWire 800 cards.
  • 4-pin Berg power connectors (usually called Mini-connector or "mini-Molex"): This is one of the smallest connectors that supplies the floppy drive with power. In some cases, it can be used as an auxiliary connector for AGP video cards. Its cable configuration is similar to the Peripheral connector.
  • Auxiliary power connectors: There are several types of auxiliary connectors designed to provide additional power if it is needed.
  • Serial ATA power connectors: a 15-pin connector for components which use SATA power plugs. This connector supplies power at three different voltages: +3.3, +5, and +12 volts.
  • 6-pin Most modern computer power supplies include 6-pin connectors which are generally used for PCI Express graphics cards, but a newly introduced 8-pin connector should be seen on the latest model power supplies. Each PCI Express 6-pin connector can output a maximum of 75 W.
  • 6+2 pin For the purpose of backwards compatibility, some connectors designed for use with PCI Express graphics cards feature this kind of pin configuration. It allows either a 6-pin card or an 8-pin card to be connected by using two separate connection modules wired into the same sheath: one with 6 pins and another with 2 pins.
  • A C14 IEC connector with an appropriate C13 cord is used to attach the power supply to the local power grid.
  • AT vs. ATX

    A typical installation of an ATX form factor computer power supply.

    There are two basic differences between AT and ATX power supplies: The connectors that provide power to the motherboard, and the soft switch. On older AT power supplies, the Power-on switch wire from the front of the computer is connected directly to the power supply.

    On newer ATX power supplies, the power switch on the front of the computer goes to the motherboard over a connector labeled something like; PS ON, Power SW, SW Power, etc. This allows other hardware and/or software to turn the system on and off.

    The motherboard controls the power supply through pin #14 of the 20 pin connector or #16 of the 24 pin connector on the motherboard. This pin carries 5V when the power supply is in standby. It can be grounded to turn the power supply on without having to turn on the rest of the components. This is useful for testing or to use the computer ATX power supply for other purposes.

    AT stands for Advanced Technology when ATX means Advanced Technology eXtended.

    Energy efficiency

    Computer power supplies are generally about 70–75% efficient.[4] That means in order for a 75% efficient power supply to produce 75 W of DC output it would require 100 W of AC input and dissipate the remaining 25 W in heat. Higher-quality power supplies can be over 80% efficient; higher energy efficient PSU's waste less energy in heat, and requires less airflow to cool, and as a result will be quieter. As of 2007, 93%-efficient power supplies are available.[5] Google's server power supplies are more than 90% efficient.[3]

    It's important to match the capacity of a power supply to the power needs of the computer. The energy efficiency of power supplies drops significantly at low loads. Efficiency generally peaks at about 50-75% load. The curve varies from model to model (examples of how this curve looks can be seen on test reports of energy efficient models found on the 80 PLUS website). As a rule of thumb for standard power supplies it is usually appropriate to buy a supply such that the calculated typical consumption of one's computer is about 60% of the rated capacity of the supply provided that the calculated maximum consumption of the computer does not exceed the rated capacity of the supply. Note that advice on overall power supply ratings often given by the manufacturer of single component, typically graphics cards, should be treated with great skepticism. These manufacturers wish to minimise support issues due to under rating the power supply and are willing to advise customers to overrate it to avoid this.

    Various initiatives are underway to improve the efficiency of computer power supplies. Climate savers computing initiative promotes energy saving and reduction of greenhouse gas emissions by encouraging development and use of more efficient power supplies. 80 PLUS certifies power supplies that meet certain efficiency criteria, and encourages their use via financial incentives.


Small facts to consider

Redundant power supply.
  • Life span is usually measured in mean time between failures (MTBF). Higher MTBF ratings are preferable for longer device life and reliability. Quality construction consisting of industrial grade electrical components and/or a larger or higher speed fan can help to contribute to a higher MTBF rating by keeping critical components cool, thus preventing the unit from overheating. Overheating is a major cause of PSU failure. MTBF value of 100,000 hours is not uncommon.
  • Power supplies may have passive or active power factor correction (PFC). Passive PFC is a simple way of increasing the power factor by putting a coil in series with the primary filter capacitors. Active PFC is more complex and can achieve higher PF, up to 99%.
  • In computer power supplies that have more than one +12V power rail, it is preferable for stability reasons to spread the power load over the 12V rails evenly to help avoid overloading one of the rails on the power supply.
    • Multiple 12V power supply rails are separately current limited as a safety feature; they are not generated separately. Despite widespread belief to the contrary, this separation has no effect on mutual interference between supply rails.
    • The ATX12V 2.x and EPS12V power supply standards defer to the IEC 60950 standard, which requires that no more than 240 volt-amps be present between any two accessible points. Thus, each wire must be current-limited to no more than 20 A; typical supplies guarantee 18 A without triggering the current limit. Power supplies capable of delivering more than 18 A at 12 V connect wires in groups to two or more current sensors which will shut down the supply if excess current flows. Unlike a fuse or circuit breaker, these limits reset as soon as the overload is removed.
    • Because of the above standards, almost all high-power supplies claim to implement separate rails, however this claim is often false; many omit the necessary current-limit circuitry,[6] both for cost reasons and because it is an irritation to customers.[7] (The lack is sometimes advertised as a feature under names like "rail fusion" or "current sharing".)
  • When the computer is powered down but the power supply is still on, it can be started remotely via Wake-on-LAN and Wake-on-Ring or locally via Keyboard Power ON (KBPO) if the motherboard supports it.
  • Computer power supplies may have short circuit protection, overpower (overload) protection, overvoltage protection, undervoltage protection, overcurrent protection, and over temperature protection.
  • Some power supplies come with sleeved cables, which is aesthetically nicer, makes wiring easier and cleaner and have less detrimental effect on airflow.
  • There is a popular misconception that a greater power capacity (watt output capacity) is always better. Since supplies are self-certified, a manufacturer's claims may be double or more what is actually provided.[8][9] Although a too-large power supply will have an extra margin of safety as far as not over-loading, a larger unit is often less efficient at lower loads (under 20% of its total capability) and therefore will waste more electricity than a more appropriately sized unit. Additionally, computer power supplies generally do not function properly if they are too lightly loaded. Under no-load conditions they may shut down or malfunction.
  • Another popular misconception is that the greater the total watt capacity is, the more suitable the power supply becomes for higher-end graphics cards. The most important factor for judging a PSUs suitability for certain graphics cards is the PSUs total 12V output, as it is that voltage on which modern graphics cards operate. If the total 12V output stated on the PSU is higher than the suggested minimum of the card, then that PSU can fully supply the card. It is however recommended that a PSU should not just cover the graphics cards' demands, as there are other components in the PC that depend on the 12V output, such as the core processor[citation needed].
  • Power supplies do not always live up to what they are marketed. Most ordinary PSUs have a life expectancy of 100,000 operating hours, with higher-end PSUs going up to 200,000 hours. However, these numbers are just estimates, as a PSU can endure for over 50% of the suggested value or it can break down after just 30,000 hours, depending on use frequency. Noise can be measured from different distances and at different room temperatures.

USB flash drive

A USB flash drive consists of flash memory data storage device integrated with a USB (Universal Serial Bus) 1.1 or 2.0 interface. USB flash drives are typically removable and rewritable, much smaller than a floppy disk, and most weigh less than 1 ounce (30 g).[1] Storage capacities can range from 64 MB to 256 GB[2] with steady improvements in size and price per capacity. Some allow 1 million write or erase cycles[3][4] and have 10-year data retention,[5].

USB flash drives are often used for the same purposes as floppy disks were. They are smaller, faster, have thousands of times more capacity, and are more durable and reliable due to their lack of moving parts. Since floppy discs were developed until about 2005 most PC and laptop computers were supplied with floppy disc drives, but most recent equipment has several USB ports but does not support floppy disks.

Flash drives use the USB mass storage standard, supported natively by modern operating systems such as Windows, Mac OS X, Linux, and other Unix-like systems. USB drives with USB 2.0 support can store more data and transfer faster than a much larger optical disc drive.

Nothing moves mechanically in a flash drive; the term drive persists because computers read and write flash-drive data using the same system commands as for a mechanical disk drive, with the storage appearing to the computer operating system and user interface as just another drive.[4] Flash drives are very robust mechanically, and can withstand anything that does not actually break the circuit board or connector.

A flash drive consists of a small printed circuit board carrying the circuit elements and a USB connector, insulated electrically and protected inside a plastic, metal, or rubberized case which can be carried in a pocket or on a key chain, for example. The USB connector may be protected by a removable cap or by retracting into the body of the drive, although it is not likely to be damaged if unprotected. Most flash drives use a standard type-A USB connection allowing plugging into a port on a personal computer, but drives for other interfaces also exist.

Most USB flash drives derive their power from the USB connection, and do not require a battery. Some devices which combine the functionality of a digital audio player with flash-drive-type storage require a battery for the player function.


Technology

Flash memory combines a number of older technologies, with lower cost, lower power consumption and small size made possible by recent advances in microprocessor technology. The memory storage is based on earlier EPROM and EEPROM technologies. These had very limited capacity, were very slow for both reading and writing, required complex high-voltage drive circuitry, and could only be re-written after erasing the entire contents of the chip.

Hardware designers later developed EEPROMs with the erasure region broken up into smaller "fields" that could be erased individually without affecting the others. Altering the contents of a particular memory location involved copying the entire field into an off-chip buffer memory, erasing the field, modifying the data as required in the buffer, and re-writing it into the same field. This required considerable computer support, and PC-based EEPROM flash memory systems often carried their own dedicated microprocessor system. Flash drives are more or less a miniaturized version of this.

The development of high-speed serial data interfaces such as USB made semiconductor memory systems with serially accessed storage viable, and the simultaneous development of small, high-speed, low-power microprocessor systems allowed this to be incorporated into extremely compact systems. Serial access requires far fewer electrical connections for the memory chips than does parallel access, which has simplified the manufacture of multi-gigabyte dives.

Computers access modern flash memory systems very much like hard disk drives, where the controller system has full control over where information is actually stored. The actual EEPROM writing and erasure processes are, however, still very similar to the earlier systems described above.

Many low-cost MP3 players simply add extra software and a battery to a standard flash memory control microprocessor so it can also serve as a music playback decoder. Most of these players can also be used as a conventional flash drive, for storing files of any type.

History

First commercial product

Flash drive with retractable USB connector

Trek Technology and IBM began selling the first USB flash drives commercially in 2000. Singaporean company Trek Technology sold a model dubbed the "ThumbDrive," and IBM marketed the first such drives in North America, with its product the "DiskOnKey" (which was manufactured by the Israeli company M-Systems). IBM's USB flash drive became available on December 15, 2000,[6] and had a storage capacity of 8 MB, more than five times the capacity of the commonly used floppy disks (floppy disks having a capacity of 1.44MB).

In 2000 Lexar introduced a Compact Flash (CF) card with a USB connection, and a companion card read/writer and USB cable that eliminated the need for a USB hub.

On July 24, 2002 Netac Technology was granted a highly-contested Chinese patent for the USB flash drive.[7]

In 2004 Trek Technology brought several lawsuits against other USB flash drive manufacturers and distributors in an attempt to assert its patent rights to the USB flash drive. A court in Singapore ordered competitors to cease selling similar products[8] that would be covered by Trek's patent, but a court in the United Kingdom revoked[9] one of Trek's patents in that country.

Second generation

Modern flash drives have USB 2.0 connectivity. However, they do not currently use the full 480 Mbit/s (60MB/s) the USB 2.0 Hi-Speed specification supports due to technical limitations inherent in NAND flash. The fastest drives currently available use a dual channel controller, although they still fall considerably short of the transfer rate possible from a current generation hard disk, or the maximum high speed USB throughput.

Typical overall file transfer speeds vary considerably, and should be checked before purchase. Speeds may be given in Mbyte per second, Mbit per second, or optical drive multipliers such as "180X" (180 times 150 KiB per second). Typical fast drives claim to read at up to 30 megabytes/s (MB/s) and write at about half that. Older "USB full speed" 12 Mbit/s devices are limited to a maximum of about 1 MB/s.

Hard disk drive

A hard disk drive[2 (often shortened as hard disk[3], hard drive[4], or HDD) is a non-volatile storage device that stores digitally encoded data on rapidly rotating platters with magnetic surfaces. Strictly speaking, "drive" refers to the motorized mechanical aspect that is distinct from its medium, such as a tape drive and its tape, or a floppy disk drive and its floppy disk. Early HDDs had removable media; however, an HDD today is typically a sealed unit (except for a filtered vent hole to equalize air pressure) with fixed media.

Technology

Hard drive-en.svg

HDDs record data by magnetizing ferromagnetic material directionally, to represent either a 0 or a 1 binary digit. They read the data back by detecting the magnetization of the material. A typical HDD design consists of a spindle that holds one or more flat circular disks called platters, onto which the data is recorded. The platters are made from a non-magnetic material, usually aluminum alloy or glass, and are coated with a thin layer of magnetic material, typically 10-20 nm in thickness with an outer layer of carbon for protection. Older disks used iron(III) oxide as the magnetic material, but current disks use a cobalt-based alloy.[citation needed]

A cross section of the magnetic surface in action. In this case the binary data is encoded using frequency modulation.

The platters are spun at very high speeds. Information is written to a platter as it rotates past devices called read-and-write heads that operate very close (tens of nanometers in new drives) over the magnetic surface. The read-and-write head is used to detect and modify the magnetization of the material immediately under it. There is one head for each magnetic platter surface on the spindle, mounted on a common arm. An actuator arm (or access arm) moves the heads on an arc (roughly radially) across the platters as they spin, allowing each head to access almost the entire surface of the platter as it spins. The arm is moved using a voice coil actuator or in some older designs a stepper motor.

The magnetic surface of each platter is conceptually divided into many small sub-micrometre-sized magnetic regions, each of which is used to encode a single binary unit of information. Initially the regions were oriented horizontally, but beginning about 2005, the orientation was changed to perpendicular. Due to the polycrystalline nature of the magnetic material each of these magnetic regions is composed of a few hundred magnetic grains. Magnetic grains are typically 10 nm in size and each form a single magnetic domain. Each magnetic region in total forms a magnetic dipole which generates a highly localized magnetic field nearby. A write head magnetizes a region by generating a strong local magnetic field. Early HDDs used an electromagnet both to magnetize the region and to then read its magnetic field by using electromagnetic induction. Later versions of inductive heads included metal in Gap (MIG) heads and thin film heads. As data density increased, read heads using magnetoresistance (MR) came into use; the electrical resistance of the head changed according to the strength of the magnetism from the platter. Later development made use of spintronics; in these heads, the magnetoresistive effect was much greater than in earlier types, and was dubbed "giant" magnetoresistance (GMR). In today's heads, the read and write elements are separate, but in close proximity, on the head portion of an actuator arm. The read element is typically magneto-resistive while the write element is typically thin-film inductive.[8]

HD heads are kept from contacting the platter surface by the air that is extremely close to the platter; that air moves at, or close to, the platter speed.[citation needed] The record and playback head are mounted on a block called a slider, and the surface next to the platter is shaped to keep it just barely out of contact. It's a type of air bearing.

In modern drives, the small size of the magnetic regions creates the danger that their magnetic state might be lost because of thermal effects. To counter this, the platters are coated with two parallel magnetic layers, separated by a 3-atom-thick layer of the non-magnetic element ruthenium, and the two layers are magnetized in opposite orientation, thus reinforcing each other.[9] Another technology used to overcome thermal effects to allow greater recording densities is perpendicular recording, first shipped in 2005,[10] as of 2007 the technology was used in many HDDs.[11][12][13]

The grain boundaries turn out to be very important in HDD design. The reason is that, the grains are very small and close to each other, so the coupling between adjacent grains is very strong. When one grain is magnetized, the adjacent grains tend to be aligned parallel to it or demagnetized. Then both the stability of the data and signal-to-noise ratio will be sabotaged. A clear grain boundary can weaken the coupling of the grains and subsequently increase the signal-to-noise ratio. In longitudinal recording, the single-domain grains have uniaxial anisotropy with easy axes lying in the film plane. The consequence of this arrangement is that adjacent magnets repel each other. Therefore the magnetostatic energy is so large that it is difficult to increase areal density. Perpendicular recording media, on the other hand, has the easy axis of the grains oriented perpendicular to the disk plane. Adjacent magnets attract to each other and magnetostatic energy are much lower. So, much higher areal density can be achieved in perpendicular recording. Another unique feature in perpendicular recording is that a soft magnetic underlayer are incorporated into the recording disk.This underlayer is used to conduct writing magnetic flux so that the writing is more efficient. This will be discussed in writing process. Therefore, a higher anisotropy medium film, such as L10-FePt and rare-earth magnets, can be used.

Error handling

Modern drives also make extensive use of Error Correcting Codes (ECCs), particularly Reed–Solomon error correction. These techniques store extra bits for each block of data that are determined by mathematical formulas. The extra bits allow many errors to be fixed. While these extra bits take up space on the hard drive, they allow higher recording densities to be employed, resulting in much larger storage capacity for user data. [14] In 2009, in the newest drives, low-density parity-check codes (LDPC) are supplanting Reed-Solomon. LDPC codes enable performance close to the Shannon Limit and thus allow for the highest storage density available. [15]

Typical hard drives attempt to "remap" the data in a physical sector that is going bad to a spare physical sector—hopefully while the number of errors in that bad sector is still small enough that the ECC can completely recover the data without loss. The S.M.A.R.T. system counts the total number of errors in the entire hard drive fixed by ECC, and the total number of remappings, in an attempt to predict hard drive failure.