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] Enhancement: Remove most clones #1355

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

iyzhang
Copy link
Contributor

@iyzhang iyzhang commented Aug 2, 2024

This PR removes unnecessary clones in the inetstack.

@iyzhang iyzhang self-assigned this Aug 2, 2024
Copy link

github-actions bot commented Aug 2, 2024

libos = catpowder
commit id = f338277

collapsed_stack percent_time cycles_per_call nanoseconds_per_call
ioc::network::libos::push;inetstack::push 88.85 5998.89 2774.49
ioc::network::libos::pushto;inetstack::push 88.04 5099.08 2131.32
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive 78.20 8066.47 3604.78
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive 77.47 900.02 398.84
bgc::inetstack::poll_recv 62.09 1229.74 546.23
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive;udp::receive 57.79 325.23 136.01
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 32.92 1585.38 682.15
demikernel::new 27.04 88718166.48 39223382.25
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 25.02 1183.62 534.33
bgc::inetstack::tcp::established::background;tcp::established::background::sender 19.30 826.02 367.59
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive 15.41 745.06 329.62
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 7.63 347.25 156.82
ioc::network::libos::pushto 6.93 5797.75 2422.59
bgc::inetstack::tcp::established::background 6.76 4244.99 1876.13
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 4.55 62.27 27.98
ioc::network::libos::push 3.72 6235.65 2882.26
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for 3.18 293.10 129.48
ioc::network::libos::pop 1.26 1004.52 453.93
demikernel::pushto 0.66 574.48 239.86
demikernel::push 0.29 625.12 284.57
ioc::network::libos::connect 0.27 22877.15 10324.69
ioc::network::libos::close 0.21 10031.45 4428.84
demikernel::pop 0.16 497.27 220.65
demikernel::sgaalloc 0.11 122.52 54.88
demikernel::sgafree 0.04 72.88 32.67
bgc::inetstack::poll_recv;inetstack::poll 0.02 10111.00 4509.02
bgc::inetstack::tcp::passiveopen::background 0.01 13143.46 5992.05
demikernel::connect 0.01 3494.17 1590.48
demikernel::async_close 0.01 664.58 268.14
demikernel::bind 0.00 10356.12 4561.42
bgc::passive_listening::poll 0.00 5097.97 2312.36
demikernel::listen 0.00 4668.00 2099.72
bgc::inetstack::icmp::background 0.00 3077.17 1356.88
ioc::network::libos::accept 0.00 2691.25 1236.06
bgc::inetstack::arp::background 0.00 2429.16 1081.39
demikernel::socket 0.00 1969.54 905.39
demikernel::accept 0.00 1182.44 537.76
demikernel::close 0.00 nan nan

Copy link

github-actions bot commented Aug 2, 2024

libos = catnip
commit id = f338277

collapsed_stack percent_time cycles_per_call nanoseconds_per_call
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive;catnip::runtime::receive 97.93 18277.48 7804.99
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive 86.46 18664.05 7968.65
ioc::network::libos::push;inetstack::push 71.47 1635.52 695.20
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for;inetstack::receive 71.24 2078.81 881.94
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive;catnip::runtime::receive 66.19 198.65 84.88
demikernel::new 60.31 1814980989.22 774937089.89
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive;udp::receive 57.82 409.02 202.88
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive 55.78 299.92 128.14
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 53.86 332.06 148.38
ioc::network::libos::pushto;inetstack::push 47.05 615.77 275.31
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 45.30 20663.41 8836.74
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 42.36 708.29 301.39
bgc::inetstack::poll_recv 36.14 563.30 241.15
ioc::network::libos::connect;catnip::runtime::transmit 32.59 6879.13 2939.42
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 28.84 916.86 388.97
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 25.90 1073.69 453.88
bgc::inetstack::tcp::established::background;tcp::established::background::sender 19.81 745.23 314.77
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive 11.57 891.30 379.71
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 9.11 55.12 23.78
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 8.42 328.05 139.11
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for 8.25 1779.90 759.26
bgc::inetstack::tcp::established::background;tcp::established::background::receiver;catnip::runtime::transmit 8.08 1175.16 500.25
ioc::network::libos::close;catnip::runtime::transmit 8.03 774.76 329.19
bgc::inetstack::tcp::established::background 2.76 3330.00 1409.77
ioc::network::libos::push 0.50 2127.53 904.81
ioc::network::libos::pop 0.50 910.83 389.48
ioc::network::libos::pushto 0.36 1309.29 585.89
bgc::inetstack::poll_recv;inetstack::poll 0.19 43156.00 18423.06
demikernel::push 0.15 696.66 296.39
bgc::passive_listening::poll;catnip::runtime::transmit 0.12 447.00 182.67
demikernel::pushto 0.12 430.00 192.24
demikernel::pop 0.06 475.67 204.60
demikernel::sgaalloc 0.06 158.31 68.47
ioc::network::libos::close 0.02 7862.48 3378.59
ioc::network::libos::connect 0.01 15255.74 6521.00
demikernel::sgafree 0.01 69.03 29.70
demikernel::bind 0.00 22018.31 8995.19
bgc::inetstack::tcp::passiveopen::background 0.00 15535.57 6613.64
bgc::passive_listening::poll 0.00 5776.29 2439.43
demikernel::listen 0.00 5713.93 2394.45
demikernel::connect 0.00 5315.41 2286.67
bgc::inetstack::icmp::background 0.00 3109.05 1324.86
ioc::network::libos::accept 0.00 2698.13 1143.12
bgc::inetstack::arp::background 0.00 2572.51 1096.98
demikernel::socket 0.00 1525.34 646.19
demikernel::accept 0.00 1157.97 490.35
demikernel::async_close 0.00 579.52 237.72
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 0.00 529.58 222.81
demikernel::close 0.00 nan nan

Copy link

github-actions bot commented Aug 2, 2024

libos = catnap
commit id = f338277

collapsed_stack percent_time cycles_per_call nanoseconds_per_call
demikernel::socket;catnap::linux::transport::socket 97.98 53378.21 23602.08
ioc::network::libos::close;catnap::linux::transport::close 95.95 22021.27 9652.87
demikernel::listen;catnap::linux::transport::listen 92.85 13404.21 5724.07
demikernel::bind;catnap::linux::transport::bind 81.42 24485.58 10430.33
ioc::network::libos::accept 43.28 907697287.70 388128336.31
bgc::catnap::transport::epoll 33.85 2476.06 1066.41
ioc::network::libos::pop 25.78 4526724.04 1850309.52
ioc::network::libos::pushto 23.87 9958.71 4009.32
ioc::network::libos::connect 23.00 4925639.94 2202209.70
ioc::network::libos::push 7.14 17566.93 7595.84
ioc::network::libos::pushto;catnap::linux::transport::push 5.81 555.61 224.41
ioc::network::libos::push;catnap::linux::transport::push 4.47 746.87 327.52
ioc::network::libos::pop;catnap::linux::transport::pop 2.83 521.46 221.76
ioc::network::libos::connect;catnap::linux::transport::connect 2.25 53924.17 27111.30
demikernel::pushto 1.10 456.57 184.17
demikernel::new 0.56 1619582.37 706416.32
demikernel::sgaalloc 0.23 231.29 98.84
demikernel::push 0.18 566.34 248.06
demikernel::pop 0.12 550.36 232.52
demikernel::socket 0.08 54434.80 24073.64
ioc::network::libos::close 0.06 23013.55 10103.46
demikernel::sgafree 0.04 79.18 34.08
demikernel::bind 0.01 30121.18 12822.20
demikernel::connect 0.01 2042.90 1010.32
demikernel::async_close 0.01 1067.26 444.01
demikernel::listen 0.00 14426.42 6159.55
ioc::network::libos::accept;catnap::linux::transport::accept 0.00 2879.97 1231.49
demikernel::accept 0.00 1665.93 712.76
demikernel::close 0.00 nan nan

@iyzhang iyzhang force-pushed the enhancement-inetstack-remove-clones branch from f338277 to 0817f46 Compare August 2, 2024 17:38
Copy link

github-actions bot commented Aug 2, 2024

libos = catpowder
commit id = 0817f46

collapsed_stack percent_time cycles_per_call nanoseconds_per_call
ioc::network::libos::pushto;inetstack::push 89.56 4766.62 1979.07
ioc::network::libos::push;inetstack::push 88.64 5878.73 2668.84
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive 77.30 903.21 396.27
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive 76.51 7348.77 3226.37
bgc::inetstack::poll_recv 60.58 1247.90 548.94
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive;udp::receive 58.17 339.46 145.27
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 32.89 1475.27 632.18
demikernel::new 29.24 95909111.13 42044168.42
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 25.00 1153.15 515.30
bgc::inetstack::tcp::established::background;tcp::established::background::sender 19.12 783.25 346.20
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive 16.33 745.56 325.87
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 7.86 342.73 152.73
bgc::inetstack::tcp::established::background 6.64 4079.79 1788.62
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 4.68 66.40 29.54
ioc::network::libos::push 3.44 6138.98 2785.25
ioc::network::libos::pushto 3.35 5323.95 2210.47
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for 3.22 304.37 132.11
ioc::network::libos::pop 1.02 936.38 418.04
demikernel::pushto 0.33 511.33 212.26
ioc::network::libos::connect 0.29 23600.67 10511.93
demikernel::push 0.28 590.60 263.50
ioc::network::libos::close 0.23 10137.59 4424.38
demikernel::pop 0.15 458.85 200.86
demikernel::sgaalloc 0.09 133.08 58.70
demikernel::sgafree 0.04 84.72 37.35
bgc::inetstack::poll_recv;inetstack::poll 0.03 9584.93 4196.40
demikernel::connect 0.02 4151.55 1864.91
bgc::inetstack::tcp::passiveopen::background 0.01 12102.93 5409.30
demikernel::async_close 0.01 659.86 270.72
demikernel::bind 0.00 12293.50 5291.41
bgc::passive_listening::poll 0.00 4808.55 2146.34
demikernel::listen 0.00 4342.71 1915.33
bgc::inetstack::icmp::background 0.00 3254.82 1418.11
bgc::inetstack::arp::background 0.00 2574.61 1121.61
ioc::network::libos::accept 0.00 2570.45 1153.72
demikernel::socket 0.00 1486.56 652.78
demikernel::accept 0.00 1162.27 520.11
demikernel::close 0.00 nan nan

Copy link

github-actions bot commented Aug 2, 2024

libos = catnip
commit id = 0817f46

