Wednesday, February 13, 2008

Setting Up Windows 2008 in Virtual Box

Synopsis: This article describes how to setup networking and activation in Microsoft Windows 2008 Server Std running under VitualBox.


If you have installed Windows 2008 Server and can't pass activation step, this howto is for you.

Algorithm - short description:

1. Run explorer.
2. Get VirtualBox Guest Additions installed.
3. Install Network Driver from VirtualBox cdrom disk and reboot.
4. Activate Windows.

Detailed description:

For step 1 read and use this article http://www.petri.co.il/bypass-windows-server-2008-activation.htm

Step 2 is fairly easy - just click 'Install ...' option in dropdown of VirtualBox and inside guest os accept autorun option.

Step 3 is as easy as updating driver and pointing to CDROM drive with VirtualBox guest additions directory called something like amd_net

Step 4 might require reboot and then just follow screen instructions.

At this point you should have Windows 2008 server running under VirtualBox.

Friday, February 1, 2008

Benchmarking CouchDB - READ 6000

[root@domU-12-31-35-00-3D-82 ~]# ab -t100 -n 6000 -c 6000 http://ec2-67-202-22-9.compute-1.amazonaws.com:5984/
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/

Benchmarking ec2-67-202-22-9.compute-1.amazonaws.com (be patient)
Completed 600 requests
Completed 1200 requests
Completed 1800 requests
Completed 2400 requests
Completed 3000 requests
Completed 3600 requests
Completed 4200 requests
Completed 4800 requests
Completed 5400 requests
Finished 6000 requests


Server Software: inets/develop
Server Hostname: ec2-67-202-22-9.compute-1.amazonaws.com
Server Port: 5984

Document Path: /
Document Length: 215 bytes

Concurrency Level: 6000
Time taken for tests: 9.224306 seconds
Complete requests: 6000
Failed requests: 182
(Connect: 0, Length: 182, Exceptions: 0)
Write errors: 0
Non-2xx responses: 5870
Total transferred: 2145510 bytes
HTML transferred: 1269980 bytes
Requests per second: 650.46 [#/sec] (mean)
Time per request: 9224.306 [ms] (mean)
Time per request: 1.537 [ms] (mean, across all concurrent requests)
Transfer rate: 227.12 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 4 509 1078.4 10 7714
Processing: 8 1118 2672.2 69 8908
Waiting: 4 1003 2562.0 34 8896
Total: 12 1627 2844.8 97 9208

Percentage of the requests served within a certain time (ms)
50% 97
66% 453
75% 3028
80% 3103
90% 8319
95% 8571
98% 8966
99% 9039
100% 9208 (longest request)
[root@domU-12-31-35-00-3D-82 ~]#

Benchmarking CouchDB - READ 2000

[root@domU-12-31-35-00-3D-82 ~]# ab -k -t100 -n 3000 -c 2200 http://ec2-67-202-22-9.compute-1.amazonaws.com:5984/
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/

Benchmarking ec2-67-202-22-9.compute-1.amazonaws.com (be patient)
Completed 300 requests
Completed 600 requests
Completed 900 requests
Completed 1200 requests
Completed 1500 requests
Completed 1800 requests
Completed 2100 requests
Completed 2400 requests
Completed 2700 requests
Finished 3000 requests


Server Software: inets/develop
Server Hostname: ec2-67-202-22-9.compute-1.amazonaws.com
Server Port: 5984

Document Path: /
Document Length: 215 bytes

Concurrency Level: 2200
Time taken for tests: 2.830302 seconds
Complete requests: 3000
Failed requests: 0
Write errors: 0
Non-2xx responses: 3009
Keep-Alive requests: 0
Total transferred: 1073998 bytes
HTML transferred: 646720 bytes
Requests per second: 1059.96 [#/sec] (mean)
Time per request: 2075.555 [ms] (mean)
Time per request: 0.943 [ms] (mean, across all concurrent requests)
Transfer rate: 370.28 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 11 26.9 2 115
Processing: 3 12 22.6 5 168
Waiting: 1 9 21.8 3 165
Total: 5 23 41.6 7 280

Percentage of the requests served within a certain time (ms)
50% 7
66% 9
75% 9
80% 36
90% 68
95% 126
98% 188
99% 203
100% 280 (longest request)
[root@domU-12-31-35-00-3D-82 ~]#

Benchmarking CouchDB - READ

etch:~# ab -k -n 210 -c 140 http://ec2-67-202-22-9.compute-1.amazonaws.com:5984/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking ec2-67-202-22-9.compute-1.amazonaws.com (be patient)
Completed 100 requests
Completed 200 requests
Finished 210 requests


Server Software: inets/develop
Server Hostname: ec2-67-202-22-9.compute-1.amazonaws.com
Server Port: 5984

Document Path: /
Document Length: 44 bytes

Concurrency Level: 140
Time taken for tests: 0.412173 seconds
Complete requests: 210
Failed requests: 52
(Connect: 0, Length: 52, Exceptions: 0)
Write errors: 0
Non-2xx responses: 52
Keep-Alive requests: 0
Total transferred: 60434 bytes
HTML transferred: 18132 bytes
Requests per second: 509.49 [#/sec] (mean)
Time per request: 274.782 [ms] (mean)
Time per request: 1.963 [ms] (mean, across all concurrent requests)
Transfer rate: 143.14 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 71 53.7 110 118
Processing: 0 130 92.1 142 261
Waiting: 0 129 92.3 141 260
Total: 0 202 126.9 252 377

Percentage of the requests served within a certain time (ms)
50% 252
66% 257
75% 264
80% 270
90% 369
95% 373
98% 376
99% 376
100% 377 (longest request)
etch:~# ab -k -n 210 -c 130 http://ec2-67-202-22-9.compute-1.amazonaws.com:5984/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking ec2-67-202-22-9.compute-1.amazonaws.com (be patient)
Completed 100 requests
Completed 200 requests
Finished 210 requests


Server Software: inets/develop
Server Hostname: ec2-67-202-22-9.compute-1.amazonaws.com
Server Port: 5984

Document Path: /
Document Length: 44 bytes

Concurrency Level: 130
Time taken for tests: 0.538343 seconds
Complete requests: 210
Failed requests: 0
Write errors: 0
Keep-Alive requests: 0
Total transferred: 68900 bytes
HTML transferred: 11440 bytes
Requests per second: 390.09 [#/sec] (mean)
Time per request: 333.260 [ms] (mean)
Time per request: 2.564 [ms] (mean, across all concurrent requests)
Transfer rate: 124.46 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 22 130 70.0 134 257
Processing: 27 139 62.5 138 261
Waiting: 2 128 67.3 124 257
Total: 240 269 18.4 283 284

Percentage of the requests served within a certain time (ms)
50% 283
66% 283
75% 283
80% 284
90% 284
95% 284
98% 284
99% 284
100% 284 (longest request)
etch:~#

Cloud Computing Google Group