wiki:Performance

Performance

 back


Setup

Win32 vs Ubuntu

http://smoothstreaming.code-shop.com/pictures/performance/vod.html

http://smoothstreaming.code-shop.com/pictures/performance/live.html

Setup

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz
stepping        : 6
cpu MHz         : 1998.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 lahf_lm tpr_shadow vnmi flexpriority
bogomips        : 5000.70
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:


Linux igor13.xxxxxx.nl 2.6.32.24-1POi-x86_64 #1 SMP Mon Oct 11 13:41:45 CEST 2010 x86_64 x86_64 x86_64 GNU/Linux

/local/apache-prefork/bin/ab -n 200000 -c 80 -X smor1afp:80 'http://pilotr.livecontent.xxxxxx.nl/live/npo/visualradio/testram.isml/testram-aud64000-vid100000-1860.ts' ; uptime
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 pilotr.livecontent.xxxxxx.nl [through smor1afp:80] (be patient)
Completed 20000 requests
Completed 40000 requests
Completed 60000 requests
Completed 80000 requests
Completed 100000 requests
Completed 120000 requests
Completed 140000 requests
Completed 160000 requests
Completed 180000 requests
Completed 200000 requests
Finished 200000 requests


Server Software:        Apache/2.2.15
Server Hostname:        pilotr.livecontent.xxxxxx.nl
Server Port:            80

Document Path:          /live/npo/visualradio/testram.isml/testram-aud64000-vid100000-1860.ts
Document Length:        96444 bytes

Concurrency Level:      80
Time taken for tests:   80.882 seconds
Complete requests:      200000
Failed requests:        0
Write errors:           0
Total transferred:      19358739300 bytes
HTML transferred:       19289933108 bytes
Requests per second:    2472.74 [#/sec] (mean)
Time per request:       32.353 [ms] (mean)
Time per request:       0.404 [ms] (mean, across all concurrent requests)
Transfer rate:          233736.43 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    3   2.7      2      24
Processing:     4   29   6.3     29     116
Waiting:        1   14   7.5     12     111
Total:          5   32   6.2     32     116

Percentage of the requests served within a certain time (ms)
  50%     32
  66%     34
  75%     35
  80%     36
  90%     39
  95%     42
  98%     46
  99%     51
 100%    116 (longest request)
 16:48:24 up 71 days, 33 min,  7 users,  load average: 2.87, 1.02, 0.58

Live Ingest

Publishing 11 presentations consisting of 8 bitrates each (total: 88 streams).

iostat -d -x 60
Devicerrqm/swrqm/sr/sw/srsec/swsec/savgrq-szavgqu-szawaitsvctm %util
sda0.001490.870.00141.370.0013086.4092.5718.57131.231.3919.68
sda50.001417.500.00137.270.0012466.6790.8218.43134.091.3318.19

On average this is about 1.6 writes/second per stream.

Help

If you need help have a read through the forum or leave a message.