collapsed_stack percent_time cycles_per_call nanoseconds_per_call
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive;catnip::runtime::receive 97.78 17909.27 7641.53
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive 86.85 18310.75 7812.40
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for;inetstack::receive 71.64 2010.22 853.95
ioc::network::libos::push;inetstack::push 71.36 1637.37 705.14
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive;catnip::runtime::receive 66.19 199.44 85.02
demikernel::new 60.53 1814505417.15 773408503.83
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 57.11 384.19 172.78
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive;udp::receive 56.81 416.37 183.79
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive 55.47 301.16 128.38
ioc::network::libos::pushto;inetstack::push 49.34 672.52 302.50
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 45.11 19882.36 8358.89
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 42.11 705.86 304.37
bgc::inetstack::poll_recv 35.97 568.17 242.21
ioc::network::libos::connect;catnip::runtime::transmit 30.18 6387.09 2742.35
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 28.72 866.37 366.30
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 25.94 1069.11 458.27
bgc::inetstack::tcp::established::background;tcp::established::background::sender 19.82 740.66 315.64
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive 13.35 874.75 372.31
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 9.45 57.03 24.35
bgc::inetstack::tcp::established::background;tcp::established::background::receiver;catnip::runtime::transmit 8.91 2686.29 1149.71
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 8.36 318.89 136.50
ioc::network::libos::close;catnip::runtime::transmit 8.17 769.90 327.55
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for 7.79 1644.38 700.91
bgc::inetstack::tcp::established::background 2.74 3255.38 1387.59
ioc::network::libos::pop 0.50 888.20 381.81
ioc::network::libos::push 0.49 2134.75 919.16
bgc::inetstack::poll_recv;inetstack::poll 0.23 42150.80 17980.39
demikernel::push 0.14 685.72 294.44
ioc::network::libos::pushto 0.06 1364.80 613.86
demikernel::pop 0.06 468.65 201.01
demikernel::sgaalloc 0.06 151.13 65.23
ioc::network::libos::close 0.02 8022.20 3433.23
demikernel::pushto 0.02 428.16 192.69
ioc::network::libos::connect 0.01 15849.21 6832.84
demikernel::sgafree 0.01 67.61 28.98
demikernel::bind 0.00 21087.38 8624.06
bgc::inetstack::tcp::passiveopen::background 0.00 15227.39 6421.73
bgc::passive_listening::poll 0.00 5815.97 2457.26
demikernel::listen 0.00 3918.79 1658.48
demikernel::connect 0.00 3684.86 1566.64
bgc::inetstack::icmp::background 0.00 2996.53 1278.73
bgc::inetstack::arp::background 0.00 2633.45 1122.01
ioc::network::libos::accept 0.00 2554.87 1079.51
demikernel::socket 0.00 1334.32 568.64
demikernel::accept 0.00 1190.56 502.75
demikernel::async_close 0.00 621.13 253.46
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 0.00 541.24 231.24
demikernel::close 0.00 nan nan

Copy link

github-actions bot commented Aug 2, 2024

libos = catnap
commit id = 0817f46

collapsed_stack percent_time cycles_per_call nanoseconds_per_call
demikernel::socket;catnap::linux::transport::socket 97.92 54830.37 23417.28
ioc::network::libos::close;catnap::linux::transport::close 95.83 21902.80 9393.67
demikernel::listen;catnap::linux::transport::listen 92.89 12816.05 5480.35
demikernel::bind;catnap::linux::transport::bind 81.98 25407.38 10848.81
ioc::network::libos::accept 43.10 895353219.28 387665843.80
bgc::catnap::transport::epoll 34.08 2350.97 1014.06
ioc::network::libos::pop 25.35 5319827.70 2239914.47
ioc::network::libos::connect 23.71 4718672.90 2001551.02
ioc::network::libos::pushto 23.19 10822.85 4522.19
ioc::network::libos::push 7.18 17282.95 7488.72
ioc::network::libos::pushto;catnap::linux::transport::push 6.62 683.94 284.74
ioc::network::libos::push;catnap::linux::transport::push 4.62 762.54 331.08
ioc::network::libos::pop;catnap::linux::transport::pop 2.42 514.50 220.60
ioc::network::libos::connect;catnap::linux::transport::connect 1.82 53312.71 23076.20
demikernel::pushto 1.04 446.38 185.45
demikernel::new 0.57 1608042.77 688698.26
demikernel::sgaalloc 0.26 258.40 111.79
demikernel::push 0.17 532.15 229.40
demikernel::pop 0.12 595.65 255.49
demikernel::socket 0.08 55931.53 23889.60
ioc::network::libos::close 0.06 22925.66 9832.15
demikernel::sgafree 0.04 80.11 34.20
demikernel::bind 0.01 30960.98 13210.00
demikernel::connect 0.01 2089.98 904.52
demikernel::async_close 0.01 863.75 350.44
demikernel::listen 0.00 13784.45 5894.08
ioc::network::libos::accept;catnap::linux::transport::accept 0.00 2981.59 1279.88
demikernel::accept 0.00 1562.49 674.33
demikernel::close 0.00 nan nan

Copy link
Collaborator

@ppenna ppenna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for exposing hidden closing semantics around take_body()

@iyzhang iyzhang force-pushed the enhancement-inetstack-remove-clones branch 2 times, most recently from df59424 to 652fe80 Compare August 5, 2024 19:02
Copy link

github-actions bot commented Aug 5, 2024

