Ejabberd resource tests/try 6

From OLPC
< Ejabberd resource tests
Revision as of 10:08, 21 November 2008 by 203.97.236.46 (talk) (→‎Try 6: Shared roster with new TLS code: add multihype link and explanation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Try 6: Shared roster with new TLS code

This is much the same test as Ejabberd resource tests/try 5, but without manual interactivity testing and a slightly longer gap between jumps in the number of clients. It was conducted by running

 ./multihype 15 1000 50 30 

using [this test script]. That means that 50 clients would connect to the server every 1000 seconds, and continue to use it every 30 seconds until there were (15 * 50) 750 connected.

Memory use

Here you can see the memory use is slightly over 1 MB per user, and growth is approximately linear or slightly in excess thereof. The server has 1GB of ram.

Try6-users active vs resident mem.png

Try6-psmem-resident mem-virtual mem.png

Memory use vs connections

This shows max-median-min values at stable numbers of clients (min. 3 minutes).

Try6-resident mem min per conn-resident mem max per conn-resident mem median per conn.png

These are the numbers being graphed:

resident_mem
 clients              minimum     median    maximum
 50                        50         54         55
100                        96         99        101
150                       129        132        154
200                       160        163        201
250                       205        218        306
300                       275        299        369
350                       369        394        468
400                       436        449        575
450                       542        552        639
500                       555        561        688
550                       707        709        778
600                       710        748        872
650                       696        712        873
700                       868        888        950
747                       800        912        944

Virtual memory

The virtual memory size shows a smooth increase:

Try6-virtual mem min per conn-virtual mem max per conn-virtual mem median per conn.png


CPU usage

Cumulative CPU use by the ejabberd process:

Try6-users active vs cputime.png

Load averages, by connections and by time:

Try6-load avg 5 min per conn-load avg 5 max per conn-load avg 5 median per conn.png

Try6-load avg 1-load avg 5-load avg 15.png