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] Bug Fix: Correct retransmission timer #1428

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

iyzhang
Copy link
Contributor

@iyzhang iyzhang commented Oct 4, 2024

This PR closes #202. I have checked on all other cases and they seem to be correct. With this fix, we should be transmitting at the right times for retransmit.

@iyzhang iyzhang requested a review from anandbonde October 4, 2024 22:41
@iyzhang iyzhang self-assigned this Oct 4, 2024
Copy link

github-actions bot commented Oct 4, 2024

libos = catpowder
commit id = b2a1c3c

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll_recv;inetstack::layer4_endpoint::poll_once 11037397.43 683.53 307.21 85.88
bgc::inetstack::poll_recv 5518698.72 1592.44 715.39 51.43
bgc::inetstack::tcp::established::background 17750.20 3679.37 1619.96 0.53
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 17750.20 1361.25 579.31 32.69
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 17730.52 1291.90 582.32 33.90
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 17730.52 508.99 231.43 11.58
bgc::inetstack::tcp::established::background;tcp::established::background::sender 17730.52 153.36 65.69 4.02
ioc::network::libos::pop 9354.10 867.36 392.00 0.09
ioc::network::libos::push;inetstack::push 8762.03 6454.03 3108.18 2.10
demikernel::sgafree 8753.28 83.15 37.90 0.01
ioc::network::libos::push 8073.29 33717008.42 20898787.90 43.12
demikernel::push 8073.03 644.26 296.61 0.04
demikernel::sgaalloc 6507.62 151.54 69.49 0.02
demikernel::pop 6037.35 553.53 245.39 0.03
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 5887.75 624.88 284.30 0.71
ioc::network::libos::pushto 771.67 4717.94 2387.91 3.44
ioc::network::libos::pushto;inetstack::push 771.67 4200.77 2124.99 89.03
demikernel::pushto 771.67 483.97 245.33 0.34
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;udp::receive 282.00 215.43 107.89 62.15
bgc::passive_listening::poll 62.93 4976.99 2306.98 0.00
ioc::network::libos::close 46.48 10790.76 4821.20 0.16
ioc::network::libos::connect 41.86 20731.40 9352.13 0.19
bgc::inetstack::tcp::passiveopen::background 41.86 14779.45 6856.14 0.00
ioc::network::libos::accept 37.89 2566.16 1185.83 0.00
demikernel::async_close 32.50 680.23 274.04 0.01
demikernel::accept 21.86 1219.96 562.60 0.00
demikernel::connect 20.93 3354.94 1489.51 0.03
demikernel::socket 10.30 1916.89 826.75 0.00
bgc::inetstack::arp::background 4.08 1847.80 823.85 0.00
bgc::inetstack::poll_recv;inetstack::poll;inetstack::layer4_endpoint::poll_once 2.00 5067.65 2250.76 81.42
bgc::inetstack::icmp::background 1.03 3375.32 1501.45 0.00
demikernel::new 1.00 90617167.12 40596673.50 20.16
demikernel::bind 1.00 28662.31 12076.47 0.00
bgc::inetstack::poll_recv;inetstack::poll 1.00 12440.50 5522.25 0.03
demikernel::listen 1.00 7196.79 3214.71 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

github-actions bot commented Oct 4, 2024

libos = catnip
commit id = b2a1c3c

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll_recv;inetstack::layer4_endpoint::poll_once 17361317.67 335.84 142.07 76.85
bgc::inetstack::poll_recv;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 17361317.67 196.55 83.14 58.53
bgc::inetstack::poll_recv 8680658.83 874.31 369.87 33.53
bgc::inetstack::tcp::established::background 16480.09 2962.67 1243.91 0.34
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 16480.09 889.96 375.06 30.87
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 16459.18 1233.11 515.05 34.47
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 16459.18 398.69 167.79 11.22
bgc::inetstack::tcp::established::background;tcp::established::background::sender 16459.18 134.50 56.80 4.34
ioc::network::libos::pop 9117.06 750.33 315.87 0.05
demikernel::sgafree 8916.72 82.46 35.00 0.00
ioc::network::libos::push;inetstack::push 8762.80 2207.72 925.93 0.58
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8762.80 319.58 133.89 14.18
ioc::network::libos::push 8073.74 33612674.76 13542673.97 32.02
demikernel::push 8073.74 694.11 290.74 0.02
demikernel::sgaalloc 6686.21 125.80 53.32 0.01
demikernel::pop 6123.90 528.87 225.28 0.01
ioc::network::libos::pushto 3650.00 1441.57 614.11 0.15
ioc::network::libos::pushto;inetstack::push 3650.00 710.69 302.54 49.35
demikernel::pushto 3650.00 477.76 203.07 0.05
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 3650.00 256.68 109.32 36.12
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 3080.92 842.19 354.61 0.56
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;udp::receive 1768.33 246.73 111.58 69.27
bgc::passive_listening::poll 58.64 5678.01 2362.29 0.00
ioc::network::libos::close 49.25 8072.10 3442.43 0.01
ioc::network::libos::connect 41.86 15423.43 6669.32 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 14639.64 6090.89 0.00
ioc::network::libos::connect;catnip::runtime::transmit 41.86 5214.32 2284.84 25.14
ioc::network::libos::accept 38.61 2412.24 1006.55 0.00
demikernel::async_close 32.50 566.36 238.47 0.00
ioc::network::libos::close;catnip::runtime::transmit 31.39 579.52 247.74 5.23
demikernel::accept 21.86 1140.23 475.32 0.00
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.93 17712.35 7387.77 40.45
demikernel::connect 20.93 2967.28 1282.03 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::receiver;catnip::runtime::transmit 20.93 761.27 315.93 4.66
demikernel::socket 10.30 1181.39 490.66 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger;catnip::runtime::transmit 9.00 3458.22 1524.14 36.04
bgc::inetstack::arp::background 4.30 1995.64 840.59 0.00
bgc::inetstack::poll_recv;inetstack::poll;inetstack::layer4_endpoint::poll_once 2.00 19496.43 8250.53 95.07
bgc::inetstack::poll_recv;inetstack::poll;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 2.00 17654.13 7470.31 90.52
bgc::inetstack::icmp::background 1.05 3116.18 1318.57 0.00
demikernel::new 1.00 1781139080.52 753785303.06 45.77
bgc::inetstack::poll_recv;inetstack::poll 1.00 41031.60 17363.48 0.12
demikernel::bind 1.00 20936.31 8760.42 0.00
demikernel::listen 1.00 5800.64 2410.09 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

github-actions bot commented Oct 5, 2024

libos = catnap
commit id = b2a1c3c

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 9599528.53 1991.01 913.52 32.02
demikernel::sgafree 11590.17 79.89 35.41 0.05
demikernel::sgaalloc 11369.12 124.45 56.42 0.11
ioc::network::libos::push;catnap::linux::transport::push 9066.08 790.21 358.67 4.78
ioc::network::libos::push 8800.47 17331.82 7893.20 6.17
demikernel::push 8800.47 529.84 238.75 0.15
ioc::network::libos::pop;catnap::linux::transport::pop 8050.30 552.89 247.20 2.72
ioc::network::libos::pop 7841.14 2311273.01 1030163.87 26.54
demikernel::pop 7841.14 520.22 230.11 0.10
ioc::network::libos::pushto 2717.00 7336.35 3231.85 23.67
ioc::network::libos::pushto;catnap::linux::transport::push 2717.00 525.43 231.00 7.24
demikernel::pushto 2717.00 441.93 194.47 1.49
demikernel::async_close 32.50 910.23 350.99 0.01
ioc::network::libos::connect 24.95 4754519.69 2120483.05 25.30
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 51533.87 23179.92 1.68
demikernel::connect 24.95 2029.07 914.60 0.01
ioc::network::libos::close 18.35 28655.02 12812.49 0.05
ioc::network::libos::close;catnap::linux::transport::close 18.35 27580.72 12331.58 95.95
demikernel::accept 15.42 1300.77 584.33 0.00
ioc::network::libos::accept 15.39 899871493.40 420778051.92 45.14
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 2358.45 1065.39 0.00
demikernel::socket 9.50 59389.04 26439.81 0.08
demikernel::socket;catnap::linux::transport::socket 9.50 58234.24 25913.94 97.99
demikernel::new 1.00 1665118.23 739927.37 0.60
demikernel::bind 1.00 30261.32 13475.01 0.00
demikernel::bind;catnap::linux::transport::bind 1.00 24750.18 11020.19 81.83
demikernel::listen 1.00 15561.63 6913.83 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 14490.03 6439.80 92.99
demikernel::close 0.00 nan nan 0.00

