its been 30 days since our first setup of an embedded linux
running cherokee 0.99.24 although we got a hardware reset for installing
a new HDD last 3 days the longest period it was running and still
catering fast static contents - link bridge to dynamic content was 19
days pretty impressive !!!!


!!! best result !!!
I'm getting around whoooping 50-55 s on WLAN connection under a live deployment
This is nearly equivalent of a Core 2 duo server we have currently
running on Apache
where it is around 40-50 s on the same httperf test

And yes we thought the embedded would be crippled running
Python-Django/sqlite vs CGI-C/sqlite
but we were kinda surprised by the fact that there is only a bit of
difference on those processes

again KUDOS to cherokee team !!!

here are the software:

linuxkernel 2.6.30.4
GCC 4.2.1 on uClibc-0.9.30.1
busybox 1.14.3
python 2.6.2 w/ Django-1.1 and sqlite-3.16.7
and on (hardware)
intel x86 366mhz 64mb RAM


----------------------simple httperf result Cherokee
1st Test (full load around 30 simultaneous clients connection on-site
and remote)
iip...@ice:~$ httperf --client=0/1 --server=192.168.1.105 --port=80
--uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=5
--num-calls=100

httperf --client=0/1 --server=192.168.1.105 --port=80 --uri=/
--send-buffer=4096 --recv-buffer=16384 --num-conns=5 --num-calls=100
Maximum connect burst length: 1

Total: connections 5 requests 500 replies 500 test-duration 54.264 s