libos = catnap
commit id = 652fe80

collapsed_stack percent_time cycles_per_call nanoseconds_per_call
demikernel::socket;catnap::linux::transport::socket 97.91 56213.70 24187.11
ioc::network::libos::close;catnap::linux::transport::close 95.68 22740.33 9816.13
demikernel::listen;catnap::linux::transport::listen 93.38 13527.76 5823.54
demikernel::bind;catnap::linux::transport::bind 82.46 25408.82 10935.20
ioc::network::libos::accept 42.67 916872164.38 396738092.58
bgc::catnap::transport::epoll 34.60 2528.37 1116.19
ioc::network::libos::pop 24.75 3973987.95 1737305.77
ioc::network::libos::pushto 22.61 8085.32 3452.90
ioc::network::libos::connect 22.38 3325560.14 1433991.23
ioc::network::libos::push 8.00 17509.48 7668.07
ioc::network::libos::pushto;catnap::linux::transport::push 6.71 540.92 231.16
ioc::network::libos::push;catnap::linux::transport::push 4.23 690.31 301.85
ioc::network::libos::pop;catnap::linux::transport::pop 3.63 536.29 231.82
ioc::network::libos::connect;catnap::linux::transport::connect 2.57 58057.20 25424.81
demikernel::pushto 1.22 425.36 181.63
demikernel::new 0.60 1637110.26 706157.35
demikernel::sgaalloc 0.30 275.87 120.96
demikernel::push 0.21 556.60 241.79
demikernel::pop 0.13 561.49 241.17
demikernel::socket 0.09 57405.97 24704.12
ioc::network::libos::close 0.06 23929.00 10325.19
demikernel::sgafree 0.04 78.92 34.16
demikernel::bind 0.01 30856.80 13274.56
demikernel::connect 0.01 2268.24 989.82
demikernel::async_close 0.01 1106.41 438.63
demikernel::listen 0.00 14481.24 6233.05
ioc::network::libos::accept;catnap::linux::transport::accept 0.00 2976.73 1288.40
demikernel::accept 0.00 1685.44 730.00
demikernel::close 0.00 nan nan

Copy link

github-actions bot commented Aug 5, 2024

libos = catnip
commit id = 652fe80

collapsed_stack percent_time cycles_per_call nanoseconds_per_call
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive;catnip::runtime::receive 98.13 17979.63 7580.00
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive 87.00 18320.18 7722.74
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for;inetstack::receive 70.93 2008.10 847.44
ioc::network::libos::push;inetstack::push 70.62 1535.18 664.05
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive;catnip::runtime::receive 66.45 199.14 83.99
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 62.28 357.03 159.02
demikernel::new 61.14 1818802862.32 766989676.32
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive;udp::receive 55.96 352.45 163.10
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive 55.59 299.55 126.30
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 50.86 794.72 344.47
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 44.90 19895.18 8517.07
ioc::network::libos::pushto;inetstack::push 44.13 573.02 255.23
bgc::inetstack::poll_recv 35.42 562.04 237.23
ioc::network::libos::connect;catnip::runtime::transmit 32.12 6964.91 3098.66
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 27.87 817.96 337.53
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 26.39 1087.85 456.08
bgc::inetstack::tcp::established::background;tcp::established::background::sender 20.22 755.65 315.44
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive 12.83 874.93 366.56
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 9.26 54.90 23.30
ioc::network::libos::close;catnip::runtime::transmit 8.82 845.56 358.93
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 8.36 322.00 135.09
bgc::inetstack::tcp::established::background;tcp::established::background::receiver;catnip::runtime::transmit 8.15 1108.05 466.91
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for 7.94 1670.95 706.84
bgc::inetstack::tcp::established::background 2.67 3223.49 1346.15
ioc::network::libos::pop 0.52 880.21 372.46
ioc::network::libos::push 0.49 2021.98 873.06
bgc::inetstack::poll_recv;inetstack::poll 0.26 42095.17 17747.96
bgc::passive_listening::poll;catnip::runtime::transmit 0.16 536.00 229.83
demikernel::push 0.14 627.25 272.64
ioc::network::libos::pushto 0.06 1299.61 578.85
demikernel::pop 0.06 439.82 186.15
demikernel::sgaalloc 0.06 145.35 62.33
ioc::network::libos::close 0.02 7799.16 3333.75
demikernel::pushto 0.02 430.81 191.92
ioc::network::libos::connect 0.01 15347.32 6754.24
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 0.01 653.99 282.62
demikernel::sgafree 0.01 65.59 28.02
demikernel::bind 0.00 22842.00 9207.24
bgc::inetstack::tcp::passiveopen::background 0.00 15025.95 6396.75
bgc::passive_listening::poll 0.00 5751.60 2423.09
demikernel::listen 0.00 5376.21 2242.91
demikernel::connect 0.00 4788.29 2078.29
bgc::inetstack::icmp::background 0.00 3098.83 1305.63
bgc::inetstack::arp::background 0.00 2683.53 1128.65
ioc::network::libos::accept 0.00 2513.84 1058.44
demikernel::socket 0.00 1464.20 630.36
demikernel::accept 0.00 1199.85 502.44
demikernel::async_close 0.00 593.84 234.18
demikernel::close 0.00 nan nan

Copy link

github-actions bot commented Aug 5, 2024

libos = catpowder
commit id = 652fe80