@iyzhang iyzhang force-pushed the bugfix-inetstack-retransmit branch from b2a1c3c to 617113c Compare October 7, 2024 17:48
Copy link

github-actions bot commented Oct 7, 2024

libos = catnap
commit id = 617113c

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 9647549.56 2046.96 944.64 32.39
demikernel::sgafree 11535.15 73.36 32.66 0.05
demikernel::sgaalloc 11281.85 119.11 54.61 0.11
ioc::network::libos::push;catnap::linux::transport::push 9066.08 743.12 340.13 4.70
ioc::network::libos::push 8800.47 16675.36 7629.06 6.53
demikernel::push 8800.47 517.59 235.82 0.15
ioc::network::libos::pop;catnap::linux::transport::pop 8022.75 549.22 245.65 4.20
ioc::network::libos::pop 7814.30 9954967.20 4079758.61 25.25
demikernel::pop 7814.30 522.91 233.34 0.11
ioc::network::libos::pushto 570.67 7570.82 3207.34 23.07
ioc::network::libos::pushto;catnap::linux::transport::push 570.67 606.20 255.77 8.01
demikernel::pushto 570.67 483.86 204.42 1.57
demikernel::async_close 32.50 905.07 356.94 0.01
ioc::network::libos::connect 24.95 4123817.26 1889033.21 26.93
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 52278.25 24078.82 2.10
demikernel::connect 24.95 2113.72 980.57 0.01
ioc::network::libos::close 18.35 22210.24 9995.71 0.07
ioc::network::libos::close;catnap::linux::transport::close 18.35 21227.17 9551.24 95.79
demikernel::accept 15.42 1405.88 634.66 0.00
ioc::network::libos::accept 15.39 888833365.86 416642071.56 44.79
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 2440.17 1107.83 0.00
demikernel::socket 9.50 55997.56 25185.22 0.10
demikernel::socket;catnap::linux::transport::socket 9.50 54307.53 24427.20 97.19
demikernel::new 1.00 1640702.40 735099.07 0.73
demikernel::bind 1.00 28026.40 12521.92 0.01
demikernel::bind;catnap::linux::transport::bind 1.00 22706.68 10142.16 81.11
demikernel::listen 1.00 14613.45 6542.11 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 13603.13 6092.47 93.04
demikernel::close 0.00 nan nan 0.00

Copy link

github-actions bot commented Oct 7, 2024

libos = catpowder
commit id = 617113c

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll_recv;inetstack::layer4_endpoint::poll_once 11055451.17 694.64 322.52 86.03
bgc::inetstack::poll_recv 5527725.58 1615.70 750.02 53.46
bgc::inetstack::tcp::established::background 20116.16 3645.28 1684.94 0.58
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 20116.16 1402.89 625.61 33.66
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 20096.52 1226.24 585.34 32.56
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 20096.52 463.69 218.26 11.10
bgc::inetstack::tcp::established::background;tcp::established::background::sender 20096.52 154.03 71.18 4.22
ioc::network::libos::pop 10053.80 863.47 389.38 0.09
ioc::network::libos::push;inetstack::push 8762.80 6163.85 2842.40 1.94
demikernel::sgafree 8746.55 85.45 38.24 0.01
ioc::network::libos::push 8074.08 33651123.50 14004763.81 42.58
demikernel::push 8073.74 618.47 281.42 0.05
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 7084.12 634.17 296.05 0.75
demikernel::sgaalloc 6499.92 152.98 69.01 0.02
demikernel::pop 6034.20 566.50 251.55 0.03
ioc::network::libos::pushto 643.67 4617.09 2240.89 2.83
ioc::network::libos::pushto;inetstack::push 643.67 4081.98 1981.18 88.41
demikernel::pushto 643.67 493.86 239.74 0.29
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;udp::receive 204.00 218.33 100.40 62.68
bgc::passive_listening::poll 62.79 5015.27 2472.48 0.00
ioc::network::libos::close 46.37 10240.16 4658.91 0.12
ioc::network::libos::connect 41.86 20684.33 9327.33 0.16
bgc::inetstack::tcp::passiveopen::background 41.86 13973.22 6748.63 0.00
ioc::network::libos::accept 38.46 2402.93 1199.98 0.00
demikernel::async_close 32.50 753.15 415.82 0.01
demikernel::accept 21.86 1247.16 628.37 0.00
demikernel::connect 20.93 3767.96 1667.93 0.03
demikernel::socket 10.30 1301.25 601.34 0.00
bgc::inetstack::arp::background 4.07 1928.94 922.33 0.00
bgc::inetstack::poll_recv;inetstack::poll;inetstack::layer4_endpoint::poll_once 2.00 5317.90 2432.73 81.46
bgc::inetstack::icmp::background 1.03 3476.38 1596.81 0.00
demikernel::new 1.00 87698487.43 40694923.34 18.50
demikernel::bind 1.00 22584.75 13006.53 0.00
bgc::inetstack::poll_recv;inetstack::poll 1.00 12981.43 5950.81 0.04
demikernel::listen 1.00 6142.79 2977.76 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

github-actions bot commented Oct 7, 2024

libos = catnip
commit id = 617113c

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll_recv;inetstack::layer4_endpoint::poll_once 17383019.13 336.22 145.42 76.82
bgc::inetstack::poll_recv;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 17383019.13 196.76 85.09 58.53
bgc::inetstack::poll_recv 8691509.57 875.77 378.81 33.55
bgc::inetstack::tcp::established::background 16586.61 2900.95 1248.58 0.34
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 16586.61 879.42 376.66 30.82
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 16565.68 1195.28 515.96 34.30
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 16565.68 383.21 165.45 11.15
bgc::inetstack::tcp::established::background;tcp::established::background::sender 16565.68 135.32 58.02 4.31
ioc::network::libos::pop 9060.04 738.04 318.72 0.05
demikernel::sgafree 8773.28 80.14 34.54 0.00
ioc::network::libos::push;inetstack::push 8762.80 2190.37 951.43 0.57
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8762.80 337.93 146.11 14.50
ioc::network::libos::push 8073.74 33597664.82 13952775.45 32.19
demikernel::push 8073.74 662.54 284.90 0.02
demikernel::sgaalloc 6527.83 121.43 51.58 0.00
demikernel::pop 6049.14 501.40 217.56 0.01
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 3082.49 796.94 345.25 0.63
ioc::network::libos::pushto 1116.00 1408.32 605.91 0.05
ioc::network::libos::pushto;inetstack::push 1116.00 693.54 298.29 49.34
demikernel::pushto 1116.00 487.44 209.39 0.02
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 1116.00 249.36 107.34 35.88
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;udp::receive 480.67 253.64 112.34 69.80
bgc::inetstack::tcp::established::background;tcp::established::background::receiver;catnip::runtime::transmit 141.72 699.01 304.23 4.47
bgc::passive_listening::poll 59.11 5559.68 2447.77 0.00
ioc::network::libos::close 49.13 7886.10 3402.41 0.01
ioc::network::libos::connect 41.86 15748.66 6804.24 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 13106.25 5823.07 0.00
ioc::network::libos::connect;catnip::runtime::transmit 41.86 5706.49 2430.90 26.66
ioc::network::libos::accept 38.46 2559.88 1117.90 0.00
demikernel::async_close 32.50 627.21 262.89 0.00
ioc::network::libos::close;catnip::runtime::transmit 31.39 611.71 263.93 5.47
demikernel::accept 21.86 1237.99 545.89 0.00
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.93 15668.71 7014.29 39.45
demikernel::connect 20.93 3200.45 1358.63 0.00
demikernel::socket 10.30 1526.44 658.49 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger;catnip::runtime::transmit 9.00 2450.89 1055.31 32.20
bgc::inetstack::arp::background 4.30 2056.72 892.62 0.00
bgc::inetstack::poll_recv;inetstack::poll;inetstack::layer4_endpoint::poll_once 2.00 20809.20 8967.41 95.36
bgc::inetstack::poll_recv;inetstack::poll;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 2.00 18246.95 7863.20 89.02
bgc::inetstack::icmp::background 1.05 3111.08 1342.98 0.00
demikernel::new 1.00 1785883574.45 772363723.63 45.65
bgc::inetstack::poll_recv;inetstack::poll 1.00 43559.90 18776.36 0.34
demikernel::bind 1.00 23010.38 9842.75 0.00
demikernel::listen 1.00 5594.00 2423.77 0.00
demikernel::close 0.00 nan nan 0.00

@iyzhang iyzhang force-pushed the bugfix-inetstack-retransmit branch from 617113c to 2615157 Compare October 7, 2024 20:21
Copy link

