Niall Mullen's WeblogNiall Mullen's Weblog |
|
Thursday May 25, 2006
Goodbye from me
After nearly six years ill be leaving Sun, so this will be the final post on my blog. Ive had a great time here. Ive been fortunate enough to work with some very smart people and may well be back some cheers, Niall Posted at 03:37PM May 25, 2006 by nmullen in General | specweb 2005 configuration : Generating SSL Certs
This blog entry forms one part of a larger guide to specweb2005 which generating SSL Certs Specweb2005 setup will involve setting up a secure webserver, which in many cases will Specweb2005 requires a server that listens both on port 80 for regular http connections In either case your going to have to generate ssl certs for the encrypted connections. Here ill take the example case using Sun Java Webserver. The following is what you need to cd /opt/SUNWwbsvr/alias One by one, select options 0, 1, 5, 6 and 9, and type y when the program asks certutil -C -m 2345 -i mycert.req -o mycert.crt -c myCA -v 100 -z ./seed -d `pwd` My source for minding most of the above comes from: http://www.modssl.org/docs/2.8/ssl_overview.html Posted at 03:37PM May 25, 2006 by nmullen in Performance | specweb 2005 configuration: Building the fileset
This blog entry forms one part of a larger guide to specweb2005 which Building the Fileset Building the fileset is quite straight forward and is well documented here . The only interesting caveat I found is the level to which one should parallellise In the example below the script will build a fileset of 24000 for the SPECweb_Banking #!/bin/sh i=0 while [ $i -lt 24 ]; do i=`expr $i + 1` sessions=`expr $i \* 1000` dir=`expr $sessions \* 50` cat template |sed -e "s/XXX/$dir/" -e "s/YYY/$sessions/" >bank_usercheck_props.$sessions done for file in bank_* rm bank* This launches 24 processes in this case to build the fileset in parallell. Posted at 03:29PM May 25, 2006 by nmullen in General |
Friday Feb 03, 2006
specweb 2005 configuration : Java Jsp Setup
This blog entry forms one part of a larger guide to specweb2005 which Java Jsp Setup : Deploying the Warfiles Specbweb2005 provides two different options for the server side script implementation, To deploy the warfiles on the Sun Java webserver is quite easy, the Deploy the java warfiles WDEPLOY=/opt/SUNWwbsvr/bin/https/bin/wdeploy For each of the three warfiles you should get output similar to the following: [wdeploy] The directory /export/bench/opt/SUNWwbsvr/https-oaf-x-1/webapps/bank doesn't exist. Creating it. Once this is done you can restart your webserver. The startup with php and java both configured should Sun ONE Web Server 6.1SP5 B04/18/2005 14:49 In the case of apache you will need to install the apache tomcat application server, The zeus webserver can be configured using the app server of your choice, Finally the specweb2005 configuration files will need to be modified to use jsp rather Posted at 09:31AM Feb 03, 2006 by nmullen in Performance | specweb 2005 configuration : PHP
This blog entry forms one part of a larger guide to specweb2005 which PHP Compilation Specbweb2005 provides two different options for the server side script implementation, Secondly the compiled PHP module must be installed on the webserver. php.net contains a perfectly good guide on howto build php , the only thing which I feel needs to be added here is specifically what arguments need to be The php compile will require your webserver of choice to be installed already so that it can Sun Java Webserver - /opt/SUNWwbsvr Of course your only going to need one of these, which ever you prefer. To build the nsapi module use the following command: ./configure --with-nsapi=/opt/SUNWwbsvr --enable-libgcc --enable-libxml For isapi: ./configure --with-isapi=/opt/zeus --enable-libgcc --enable-libxml And for fastgi / apache2 ./configure --enable-libgcc --enable-libxml --enable-fastcgi --with-apxs2filter=/usr/apache2/bin/apxs The follow this with: make This will build your php distribution. The module you need to deploy in your webserver -rwxr-xr-x 1 root root 6249892 Jan 13 15:03 libphp5.so Deployment in Webserver This is already covered in as much detail as I could on php.net For Sun Java Webserver the guide is here. Adding the specweb dynamic php scripts Once php is up and running a final simple step that must be taken, chown -R nobody:nobody /export/bench/specweb2005-102/scripts/php The final thing to do is to make sure the specweb configuration files are setup Posted at 09:31AM Feb 03, 2006 by nmullen in Performance | specweb 2005 configuration : besim
This blog entry forms one part of a larger guide to specweb2005 which The Backend Simulator of the Specweb2005 benchmark acts in the place of a The implementation is in c and must be compiled as a module to be deployed In this case ill be using the following different configurations on some nsapi -> Sun Java Webserver - example used here The besim source is located in the besim directory within the specweb2005 Building The Module First you need to cp Makefiles/Makefile.nsapi.`uname -m` Makefiles/Makefile.nsapi Secondly the compilation requires the nsapi.h header file. For this you will LD_LIBRARY_PATH=/opt/SUNWwbsvr/plugins/include; export LD_LIBRARY_PATH Then your good to build, simply make nsapi: # make nsapi Installing the Module You now should have the compiled besim_nsapi module present in the working directory: The next step is to setup this module in your webserver. Then make the following changes in your webserver config directory: obj.conf: ( at the top before the PathCheck entries) NameTrans fn="assign-name" from="/wbesim*" name="besim" nostat="/wbesim" ( At the end of the file) magnus.conf Init fn="load-modules" shlib="/opt/SUNWwbsvr/plugins/nsapi/besim_nsapi.so" funcs The only other change required is to move the listen port to somthing other than 80 , Testing the Simulator The Specweb2005 distribution contains a three perl scripts to test that the Firstly if you dont have it you must add the libiconv package which can be found on Sunfreeware Once these are all installed you just need to change the #! to point to your perl # ./test_besim_bank.pl http://10.1.1.10:81/wbesim Testing BESIM Requests for Banking Workload http://10.1.1.10:81/wbesim?1&0&1097157010&1&2000&200&/www/bank/images&0
SERVER_SOFTWARE = Sun ONE Web Server/6.1 REMOTE_ADDR = 10.1.1.207 SCRIPT_NAME = /wbesim QUERY_STRING = 1&0&1097157010&1&2000&200&/www/bank/images&0
.... output continues .... # ./test_besim_ecom.pl http://10.1.1.10:81/wbesim |more Testing BESIM Requests for Ecommerce Workload http://10.1.1.10:81/wbesim?2&0&1079975569&1&80&100
SERVER_SOFTWARE = Sun ONE Web Server/6.1 REMOTE_ADDR = 10.1.1.207 SCRIPT_NAME = /wbesim QUERY_STRING = 2&0&1079975569&1&80&100
# ./test_besim_support.pl http://10.1.1.10:81/wbesim |more Testing BESIM Requests for Ecommerce Workload http://10.1.1.10:81/wbesim?3&0&1079975569&500
SERVER_SOFTWARE = Sun ONE Web Server/6.1 REMOTE_ADDR = 10.1.1.207 SCRIPT_NAME = /wbesim QUERY_STRING = 3&0&1079975569&500
http://10.1.1.10:81/wbesim?3&1
SERVER_SOFTWARE = Sun ONE Web Server/6.1 REMOTE_ADDR = 10.1.1.207 SCRIPT_NAME = /wbesim QUERY_STRING = 3&1
The above is just the top of the output from each script and indicatest correct Posted at 09:30AM Feb 03, 2006 by nmullen in Performance | specweb 2005 configuration : Introduction
Having been through this process I have found that there doesn't seem to be a whole
The write ups here initiall are going to focus on what is required to configure
Firslty for anyone who hasnt a clue what im rambling about, Specweb2005 is the latest incarnation of an industry standard webservices benchmark developed by the Standard Performance Evaluation Corporation which aims to benchmark the ability of a given machine running kind of load that modern webservers experience. It is used by many hardware manufacturers, ourselves included to show off the latest offerings by submitting benchmark scores from the benchmark running to spec.org .
The Webserver in the middle layer being the machine under test. The topics the next few entries will cover are below. As each entry is written ill update the below and link it, so if the topic below is a link there's an entry, if not check back soon !
Posted at 09:30AM Feb 03, 2006 by nmullen in Performance |
Tuesday Dec 06, 2005
sunfire t2000
Continuing the look of the new machines we have our latest offering today. The sun fire t2000 which includes our new "cool threads technology" or ultrasparc-t1 or sun4v for those not in marketing. On the surface we have reused that nice easy to open box seen in the 4200 aka galaxy machine.
As with the galaxy we have the 4 e1000g interfaces on the rear This allows using solaris 10's Link aggregation architecture which is part of the Gld v3 driver framework in Solaris 10. This allows all four on board nics to act as a sinlge logical interface which gives some nice bandwidth. However thats about it for similarities, the first thing you will notice is that under the hotswap location for the fans we dont have the six fans we did with the galaxy but half the amount some indication of the lower power requirments of the new cpu.
My colleague Fintan Ryan has already posted the details of exactly what you get under the hood,
32 threads of execution on 8 cores - very nice for size of this piece of kit considering its
lower power requirments.
Posted at 04:59PM Dec 06, 2005 by nmullen in Solaris |
Monday Sep 12, 2005
Introductions
So with starting this blog I thought I should make a brief intro as to who I am. My name is Niall Mullen Ive been in Sun for a litte over five years, ever since I graduated from ucd . I originally worked for the Solaris Pre Integration Test Group, but for the last year Ive worked in the performance group based in Dublin. We play a part in performance qa for everythng from solaris thru the Sun one apps etc.. , through a huge amount of automated benchmarking Its already been better domcumented by my more verbose collegues what exactly we do. Some of my group who are also blogging are linked on the right,
Damien Farnham my
Posted at 06:15PM Sep 12, 2005 by nmullen in General | Comments[1] oooh pretty, the new galaxy
Well my photography skills dont count for much, but here they are, but its
See that looks much more appealing. The The entire casing can be taken apart and back together in its entirety
If you actually get hold of one of these you will discover some serious
The airflow itself is driven by six fans located at the front of
All fans are of course hot swappable.
This design does solve one of my pet peeves. In that i only need to
Internally we have a reasonably standard internal configuration, with a
So I for one welcome our new silver, easy access, hotswappable overlords. Posted at 01:21PM Sep 12, 2005 by nmullen in Solaris | Comments[1] |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||