collapsed_stack percent_time cycles_per_call nanoseconds_per_call
ioc::network::libos::pushto;inetstack::push 89.43 4294.97 1843.50
ioc::network::libos::push;inetstack::push 88.74 5960.54 2724.08
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive 77.60 908.94 403.15
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive 77.10 8002.03 3544.52
bgc::inetstack::poll_recv 62.00 1248.59 554.59
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive;udp::receive 58.39 364.68 156.49
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 32.13 1456.87 631.03
demikernel::new 27.21 91052845.10 40172085.71
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 26.09 1121.23 505.83
bgc::inetstack::tcp::established::background;tcp::established::background::sender 19.24 776.52 346.93
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive 15.01 716.96 316.18
ioc::network::libos::pushto 10.68 4802.74 2061.52
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 8.11 342.98 154.77
bgc::inetstack::tcp::established::background 6.70 4020.70 1781.80
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 4.51 63.90 28.68
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for 3.71 401.37 177.06
ioc::network::libos::push 3.56 6203.64 2835.30
ioc::network::libos::pop 1.10 953.10 431.74
demikernel::pushto 1.00 471.08 202.33
demikernel::push 0.31 630.93 286.59
ioc::network::libos::connect 0.27 22867.62 10425.49
ioc::network::libos::close 0.20 10617.16 4708.67
demikernel::pop 0.15 478.55 211.75
demikernel::sgaalloc 0.11 123.89 56.44
demikernel::sgafree 0.05 74.58 33.39
bgc::inetstack::poll_recv;inetstack::poll 0.02 10284.83 4549.41
bgc::inetstack::tcp::passiveopen::background 0.01 12951.29 5695.63
demikernel::connect 0.01 3557.13 1626.23
demikernel::async_close 0.01 766.80 326.21
demikernel::bind 0.00 11107.31 4851.45
demikernel::listen 0.00 5412.79 2361.29
bgc::passive_listening::poll 0.00 4888.38 2146.51
bgc::inetstack::icmp::background 0.00 3275.53 1447.23
ioc::network::libos::accept 0.00 2487.93 1096.32
bgc::inetstack::arp::background 0.00 2393.69 1049.33
demikernel::socket 0.00 2185.32 992.25
demikernel::accept 0.00 1507.99 665.15
demikernel::close 0.00 nan nan

Copy link

github-actions bot commented Aug 5, 2024

libos = catnap
commit id = 652fe80

collapsed_stack percent_time cycles_per_call nanoseconds_per_call
demikernel::socket;catnap::linux::transport::socket 98.04 56208.47 24396.12
ioc::network::libos::close;catnap::linux::transport::close 95.99 22584.21 9827.25
demikernel::listen;catnap::linux::transport::listen 92.97 13066.53 5652.08
demikernel::bind;catnap::linux::transport::bind 82.79 25005.65 10858.21
ioc::network::libos::accept 42.72 856685705.46 370106540.42
bgc::catnap::transport::epoll 33.41 2373.34 1033.54
ioc::network::libos::pop 27.01 4066420.27 1778147.09
ioc::network::libos::pushto 22.64 9322.52 4092.10
ioc::network::libos::connect 21.92 4110211.82 1774798.40
ioc::network::libos::push 7.03 17640.50 7743.78
ioc::network::libos::pushto;catnap::linux::transport::push 6.40 577.96 253.93
ioc::network::libos::push;catnap::linux::transport::push 4.65 776.47 341.98
ioc::network::libos::pop;catnap::linux::transport::pop 2.76 565.79 244.44
ioc::network::libos::connect;catnap::linux::transport::connect 2.63 57780.06 25607.59
demikernel::pushto 1.26 447.71 196.97
demikernel::new 0.65 1675598.86 727015.56
demikernel::sgaalloc 0.24 274.09 118.45
demikernel::push 0.19 549.72 240.19
demikernel::pop 0.12 621.20 266.98
demikernel::socket 0.10 57279.14 24862.08
ioc::network::libos::close 0.08 23595.99 10267.32
demikernel::sgafree 0.04 78.63 33.98
demikernel::async_close 0.02 1092.69 433.81
demikernel::bind 0.01 30233.95 13122.82
demikernel::connect 0.01 2184.71 966.80
demikernel::listen 0.00 14048.97 6075.49
ioc::network::libos::accept;catnap::linux::transport::accept 0.00 3141.13 1371.01
demikernel::accept 0.00 1697.59 737.39
demikernel::close 0.00 nan nan

@iyzhang iyzhang force-pushed the enhancement-inetstack-remove-clones branch from 652fe80 to 8fc47d7 Compare August 5, 2024 20:55
Copy link

github-actions bot commented Aug 5, 2024

libos = catpowder
commit id = 8fc47d7