Connection rate: 0.1 conn/s (10852.9 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 9859.8 avg 10852.9 max 14487.6 median 9890.5
stddev 2035.6
Connection time [ms]: connect 2.3
Connection length [replies/conn]: 100.000

Request rate: 9.2 req/s (108.5 ms/req)
Request size [B]: 66.0

Reply rate [replies/s]: min 3.8 avg 9.1 max 10.2 stddev 2.0 (10 samples)
Reply time [ms]: response 102.8 transfer 5.7
Reply size [B]: header 212.0 content 8750.0 footer 2.0 (total 8964.0)
Reply status: 1xx=0 2xx=500 3xx=0 4xx=0 5xx=0

CPU time [s]: user 14.63 system 39.58 (user 27.0% system 72.9% total 99.9%)
Net I/O: 81.2 KB/s (0.7*10^6 bps)

Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0

2nd Test (medium load around 12 person that is connecting )
iip...@ice:~$ iip...@ice:~$ httperf --client=0/1
--server=192.168.1.105 --port=80 --uri=/ --send-buffer=4096
--recv-buffer=16384 --num-conns=5 --num-calls=100
bash: iip...@ice:~$: command not found
iip...@ice:~$ httperf --client=0/1 --server=192.168.1.105 --port=80
--uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=5
--num-calls=100
httperf --client=0/1 --server=192.168.1.105 --port=80 --uri=/
--send-buffer=4096 --recv-buffer=16384 --num-conns=5 --num-calls=100
Maximum connect burst length: 1

Total: connections 5 requests 500 replies 500 test-duration 49.828 s

Connection rate: 0.1 conn/s (9965.6 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 9910.1 avg 9965.6 max 9997.5 median 9985.5 stddev 39.4
Connection time [ms]: connect 2.5
Connection length [replies/conn]: 100.000

Request rate: 10.0 req/s (99.7 ms/req)
Request size [B]: 66.0

Reply rate [replies/s]: min 10.0 avg 10.0 max 10.2 stddev 0.1 (9 samples)
Reply time [ms]: response 93.6 transfer 6.0
Reply size [B]: header 212.0 content 8750.0 footer 2.0 (total 8964.0)
Reply status: 1xx=0 2xx=500 3xx=0 4xx=0 5xx=0

CPU time [s]: user 13.75 system 35.99 (user 27.6% system 72.2% total 99.8%)
Net I/O: 88.5 KB/s (0.7*10^6 bps)

Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0

3rd Test: (light load around 5 people connecting on-site and remote)
iip...@ice:~$ httperf --client=0/1 --server=192.168.1.105 --port=80
--uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=5
--num-calls=100
httperf --client=0/1 --server=192.168.1.105 --port=80 --uri=/
--send-buffer=4096 --recv-buffer=16384 --num-conns=5 --num-calls=100
Maximum connect burst length: 1

Total: connections 5 requests 500 replies 500 test-duration 49.624 s

Connection rate: 0.1 conn/s (9924.8 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 9841.1 avg 9924.8 max 10028.8 median 9918.5
stddev 67.7
Connection time [ms]: connect 2.2
Connection length [replies/conn]: 100.000

Request rate: 10.1 req/s (99.2 ms/req)
Request size [B]: 66.0

Reply rate [replies/s]: min 9.8 avg 10.0 max 10.2 stddev 0.1 (9 samples)
Reply time [ms]: response 93.8 transfer 5.4
Reply size [B]: header 212.0 content 8750.0 footer 2.0 (total 8964.0)
Reply status: 1xx=0 2xx=500 3xx=0 4xx=0 5xx=0

CPU time [s]: user 13.37 system 36.14 (user 26.9% system 72.8% total 99.8%)
Net I/O: 88.8 KB/s (0.7*10^6 bps)

Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0



-------- specific info below -------------------
cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 6
model name      : Mobile Pentium II
stepping        : 10
cpu MHz         : 366.345
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pse36 mmx fxsr
bogomips        : 732.69
clflush size    : 32
power management:

cat /proc/meminfo
MemTotal:          62256 kB
MemFree:            2832 kB
Buffers:            3636 kB
Cached:            39832 kB
SwapCached:           80 kB
Active:            20772 kB
Inactive:          35276 kB
Active(anon):       5456 kB
Inactive(anon):     7124 kB
Active(file):      15316 kB
Inactive(file):    28152 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:          62256 kB
LowFree:            2832 kB
SwapTotal:        128512 kB
SwapFree:         128400 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:         12532 kB
Mapped:            10264 kB
Slab:               2704 kB
SReclaimable:       1652 kB
SUnreclaim:         1052 kB
PageTables:          188 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      159640 kB
Committed_AS:      13592 kB
VmallocTotal:     966712 kB
VmallocUsed:          68 kB
VmallocChunk:     966644 kB
DirectMap4k:        8128 kB
DirectMap4M:       57344 kB

-bash-2.05b# ps
PID   USER     TIME   COMMAND
    1 root       0:00 /bin/bash
    2 root       0:00 [kthreadd]
    3 root       0:00 [ksoftirqd/0]
    4 root       0:00 [events/0]
    5 root       0:00 [khelper]
    8 root       0:00 [async/mgr]
   49 root       0:00 [kblockd/0]
   52 root       0:00 [kseriod]
   89 root       0:00 [pdflush]
   90 root       0:00 [pdflush]
   91 root       0:00 [kswapd0]
  138 root       0:00 [aio/0]
  286 root       0:00 [kjournald]
  302 root       0:00 [kjournald]
  304 root       0:00 /bin/inetd /etc/inetd.conf
  309 root       0:00 /bin/ash
  433 root       0:00 /usr/local/sbin/cherokee --config=/home/cherokee/etc/cher
  434 root       0:00 /usr/local/sbin/cherokee-worker --config=/home/cherokee/e
  436 root       0:00 /usr/local/sbin/cherokee-worker --config=/home/cherokee/e
  437 root       0:40 /usr/local/sbin/cherokee-worker --config=/home/cherokee/e
  438 root       0:43 /usr/local/sbin/cherokee-worker --config=/home/cherokee/e
  439 root       0:49 /usr/local/sbin/cherokee-worker --config=/home/cherokee/e
  440 root       0:44 /usr/local/sbin/cherokee-worker --config=/home/cherokee/e
  858 root       0:00 /usr/local/bin/python manage.py runfcgi protocol=scgi met
  859 root       0:00 /usr/local/bin/python manage.py runfcgi protocol=scgi met
  860 root       0:30 /usr/local/bin/python manage.py runfcgi protocol=scgi met
  861 root       0:30 /usr/local/bin/python manage.py runfcgi protocol=scgi met
  862 root       0:30 /usr/local/bin/python manage.py runfcgi protocol=scgi met
  863 root       0:30 /usr/local/bin/python manage.py runfcgi protocol=scgi met
  864 root       0:29 /usr/local/bin/python manage.py runfcgi protocol=scgi met
  907 root       0:00 telnetd -i
  908 root       0:00 -bash
  927 root       0:00 ps


-bash-2.05b# uptime
15:50:39 up 2 days, 22:17, load average: 0.00, 0.00, 0.0
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to