Raid Soft V Hard
Raid Soft V Hard
Raid Soft V Hard
Hardware RAID
Examples of such specialized features include the Two sets of NetBench Disk tests were conducted
following. on RAID 5 arrays, the first set utilizing one array
comprised of six disks and the latter utilizing two
• Use of auxiliary processor(s) dedicated to
arrays comprised of six disks each. The Adaptec
calculating the parity for data blocks that are
SCSI RAID 3210S – a mid-range SCSI controller –
to be written to disk while the main embedded
with 64 MByte of on-board RAM was pitted as a
processor is concurrently fetching or executing
representative of hardware RAID against the native
the next instruction in the RAID (firmware)
software RAID utility provided by Windows 2000
code. This hardware component is not found
server used in conjunction with an Adaptec 39160
on non-RAID HBAs.
SCSI card. Table 1 displays the configuration details
• Use of dedicated cache(s) on the controller and Figure 2 the corresponding cumulative network
for reading or writing data. While the advantage throughput for the first test. Table 2 displays the
offered by the use of a cache for reading is configuration details and Figure 3 the corresponding
rather obvious, the advantage when writing cumulative network throughput for the second test.
may warrant a little explanation. A cache offers
Note that these tests are intended to illustrate the
the host the opportunity to transparently
general superiority of hardware RAID to software
complete “write” commands even while the
RAID and the use of a mid-range controller for hard-
read-write heads on the disk to which the
ware RAID is sufficient for that purpose. Certainly
command is targeted is seeking the appropriate
the use a high-end hardware RAID controller can
sector(s) for writing the associated data. This
be expected to amplify this superiority further.
obviates the need to interrupt the host and
notify it when a desired sector has been sought
by the read-write head permitting it to execute
a write operation. Additionally, it also allows
the controller to coalesce contiguous “dirty”
data blocks that have accumulated over time, Operating System Windows 2000 Server
and write them out in a consolidated chunk. System Memory 1 GByte, PC133
Clearly, this has the advantage of reducing the RAID Type RAID 5
time spent in seeking the appropriate sectors on Number of Drives 6
disks into which to write the individual blocks.
Drive Type Seagate ST318451LC, 15K rpm,
18.35 GByte
Performance Results Number of Arrays 1
To obtain a quantitative picture of the superiority NIC Intel PRO/1000 T Server Adapter,
in performance of hardware RAID to software 1 GBit
RAID consider the following performance test Hardware RAID Software RAID
results obtained from using NetBench Disk test Controller Adaptec Adaptec
(version 7.0). NetBench is an application that 3210S SCSI Card 39160
measures the performance of file servers handling SCSI Interface Ultra160 Ultra160
network file requests from clients running Available
Channels 2 2
Windows® 95/98, Windows NT® or Windows 2000.
Channels Used 1 1
NetBench Disk Test – using 1 RAID Array NetBench Disk Test – using 2 RAID Arrays
250 300
Total Network Throughput in Mbit/sec
200
150
150
100
100
50
50
0 0
1 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 1 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60
Number of Clients Number of Clients
Software RAID Hardware RAID Software RAID Hardware RAID
Number of Software RAID Harware RAID Number of Software RAID Harware RAID
Clients Mbit/sec Mbit/sec Clients Mbit/sec Mbit/sec
1 5.6 5.8 1 5.4 5.7
4 22.3 23.1 4 21.5 23.1
8 43.3 40.0 8 41.1 46.1
12 63.2 69.0 12 65.4 68.8
16 81.0 91.2 16 86.2 91.6
20 96.1 113.0 20 105.9 113.7
24 103.8 134.3 24 123.9 134.7
28 109.5 154.3 28 140.8 156.4
32 107.4 175.7 32 156.9 175.2
36 98.6 190.3 36 169.5 195.8
40 94.6 204.5 40 175.9 211.4
44 90.2 208.0 44 183.6 228.0
48 85.7 198.1 48 188.4 239.7
52 80.1 180.8 52 190.0 240.9
56 74.0 174.4 56 188.0 245.6
60 73.8 167.1 60 185.4 236.3
Figure 2 – Software vs. Hardware RAID Performance Figure 3 – Software vs. Hardware RAID Performance
Using 1 RAID Array Using 2 RAID Array
Glossary Kernel
The central component of an operating system that is
Application Server
typically responsible for memory, process, security and
An application server is the engine that acts as the
I/O management.
intermediary for data and services between a “thin”
web-enabled client in the front-end and a database
Multi-Processing
or repository of some form in the back-end. This
Multi-processing is the division of labor in computing,
may include web-servers, OLTP servers etc.
with each processor executing a distinct set of tasks.
If the set of tasks being executed by one processor
Asymmetric Multi-Processing
is reasonably independent of the set of tasks being
Multi-processing using two or more processors that
executed by another (or vice-versa) then multi-processing
are not equivalent in their capabilities and their use.
can yield significant performance gains.
Cache
NDIS
A part or whole of a dynamic memory space that is
Network Driver Interface Specification. It is the specifi-
used to store data being written to secondary storage
cation for the interface between device drivers and a
and subsequently read from it.
network. All transport drivers call the NDIS interface
to access and work with NICs.
Context Switch
The action by which the state information for a
O(n)
process whose execution is stopped (by the scheduler)
Pronounced as “order of n”. If an algorithm (or heuristic)
are swapped out and that for a dormant process that
dependent on the variable n has a complexity of O(n),
is to begin execution are swapped in.
then the algorithm (or heuristic) takes time propor-
tional to n to complete execution.
CPU
Central Processing Unit (of which a system may
Outer Join
have one or more).
Simple union of all records from two tables.
Dirty Data
Physical Memory
Data that is residing in cache but has not been written
Dynamic memory or simply random access memory
to its target (such as secondary storage).
(RAM).
DMA
PIO
Direct Memory Access. Methodology by which an
Methodology by which I/O transfers to and from
auxiliary processor transfers data between a peripheral
secondary storage are performed by the system CPU.
device and the system memory without the inter-
vention of the system’s main CPU(s).
RAID
Redundant Array of Inexpensive Disks. Methodology
DPC
using which multiple disks are coalesced to form an
Deferred Procedure Call. It is a software routine that
array that provides redundancy and higher availability
is part of a driver invoked when an I/O is completed.
of data.
I/O completion typically involves checking I/O status,
forwarding I/Os (returned by the underlying drivers)
Relational Database
to overlying drivers in a layered driver model and
Database that employs multiple “related” tables for
executing cleanup actions that may be necessary.
storing data.
Embedded
Scheduler
In conjunction with the terms processor or develop-
Component of the OS kernel that controls the order
ment refers to the area of specialized applications
and time of execution of processes and their associated
that typically run on a single micro-processor board
threads.
with the program residing in flash memory.
Virtual Address
Inner Join
Address that is not necessarily backed up by physical
Combines records from two tables whenever there
memory. Typically the virtual address space is signifi-
are matching values in a common field
cantly larger than the physical memory size, and is
backed up by on-disk space.
Watchdog
An application which “watches” over specified target
component(s). Typically a watchdog performs a set
of diagnostic checks at pre-specified intervals on its
target component(s), and perform suitable action
depending on the status of its target.
Copyright 2002 Adaptec, Inc. All rights reserved. Adaptec and the Adaptec logo are trademarks
of Adaptec, Inc. which may be registered in some jurisdictions. Microsoft, Windows, Windows NT,
Windows 95/98/2000 are trademarks of Microsoft Corporation, used under license. All other
trademarks used are owned by their respective owners.