Hydra

From Wikitech
(Difference between revisions)
Jump to: navigation, search
Line 12: Line 12:
  
 
Don't use GCC to compile things here (it's slow on SPARC).  Use cc (or CC for C++) in /opt/SUNWspro/bin.
 
Don't use GCC to compile things here (it's slow on SPARC).  Use cc (or CC for C++) in /opt/SUNWspro/bin.
 
== Software ==
 
 
Solaris packages are available in /h/w/src/solaris/.  They install into /aux0/wmf.  To build a package:
 
 
$ cd /home/wikipedia/src/solaris
 
$ gzip -dc program-1.0.tar.gz | tar xf -
 
$ cd program-1.0
 
$ ../configure.sh --prefix=/aux0/wmf/misc
 
$ make
 
$ make DESTDIR=/tmp/program install        # or INSTALL_ROOT= for some programs
 
$ cd ../
 
$ mkdir program
 
$ cd program
 
$ pkgproto /tmp/program=/ >prototype
 
$ echo 'i pkginfo' >>prototype
 
$ cat >pkginfo
 
PKG=WMFprogram
 
ARCH=sparc
 
VERSION=1.0
 
NAME=A program built for WMF
 
CATEGORY=application
 
BASEDIR=/
 
^D
 
$ pkgmk -o
 
$ cd ..
 
$ pkgtrans -s /var/spool/pkg `pwd`/WMFprogram.sparc.pkg WMFprogram
 
$ pkgadd -d WMFprogram.sparc.pkg
 
  
 
== Benchmarks ==
 
== Benchmarks ==
  
{|
+
{| border="1"
|threads || req/s || time per request
+
|threads || req/s (Hydra) || time/req (Hydra) || req/s (srv54) || time/req (srv54)
 
|-
 
|-
| 1 || 2.34 || 455 ms
+
| 1 || 2.34 || 455 ms || 9.38 || 100ms
 
|-
 
|-
| 2 || 4.84 || 208 ms
+
| 2 || 4.84 || 208 ms || 17.84 || 54 ms
 
|-
 
|-
| 4 || 8.87 || 130 ms
+
| 4 || 8.87 || 130 ms || 25.05 || 37ms
 
|-
 
|-
| 6 || 13.7 || 71 ms
+
| 6 || 13.7 || 71 ms || 29.05 || 33 ms
 
|-
 
|-
| 8 || 16.5 || 59 ms
+
| 8 || 16.5 || 59 ms || 27.45 || 40 ms
 
|-
 
|-
| 12 || 20.32 || 47 ms
+
| 12 || 20.32 || 47 ms || 29.27 || 33 ms
 
|-
 
|-
| 16 || 19.98 || 48 ms
+
| 16 || 19.98 || 48 ms || 29.79 || 33 ms
 
|-
 
|-
| 24 || 19.29 || 53 ms
+
| 24 || 19.29 || 53 ms || 29.16 || 33 ms
 
|}
 
|}

Revision as of 16:21, 10 February 2006

A Sun Fire T2000, 6-core 1.0GHz UltraSPARC T1, 8GB RAM. It's on evaluation; not ours yet. IP 10.0.0.201. Runs Solaris 10.

ALOM: connect to port 'hydra' on the SCS. Type #. to enter the ALOM console, 'console' from there to enter the system console. From Solaris type ESC-B to enter the openboot prompt. Type 'go' to get back to Solaris.

Useful ALOM commands at the sc> prompt:

poweron
poweroff
powercycle

It has two drives with all FSs mirrored. If the primary drive fails then 'boot backup_root' from the prom (it should do this automatically).

Don't use GCC to compile things here (it's slow on SPARC). Use cc (or CC for C++) in /opt/SUNWspro/bin.

Benchmarks

threads req/s (Hydra) time/req (Hydra) req/s (srv54) time/req (srv54)
1 2.34 455 ms 9.38 100ms
2 4.84 208 ms 17.84 54 ms
4 8.87 130 ms 25.05 37ms
6 13.7 71 ms 29.05 33 ms
8 16.5 59 ms 27.45 40 ms
12 20.32 47 ms 29.27 33 ms
16 19.98 48 ms 29.79 33 ms
24 19.29 53 ms 29.16 33 ms
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox