Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark 0.10.x #225

Closed
emqplus opened this issue Aug 1, 2015 · 2 comments
Closed

Benchmark 0.10.x #225

emqplus opened this issue Aug 1, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@emqplus
Copy link
Contributor

emqplus commented Aug 1, 2015

Special for memory usage of qos1/2 messages.

@emqplus emqplus added the Task label Aug 1, 2015
@emqplus emqplus added this to the 0.9.4 milestone Aug 1, 2015
@emqplus emqplus self-assigned this Aug 1, 2015
@emqplus emqplus changed the title Benchmark 0.9.x Benchmark 0.10.x Aug 19, 2015
@emqplus emqplus modified the milestones: 0.11.0, 0.9.4 Aug 19, 2015
@emqplus
Copy link
Contributor Author

emqplus commented Sep 29, 2015

  1. packets dropped

    netstat -s -p | grep buffer
    20775 packets pruned from receive queue because of socket buffer overrun
    249281 packets collapsed in receive queue due to low socket buffer
    so without logs i got up to 350K+ solid connections
    also i am getting these at times

  2. eaddrnotavail

    client 34962 EXIT: {shutdown,eaddrnotavail}
    client 34959 EXIT: {shutdown,eaddrnotavail}

  3. server kernel

    fs.file-max = 1000000
    net.core.somaxconn = 65536
    net.ipv4.ip_local_port_range = 500 65535
    net.nf_conntrack_max = 1000000
    net.netfilter.nf_conntrack_max = 1000000
    net.ipv4.tcp_rmem = 4096 4096 16777216
    net.ipv4.tcp_wmem = 4096 4096 16777216

  4. client kernel

    sysctl -w net.ipv4.ip_local_port_range="500 65535"
    echo 1000000 > /proc/sys/fs/nr_open

@emqplus emqplus modified the milestones: 0.12.1, 0.11.0 Oct 9, 2015
@emqplus
Copy link
Contributor Author

emqplus commented Oct 12, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant