Following up on an IRC discussion, I had noted on upgrading connman from
0.76+ to 1.0 that my previously-set resource limits of:

    rlimit-as=5242880
    rlimit-core=0
    rlimit-data=3145728
    rlimit-nofile=768
    rlimit-stack=262144

were causing connman-1.0 to crash in glib on start-up. So, I thought I'd
post the following memory usage summary between those two versions:

-------------------------------------------------------------------------
                            Memory Usage / KiB
-------------------------------------------------------------------------
Version                0.76+               1.0               Change
-------------------------------------------------------------------------
                Idle    Connected   Idle    Connected   Idle    Connected
-------------------------------------------------------------------------
VmPeak          4248       4248     5588       5588     +32%       +32%
VmSize          4216       4216     5580       5580     +32%       +32%
VmLck              0          0        0          0      +0%        +0%
VmHWM           1972       2068     2016       2300      +2%       +11%
VmRSS           1972       2068     2016       2300      +2%       +11%
VmData           304        304      316        316      +4%        +4%
VmStk             84         84       84         84      +0%        +0%
VmExe            372        372      448        448     +20%       +20%
VmLib           3132       3132     4292       4292     +37%       +37%
VmPTE              8          8       10         10     +25%       +25%
Stack usage       16         16       16         20      +0%       +25%
-------------------------------------------------------------------------

It's worth noting that moving from 0.76+ to 1.0 required a glib upgrade from
2.24.2 to 2.28.8, so some of the increases, particularly in VmLib, stem from
that change.

Best,

Grant


_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to