collapsed_stack percent_time cycles_per_call nanoseconds_per_call
ioc::network::libos::pushto;inetstack::push 89.27 4227.74 1785.56
ioc::network::libos::push;inetstack::push 88.76 5953.55 2769.76
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive 78.83 7799.73 3491.41
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive 77.76 918.50 410.89
bgc::inetstack::poll_recv 62.80 1251.42 561.73
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive;udp::receive 57.71 331.17 142.73
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 32.26 1544.29 663.61
demikernel::new 26.81 94790750.50 42225235.98
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 25.93 1192.17 534.22
bgc::inetstack::tcp::established::background;tcp::established::background::sender 19.10 837.15 372.33
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive 14.95 744.23 329.16
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 7.89 358.77 161.08
bgc::inetstack::tcp::established::background 6.68 4274.06 1882.89
ioc::network::libos::pushto 5.78 4735.96 2000.14
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 4.51 64.25 29.22
ioc::network::libos::push 3.63 6198.35 2880.27
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for 3.08 298.37 132.61
ioc::network::libos::pop 0.92 954.44 430.19
demikernel::pushto 0.54 454.00 191.56
demikernel::push 0.32 663.29 300.75
ioc::network::libos::connect 0.29 26459.70 12228.44
ioc::network::libos::close 0.18 10847.69 4844.14
demikernel::pop 0.16 488.55 217.12
demikernel::sgaalloc 0.10 129.69 58.77
demikernel::sgafree 0.05 76.44 34.41
bgc::inetstack::poll_recv;inetstack::poll 0.03 9839.63 4399.78
bgc::inetstack::tcp::passiveopen::background 0.01 12076.45 5499.03
demikernel::connect 0.01 4492.49 2052.97
demikernel::async_close 0.01 766.51 312.55
demikernel::bind 0.00 10577.50 4605.23
demikernel::listen 0.00 5213.00 2321.45
bgc::passive_listening::poll 0.00 4964.89 2260.03
bgc::inetstack::icmp::background 0.00 3132.72 1387.92
ioc::network::libos::accept 0.00 2722.40 1257.27
bgc::inetstack::arp::background 0.00 2390.30 1062.09
demikernel::socket 0.00 1359.19 610.84
demikernel::accept 0.00 1277.14 581.02
demikernel::close 0.00 nan nan

Copy link

github-actions bot commented Aug 5, 2024

libos = catnip
commit id = 8fc47d7

collapsed_stack percent_time cycles_per_call nanoseconds_per_call
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive;catnip::runtime::receive 98.09 18839.75 7873.15
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive 87.27 19202.52 8024.03
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for;inetstack::receive 72.20 2170.30 905.55
ioc::network::libos::push;inetstack::push 69.88 1541.26 649.54
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive;catnip::runtime::receive 66.25 197.59 82.45
demikernel::new 60.26 1821521288.25 760116455.36
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive;udp::receive 55.94 372.40 164.42
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive 55.08 297.94 124.32
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 53.84 361.38 160.89
ioc::network::libos::pushto;inetstack::push 51.42 680.20 302.89
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 51.11 800.78 337.12
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 45.09 19402.23 8261.43
bgc::inetstack::poll_recv 36.26 567.02 236.50
ioc::network::libos::connect;catnip::runtime::transmit 30.99 6345.32 2658.15
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 28.50 855.22 352.71
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 26.17 1085.18 450.89
bgc::inetstack::tcp::established::background;tcp::established::background::sender 19.97 751.45 310.81
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive 11.56 872.94 363.56
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 9.14 55.81 23.24
bgc::inetstack::tcp::established::background;tcp::established::background::receiver;catnip::runtime::transmit 8.69 2607.88 1160.82
ioc::network::libos::close;catnip::runtime::transmit 8.65 832.98 348.31
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 8.25 321.24 133.54
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for 7.92 1744.93 727.67
bgc::inetstack::tcp::established::background 2.70 3262.96 1352.08
ioc::network::libos::pop 0.51 873.67 365.19
ioc::network::libos::push 0.49 2049.71 862.75
ioc::network::libos::pushto 0.21 1313.47 584.85
bgc::passive_listening::poll;catnip::runtime::transmit 0.20 644.00 263.07
bgc::inetstack::poll_recv;inetstack::poll 0.19 43993.10 18378.10
demikernel::push 0.15 656.29 274.89
demikernel::pushto 0.07 416.06 185.30
demikernel::pop 0.06 459.55 191.83
demikernel::sgaalloc 0.05 137.28 57.03
ioc::network::libos::close 0.02 7894.07 3291.48
ioc::network::libos::connect 0.01 14965.98 6239.62
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 0.01 685.18 284.04
demikernel::sgafree 0.01 66.92 28.11
demikernel::bind 0.00 23486.50 9682.45
bgc::inetstack::tcp::passiveopen::background 0.00 14620.46 6215.74
bgc::passive_listening::poll 0.00 6191.92 2633.37
demikernel::listen 0.00 4999.21 2084.79
demikernel::connect 0.00 4010.92 1660.87
bgc::inetstack::icmp::background 0.00 3255.47 1355.44
ioc::network::libos::accept 0.00 2577.95 1095.34
bgc::inetstack::arp::background 0.00 2554.86 1071.48
demikernel::socket 0.00 1577.62 666.03
demikernel::accept 0.00 1113.42 473.88
demikernel::async_close 0.00 643.04 254.99
demikernel::close 0.00 nan nan

Copy link

github-actions bot commented Aug 5, 2024

libos = catnap
commit id = 8fc47d7

