What are the hardware requirements to run Stata?
| Title |
|
Hardware requirements to run Stata |
| Author |
Kevin Crow, StataCorp |
| Date |
October 2005; updated March 2006; minor revision December 2006 |
We receive many questions from users who are about to buy a new desktop or
laptop computer and want to know what type they should buy for Stata. Below
are some factors to keep in mind before purchasing your computer.
RAM
The most important consideration when buying a computer on which to run Stata
is the amount of RAM (memory) you will need. You
need at least 512 MB of RAM for Stata to run smoothly. Stata loads all your
data into RAM to perform its calculations. You must have enough physical RAM
to load Stata and allocate enough memory to it to load and analyze your
datasets.
Stata will be drastically slowed if the operating system has to use
virtual memory to load your data or perform its calculations. One of the
issues you have to consider when deciding how much RAM to purchase is the size
of the datasets that you will be working with. We recommend that your computer contain
50% more memory than the size of your largest dataset. Stata needs the extra
room in memory to perform calculations, create temporary variables, etc., once
the data have been loaded.
If you need help figuring out how large your dataset might be, point your Web
browser to the URL below to read an FAQ on calculating dataset size.
http://www.stata.com/support/faqs/data/howbig.html
Architecture
The two main computer architectures are 32-bit and 64-bit. If you plan on
working with datasets larger than 1 GB, we recommend that you purchase a 64-bit
computer. A 64-bit computer does not have the 2 GB memory limitation that a
32-bit computer has. To learn more about the memory limitations of a 32-bit
computer, point your Web browser to the URL below.
http://www.stata.com/support/faqs/win/winmemory.html
Processor
Assuming that you have enough RAM, the next greatest effect on the performance of
Stata is the processor. The faster the clock speed and the more
cache a processor has, the faster Stata will run.
There are two main types of processors, RISC (reduced instruction set) and CISC
(complex instruction set). In general, a CISC chip running at the same clock
speed (such as 800 MHz) as a RISC chip will accomplish more in a given amount
of time. RISC chips are fast at certain types of operations, such as
integer math, which makes them faster for certain applications like graphics
packages. However, for general computing, a CISC chip will be faster at a given
clock speed. Intel and AMD are the main producers of CISC chips, whereas
Macintosh, Sun, IBM RS/6000, and several other Unix computers use RISC chips.
For best performance, consider a dual-core, multicore, or
multiprocessor machine, Stata/MP can take advantage of
these computer systems and allow “threads” of computations to be
split across multiple processors. This can dramatically increase the speed of
many Stata commands. Many of the modern multicore processors on the market
today are of the 64-bit variety and will allow Stata to take advantage of
physical memory over 2 Gigabytes allowing very large datasets to be loaded
into memory. Click here for more
information on compatible hardware architectures.
Hard Drive
Stata requires only around 80 MB of drive space to install. The speed of the
hard drive where Stata is installed will affect Stata's performance when using
some commands. These commands write temporary files to disk, so a fast hard
drive will help, but most of Stata's commands are not affected by the hard
drive speed because Stata does its calculations in RAM. Users that make heavy
use of their hard drive from writing temporary files or as a result of Stata
swapping information may want to look into a RAID 0/RAID 5 array.
Servers
Depending on the operating system and your network setup, Stata can use either
the server or client computer's resources when running. Point your Web browser
to the URL below to read an FAQ on our Web site about networking Stata on
different operating systems.
http://www.stata.com/support/faqs/win/networking.html
If you decide to set up Stata to use the resources of a
server, please determine the number of possible simultaneous Stata users.
For ideal performance, there should be at least as many CPUs on the server as
there will be simultaneous Stata sessions running on that server. Also, make
sure that the server has enough physical RAM to handle the total
amount of RAM that all Stata users may need to allocate to Stata while
performing their analyses.
Stata will run on any Novell or Windows Vista/XP/NT/2000 network. Stata will also run
on UNIX-based or Macintosh-based networks.
|