github-actions bot commented Oct 7, 2024

libos = catnap
commit id = 2615157

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 9734345.18 2043.32 927.57 31.98
demikernel::sgafree 11535.05 73.16 32.18 0.05
demikernel::sgaalloc 11281.70 125.97 56.32 0.10
ioc::network::libos::push;catnap::linux::transport::push 9066.12 770.80 350.61 4.76
ioc::network::libos::push 8800.49 17044.69 7763.71 6.01
demikernel::push 8800.49 552.09 249.13 0.14
ioc::network::libos::pop;catnap::linux::transport::pop 8023.66 583.00 261.20 1.52
ioc::network::libos::pop 7815.19 10165662.64 4515956.37 27.26
demikernel::pop 7815.19 542.64 239.59 0.10
ioc::network::libos::pushto 566.67 8861.18 3880.64 23.66
ioc::network::libos::pushto;catnap::linux::transport::push 566.67 691.58 303.72 7.67
demikernel::pushto 566.67 592.98 260.42 1.55
demikernel::async_close 32.50 998.70 395.95 0.02
ioc::network::libos::connect 24.95 6784837.43 3029408.83 24.52
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 65242.56 29604.09 2.23
demikernel::connect 24.95 2148.13 968.36 0.01
ioc::network::libos::close 18.35 22737.83 10177.92 0.07
ioc::network::libos::close;catnap::linux::transport::close 18.35 21756.63 9735.37 95.92
demikernel::accept 15.42 1316.37 595.35 0.00
ioc::network::libos::accept 15.39 902311741.60 413306387.66 44.90
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 2373.73 1076.59 0.00
demikernel::socket 9.50 57637.76 25746.04 0.10
demikernel::socket;catnap::linux::transport::socket 9.50 55802.65 24913.26 97.08
demikernel::new 1.00 1641478.16 731646.87 0.50
demikernel::bind 1.00 28580.55 12794.46 0.01
demikernel::bind;catnap::linux::transport::bind 1.00 23157.90 10374.53 81.03
demikernel::listen 1.00 14570.21 6505.59 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 13557.05 6055.16 92.89
demikernel::close 0.00 nan nan 0.00

Copy link

github-actions bot commented Oct 7, 2024

libos = catpowder
commit id = 2615157

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll_recv;inetstack::layer4_endpoint::poll_once 11305106.03 690.19 302.73 86.07
bgc::inetstack::poll_recv 5652553.02 1603.72 703.11 52.38
bgc::inetstack::tcp::established::background 16782.48 3653.24 1584.82 0.50
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 16782.48 1330.61 558.13 32.11
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 16762.82 1296.83 575.47 34.11
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 16762.82 500.17 224.75 11.57
bgc::inetstack::tcp::established::background;tcp::established::background::sender 16762.82 147.93 62.69 4.10
ioc::network::libos::pop 9127.92 849.38 378.40 0.07
demikernel::sgafree 8789.17 114.46 50.24 0.02
ioc::network::libos::push;inetstack::push 8762.74 6125.02 2803.80 1.92
ioc::network::libos::push 8073.76 33628168.36 15030951.92 42.71
demikernel::push 8073.71 730.32 334.13 0.04
demikernel::sgaalloc 6562.58 157.99 70.22 0.04
demikernel::pop 6048.82 623.02 274.68 0.03
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 5439.17 615.87 270.04 0.65
ioc::network::libos::pushto 1397.00 6343.72 2825.47 5.41
ioc::network::libos::pushto;inetstack::push 1397.00 5504.77 2452.43 86.99
demikernel::pushto 1397.00 857.30 380.63 0.78
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;udp::receive 455.67 255.46 113.33 64.67
bgc::passive_listening::poll 62.75 5045.80 2258.12 0.00
ioc::network::libos::close 46.38 10553.40 4622.01 0.15
ioc::network::libos::connect 41.86 20328.48 9143.84 0.16
bgc::inetstack::tcp::passiveopen::background 41.86 14561.51 6556.09 0.00
ioc::network::libos::accept 38.50 2348.82 1048.85 0.00
demikernel::async_close 32.50 695.17 277.64 0.01
demikernel::accept 21.86 1433.71 640.59 0.00
demikernel::connect 20.93 3450.99 1532.39 0.02
demikernel::socket 10.30 1306.18 564.02 0.00
bgc::inetstack::arp::background 4.12 1886.98 824.64 0.00
bgc::inetstack::poll_recv;inetstack::poll;inetstack::layer4_endpoint::poll_once 2.00 5464.62 2378.09 82.00
bgc::inetstack::icmp::background 1.03 3540.58 1543.73 0.00
demikernel::new 1.00 89697719.60 39287646.67 19.41
demikernel::bind 1.00 23390.62 9710.15 0.00
bgc::inetstack::poll_recv;inetstack::poll 1.00 13277.67 5776.94 0.02
demikernel::listen 1.00 5824.64 2538.22 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

github-actions bot commented Oct 7, 2024

libos = catnip
commit id = 2615157

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll_recv;inetstack::layer4_endpoint::poll_once 17202862.87 335.27 142.21 76.91
bgc::inetstack::poll_recv;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 17202862.87 196.39 83.28 58.61
bgc::inetstack::poll_recv 8601431.43 872.19 369.96 33.46
bgc::inetstack::tcp::established::background 16480.50 2875.60 1227.42 0.34
bgc::inetstack::tcp::established::background;tcp::established::background::receiver 16480.50 860.17 366.28 30.73
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 16459.57 1190.97 510.17 34.43
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 16459.57 390.98 166.50 11.25
bgc::inetstack::tcp::established::background;tcp::established::background::sender 16459.57 132.60 56.39 4.33
ioc::network::libos::pop 9040.37 735.87 312.87 0.05
demikernel::sgafree 8769.13 77.60 32.89 0.00
ioc::network::libos::push;inetstack::push 8762.80 2160.30 928.50 0.57
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8762.80 322.37 138.68 14.46
ioc::network::libos::push 8073.74 33592223.97 14718312.91 32.05
demikernel::push 8073.74 660.90 283.92 0.02
demikernel::sgaalloc 6523.25 122.65 52.77 0.00
demikernel::pop 6047.29 504.66 213.21 0.01
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for 3047.59 795.10 338.31 0.58
ioc::network::libos::pushto 1042.67 1449.34 583.15 0.05
ioc::network::libos::pushto;inetstack::push 1042.67 723.41 291.11 50.04
demikernel::pushto 1042.67 506.19 203.72 0.02
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 1042.67 261.04 105.00 36.02
bgc::inetstack::poll_recv;inetstack::poll_bg_work::for::for;udp::receive 440.00 275.42 106.51 71.67
bgc::passive_listening::poll 58.93 5471.82 2311.24 0.00
ioc::network::libos::close 49.12 7848.97 3343.48 0.01
ioc::network::libos::connect 41.86 15701.09 6777.03 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 13623.53 5736.35 0.00
ioc::network::libos::connect;catnip::runtime::transmit 41.86 6029.91 2615.75 27.24
ioc::network::libos::accept 38.50 2676.57 1131.40 0.00
demikernel::async_close 32.50 554.21 234.15 0.00
ioc::network::libos::close;catnip::runtime::transmit 31.39 553.17 235.97 5.16
demikernel::accept 21.86 1667.95 703.64 0.00
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.93 16777.60 7048.84 40.73
demikernel::connect 20.93 3120.63 1333.03 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::receiver;catnip::runtime::transmit 20.93 694.59 294.79 4.40
demikernel::socket 10.30 1393.27 588.14 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger;catnip::runtime::transmit 9.00 3502.00 1428.77 37.67
bgc::inetstack::arp::background 4.30 2132.69 900.86 0.00
bgc::inetstack::poll_recv;inetstack::poll;inetstack::layer4_endpoint::poll_once 2.00 19672.70 8345.38 95.47
bgc::inetstack::poll_recv;inetstack::poll;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 2.00 17703.73 7510.26 89.97
bgc::inetstack::icmp::background 1.05 2981.63 1263.27 0.00
demikernel::new 1.00 1779492955.70 754770578.36 45.83
bgc::inetstack::poll_recv;inetstack::poll 1.00 41199.73 17477.80 0.16
demikernel::bind 1.00 21250.19 9072.16 0.00
demikernel::listen 1.00 6232.57 2638.35 0.00
demikernel::close 0.00 nan nan 0.00

@anandbonde anandbonde merged commit c51f812 into dev Oct 7, 2024
14 checks passed
@anandbonde anandbonde deleted the bugfix-inetstack-retransmit branch October 7, 2024 21:37
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.

[inetstack] Retransmit Timer Issues
2 participants