1.2 PC Components and Technologies
The following sections provide a quick overview of the components and
technologies used in modern PCs.
1.2.1 Hardware Components
One of
the great strengths of the PC architecture is that it is extensible,
allowing a great variety of components to be added, and thereby
permitting the PC to perform functions its designers may never have
envisioned. However, most PCs include a more-or-less standard set of
components, including the following.
- Motherboard
-
The
motherboard,
described in Chapter 3, is the heart of a PC. It
serves as "Command Central" to
coordinate the activities of the system. Its type largely determines
system capabilities. Motherboards include the following components:
- Chipset
-
The
chipset
provides the intelligence of the motherboard, and determines which
processors, memory, and other components the motherboard can use.
Most chipsets are divided physically and logically into two
components. The Northbridge controls cache and
main memory and manages the host bus and PCI expansion bus (the
various buses used in PCs are described in Chapter 3). The Southbridge manages
the ISA bus, bridges the PCI and ISA buses, and incorporates a
Super I/O controller, which provides serial and
parallel ports, the IDE interface, and other I/O functions. Some
recent chipsets, notably models from Intel, no longer use the old
Northbridge/Southbridge terminology although the functionality and
division of tasks are similar. Other recent chipsets put all
functions on one physical chip.
- CPU slot(s) and/or socket(s)
-
The type of
CPU
slot or socket determines which processors the motherboard can use.
The most popular CPU connectors are Socket 370 (current Intel Pentium
III and Celeron processors), Socket A (current AMD Athlon and Duron),
Socket 478 (current Pentium 4), Socket 423 (old-style Pentium 4),
Slot 1 (old-style Pentium II/III and Celeron), Slot A (older-style
Athlon), and the nearly obsolete Socket 7 (Intel Pentium and AMD K6-*
processors). Some motherboards have two or more CPU connectors,
allowing them to support multiple processors. A few motherboards have
both Slot 1 and Socket 370 connectors, allowing them to support
either type of CPU (but not both at once).
|
There are three versions of Socket 370, which differ in pinouts and
which processors they support. Early Socket 370/PPGA motherboards
support only older Mendocino-core Celeron processors. Later Socket
370/FC-PGA motherboards support Coppermine-core Pentium III FC-PGA
processors and Coppermine128-core Celeron FC-PGA processors. The most
recent Socket 370 motherboards, which Intel refers to as
"Universal" models, support any
Socket 370 processor, including Tualatin-core Pentium III and Celeron
processors.
|
|
- Voltage Regulator Module (VRM)
-
VRMs supply clean, tightly
regulated voltage to the CPU. Faster CPUs draw more current. Good
VRMs are expensive, so some motherboard makers use the lowest-rated
VRM suitable for the fastest CPU the motherboard is designed to
support. Better VRMs allow a motherboard to accept faster future CPUs
with only a BIOS upgrade.
- Memory slots
-
The type and number of memory slots (along with chipset
limitations) determine the type and amount of memory you can install
in a PC. Most recent motherboards accept 168-pin SDRAM DIMMs or
168-pin or 184-pin Rambus RIMMs (or both). Many recent motherboards
accept 184-pin DDR-SDRAM DIMMs. Older motherboards accept 30-pin
and/or 72-pin SIMMs.
- Expansion bus slots
-
The type and number of
expansion bus slots determine the type and
number of expansion cards you can add to the system. Most recent
motherboards include both
PCI and ISA
expansion slots, although the latest models may have only PCI slots.
- Integrated functions
-
Modern motherboards often include embedded features, such as video
and sound (and, less commonly, LAN and SCSI interfaces), that were
formerly provided by add-on expansion cards. The upsides to embedded
components are reduced costs, better integration, and higher
reliability. The downsides are that it may be difficult or impossible
to upgrade embedded components, and that you have to pay for those
embedded components whether you use them or not.
Integrated motherboards are often
ideally suited for casual use, but most readers of this book will
avoid them for high-performance systems and build
á la carte from discrete components.
- Processor
-
The
processor
or CPU (described in Chapter 4) is the engine that drives the PC. The CPU you
use determines how fast the system runs and what operating systems
and other software can run on it. Most PCs use processors from Intel
(Pentium II/III/4 or Celeron) or AMD (Athlon, Duron, or K6-2/III).
Processors vary in speed (currently 700 MHz to 2.53 GHz), cost ($25
to $500+), physical connector (Socket 423, Socket 478, Socket 370,
Socket A, Slot 1, Slot 2, Slot A, Socket 7, and so on), efficiency at
performing various functions, and in other respects. Although
processors get much attention, the truth is that performance
differences between a $50 processor and a $250 processor are
relatively minor, typically a factor of two.
- Memory
-
A PC uses random access
memory
(RAM), also called
simply memory, to store the programs and data
with which it is currently working. RAM is available in many
different types, speeds, and physical packages. The amount and type
of RAM a system can use depends on its chipset, the type and number
of RAM slots available, and other factors. The optimum amount of RAM
depends on the operating system you run, how many and which programs
you run simultaneously, and other considerations. Typical new PCs may
have from 64 megabytes (MB)—marginally adequate for some
environments—to 256 MB, which is sufficient for many people.
Very few commercial desktop systems come standard with 512 MB or
more, which is the amount now used by most "power
users." Adding RAM is often a cost-effective upgrade
for older systems, many of which have woefully inadequate RAM to run
modern operating systems and programs. Memory is described in Chapter 5.
- Floppy disk drive
-
The humble floppy disk
drive
(FDD) was formerly used for everything from
booting the PC to storing data to running programs to making backups,
but has now been largely relegated to such infrequent uses as making
emergency boot diskettes, loading updated device drivers, running
diagnostics programs, or
"sneakernetting" documents to other
systems. Many people don't use their FDDs from one
month to the next. The FDD has been officially declared a
"legacy" device, and many PCs
manufactured after mid-2000 do not have one. All of that said, the
FDD remains important to millions of PC users because it is the only
read/write removable storage device present on most current PCs.
Chapter 6 describes what you need to know about
FDDs.
- CD-ROM drive
-
CD-ROM drives began to appear on
mainstream PCs in the early '90s, are now
ubiquitous, and have remained generally unchanged except for
improvements in speed and reliability. CD-ROM discs store 600+ MB of
data in read-only form and, because they are both capacious and cheap
to produce, are commonly used to distribute software and data. CD-ROM
drives can also play CD-DA (audio) discs and multimedia discs, which
makes them popular for listening to music and playing games. CD-ROM
drives are detailed in Chapter 10. The chapters
following that one cover other types of optical drives that are
becoming common replacements for CD-ROM drives. Chapter 11 describes CD-R and CD-RW drives, which allow
you to make your own CDs. Chapter 12 describes
DVD-ROM drives—which are the follow-on to CD-ROM, and may be
used to watch movies or access very large databases—and DVD
recordable drives, which function much like CD writers but store
about seven times as much data.
- Hard disk drive
-
The hard disk drive
(HDD) is the primary storage device on any
PC. Unlike RAM, which retains data only while power remains applied,
data written to an HDD remains stored there until you delete it. HDD
space was formerly a scarce resource that users went to great lengths
to conserve. Modern HDDs are so capacious (20 to 100+ GB) and so
inexpensive (~$4/GB) that most people now regard disk space as
essentially free. On the downside, modern HDDs can be difficult to
install and configure, particularly in older systems, and their huge
capacity makes some form of tape backup (Chapter 9) almost mandatory. Chapter 13 and Chapter 14 tell you everything you need to know
about HDDs.
- Video adapter
-
A video adapter, also called a graphics
adapter, accepts
video data from the computer and converts it into a form the monitor
can display. In addition to image quality, the video adapter you use
determines the sharpness, number of colors, and stability of the
image your monitor displays. Most recent video adapters display text
and simple graphics adequately, but video adapters vary greatly in
their suitability for use with graphics-intense software, including
games. Video adapters are covered in Chapter 15.
- Monitor
-
The monitor you use
ultimately determines the quality of the video you see. Monitors are
available in a wide variety of sizes, capabilities, features, and
prices, and choosing the right one is not a trivial decision.
Monitors are covered in Chapter 16.
- Sound adapter and speakers
-
All PCs can produce basic warning sounds and audible prompts using
their built-in speakers, but for listening to audio CDs, playing
games, watching DVDs with full surround sound, using the Internet to
make free long-distance telephone calls, using voice-recognition
software, and other PC audio functions, you'll need
a sound card (or embedded motherboard sound adapter) and speakers or
headphones. Sound cards are covered in Chapter 17,
and speakers in Chapter 18.
- Keyboard and mouse
-
PCs use several types of devices to accept user
input—keyboards
for entering text;
mice, trackballs, and
other pointing devices for working in the Windows graphical
environment; and game controllers for playing modern graphical
computer games and simulations. These devices are covered in Chapter 19 through Chapter 21.
- Communications ports
-
Communications ports allow a PC to connect to external peripherals
such as printers, modems, and similar devices. Serial ports, which
are obsolescent but still important for some applications, are
covered in Chapter 25. Parallel ports, which are
still commonly used to connect printers, are covered in Chapter 23. Universal Serial Bus (USB) ports, which are
gradually replacing legacy serial and parallel ports, are covered in
Chapter 24.
- Case and power supply
-
The case
(or
chassis) is the outer shell that contains the PC
and all internal peripheral devices. The power
supply provides regulated power to all system
components and cooling air flow to keep components from overheating.
Cases are described in Chapter 25. Power supplies
are covered in Chapter 26. Chapter 27 tells you what you need to know about
protecting the power that runs your PC.
1.2.2 Software Components
Many
people think of a PC as comprising solely physical hardware, but
hardware is just a useless pile of silicon, metal, and plastic unless
you have software to make it do something.
Software is a set of detailed instructions that
allows a computer to perform a task or group of tasks. Software is
usually categorized as one of three types:
- Applications programs
-
Applications programs are what most people think
of when they hear the word software. These
programs are designed to perform specific user-oriented tasks, such
as creating a word processing document or spreadsheet, browsing the
Web, reading and replying to email, managing a schedule, creating a
presentation, or recovering a deleted file. Hundreds of thousands of
applications programs are available, from comprehensive office suites
like Microsoft
Office, to vertical market packages like medical office billing
software, to single-purpose utilities like
WinZip. Whatever you
might want a computer to do for you, you can probably locate
applications software that will do it.
- Operating system
-
An operating system is software that manages the PC itself,
providing such basic functions as the ability to write and read data
from a disk or to display images on the monitor. A PC can run any of
dozens of operating systems, including
DOS,
Windows 95/98/98SE/Me (we use Windows
9X to refer to these collectively throughout the book,
and
Windows 98 inclusively if we are discussing all
versions of Windows 9X other than Windows 95), Windows NT,
Windows 2000, Windows XP,
Linux and other
Unix variants,
NetWare,
BeOS,
and many others. The operating system you use determines which
applications programs you can run, which peripherals you can use (not
all operating systems support all peripherals), which technologies
are available to you (e.g., NT does not support Plug-N-Play or USB),
and how reliable the system is. The vast majority of PCs run Windows
95/98/Me/NT/2000/XP, at least for now, so those are the operating
systems we focus on in this book. However, as we write this, Linux
has begun to make serious inroads as a desktop OS, so we expect that
future editions of this book will focus increasing attention on
Linux.
- Device drivers
-
We said that the operating system determines which peripherals you
can use. That's true, but only indirectly. Operating
systems themselves natively recognize only the most basic,
standardized system components—things like memory, the system
clock, and so on. Device
drivers are small programs that work at a very
low level to integrate support for other devices into the operating
system. Using device drivers allows an operating system to be
extensible, which means that support for new
devices can be added incrementally, without updating the operating
system itself. For example, if you install a new video card,
installing a device driver for that video card allows the operating
system to recognize it and use its full capabilities. Most operating
systems include "vanilla" device
drivers that allow devices to be used at less than their full
capabilities (e.g., the standard VGA driver in Windows) until an
appropriate driver can be installed. Most operating systems also
include specific device driver support for common devices, such as
popular video cards and printers, but these drivers are often old,
slow, and do not take full advantage of hardware capabilities. In
general, you should download the most recent device driver from the
hardware manufacturer when you install new hardware.
1.2.3 Firmware Components and the PC BIOS
Firmware
is a special class of software, so called because it is more-or-less
permanently stored on chips. Firmware is often referred to
generically as a
BIOS
(Basic
Input/Output System) because the only firmware contained
in early PCs was the main system
ROM-BIOS
(Read-Only Memory
BIOS). That's no longer true. Nearly
every component in a modern PC contains its own firmware. Disk
drives, SCSI host adapters, video cards, sound cards, keyboards, and
most other devices contain firmware, and nowadays that firmware is
seldom read-only.
|
Although few people do so, installing firmware updates is an
important part of keeping a modern PC functioning at its best. For
example, firmware for most CD writers is frequently updated to add
support for new types of blank media. The most important firmware to
keep updated is the main system BIOS. Good motherboard makers
frequently release updated BIOS versions that add functionality, fix
bugs, support faster processor speeds, and so on.
|
|
The two most
important pieces of firmware in a PC are the
chipset—which
technically is intermediate between hardware and firmware—and
the main system BIOS. The chipset is the heart of the PC. Its
capabilities determine such fundamental issues as which processors
the motherboard supports, how data is communicated between processor
and memory, and so on. The BIOS manages the basic configuration
information stored in non-volatile CMOS memory, such as the list of
installed devices, and controls many of the low-level configuration
parameters that determine how the PC functions. Although the chipset
is not updatable, the BIOS is updatable in all modern PCs.
BIOS updates sometimes correct bugs, but BIOS code is so stable
and well debugged (it has to be) that the purpose of most BIOS
updates is to add support for new technologies. For example, many
pre-1998 BIOS versions did not support hard disk drives larger than
8.4 GB. Installing an updated BIOS with Extended Interrupt 13 support
allows the system to recognize and use larger hard disks. Another
common reason for BIOS updates is to add support for new CPU types.
For example, many Pentium II motherboards did not support Celerons,
which use a different L2 caching method. Similarly, a motherboard
manufactured when the fastest Pentium III available was 600 MHz might
have no settings to allow for faster Pentium IIIs. Installing an
updated BIOS fixes problems like these. Systems with Flash BIOS
(which is to say, all modern systems) can be updated simply by
downloading the new BIOS and running a special installer program.
|
Updating a flash
BIOS is a nontrivial operation. Performing
the update incorrectly or losing power during the update can leave
the PC incapable of booting. Read the detailed instructions supplied
by the manufacturer before you attempt to update your BIOS, and if
possible connect the PC to a UPS during the BIOS update. Some
motherboards, notably recent Intel models, have a BIOS recovery
function that allows for correcting a failed update simply by
changing a jumper and running the update procedure again. Some
motherboards have a dual BIOS, which means that if you damage one
BIOS during an update, you can boot the system from the other and
repair the corrupted BIOS. But many systems make no such provision,
so be extremely careful when updating your system BIOS. If you fail
to follow instructions exactly, or if you accidentally install the
wrong BIOS update, or if the power fails during the update, the only
solution may be to return the motherboard to the manufacturer for
repair or replacement.
|
|
You configure BIOS options and chipset
settings by running a special firmware program called CMOS Setup,
which is usually invoked by pressing F1, F2, or Delete while the
system is booting. Some systems allow the administrator to
password-protect access to
CMOS
Setup, while others make CMOS Setup a
"blind" option. For example, recent
Intel motherboards by default display an Intel splash screen rather
than the standard BIOS boot screen. To run CMOS Setup, press Esc when
the splash screen appears to clear it, and then press F2 to enter
BIOS Setup.CMOS Setup programs vary at the discretion of the
motherboard or system maker in terms of what they allow you to access
and change. Some Setup programs provide essentially complete access
to all settings, while others allow changing only some settings, and
some provide no access to chipset options at all. Figure 1-1 shows the main screen of a typical BIOS setup
program.
There are so many
different chipsets, BIOS versions, and Setup utilities that covering
BIOS and chipset options in detail would require writing a separate
book. Fortunately, someone already has. Phil
Croucher's superb The BIOS
Companion
(http://www.electrocution.com/biosc.htm)
documents BIOS and chipset options in great detail, including some
that even we don't understand. Every PC technician
should own a copy of this book. Another very useful BIOS resource is
Wim's BIOSPage (http://www.wimsbios.com/).
1.2.4 Technologies
Here are some important technologies pertinent to current and
next-generation PCs, with a brief explanation of each:
- ACPI
-
Advanced Configuration and Power
Interface
(ACPI) is the current standard for
configuring system components under PnP, monitoring the health of the
system, and managing power usage. It replaces
Intel's Dynamic Power Management
Architecture (DPMA)
and Advanced Power
Management (APM). All current PCs and
motherboards include at least partial ACPI support. ACPI is one of
those technologies that isn't quite
"here" yet. When it works as it
should, which is usually, it provides power management and other
functions that many find useful. When it doesn't
work properly, or when it conflicts with other technologies such as
USB, it can cause very subtle, intermittent problems that can have
you pulling out your hair. It can also cause very non-subtle
problems, including systems that go into a coma rather than
suspending, screens that refuse to unblank even though the system
itself is running, and so on. In general, when we encounter a system
that hangs or otherwise behaves strangely, our first suspects are the
power supply or the memory. But ACPI conflicts are also high on the
list.
- AGP
-
Accelerated Graphics Port
(AGP) is a dedicated video
port connector, introduced in 1997 by Intel and now nearly
ubiquitous. In theory, AGP improves video performance by removing it
from the 33 MHz PCI bus and by allowing a video adapter to use main
system memory. In practice, few applications saturate even a PCI
video adapter, so the benefits of AGP are largely unrealized for now.
AGP video cards do not fit PCI slots, and viceversa. AGP is fully supported only under
Windows 98 and Windows 2000 or later. Note that many
motherboards now use AGP 2.0-compliant 1.5V AGP slots that do not
support legacy 3.3V AGP cards, so if you're
upgrading a motherboard you may also have to upgrade your video
adapter.
- IAPC
-
Instantly Available PC
(IAPC) is an Intel initiative that
defines power-saving modes that retain the ability to respond to
programmed or external triggers, such as LAN activity
(Wake-on-LAN,
WOL) or an inbound telephone call
(Wake-on-Ring, WOR).
- PnP
-
Plug-N-Play (PnP) is a joint Intel/Microsoft
specification that allows computers and peripherals to configure
themselves by negotiating for available system resources. Full
implementation of PnP requires the chipset, BIOS, operating system,
and devices all be PnP-compliant. Ideally, adding a device in a PnP
environment requires only physically installing the device. PnP then
configures everything automatically, loading the appropriate driver
and assigning non-conflicting resources (IRQ, I/O port, DMA, and
memory space) to the device. In practice, PnP sometimes does not work
properly. PnP is partially supported by early releases of
Windows 95, and fully supported by
Windows 95 OSR2+, Windows 98, and Windows 2000 or
later.
- UDMA/100 and /133
-
Ultra DMA/100 (UDMA/100)
and Ultra DMA/133
(UDMA/133) are recent standards that support IDE
hard disk data transfer rates up to 133 MB/s, eight times that
supported under earlier Programmed I/O (PIO)
modes, four times that of UDMA/33, and twice that of UDMA/66.
DMA (Direct Memory Access)
modes have low CPU utilization under heavy disk load (typically
~1.5%, versus 80% for PIO), and high-end UDMA drives approach low-end
SCSI drives in raw performance. The fastest current ATA hard drives
cannot saturate even a UDMA/66 interface, so the advantage of
UDMA/100 and UDMA/133 over earlier UDMA standards is nil in practical
terms for now. But we expect new-generation hard drives to ship in
2002 and 2003 that will be able to saturate UDMA/66, so UDMA/100 is
worth having. UDMA/100 is supported by most current systems and
motherboards, and by many current IDE drives. Most current
motherboards do not support UDMA/133, although new motherboards
shipping during 2002 will begin to incorporate it. UDMA can be used
with all versions of Windows 95/98/Me and by Windows NT/2000/XP, although
configuring it is nontrivial in some of those environments.
- The Big Drive Interface Initiative
-
The ATA standard has used 28-bit
addressing since its inception. When using standard 512-byte blocks,
a 28-bit address limits maximum drive size to 128 GB. Until 2001,
that was so large as to be no limit at all, but the exponential
growth in hard drive sizes has now put them hard against that 128 GB
limitation. In 2001, a consortium of storage industry companies, led
by Maxtor, introduced the
Big Drive Interface Initiative. This initiative
replaces the old ATA interface with a new version that uses 48-bit
addressing, which allows drive sizes up to 128 petabytes (PB), still
using standard 512-byte sectors. The new interface is
backward-compatible with older drives, and the newer drives are
backward-compatible with older interfaces (although, of course, you
are limited to using 128 GB of the drive's capacity
if it is connected to an older interface). As this is written, no
current motherboard has an embedded 48-bit ATA interface, but we
expect that motherboards with 48-bit ATA interfaces will begin
shipping in 2002. During the transition, drives larger than 128 GB
usually ship with a bundled 48-bit add-on ATA adapter. For more
information about the Big Drive Interface Initiative, see
http://www.maxtor.com/products/bigdrive/default.htm.
- USB
-
Universal Serial Bus
(USB) is a general-purpose communications
interface for connecting peripherals to PCs. USB 1.1 supports speeds
up to 12 Mb/s (1.5 MB/s). USB 2.0, finalized in February 2000,
supports speeds 40 times faster—up to 480 Mb/s (60 MB/s). USB
2.0-compliant interfaces and peripherals began shipping in late 2001.
USB is royalty-free and strongly backed by
Intel, which makes it
likely to prevail over the competing, more expensive
IEEE-1394
"Firewire" standard. USB will
ultimately replace low-speed
"legacy" serial, parallel,
keyboard, mouse, and floppy interfaces, and may also become a
standard or at least an alternative interface for mid-speed devices
like video, network adapters, and optical drives. All current systems
and motherboards include USB 1.1 ports, and an increasing number of
peripherals are available in USB form. USB 1.1 is fully supported
only under Windows 98 and Windows 2000/XP. Microsoft added USB 2.0
support to Windows XP in January 2002, and we expect them to ship
native USB 2.0 drivers by mid-2002.
An exhaustive list of
these and other PC technology standards is available in the PC 2001
document and on the Web at http://www.pcdesguide.org/pc2001/Resources.htm.
1.2.5 The Strange Case of the AMR/CNR/ACR Slot
Nearly everything inside a PC is designed to be user-installable. The
Audio Modem Riser (AMR), Communications and
Networking Riser (CNR), and
Advanced Communication
Riser (ACR) slots are exceptions. Although
their presence on many recent motherboards intrigues some upgraders,
these slots were never intended as general-purpose expansion slots.
All of them were designed to be used by OEM system builders, not by
backyard mechanics. Here's what you need to know
about AMR, CNR, and ACR slots:
- AMR slot
-
Intel developed the AMR slot to provide an easy, standardized way to
integrate modem and audio functions into finished systems at minimal
cost, but OEM system builders ignored it in droves. Why? Mainly
because the AMR slot took the place of a standard PCI slot, and most
motherboard designers and system builders rightly preferred having an
extra PCI slot to having an AMR slot of dubious utility. The AMR slot
also had limited functionality and no support for Plug-N-Play. The
result was that, although some motherboards included an AMR slot,
very few AMR-compatible cards were ever developed, and those that
were achieved only limited distribution. We've seen
exactly one AMR card.
- CNR slot
-
Intel's answer to the problems of AMR was to
redesign the AMR slot. The CNR slot, shown in Figure 1-2, can coexist with a standard PCI slot,
allowing either a CNR card or a standard PCI card to use the slot
position interchangeably. CNR also adds Plug-N-Play support and other
features of interest to system designers. AMR and CNR are
incompatible, both at the physical and electrical level. Although we
have seen a few CNR cards, mostly modems and sound adapters, CNR
cards are not much easier to find than AMR cards. For more
information about CNR, see http://developer.intel.com/technology/cnr/qa.htm.
- ACR slot
-
AMR and CNR are both Intel technologies. AMD, VIA, and the rest of
the everyone-who-is-not-Intel camp came up with an alternative called
the ACR slot, which is found on some Intel-free motherboards. The ACR
slot is physically a standard PCI slot connector, which you can
recognize because it's turned 90 degrees to the
other PCI connectors on the motherboard. In theory, the ACR slot
offers several advantages over the AMR/CNR slot, including its use of
standard connectors and its additional flexibility because of the
greater number of available pins. In practice, we've
never seen or even heard of a card designed to fit that slot, so it
is effectively a wasted connector.
Intel warns that the AMR and CNR interfaces are not rigidly defined,
so it is quite possible that any given AMR or CNR card simply will
not work in a particular AMR or CNR slot. If your motherboard has an
AMR, CNR, or ACR slot, we suggest you pretend it's
not there.
|