collapsed_stack percent_time cycles_per_call nanoseconds_per_call
demikernel::socket;catnap::linux::transport::socket 97.99 56432.20 24374.20
ioc::network::libos::close;catnap::linux::transport::close 96.04 23194.97 10069.34
demikernel::listen;catnap::linux::transport::listen 92.07 13240.11 5733.14
demikernel::bind;catnap::linux::transport::bind 81.83 26783.70 11631.81
ioc::network::libos::accept 43.03 893942900.54 394965277.40
bgc::catnap::transport::epoll 33.81 2339.71 1023.47
ioc::network::libos::connect 25.94 4988107.83 2172982.81
ioc::network::libos::pop 25.12 4200748.23 1746409.83
ioc::network::libos::pushto 23.00 8628.93 3559.68
ioc::network::libos::push 6.84 17392.46 7623.64
ioc::network::libos::pushto;catnap::linux::transport::push 6.66 570.64 235.35
ioc::network::libos::push;catnap::linux::transport::push 4.67 753.54 330.55
ioc::network::libos::pop;catnap::linux::transport::pop 3.49 528.97 228.70
ioc::network::libos::connect;catnap::linux::transport::connect 1.90 55030.47 24033.35
demikernel::pushto 1.18 453.14 186.94
demikernel::new 0.56 1663450.29 722204.70
demikernel::sgaalloc 0.24 261.05 115.24
demikernel::push 0.17 541.81 238.30
demikernel::pop 0.12 580.02 249.94
demikernel::socket 0.09 57546.71 24855.78
ioc::network::libos::close 0.07 24187.08 10500.05
demikernel::sgafree 0.04 81.24 34.99
demikernel::bind 0.01 32615.60 14143.62
demikernel::connect 0.01 2171.37 950.29
demikernel::async_close 0.01 905.45 385.47
demikernel::listen 0.00 14462.97 6254.27
ioc::network::libos::accept;catnap::linux::transport::accept 0.00 3123.55 1360.22
demikernel::accept 0.00 1556.34 680.51
demikernel::close 0.00 nan nan

@ppenna ppenna added the enhancement Enhancement Request on an Existing Feature label Aug 6, 2024
@iyzhang iyzhang force-pushed the enhancement-inetstack-remove-clones branch from 8fc47d7 to a198db5 Compare August 6, 2024 16:58
Copy link

github-actions bot commented Aug 6, 2024

libos = catpowder
commit id = a198db5

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive 3664320.98 906.15 399.58 77.68
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 3664320.98 63.56 28.45 4.57
bgc::inetstack::poll_recv 3659115.88 1235.13 545.76 64.15
bgc::inetstack::tcp::established::background 21106.79 4271.80 1877.57 6.67
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 21106.79 1525.91 658.01 31.69
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 21088.14 1194.43 531.78 25.91
bgc::inetstack::tcp::established::background;tcp::established::background::sender 21088.14 846.37 375.16 19.78
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 21088.14 351.35 156.55 7.72
ioc::network::libos::pop 11595.78 959.40 425.79 0.99
ioc::network::libos::push;inetstack::push 8791.77 5742.04 2601.19 88.81
ioc::network::libos::push 8100.42 5973.31 2705.25 3.42
demikernel::push 8100.42 586.55 263.62 0.29
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive 7500.86 722.13 315.64 15.18
demikernel::sgaalloc 6543.54 127.13 57.37 0.10
demikernel::sgafree 6266.28 74.43 33.04 0.04
demikernel::pop 6056.88 495.67 216.29 0.15
ioc::network::libos::pushto 691.33 4875.01 2041.38 3.64
ioc::network::libos::pushto;inetstack::push 691.33 4371.88 1830.77 89.66
demikernel::pushto 691.33 455.15 190.57 0.33
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive;udp::receive 246.33 388.91 163.82 57.76
bgc::passive_listening::poll 62.25 4893.03 2163.33 0.00
ioc::network::libos::close 46.75 10240.47 4497.60 0.17
ioc::network::libos::connect 41.86 23307.16 10569.63 0.24
bgc::inetstack::tcp::passiveopen::background 41.86 11679.00 5181.93 0.01
ioc::network::libos::accept 38.46 2476.88 1099.28 0.00
demikernel::async_close 32.50 636.32 266.55 0.01
demikernel::accept 21.86 1401.20 616.91 0.00
demikernel::connect 20.93 4881.31 2201.10 0.01
demikernel::socket 10.30 1654.32 727.62 0.00
bgc::inetstack::arp::background 2.47 2453.98 1072.66 0.00
bgc::inetstack::icmp::background 1.02 3347.07 1465.03 0.00
demikernel::new 1.00 91916098.70 40305838.87 25.73
demikernel::bind 1.00 10961.50 4787.40 0.00
bgc::inetstack::poll_recv;inetstack::poll 1.00 9662.70 4260.70 0.04
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive 1.00 7534.57 3325.89 77.56
demikernel::listen 1.00 5383.64 2378.15 0.00
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for 1.00 363.17 160.04 3.70
demikernel::close 0.00 nan nan 0.00

Copy link

github-actions bot commented Aug 6, 2024

