William San Filippo created MYNEWT-100:
------------------------------------------

             Summary: Improved mbuf usage by the controller
                 Key: MYNEWT-100
                 URL: https://issues.apache.org/jira/browse/MYNEWT-100
             Project: Mynewt
          Issue Type: Improvement
          Components: Nimble
    Affects Versions: v0_8_0_beta1
            Reporter: William San Filippo
            Assignee: William San Filippo
             Fix For: v0_9_0_rel


The current controller code can be improved by modifying how it uses mbufs. 
Currently, the code grabs an mbuf for advertising and scanning and never 
releases it. Furthermore, the controller uses an empty pdu per connection (it 
is in the connection state machine structure) and also allocates mbufs (from 
the msys pool) for LL control procedures. It would be better if the controller 
either had its own smaller pool of mbufs or simply had one mbuf allocated per 
connection as there will only be one control pdu or empty pdu outstanding at 
any given time (per connection).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to