![]() | ![]() |
|
SPARC-HOWTO.Lionel, trollhunter Bouchpan-Lerust-Juéry <trollhunter@linuxfr.org>v0.0.5 October 2003The SPARC family of microprocessors is a very good implementation of the RISC design and SPARC based computing devices cover a very wide spectrum of applications, from mainframe class computers to radhard microprocessors used by the aerospace industry in its space segment. SPARC based computers are usually very well engineered products, thus Linux on SPARC is a winning combination both in performance and ease of use. Actually this combination is not as widspread as the Linux/x86; this HOWTO should help you step by step to make an informed decision: try it you will not regret it.
1. Preface.
2. SPARC, which one ?
3. Buying a SPARC computer.
4. SPARC based laptops
5. The wonderful SparcStation Voyager
6. Sun's Netra servers
7. Sun's Enterprise servers
8. Tatung's Workstations
9. Tatung's SPARC Servers
10. Fujitsu's supercomputers
11. Linux on SPARC: 2 kernels.
12. Choosing a distribution.
13. Installing Linux
14. Working with the Openboot.
15. Hard drive buses.
16. CDROM: specific settings.
17. SILO.
18. Compiling a kernel
19. Keyboard and mouse.
20. X Window.
21. SMP.
22. The sound.
23. Serial port.
24. Ressources.
25. Thanks and Credits.
26. Copyright, Disclaimer and Trademarks
27. Revision History.1. Preface.This document is a step by step guide meant to provide information in order to help you running Linux on SPARC based computers, As these computers are quite different from PCs an hardware section will provide you with the needed information in order to understand how they work and what can be expected from the various CPUs and models. I am not a SPARC specialist, nor a Solaris or Linux guru, I am just someone who is realy found of well engineered products, and wish to help you in choosing your hardware and finding information. Thus I have tried to write down this document in order to ease your path. I hope this HOWTO will help you and you will have a lot of fun with your SPARC Computer.
1.1 Translations.Kim Hyun-Gyu <babyworm@atlas.korea.ac.kr> provide a Korean translation. You can read it online at http://kldp.org/HOWTO/html/SPARC-HOWTO/
2. SPARC, which one ?This document deals only with SPARC based
computers, in order to check, just
type
SPARC stands for Scalable Processor ARChitecture, it derives from research done between 1984-1988 on the RISC architecture at UC Berkeley. It exists 3 versions of this archiecture, SPARC-V7, SPARC-V8 (32 bits) and SPARC-V9 (64 bits). As you are likely to encounter a lot of implementations of the SPARC architecture, in the next section, the main features of theses processors are summarized.
2.1 Sun SPARCThis is quite obsolete, it is an implementation of the SPARC-V7 ; its main feature are an Integer unit (IU), an external Floating Point Unit (FPU), an unified data + instruction 64KB direct associative cache, and an Memory Managment Unit (MMU). There is a 4 stage pipeline for the integer instructions (fetch F, decode D, exec E, update WB) FPU and IU are synchronized.
2.2 Super SPARCThis is Texas Instrument and Sun's brainchild, it is usualy found at around 50Mhz clok rates featuring up to 1MB of L2 cache, it is available both as single and dual processor modules (SparcStation 10 and SparcStation 20). The higher clock frequency I have encountered so far is 60Mhz. On a technical point of view this is a SPARC-V8 implementation, it is a superscalar processor, having 2 caches, one for instruction the other one for data.
2.3 Micro SPARCThis is once again Texas Instrument and Sun's brainchild, it can be found in the SparcStation Classic, SparcStation LX, at frequency up to 50Mhz. Its derivative, the Micro SPARC II can be found in the SparcStation 4 and SparcStation 5 at frequencies up to 110Mhz. On a technical point of view, its main features are a high level of integration, having 2 caches, one for instructions, the other one for data.
It is not possible to add an L2 cache. If you wish to learn more about the MicroSPARC processor you can browse Sun's Ultra SPARC ressources.
2.4 Hyper SPARCThis processor was introduced by ROSS in 1993, it is usualy found in the SparcStation 10, and SparcStation 20, at frequencies up to 150Mhz (I have heard of 200Mhz dual processor modules, but Have not witnessed one yet). It can be found on single or dual processor modules. On a technical point of view it is an implementation of the SPARC-V8, it is superscalar. It can be found with L2 cache up to 512KB
2.5 ERC32This is a radhard SPARC V7 microprocessor designed to be used on the space segment. It comes as a single unit or as a three chip
package. Main manufacturer is
2.6 LEONThis is also a radhard implementation of the SPARC V8 designed to be used on the space segment. It is the ESA's brainchild and the lead designer is jiri gaisler. More information can be found on LEON's website : http://www.gaisler.com/leonmain.html The 2.4 and 2.5 kernel series are not yet supported, however the 2.0 kernel
series is supported by the piou@linux:~/uClinux-dist/images> ./tsim-leon -nfp image.elf TSIM/LEON SPARC simulator, version 1.1.4a (evaluation version) Copyright (C) 2001, Gaisler Research - all rights reserved. This software may only be used with a valid license. For latest updates, go to http://www.gaisler.com/ Comments or bug-reports to tsim@gaisler.com FPU disabled serial port A on stdin/stdout allocated 4096 K RAM memory, in 1 bank(s) allocated 2048 K ROM memory icache: 1 * 4 kbytes, 16 bytes/line (4 kbytes total) dcache: 1 * 4 kbytes, 16 bytes/line (4 kbytes total) section: .text at 0x0, size 252944 bytes section: .data at 0x40000000, size 38452 bytes section: .romfs at 0x3dc10, size 67584 bytes tsim> g resuming at 0x00000000 aCDG512k RAM Found my key Moved .data Found my key uClinux/Sparc Flat model support (C) 1998-2000 Kenneth Albanowski, D. Jeff Dionne LEON-2.1 Sparc V8 support (C) 2000 D. Jeff Dionne, Lineo Inc. LEON-2.2/LEON-2.3 Sparc V8 support (C) 2001 The LEOX team <team@leox.org>. Calibrating delay loop.. ok - 6.68 BogoMIPS Memory available: 3904k/4080k RAM, 0k/0k ROM (176k kernel data, 247k code) Swansea University Computer Society NET3.035 for Linux 2.0 NET3: Unix domain sockets 0.13 for Linux NET3.035. uClinux version 2.0.39.uc2 (root@linux) (gcc version 2.95.3 20010315 (release)) 6 Thu Dec 26 18:28:01 PST 2002 LEON serial driver version 0.9 ttyS0 (irq = 3) is a builtin LEON UART Blkmem copyright 1998,1999 D. Jeff Dionne Blkmem copyright 1998 Kenneth Albanowski Blkmem 1 disk images: 0: 3DC10-4E40F (RO) VFS: Mounted root (romfs filesystem) readonly. Sash command shell (version 1.1.1) /> pwd / /> cd bin /bin> pwd /bin /bin> ls sh /bin> 2.7 Ultra SPARCThe Ultra SPARC processor is an extension of the SPARC-V9 architecture, it is a 64 bits processor, it features some video processing instructions. It is found in all the computer whose name start with Ultra. The Ultra SPARC II is an improvement of the Ultra SPARC, the Ultra SPARCIII is actually the second generation of Ultra SPARC processors, it was first introduced in the SunBlade 1000 Workstation. If wish to learn more about the UltraSPARC processors you can browse Sun's Ultra SPARC ressources.
2.8 SPARC64 V
This processor is based on the SPARC V9 and is made by Fujitsu It is a 64bits CPU with some very interesting error handling features such as ECC memory for the L1 cache, hardware instruction retry, error classification. There is a 64 bit virtual address space and 43 bit physical address space. It is used in the PRIMEPOWER high end servers to mainframe class of Fujitsu's offering. The cache is organized as :
More information can be found on the http://www.fujitsu.com/downloads/PRMPWR/JPS1-R1.0-SPARC64V-pub.pdf whitepaper. You may read the CPU-Design-HOWTO, this HOWTO has a lot of interesting links when it comes to studying the CPUs. To summarize, the 32 bits workstations are the:
For more information on the SparcStation 5, 10, 20 you can read Sun's documentation online or download it available. The following model have an 64 bits UltraSPARC architecture (sun4u). SunUltra 1, 2, 5, 10, 30, 60, 80 and SunBlade 1000, 1500, 2000. The SunUltra 2, 60, 80 and SunBlade 1000 are SMP capable, with the Ultra 80 and SunBlade 1000 and 2000 accepting up to 4 CPU modules, the SunUltra 2 and 60 accepting only 2 CPU modules. The SunBlade 2000 is the latest one featuring Sun's latest marvel the Ultra III CPU, at a premium price of course. You can have a summary of the UltraWorkstation still in production at Sun's website. A lot of information has been compiled in the Sun hardware reference that is found on many sites, or on SunHelp 's website.
2.9 Deciphering the CPUsAt first, a reference like SM61 or RT-200-D-125/512 seems to be, to say the least, quite cryptic. Actually, understanding theses references is really easy.
Ross Technology.Theses CPUs's naming scheme is
When these modules are in a workstation the naming convention is
HSxy, for example SM modules.This table is extracted from the FAQABOSS Name Speed( MHz ) Cache( MB ) Number of SuperSparc Processors Series SM20 33 0 1 I SM30 36 0 1 I SM40 40 0 1 I SM41 40 1 1 I SM50 50 0 1 I SM51 50 1 1 I SM512 50 1 2 I SM51-2 50 2 1 I SM61 60 1 1 I SM61-2 60 2 1 I SM71 75 1 1 II SM71-2 75 2 1 II SM81 85 1 1 II SM81-5 85 2 1 II Warning: the
Cypress.Cypress manufactured SPARC compliants processors; AFAIK their naming scheme is CYnnn. As you can see, this is easy to understand.
2.10 The javastation.This is a family of Network computers that used to be manufactured by Sun, there is a very good JavaStation-HOWTO about it.
3. Buying a SPARC computer.
You have decided to buy a SPARC based computer, now you can tell what CPU each model sports, but can you tell how that particuliar model looks like? How its is inside? Do not worry, this section will help you on that topic as well as providing you with some hints on how to inspect and test the hardware.
3.1 Gaigning a visual familiarity with SPARC hardwarePC hardware is everywhere and usualy one is quite familiar with it, this is not exactly the case with SPARC based hardware, even more when it comes to the innards of a computer. The good news is that it exists some sites on the web, where you can find pictures of Sun hardware, with some very detailed shots, thus you should be able to instantly identify the model and its condition prior to buy it. The two main site where I usualy go are:
3.2 Sun made hardware or clones ?On the one hand, it is very easy to find information on Sun hardware, while it can be difficult to find it for clone systems on the other hand it should be more fun to work with exotic hardware. Clone systems have been or are still manufactured, at least by:
3.3 Where to buy.Of course if you buy first hand hardware everything should be fine, but if you decide to go for second hand hardware, you will have to decide how you want to buy it, and you should be able to test it by yourself. Second hand hardware can be brought from Sun as refurbished hardware, at auction websites, or in specialised stores, or directly from companys that upgrade their hardware.
3.4 ChecklistWhen it comes to second hand hardware one has to be as cautious as possible about the source, and the condition of that hardware. For the source of the hardware, if you can track it, it is a very good point. If you can't track it, it is up to you to decide if you trust the seller or not ( If the seller cannot give you the reference of the hardwre and if, obviously he/she is clueless about Sun hardware, you should switch to condition red ). Another interesting point is to see if check is accepted as a payement. If you can check the hardware before buying it
then first have a general look at it, search for
cracks, for stains; check the connector's pin. If this first
inspection is OK, then ask to see the inside, look for spills, watch
carefuly the connectors, then if it is OK ask to see it running,
watch carefully boot messages, issue the Then, when you are at home, recheck it as if it was the first time you see it. If it comes with CDROM drive, try to mount/umount a few CDs and read them in order to check that device. If there is a floppy disk read/write/format a few floppys, this should be a good test.
Of course, it exists tools to automaticaly test the hardware, but usualy you do not have them when you need them, thus the script below relies only on ressources provided by a Linux base system.
You should run the following script for three days, basicaly it is going to use the CDROM, floppy and hard drive, and to reboot the computer every 3 hours. This should stress it,
# # Enter this in the crontab(5) # run the torture.sh script every 3 hours if possible # 0 */3 * * * /root/torture.sh Where torture.sh is
#!/bin/sh # # these are for controlling the loops # the CDLIMITS and FDLIMITS # are for the CD and FD loops # CPT=1 CDLIMIT=3 FDLIMIT=10 # # to which devices are # CDROM and floppy attached # CDROM=/dev/sr0 FLOPPY=/dev/fd0 # # where is the program we # intend to compile PATH=/path_to_big_package_to_compile # # this section si meant to # test the CDROM and floppy drives # comment what you do not need to # test while [ $CPT -le $CDLIMIT ] do # # CDROM drive # mount -rt iso9660 $CDROM /cdrom find /cdrom -exec cat {} \; >>/dev/null 2>/dev/null & umount /cdrom CPT=$(($CPT+1)) done # # floppy drive # CPT=1 while [ $CPT -le $FDLIMIT ] do mke2fs -c $FLOPPY >/dev/null 2>&1 mount -t ext2 $FLOPPY /floppy cd /bin/ cp dd ps echo sh /floppy find /floppy -exec cat {} \; >>/dev/null 2>/dev/null & umount /floppy CPT=$(($CPT+1)) done # # The big, intensive # compilation # cd $PATH # # now compile # make # # # we remove every .a .o .s and every executable # find $PATH -name "*.[aos]" -exec rm -f {} \; >/dev/null 2>&1 find $PATH -exec test -x {} \; -exec rm -f {} \; >/dev/null 2>&1 # # time to reboot # reboot Of course you should run this script once in order to know how much time it takes to complete, this is just an idea on how to automate things.
4. SPARC based laptops
There exists SPARC based, laptops. They are not very widespread but, they are actually very good SPARC workstations.
There exists a Today there are some manufacturers of SPARC based laptops. You can access their websites at
5. The wonderful SparcStation Voyager
Nearly ten years ago in 1994, Sun microsystems introduced the SPARCStation Voyager (ss240). This computer was a Sun4m architecture, powered by a microSPARC II processor. It is a very compact computer, behing a hybrid between a desktop and a Laptop. It has the footprint of a very compact workstation with a builtin color LCD display, PCMCIA and InfraRed ports with a 2"5 SCSI harddrive. I have seen one at the CCC in Berlin, runing Debian GNU/Linux but the InfraRed and PCMCIA ports are not supported. Its datasheet is actually very impressive:
More information about this computer can be found on Sun's website at:
6. Sun's Netra serversGNU/Linux is known to run on the following systems:
http://sunsite.ulatina.ac.cr/Unix/Linux/Splack/ sparc/splack-8.0/kernels/sun4u.s
7. Sun's Enterprise serversGNU/Linux is known to run on the following systems:
http://sunsite.ulatina.ac.cr/Unix/Linux/Splack/ sparc/splack-8.0/kernels/sun4u.s
8. Tatung's WorkstationsGNU Linux runs fine on these systems:
9. Tatung's SPARC ServersGNU/Linux runs on the following servers from this manufacturer:
10. Fujitsu's supercomputersAt least one of their supercomputers, the AP1000+,
runs GNU/Linux. This is a distributed memory multi-computer. It is used in the
More information can be found about Fujitsu's offering on this page: http://www.fujitsu.com/support/computing/server/unix/documents/
11. Linux on SPARC: 2 kernels.Actually Linux on SPARC architecture comes in two flavors:
12. Choosing a distribution.
You are very lucky, it seems that you can pick the one you like. In order to help you with this task here are some links, that should help you to make an informed decision.
12.1 Aurora SPARC LinuxThis distribution is based on the RedHat 7.3 SPARC distribution. The homepage is: http://www.auroralinux.org/ It is on the rise. There exists 3 mailing lists. You can join them at http://lists.auroralinux.org/mailman/listinfo
12.2 Debian GNU/Linux.Debian GNU/Linux runs on SPARC platform; you can find a lot of informations about this port at the http://www.debian.org/ports/sparc/ webpage
You can join the mailing list by sending a mail to < debian-sparc-request@lists.debian.org > with subscribe as the subject.
12.3 Gentoo
This is a SPARC and SPARC64 distribution, more informations can be found at http://www.gentoo.org/doc/en/gentoo-sparc-install.xml
12.4 PLD.This distribution is based on the RedHat and is developed in Poland. They do have a SPARC 32 port. More information can be found at their homepage http://pld.org They also provide some mailing lists. More information can be found there: http://mail.pld.org.pl/mailman/listinfo/
12.5 RedHat Linux.
The latest RedHat Linux distribution for the SPARC architecture is the 6.2; you can download it at http://www.linuxiso.org/download.php/243/zoot-sparc.iso for example. There exists a mailing list about Linux and RedHat on SPARC Processors, you can access it there: http://www.redhat.com/mailman/listinfo/sparc-list
12.6 Slackware
There exists a port for the SPARC architecture, more information is available at http://www.slackware.com/ports/sparc/
12.7 SLXT
Actually, the SPARC-Linux Xterminal Package is not a distribution, it is a way to use a diskless SPARCStation as an X terminal. This is a a very convenient package. More information can be found at http://www.pucebaboon.com/SLXT/
12.8 SplackLinux
It is meant to be Slackware Compatible for SPARC. Its homepage is http://sourceforge.net/projects/splack
12.9 SuSE Linux.
The SuSE Linux 7.3 distribution is quite complete, you have 5 ISOs to download. You can grab it at the following URL: ftp://ftp.suse.com/pub/suse/sparc In the subdirectories you will also find bonus software such as KDE libraries and programms. There is a mirror site located in Germany: ftp://ftp.gwdg.de/pub/linux/suse/ And, there are some extra files on the SuSE's server. You can join the mailing list by sending a blank mail to < suse-sparc-subscribe@suse.com > More information can be found at: http://www.suse.com
12.10 Vine Linux
This is a Japanese distribution and there exist a SPARC port. It is an rpm based distribution. From the documentation, it supports both SPARC 32 and SPARC 64. The documentation (in Japanese ;-) ) can be read online at http://www.vinelinux.org/sparc/2.1.5/install-vine-sparc-2.1.5.html
13. Installing Linux
To install Linux on a SPARC based computer, should be strightforward if you follow the informations provided by your distribution. To boot from a floppy drive you have to have an install image on a
floppy disk and to issue the If your computer does not have a CDROM or a floppy drive, you can always try
to perform a network installation using
14. Working with the Openboot.In this section, you will be given an overview of what is the OpenBoot, and you will be given the main commands you need to know in order to test your hardware and to install Linux. 14.1 What is the OpenBoot?
If you are used to PC hardware, you are used to interact with its BIOS. SPARC computers have an Openboot, it may seem to be like your BIOS, but it is actually far more powerfull. The Openboot performs the following tasks:
In this section, we will juste use a small set of the OpenBoot's
capabilities, in order to test hardware and to boot the system.
First you have to enter in the OpenBoot, just hit the
14.2 Diagnostics commands.The OpenBoot, gives you a lot of commands to test and to gather information about your hardware.
14.3 Boot commands.The OpenBoot allows you to boot from various devices, the command you are the more likely to enter are below.
14.4 Misc commands.
power-off
For more informations on the OpenBoot you can read it's 15. Hard drive buses.Depending on their architecture, the computers are likely to feature one of the following hard drive buses.
15.1 SCSI-SCA.An SCSI connector is located at the rear of the Computer; the SCA chanel is found on the internal bus of the SPARC Worstation. It can be basicaly seen as an SCSI bus that provides power supply and assigns SCSI ID to the peripherals.
15.2 EIDE.This is found for example in an Ultra 5 or Ultra 10 computers This bus is the one you can find in your intel box.
15.3 FC-ALThis is the FiberChannel bus. It is used by the SunBlade 1000 workstation.
16. CDROM: specific settings.The easiest way to install linux on SPARC computer is to use a CDROM. If your computer does not have a CDROM you can plug an external SCSI CDROM drive, but there are two things to do or you are doomed to fail:
17. SILO.The Sparc Improved Boot LOader ( SILO ), is the boot loader that is used in the SPARC architecture. It allows you to boot Linux, Solaris or SunOS. It can load a Linux kernel from ext2, iso9660, UFS or ROMFS. From the SILO's README: This is the first attempt at a complete boot loader for Linux on the Sparc. Because of the lack of space on the bootblock, we have to do it in two steps, the first step is a very simple loader based on Peter Zaitcev's silo (we will call this the first stage loader) which should fit in 512B and its sole purpose is to load a more complete bootstrap loader, herein refered to as the second stage boot loader. The cool thing about the second stage loader we implemented is that it makes use of the ext2 library (provided with the ext2fs tools) and some ufs code, and thus allows the loader to access any file on a ext2 fs and ufs, uses silo.conf, handles gunzipping and a lot of other things. This is different from Linux/i386 lilo which needs a map for each kernel. In silo we just keep one map file for the second stage loader, we don't expect you to be changing the second stage loader on your daily routine (you can do so, you will just need to use a tool to reinstall the maps). Actually, IMHO it is easier to use than LILO.
18. Compiling a kernelIf you have already compiled a kernel on x86 architecture there is just a little difference when you wish to compile a kernel on SPARC architecture. you do not type #make zImage #make modules #make modules_install but #make vmlinux #make modules #make modules_install More information can be found on http://www.ultralinux.org/faq.html Then, from the Ultralinux's FAQ the following steps are :
If you have trouble compiling your kernel, maybe it needs to be pached. There are many patches floating around on the net. There exists a website that put some of them online on a regular basis both for the stable and unstable branches. Those patches apply to the hardware used by the site's owner and this should be considered as a very good starting point to be adapted to your hardware. More information can be found at http://osinvestor.com/sparc/ You can also email the site's owner, Rob Radez : <rob@osinvestor.com> If you are unfamiliar with paches he also made them available as debian packages.
19. Keyboard and mouse.Most of the sun4m workstation have a special connector for the keyboard. In this case the mouse is connected indifferently to left or the right side of the keyboard. Some computers have a PS2 connector, it is very easy to spot the difference. The keyboards you are the more likely to encounter are the type4 and type5. At the time of this writting, I didn't manage to have mouse support on the Sun Blade 100. Things should become easier in the near future.
20. X Window.
Graphic Adapter Xserver Sun Creator 3D sunffb Sun Elite 3D sunffb Sun GX suncg6 Sun Leo (ZX) sunleo Sun TCX suntcx Sun Turbo GX suncg6 Sun bw2 sunbw2 Sun cg14 suncg14 Sun cg3 suncg3 There is a catch with the 13W3 video connector that equips some of the framebuffers you may encounter. One may try to plug it on a VGA monitor using an 13W3 to VGA adaptor that is sold on the market. The problem is that SGI and Sun Microsystems do not have the same definition of this standard and depending of the adapter you buy, this may work or not (you know Murphy ...). As a rule, idealy you should try it before you buy.
21. SMP.
Ouaich, SMP is supported, and I am sure that ROSS's dual CPU modules are supported as you can see by yourself:
piou@ywing:~ > cat /proc/cpuinfo cpu : ROSS HyperSparc RT625 or RT626 fpu : ROSS HyperSparc combined IU/FPU promlib : Version 3 Revision 2 prom : 2.25 type : sun4m ncpus probed : 2 ncpus active : 2 Cpu0Bogo : 125.33 Cpu1Bogo : 125.33 MMU type : ROSS HyperSparc invall : 0 invmm : 0 invrnge : 0 invpg : 0 contexts : 4096 CPU0 : online CPU1 : online piou@ywing:~ >
The SparcStation 10 and SparcStations 20 are SMP capable machine and according to the FAQABOSS the following combinations are known to work :
And, as stated earlier, CPU modules in SparcStations 10 and can run a different clock speeds, the following ones __SHOULD__ work:
How does it performs? Well, it is fast, really fast. Some of the java
Demos can run faster on a dual HyperSparc 125Mhz 128MB ( One important detail when you plan to have different CPU modules in your computer is to have the same kind of modules, you cannot mix SuperSparc and HyperSparc for example, but you can have an odd number of CPUs, for example 3. They are said to be able to run modules at different clock speed as written in this article form AcesHardware , but I have not witnessed it.
cpu : ROSS HyperSparc RT625 or RT626 fpu : ROSS HyperSparc combined IU/FPU promlib : Version 3 Revision 2 prom : 2.25 type : sun4m ncpus probed : 4 ncpus active : 4 Cpu0Bogo : 125.33 Cpu1Bogo : 125.33 Cpu2Bogo : 125.33 Cpu3Bogo : 125.33 MMU type : ROSS HyperSparc invall : 0 invmm : 0 invrnge : 0 invpg : 0 contexts : 4096 CPU0 : online CPU1 : online CPU2 : online CPU3 : online and its main memory is now 256MB:
total: used: free: shared: buffers: cached: Mem: 263028736 29114368 233914368 22958080 1695744 12779520 Swap: 133849088 0 133849088 MemTotal: 256864 kB MemFree: 228432 kB MemShared: 22420 kB Buffers: 1656 kB Cached: 12480 kB BigTotal: 0 kB BigFree: 0 kB SwapTotal: 130712 kB SwapFree: 130712 kB So I have performed an empirical with make real 3m27.466s user 3m15.670s sys 0m12.030s with make -j2 real 1m52.670s user 3m27.210s sys 0m15.310s with make -j3 real 1m22.560s user 3m43.910s sys 0m18.070s with make -j4 real 1m13.582s user 4m2.200s sys 0m22.830s with make -j5 real 1m13.445s user 4m4.060s sys 0m22.640s with make -j8 real 1m15.550s user 4m1.840s sys 0m22.960s with make -j 10 real 1m20.091s user 4m2.440s sys 0m22.170s As expected the best results are with make -j5 ( one instance per CPU + one ready to enter when a cache miss occurs ); then N increasing the results are starting to worsen. As a conclusion, those If you want to learn more about SMP and Linux you can read the
22. The sound.The sound works fine on my SparcStation 20 and a 2.4.x kernel series. Most of the people I know report succes with the 2.4 kernel series.
If you plan to use an older kernel, you can read the Linux/Sparc audio webpage at sparcaudio which is a very good source of information about Sound support on Sun's SparcStations.
23. Serial port.Sun workstations ususaly have 2 serial ports, but on sun4m workstation there is usualy only one serial connector at the rear, you need a special Y cable in order to have access to both ports.
24. Ressources.
The following sites are given for your information, I am independent from them and does not represent them. If you would like to suggest a website or to add any information do not hesitate to email me.
24.1 Information sites.
24.2 Auction sites.Among the various Auction websites available on the net you can try theses ones. Remember to be very cautious when you purchase hardware ( see the Buying a SPARC computer section. )
24.3 A Good Provider based in FranceThere exists a very reliable source of used Sun workstations in France:
25. Thanks and Credits.
25.1 Thanks.
Among the many people who showed me how great Unix and the Unix computers can be, some people have earned a special place I would like to thank them:
Also many thanks to "old crocodile" virgile for the time he spent at the library helping me to get the big picture.
25.2 Credits.
Some people gave a lot of time and ressource to help me with this project, hereafeter is their names sorted by alphabetic order:
26. Copyright, Disclaimer and Trademarks
26.1 Copyright.
Copyright © 2000 by Lionel, trollhunter Bouchpan-Lerust-Juéry. This document may be distributed under the terms set forth in the GNU Free Documentation Licence http://www.gnu.org/copyleft/fdl.txt . This documentation is distributed in the hope that it will be useful, but without any warranty. The information in this document is correct to the best of my knowledge, but there's a always a chance I've made some mistakes, so don't follow everything too blindly, especially if it seems wrong. Nothing here should have a detrimental effect on your computer, but just in case I take no responsibility for any damages ocurred from the use of the information contained herein. In this document you will encounter some commercial products and brands. Theses products are cited for information purpose, it is not an endorsement from the author. The trademarks belong to their respective owners. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the Invariant Sections being : "Copyright, Disclaimer and Trademarks" "Preface.", "SPARC, which one ?", "Buying a SPARC computer.", "SPARC based laptops", "The wonderful SparcStation Voyager", "Sun's Netra servers", "Sun's Enterprise servers", "Tatung's Workstations", "Tatung's SPARC servers", "Fujitsu's supercomputers", "Linux on SPARC: 2 kernels.", "Choosing a distribution.", "Installing Linux.", "Working with the Openboot.", "Hard drive buses.", "CDROM: specific settings.quot;, "SILO.", "Keyboard and mouse.", "X Window.", "SMP.", "The sound.", "Serial port.", "Ressources.", "Thanks and Credits.", "Revision History.", , with the Front-Cover Texts being "title" and "abstract." , and with no Back-Cover Texts .
26.2 Administrativia.
This text is included in the Linux Documentation Project http://tldp.org/HOWTO/HOWTO-INDEX/howtos.html .
If you wish to mirror it or to translate it, please contact me. Lionel, Trollhunter Bouchpan-Lerust-Juéry <trollhunter@linuxfr.org> or at <trollhunter@free.fr>
27. Revision History.
|
![]() |