libos = catnip
commit id = a198db5

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive 5933169.37 296.16 122.65 54.94
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::receive;catnip::runtime::receive 5933169.37 196.38 81.32 66.27
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 5933169.37 54.06 22.36 9.08
bgc::inetstack::poll_recv 5928020.43 563.93 233.47 36.11
bgc::inetstack::tcp::established::background 19014.79 3181.96 1305.79 2.64
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 19014.79 821.12 334.86 27.95
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 18993.88 1059.19 435.39 26.38
bgc::inetstack::tcp::established::background;tcp::established::background::sender 18993.88 737.57 302.51 20.06
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 18993.88 310.75 127.97 8.26
ioc::network::libos::pop 12107.65 856.60 354.13 0.51
ioc::network::libos::push;inetstack::push 8791.77 1546.64 648.89 71.06
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8791.77 791.07 331.72 50.28
ioc::network::libos::push 8100.42 2023.42 847.75 0.48
demikernel::push 8100.42 674.46 282.04 0.15
demikernel::sgaalloc 6803.12 154.21 64.94 0.06
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive 6547.14 857.75 353.66 12.00
demikernel::sgafree 6458.04 65.12 27.20 0.01
demikernel::pop 6123.57 431.52 179.13 0.06
ioc::network::libos::pushto 3887.33 1285.72 569.37 0.17
ioc::network::libos::pushto;inetstack::push 3887.33 596.79 264.38 46.35
demikernel::pushto 3887.33 415.25 183.61 0.06
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 3887.33 375.01 166.32 62.56
bgc::inetstack::tcp::established::background;tcp::established::background::receiver;catnip::runtime::transmit 2357.70 1157.88 476.39 8.41
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;inetstack::receive;udp::receive 1371.67 399.41 172.29 57.49
bgc::passive_listening::poll 58.71 5985.84 2487.92 0.00
ioc::network::libos::close 49.27 7762.75 3230.56 0.02
ioc::network::libos::connect 41.86 15311.53 6520.09 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 15156.30 6326.82 0.00
ioc::network::libos::connect;catnip::runtime::transmit 41.86 6254.66 2703.85 30.05
ioc::network::libos::accept 38.93 2542.07 1057.42 0.00
demikernel::async_close 32.50 627.95 249.71 0.00
ioc::network::libos::close;catnip::runtime::transmit 31.41 799.37 330.64 8.49
demikernel::accept 21.86 1132.85 469.62 0.00
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.93 19610.29 8216.28 44.77
demikernel::connect 20.93 3697.14 1563.91 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 17.50 676.53 274.51 0.00
demikernel::socket 10.30 1690.66 695.65 0.00
bgc::inetstack::arp::background 2.63 2590.20 1071.06 0.00
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive 2.00 18787.72 7799.02 86.92
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::receive;catnip::runtime::receive 2.00 18456.22 7662.04 98.21
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for 2.00 1755.58 726.70 8.13
bgc::inetstack::poll_recv;inetstack::poll;inetstack::poll_bg_work::for::for;inetstack::receive 1.43 1798.45 742.77 66.60
bgc::inetstack::icmp::background 1.02 3068.02 1271.07 0.00
demikernel::new 1.00 1813742768.67 751081111.51 60.47
bgc::inetstack::poll_recv;inetstack::poll 1.00 43196.67 17923.07 0.21
demikernel::bind 1.00 21584.50 8684.88 0.00
demikernel::listen 1.00 5705.29 2324.84 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

github-actions bot commented Aug 6, 2024

libos = catnap
commit id = a198db5

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 5697024.41 2444.08 1132.62 33.90
demikernel::sgaalloc 11348.05 244.29 116.78 0.24
ioc::network::libos::push;catnap::linux::transport::push 9076.34 763.73 355.51 4.72
ioc::network::libos::push 8810.42 17540.04 8195.43 7.24
demikernel::push 8810.42 537.06 248.04 0.19
ioc::network::libos::pop;catnap::linux::transport::pop 8025.22 516.59 235.48 3.03
demikernel::sgafree 7935.25 81.12 37.12 0.04
ioc::network::libos::pop 7816.71 3125010.49 1313157.57 26.34
demikernel::pop 7816.71 583.84 263.92 0.12
ioc::network::libos::pushto 1144.33 7997.68 3358.39 23.83
ioc::network::libos::pushto;catnap::linux::transport::push 1144.33 531.31 223.27 6.65
demikernel::pushto 1144.33 414.90 174.28 1.26
demikernel::async_close 32.50 921.01 374.39 0.02
ioc::network::libos::connect 24.95 3243261.40 1496937.02 22.08
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 55874.20 26974.48 2.38
demikernel::connect 24.95 2257.40 1099.90 0.01
ioc::network::libos::close 18.35 24456.48 11139.60 0.06
ioc::network::libos::close;catnap::linux::transport::close 18.35 23450.47 10679.46 95.98
demikernel::accept 15.42 1425.02 642.57 0.00
ioc::network::libos::accept 15.39 891844935.28 401675542.17 42.82
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 2877.53 1298.38 0.00
demikernel::socket 9.50 58567.74 26789.18 0.08
demikernel::socket;catnap::linux::transport::socket 9.50 57502.12 26303.85 98.12
demikernel::new 1.00 1624242.23 739294.24 0.50
demikernel::bind 1.00 31503.35 14176.40 0.01
demikernel::bind;catnap::linux::transport::bind 1.00 25967.88 11692.67 82.50
demikernel::listen 1.00 14220.42 6410.32 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 13075.24 5899.05 92.55
demikernel::close 0.00 nan nan 0.00

@anandbonde anandbonde self-requested a review August 6, 2024 17:35
Copy link
Contributor

@anandbonde anandbonde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@iyzhang iyzhang merged commit 584968f into dev Aug 6, 2024
19 checks passed
@iyzhang iyzhang deleted the enhancement-inetstack-remove-clones branch August 6, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement Request on an Existing Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants