Shop OBEX P1 Docs P2 Docs Learn Events
Please stress test my Spinneret 4 socket server. — Parallax Forums

Please stress test my Spinneret 4 socket server.

Mike GMike G Posts: 2,702
edited 2011-05-02 15:47 in Propeller 1
Here's the link. Just click the 2 links.
http://spinneret.servebeer.com:5000/index.htm

You might have to refresh. You might lock the server. Who knows...

Please provide feedback; browser, steps to reproduce issue, etc

Thanks all.

Comments

  • ElectricAyeElectricAye Posts: 4,561
    edited 2011-04-30 21:15
    I'm using Safari Version 5.0.5. It looks good on the browser. The first visit to the site takes about 4 or 5 seconds to load up, but then any subsequent clicking of links on your site seems to take about 20 seconds or so to load a page.
  • davidsaundersdavidsaunders Posts: 1,559
    edited 2011-04-30 21:17
    Good and fast. Firefox 3.6.17, southern Oregon.
  • Mike GMike G Posts: 2,702
    edited 2011-04-30 21:29
    Thanks ElectricAye and davidsaunders;

    The Spinneret has 4 hardware sockets. The test pages require 5 and 6 connections.

    @ElectricAye testing Safari right now.
  • Mike GMike G Posts: 2,702
    edited 2011-04-30 21:33
    Safari does not play well... I'm guessing that Safari wants more than 4 sockets if there are more than 4 linked files.

    Back to the drawling board.

    Thanks again.
  • Zap-oZap-o Posts: 452
    edited 2011-04-30 21:55
    I am using Chrome and live in Spokane WA. It booted up under 4 seconds and looks great.
  • StefanL38StefanL38 Posts: 2,292
    edited 2011-05-01 00:11
    whenever I click on spinneret webservers they are down.

    please buy a second webserver to do hotswapping

    best regards

    Stefan
  • KMyersKMyers Posts: 433
    edited 2011-05-01 09:35
    Works great from southern WV with IE9!
  • Bill HenningBill Henning Posts: 6,445
    edited 2011-05-01 10:21
    Worked fine for me - Mozilla 3.6.16 under XP
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2011-05-01 10:24
    I also live in Southern WV, and it loads quicker then a normal webpage; about 1.5 seconds.
  • StefanL38StefanL38 Posts: 2,292
    edited 2011-05-01 10:26
    no success with firefox 3.6.17 via satellite up-link-center TURIN italia

    I can do a ping
    result
    Ping wird ausgef
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-05-01 11:02
    'Works fine with Opera (OS/X).

    -Phil
  • Mike GMike G Posts: 2,702
    edited 2011-05-01 11:08
    561 requests since around 9:30 (GMT-7) and still up. Thanks all.
    StefanL38 wrote:
    can you adjust the timeout?
    It not sure how. You're hitting the IP assigned by my ISP. If I could adjust the timeout, what are the steps? Do you mean TTL?
  • M. K. BorriM. K. Borri Posts: 279
    edited 2011-05-01 11:34
    Good and fast on my end, using Opera.
  • Andrey DemenevAndrey Demenev Posts: 377
    edited 2011-05-01 17:27
    ab -n 100 -c 1  [url]http://spinneret.servebeer.com:5000/images/ES137.jpg[/url]
    This is ApacheBench, Version 2.3 <$Revision: 655654 $>
    Copyright 1996 Adam Twiss, Zeus Technology Ltd, [url]http://www.zeustech.net/[/url]
    Licensed to The Apache Software Foundation, [url]http://www.apache.org/[/url]
    
    Benchmarking spinneret.servebeer.com (be patient).....done
    
    
    Server Software:        Spinneret/1.0
    Server Hostname:        spinneret.servebeer.com
    Server Port:            5000
    
    Document Path:          /images/ES137.jpg
    Document Length:        46477 bytes
    
    Concurrency Level:      1
    Time taken for tests:   103.791 seconds
    Complete requests:      100
    Failed requests:        0
    Write errors:           0
    Total transferred:      4659200 bytes
    HTML transferred:       4647700 bytes
    Requests per second:    0.96 [#/sec] (mean)
    Time per request:       1037.912 [ms] (mean)
    Time per request:       1037.912 [ms] (mean, across all concurrent requests)
    Transfer rate:          43.84 [Kbytes/sec] received
    
    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:      339  351  18.8    347     478
    Processing:   657  687  41.7    676     957
    Waiting:      401  419  17.6    416     558
    Total:       1008 1038  53.1   1024    1356
    
    Percentage of the requests served within a certain time (ms)
      50%   1024
      66%   1026
      75%   1029
      80%   1032
      90%   1058
      95%   1175
      98%   1263
      99%   1356
     100%   1356 (longest request)
    andrey@debian:~$ 
    
    andrey@debian:~$ ab -n 100 -c 5  [url]http://spinneret.servebeer.com:5000/images/ES137.jpg[/url]
    This is ApacheBench, Version 2.3 <$Revision: 655654 $>
    Copyright 1996 Adam Twiss, Zeus Technology Ltd, [url]http://www.zeustech.net/[/url]
    Licensed to The Apache Software Foundation, [url]http://www.apache.org/[/url]
    
    Benchmarking spinneret.servebeer.com (be patient)...apr_socket_recv: Connection reset by peer (104)
    Total of 5 requests completed
    andrey@debian:~$
    
  • Mike GMike G Posts: 2,702
    edited 2011-05-01 18:57
    Andrey, would you mind running the ap test with 3 or 4 concurrent sessions. The Spinneret only has 4 hardware sockets.
  • Andrey DemenevAndrey Demenev Posts: 377
    edited 2011-05-01 20:44
    andrey@debian:/usr/lib$ ab -n 1000 -c 3 -r  http://spinneret.servebeer.com:5000/index.htm
    This is ApacheBench, Version 2.3 <$Revision: 655654 $>
    Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Licensed to The Apache Software Foundation, http://www.apache.org/
    
    Benchmarking spinneret.servebeer.com (be patient)
    Completed 100 requests
    Completed 200 requests
    Completed 300 requests
    Completed 400 requests
    Completed 500 requests
    Completed 600 requests
    Completed 700 requests
    Completed 800 requests
    Completed 900 requests
    Completed 1000 requests
    Finished 1000 requests
    
    
    Server Software:        Spinneret/1.0
    Server Hostname:        spinneret.servebeer.com
    Server Port:            5000
    
    Document Path:          /index.htm
    Document Length:        1076 bytes
    
    Concurrency Level:      3
    Time taken for tests:   274.925 seconds
    Complete requests:      1000
    Failed requests:        8
       (Connect: 0, Receive: 2, Length: 4, Exceptions: 2)
    Write errors:           0
    Total transferred:      1266358 bytes
    HTML transferred:       1150666 bytes
    Requests per second:    3.64 [#/sec] (mean)
    Time per request:       824.776 [ms] (mean)
    Time per request:       274.925 [ms] (mean, across all concurrent requests)
    Transfer rate:          4.50 [Kbytes/sec] received
    
    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:      339  397 490.9    348    9353
    Processing:   411  427  23.7    420     844
    Waiting:        0  408  22.6    404     624
    Total:        751  824 493.4    772    9773
    
    Percentage of the requests served within a certain time (ms)
      50%    772
      66%    776
      75%    780
      80%    784
      90%    799
      95%    824
      98%    925
      99%   3763
     100%   9773 (longest request)
    andrey@debian:/usr/lib$ 
    
    andrey@debian:/usr/lib$ ab -n 1000 -c 4 -r  http://spinneret.servebeer.com:5000/index.htm
    This is ApacheBench, Version 2.3 <$Revision: 655654 $>
    Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Licensed to The Apache Software Foundation, http://www.apache.org/
    
    Benchmarking spinneret.servebeer.com (be patient)
    Completed 100 requests
    Completed 200 requests
    Completed 300 requests
    Completed 400 requests
    Completed 500 requests
    Completed 600 requests
    Completed 700 requests
    Completed 800 requests
    Completed 900 requests
    Completed 1000 requests
    Finished 1000 requests
    
    
    Server Software:        Spinneret/1.0
    Server Hostname:        spinneret.servebeer.com
    Server Port:            5000
    
    Document Path:          /index.htm
    Document Length:        1076 bytes
    
    Concurrency Level:      4
    Time taken for tests:   254.216 seconds
    Complete requests:      1000
    Failed requests:        4
       (Connect: 0, Receive: 1, Length: 2, Exceptions: 1)
    Write errors:           0
    Total transferred:      1187734 bytes
    HTML transferred:       1073848 bytes
    Requests per second:    3.93 [#/sec] (mean)
    Time per request:       1016.863 [ms] (mean)
    Time per request:       254.216 [ms] (mean, across all concurrent requests)
    Transfer rate:          4.56 [Kbytes/sec] received
    
    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:      338  585 837.3    348    9359
    Processing:   401  428  25.4    420     765
    Waiting:        0  410  29.0    404     763
    Total:        751 1013 843.0    772    9871
    
    Percentage of the requests served within a certain time (ms)
      50%    772
      66%    777
      75%    783
      80%    788
      90%    860
      95%   3768
      98%   3812
      99%   3826
     100%   9871 (longest request)
    
    andrey@debian:/usr/lib$ 
    andrey@debian:/usr/lib$ ab -n 1000 -c 5 -r  http://spinneret.servebeer.com:5000/index.htm
    This is ApacheBench, Version 2.3 <$Revision: 655654 $>
    Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Licensed to The Apache Software Foundation, http://www.apache.org/
    
    Benchmarking spinneret.servebeer.com (be patient)
    Completed 100 requests
    Completed 200 requests
    Completed 300 requests
    Completed 400 requests
    Completed 500 requests
    Completed 600 requests
    Completed 700 requests
    Completed 800 requests
    Completed 900 requests
    Completed 1000 requests
    Finished 1000 requests
    
    
    Server Software:        Spinneret/1.0
    Server Hostname:        spinneret.servebeer.com
    Server Port:            5000
    
    Document Path:          /index.htm
    Document Length:        1076 bytes
    
    Concurrency Level:      5
    Time taken for tests:   249.667 seconds
    Complete requests:      1000
    Failed requests:        7
       (Connect: 0, Receive: 2, Length: 3, Exceptions: 2)
    Write errors:           0
    Total transferred:      1255383 bytes
    HTML transferred:       1139852 bytes
    Requests per second:    4.01 [#/sec] (mean)
    Time per request:       1248.336 [ms] (mean)
    Time per request:       249.667 [ms] (mean, across all concurrent requests)
    Transfer rate:          4.91 [Kbytes/sec] received
    
    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:      338  793 1204.1    348    9355
    Processing:   397  434  33.9    421     852
    Waiting:      384  415  30.2    404     723
    Total:        751 1226 1213.7    775   10111
    
    Percentage of the requests served within a certain time (ms)
      50%    775
      66%    784
      75%    804
      80%    827
      90%   3767
      95%   3804
      98%   3859
      99%   3892
     100%  10111 (longest request)
    andrey@debian:/usr/lib$ 
    
    andrey@debian:/usr/lib$ ab -n 1000 -c 10 -r  http://spinneret.servebeer.com:5000/index.htm
    This is ApacheBench, Version 2.3 <$Revision: 655654 $>
    Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Licensed to The Apache Software Foundation, http://www.apache.org/
    
    Benchmarking spinneret.servebeer.com (be patient)
    Completed 100 requests
    Completed 200 requests
    Completed 300 requests
    Completed 400 requests
    Completed 500 requests
    Completed 600 requests
    Completed 700 requests
    Completed 800 requests
    Completed 900 requests
    Completed 1000 requests
    Finished 1000 requests
    
    
    Server Software:        Spinneret/1.0
    Server Hostname:        spinneret.servebeer.com
    Server Port:            5000
    
    Document Path:          /index.htm
    Document Length:        1076 bytes
    
    Concurrency Level:      10
    Time taken for tests:   234.081 seconds
    Complete requests:      1000
    Failed requests:        69
       (Connect: 0, Receive: 22, Length: 25, Exceptions: 22)
    Write errors:           0
    Total transferred:      1169861 bytes
    HTML transferred:       1055835 bytes
    Requests per second:    4.27 [#/sec] (mean)
    Time per request:       2340.805 [ms] (mean)
    Time per request:       234.081 [ms] (mean, across all concurrent requests)
    Transfer rate:          4.88 [Kbytes/sec] received
    
    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:        0 1489 2150.2    351    9364
    Processing:   410  827 2808.9    421   21000
    Waiting:        0  414  56.3    404     954
    Total:        751 2317 3372.8    780   21000
    
    Percentage of the requests served within a certain time (ms)
      50%    780
      66%    864
      75%   3763
      80%   3768
      90%   3851
      95%   9767
      98%  10026
      99%  20998
     100%  21000 (longest request)
    andrey@debian:/usr/lib$ 
    
  • RS_JimRS_Jim Posts: 1,773
    edited 2011-05-02 06:11
    Mike, works fine with IE8.
    Jim
  • smbakersmbaker Posts: 164
    edited 2011-05-02 10:03
    Worked on my firefox 4.0.1 (windows), lynx 2.8.6 (Linux), and IE9 (windows).

    I also hit it with this from the Linux box:
    while [ 1 ]; do
       wget [url]http://spinneret.servebeer.com:5000/index.htm[/url] -O /dev/null
    done
    

    It worked flawlessly up to 3 of them in parallel. A fourth instance started showing some infrequent delays connecting. 5+ was getting an occasional intermittent read error (socket reset by peer). I went all as far as 8 of them.

    Scott
  • Andrey DemenevAndrey Demenev Posts: 377
    edited 2011-05-02 15:47
    smbaker wrote: »
    I also hit it with this from the Linux box:
    while [ 1 ]; do
       wget [url]http://spinneret.servebeer.com:5000/index.htm[/url] -O /dev/null
    done
    

    That's what ab is for.
Sign In or Register to comment.