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

[inetstack] Remove some dead code #1463

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

iyzhang
Copy link
Contributor

@iyzhang iyzhang commented Nov 15, 2024

We do not use the dead_socket transmission channel any more, so this PR removes it.

@iyzhang iyzhang self-assigned this Nov 15, 2024
Copy link

libos = catpowder
commit id = f96960d

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll_recv;inetstack::layer4_endpoint::poll_once 18930099.80 705.92 309.77 85.41
bgc::inetstack::poll_recv 9465049.90 1660.20 728.62 53.46
bgc::inetstack::tcp::established::background 11053.09 1663.88 733.36 0.20
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11053.09 480.69 215.03 21.78
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11044.43 383.71 168.17 29.27
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11002.55 936.92 411.34 24.96
ioc::network::libos::pop 9033.51 469.11 203.04 0.05
ioc::network::libos::push;inetstack::push 8762.80 6245.08 2739.76 2.41
demikernel::sgafree 8755.36 107.75 48.02 0.02
ioc::network::libos::push 8073.74 33476573.68 15432352.83 40.26
demikernel::push 8073.74 666.32 289.32 0.07
demikernel::sgaalloc 6511.38 171.81 74.96 0.03
demikernel::pop 6038.33 677.93 293.87 0.04
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 5281.58 2545.69 1106.61 1.46
ioc::network::libos::pushto 799.33 4450.37 1939.92 3.53
ioc::network::libos::pushto;inetstack::push 799.33 4022.45 1753.41 90.39
demikernel::pushto 799.33 479.57 209.23 0.37
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;udp::receive 264.67 191.98 86.56 59.90
ioc::network::libos::close 47.77 6271.85 2759.52 0.10
ioc::network::libos::connect 41.86 34572.72 15358.38 0.43
bgc::inetstack::tcp::passiveopen::background 41.86 34404.99 15152.14 0.01
ioc::network::libos::accept 38.29 2196.97 966.92 0.00
demikernel::async_close 32.50 698.58 303.13 0.01
demikernel::accept 21.86 1327.41 580.05 0.00
demikernel::connect 20.93 3868.65 1701.37 0.02
demikernel::socket 10.30 1635.87 716.40 0.00
bgc::inetstack::arp::background 6.38 1975.16 864.56 0.00
bgc::inetstack::poll_recv;inetstack::poll;inetstack::layer4_endpoint::poll_once 2.00 5773.02 2533.12 83.49
bgc::inetstack::icmp::background 1.03 3141.85 1377.80 0.00
demikernel::new 1.00 94219277.32 41332986.81 20.19
demikernel::bind 1.00 26771.75 11603.12 0.00
bgc::inetstack::poll_recv;inetstack::poll 1.00 13752.40 6033.85 0.04
demikernel::listen 1.00 3945.43 1685.35 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnap
commit id = f96960d

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 13365246.75 2009.81 870.82 33.14
demikernel::sgafree 11534.88 71.06 30.15 0.05
demikernel::sgaalloc 11282.08 120.76 51.25 0.11
ioc::network::libos::push;catnap::linux::transport::push 9066.12 620.32 268.39 3.95
ioc::network::libos::push 8800.49 16495.26 7141.26 6.96
demikernel::push 8800.49 536.06 230.48 0.17
ioc::network::libos::pop;catnap::linux::transport::pop 8022.25 381.31 163.53 3.76
ioc::network::libos::pop 7813.82 21883485.65 9246334.75 24.28
demikernel::pop 7813.82 541.15 230.24 0.13
ioc::network::libos::pushto 560.67 7461.16 3333.88 23.35
ioc::network::libos::pushto;catnap::linux::transport::push 560.67 487.16 216.95 6.52
demikernel::pushto 560.67 453.95 202.75 1.43
demikernel::async_close 32.50 917.98 366.32 0.01
ioc::network::libos::connect 24.95 5509923.29 2315021.68 28.23
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 76459.72 32141.55 2.29
demikernel::connect 24.95 2019.43 855.87 0.01
ioc::network::libos::close 18.35 23211.25 9922.74 0.05
ioc::network::libos::close;catnap::linux::transport::close 18.35 22132.63 9458.64 95.41
demikernel::accept 15.42 1450.99 628.30 0.00
ioc::network::libos::accept 15.39 896975501.16 393157358.86 44.42
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 4591.96 1963.21 0.00
demikernel::socket 9.50 152961.45 65718.26 0.30
demikernel::socket;catnap::linux::transport::socket 9.50 150419.08 64628.55 96.33
demikernel::new 1.00 262261.60 111818.68 0.09
demikernel::bind 1.00 31697.65 13641.31 0.01
demikernel::bind;catnap::linux::transport::bind 1.00 27121.98 11669.86 84.70
demikernel::listen 1.00 15746.08 6766.69 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 14621.37 6284.27 92.78
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnip
commit id = f96960d

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll_recv;inetstack::layer4_endpoint::poll_once 29276553.17 338.31 146.33 75.71
bgc::inetstack::poll_recv;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 29276553.17 196.53 84.95 58.20
bgc::inetstack::poll_recv 14638276.58 900.07 389.83 34.81
bgc::inetstack::tcp::established::background 11055.12 1064.92 454.12 0.11
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11055.12 294.78 125.39 25.32
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11044.75 332.48 143.90 31.73
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11002.75 301.99 121.65 15.30
ioc::network::libos::pop 9038.69 369.90 159.92 0.02
demikernel::sgafree 8764.66 78.77 34.08 0.01
ioc::network::libos::push;inetstack::push 8762.74 1953.83 877.94 0.68
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8762.74 304.18 136.27 15.34
ioc::network::libos::push 8073.71 33400734.17 13673948.20 26.02
demikernel::push 8073.71 657.25 288.51 0.04
demikernel::sgaalloc 6518.33 128.15 55.17 0.01
demikernel::pop 6044.86 534.23 229.27 0.02
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 4584.86 2390.62 978.43 2.03
ioc::network::libos::pushto 964.00 1325.19 591.92 0.04
ioc::network::libos::pushto;inetstack::push 964.00 718.50 320.91 54.46
demikernel::pushto 964.00 507.28 226.01 0.02
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 964.00 270.20 120.46 37.50
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;udp::receive 406.33 246.87 107.73 70.57
ioc::network::libos::close 49.38 5879.72 2547.78 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 34772.72 15524.70 0.00
ioc::network::libos::connect 41.86 31043.74 13556.46 0.04
ioc::network::libos::connect;catnip::runtime::transmit 41.86 6579.00 2916.74 22.45
ioc::network::libos::accept 37.96 2275.68 995.65 0.00
demikernel::async_close 32.50 585.33 233.69 0.00
demikernel::accept 21.86 1341.78 588.00 0.00
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;catnip::runtime::transmit 21.09 628.20 273.07 3.41
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.93 18060.53 8079.02 17.62
demikernel::connect 20.93 2608.92 1154.35 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::sender;catnip::runtime::transmit 20.93 592.98 256.69 11.98
demikernel::socket 10.30 1649.91 718.58 0.00
bgc::inetstack::arp::background 6.43 2215.85 953.61 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger;catnip::runtime::transmit 5.00 1820.56 743.84 19.42
bgc::inetstack::poll_recv;inetstack::poll;inetstack::layer4_endpoint::poll_once 2.00 20073.17 8673.86 95.26
bgc::inetstack::poll_recv;inetstack::poll;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 2.00 17952.03 7754.43 89.42
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 1.50 311.50 146.88 0.00
bgc::inetstack::icmp::background 1.05 2929.63 1263.98 0.00
demikernel::new 1.00 1763421093.20 761483738.66 48.50
bgc::inetstack::poll_recv;inetstack::poll 1.00 42133.37 18202.59 0.19
demikernel::bind 1.00 11371.12 4882.32 0.00
demikernel::listen 1.00 4423.79 1890.60 0.00
demikernel::close 0.00 nan nan 0.00

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

Successfully merging this pull request may close these issues.

1 participant