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: Check windows sizes before allocating socket #1469

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

iyzhang
Copy link
Contributor

@iyzhang iyzhang commented Nov 26, 2024

This closes #199

@iyzhang iyzhang requested a review from anandbonde November 26, 2024 15:14
@iyzhang iyzhang self-assigned this Nov 26, 2024
Copy link

libos = catpowder
commit id = 3121fd0

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 19055638.57 701.72 301.06 85.36
bgc::inetstack::poll 9527819.28 1656.11 710.89 53.84
bgc::inetstack::tcp::established::background 11539.46 1614.13 699.88 0.20
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11539.46 476.19 213.92 22.91
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11530.91 384.94 165.56 29.57
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11489.05 858.38 362.66 24.39
ioc::network::libos::pop 9221.16 522.06 223.12 0.06
ioc::network::libos::push;inetstack::push 8762.80 5996.38 2581.68 2.23
demikernel::sgafree 8757.38 106.27 45.06 0.02
ioc::network::libos::push 8073.74 33495090.48 13731739.83 40.17
demikernel::push 8073.74 624.82 268.12 0.06
demikernel::sgaalloc 6520.25 151.92 64.85 0.03
demikernel::pop 6036.16 549.79 235.94 0.04
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 5747.78 2218.69 943.24 1.60
ioc::network::libos::pushto 835.00 4371.12 1847.94 3.51
ioc::network::libos::pushto;inetstack::push 835.00 3936.47 1664.51 90.06
demikernel::pushto 835.00 492.44 208.01 0.38
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 227.33 194.94 79.41 60.55
ioc::network::libos::close 47.67 6121.93 2617.82 0.09
ioc::network::libos::connect 41.86 34961.80 14949.41 0.42
bgc::inetstack::tcp::passiveopen::background 41.86 31495.85 13759.54 0.01
ioc::network::libos::accept 38.04 2102.57 913.51 0.00
demikernel::async_close 32.50 683.53 290.37 0.01
demikernel::accept 21.86 1232.65 535.16 0.00
demikernel::connect 20.93 4138.04 1769.33 0.03
demikernel::socket 10.30 1767.41 756.44 0.00
bgc::inetstack::arp::background 6.38 1940.60 829.06 0.00
bgc::inetstack::icmp::background 1.03 3091.75 1326.03 0.00
demikernel::new 1.00 93948328.58 40314034.61 19.87
demikernel::bind 1.00 23986.56 10206.75 0.00
demikernel::listen 1.00 3879.07 1679.96 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnap
commit id = 3121fd0

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 13226909.26 2066.24 912.76 33.30
demikernel::sgafree 11563.46 70.61 30.53 0.05
demikernel::sgaalloc 11335.75 118.16 51.32 0.11
ioc::network::libos::push;catnap::linux::transport::push 9066.06 622.63 282.28 3.97
ioc::network::libos::push 8800.46 16389.76 7416.13 6.98
demikernel::push 8800.46 538.43 242.13 0.17
ioc::network::libos::pop;catnap::linux::transport::pop 8032.99 412.79 181.07 4.65
ioc::network::libos::pop 7824.28 5550433.46 2335082.67 24.35
demikernel::pop 7824.28 530.18 230.42 0.12
ioc::network::libos::pushto 1676.33 7641.85 3206.69 23.96
demikernel::pushto 1676.33 441.75 185.32 1.53
ioc::network::libos::pushto;catnap::linux::transport::push 1676.33 432.26 181.25 5.75
demikernel::async_close 32.50 962.46 372.85 0.02
ioc::network::libos::connect 24.95 6104991.50 2634782.46 27.27
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 78644.22 34192.27 2.46
demikernel::connect 24.95 1982.02 868.74 0.01
ioc::network::libos::close 18.35 24210.59 10653.79 0.06
ioc::network::libos::close;catnap::linux::transport::close 18.35 22953.39 10095.64 94.80
demikernel::accept 15.42 1562.63 700.47 0.00
ioc::network::libos::accept 15.41 894732191.10 399382217.03 44.51
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 5347.78 2376.57 0.00
demikernel::socket 9.50 151437.24 66129.37 0.26
demikernel::socket;catnap::linux::transport::socket 9.50 149196.21 65136.87 96.48
demikernel::new 1.00 257728.50 113650.45 0.13
demikernel::bind 1.00 28263.05 12584.91 0.00
demikernel::bind;catnap::linux::transport::bind 1.00 23830.05 10605.35 84.18
demikernel::listen 1.00 15451.13 6903.08 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 14456.29 6461.40 93.43
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnip
commit id = 3121fd0

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 29180558.57 336.06 144.98 75.85
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 29180558.57 197.21 85.05 58.78
bgc::inetstack::poll 14590279.28 891.32 384.90 34.78
bgc::inetstack::tcp::established::background 11266.57 1088.34 466.22 0.11
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11266.57 327.53 140.16 26.76
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11256.23 348.16 150.89 33.00
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11214.20 289.33 118.39 14.34
ioc::network::libos::pop 9155.67 368.24 158.49 0.02
demikernel::sgafree 8780.75 76.72 33.24 0.01
ioc::network::libos::push;inetstack::push 8762.80 1985.88 887.25 0.68
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8762.80 322.80 143.89 15.60
ioc::network::libos::push 8073.74 33405104.16 14624476.12 25.61
demikernel::push 8073.74 679.98 299.11 0.04
demikernel::sgaalloc 6536.08 123.30 53.79 0.01
demikernel::pop 6052.96 522.39 224.34 0.02
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 4682.64 1956.60 826.33 1.90
ioc::network::libos::pushto 1248.00 1346.99 583.87 0.06
ioc::network::libos::pushto;inetstack::push 1248.00 736.16 319.30 54.95
demikernel::pushto 1248.00 491.39 213.21 0.02
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 1248.00 269.93 117.05 36.64
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 559.33 257.56 110.23 71.49
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;catnip::runtime::transmit 229.36 665.78 288.60 3.73
ioc::network::libos::close 49.47 5924.52 2577.76 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 34199.43 14940.98 0.00
ioc::network::libos::connect 41.86 32675.91 14440.66 0.04
ioc::network::libos::connect;catnip::runtime::transmit 41.86 6928.80 3051.99 22.36
ioc::network::libos::accept 38.68 2112.18 916.64 0.00
demikernel::async_close 32.50 662.92 267.73 0.00
demikernel::accept 21.86 1092.28 471.42 0.00
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.96 17530.94 7661.30 18.86
demikernel::connect 20.93 2795.10 1232.47 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::sender;catnip::runtime::transmit 20.93 609.11 264.84 11.48
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 19.67 246.69 111.06 0.01
demikernel::socket 10.30 1628.47 705.25 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger;catnip::runtime::transmit 9.00 3552.22 1514.31 35.78
bgc::inetstack::arp::background 6.43 2270.26 973.58 0.00
bgc::inetstack::icmp::background 1.05 2829.33 1214.15 0.00
demikernel::new 1.00 1754905260.08 756503250.67 48.79
demikernel::bind 1.00 10311.25 4408.41 0.00
demikernel::listen 1.00 3384.36 1451.65 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catpowder
commit id = 22b60a8

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 19019891.23 712.71 308.11 85.68
bgc::inetstack::poll 9509945.62 1671.94 722.90 52.41
bgc::inetstack::tcp::established::background 11053.75 1610.43 688.90 0.20
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11053.75 472.39 197.76 22.66
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11045.32 388.47 168.04 29.83
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11003.34 861.72 370.89 24.19
ioc::network::libos::pop 9030.69 455.80 196.31 0.04
ioc::network::libos::push;inetstack::push 8762.80 6223.48 2693.65 2.29
demikernel::sgafree 8746.74 104.40 44.38 0.01
ioc::network::libos::push 8073.74 33445826.56 13473317.70 40.51
demikernel::push 8073.74 575.28 249.37 0.06
demikernel::sgaalloc 6499.29 137.45 59.47 0.02
demikernel::pop 6035.29 609.19 261.82 0.04
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 5278.58 2425.58 1051.42 1.46
ioc::network::libos::pushto 647.00 4577.15 1871.53 2.06
ioc::network::libos::pushto;inetstack::push 647.00 4120.06 1684.61 90.02
demikernel::pushto 647.00 512.37 209.46 0.23
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 198.33 227.12 92.15 62.85
ioc::network::libos::close 47.58 6389.20 2758.81 0.10
ioc::network::libos::connect 41.86 37609.17 16269.69 0.40
bgc::inetstack::tcp::passiveopen::background 41.86 34942.26 15302.42 0.01
ioc::network::libos::accept 38.39 2123.33 923.99 0.00
demikernel::async_close 32.50 677.36 294.60 0.01
demikernel::accept 21.86 1237.83 538.75 0.00
demikernel::connect 20.93 4358.59 1884.95 0.02
demikernel::socket 10.30 2242.00 959.74 0.00
bgc::inetstack::arp::background 6.32 1984.76 856.79 0.00
bgc::inetstack::icmp::background 1.03 3243.02 1400.86 0.00
demikernel::new 1.00 98981000.43 42749446.20 21.20
demikernel::bind 1.00 24667.38 10682.52 0.00
demikernel::listen 1.00 3391.14 1458.88 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnap
commit id = 22b60a8

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 13294977.67 2014.41 891.35 33.00
demikernel::sgafree 11563.24 72.65 31.29 0.05
demikernel::sgaalloc 11337.85 125.33 54.33 0.11
ioc::network::libos::push;catnap::linux::transport::push 9066.10 681.60 299.84 4.08
ioc::network::libos::push 8800.48 17082.09 7554.96 6.95
demikernel::push 8800.48 565.59 248.46 0.17
ioc::network::libos::pop;catnap::linux::transport::pop 8032.37 391.96 170.30 3.16
ioc::network::libos::pop 7823.67 5888854.03 2583012.88 24.83
demikernel::pop 7823.67 545.09 235.91 0.11
ioc::network::libos::pushto 1667.00 7722.39 3388.00 24.04
demikernel::pushto 1667.00 442.87 194.76 1.58
ioc::network::libos::pushto;catnap::linux::transport::push 1667.00 417.87 183.69 5.54
demikernel::async_close 32.50 903.13 366.07 0.01
ioc::network::libos::connect 24.95 4630080.58 2025802.54 27.13
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 76601.44 32972.65 2.79
demikernel::connect 24.95 2037.87 876.58 0.01
ioc::network::libos::close 18.35 23931.32 10400.55 0.06
ioc::network::libos::close;catnap::linux::transport::close 18.35 22798.65 9905.90 95.29
demikernel::accept 15.42 1472.96 646.94 0.00
ioc::network::libos::accept 15.39 899373965.46 392049135.01 44.42
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 3606.40 1581.23 0.00
demikernel::socket 9.50 156825.63 67998.08 0.26
demikernel::socket;catnap::linux::transport::socket 9.50 154306.10 66902.17 96.26
demikernel::new 1.00 261896.00 113885.47 0.12
demikernel::bind 1.00 30208.55 13221.58 0.01
demikernel::bind;catnap::linux::transport::bind 1.00 25330.05 11089.60 83.93
demikernel::listen 1.00 15479.84 6750.92 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 14511.16 6327.80 93.68
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnip
commit id = 22b60a8

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 29288347.20 334.64 146.09 75.64
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 29288347.20 197.17 86.00 59.01
bgc::inetstack::poll 14644173.60 890.05 389.40 34.56
bgc::inetstack::tcp::established::background 11057.14 1126.27 485.22 0.11
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11057.14 338.60 146.69 26.56
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11046.73 350.94 152.87 32.58
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11004.77 296.04 120.11 14.45
ioc::network::libos::pop 9153.63 381.98 167.36 0.02
demikernel::sgafree 8985.81 80.70 35.43 0.01
ioc::network::libos::push;inetstack::push 8762.80 2049.98 924.32 0.69
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8762.80 335.90 150.24 15.08
ioc::network::libos::push 8073.74 33374191.06 13862615.73 25.72
demikernel::push 8073.74 680.92 301.73 0.04
demikernel::sgaalloc 6762.50 123.77 53.97 0.01
demikernel::pop 6159.80 542.91 237.19 0.02
ioc::network::libos::pushto 4870.67 1284.17 591.46 0.17
ioc::network::libos::pushto;inetstack::push 4870.67 666.68 306.45 52.09
demikernel::pushto 4870.67 466.65 214.17 0.07
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 4870.67 230.29 105.90 34.49
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 4625.41 2245.28 926.93 2.04
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 2350.33 239.60 109.30 68.48
ioc::network::libos::close 49.42 5641.38 2471.30 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 34683.06 15747.23 0.01
ioc::network::libos::connect 41.86 32838.78 14696.85 0.04
ioc::network::libos::connect;catnip::runtime::transmit 41.86 6507.60 2875.49 21.48
ioc::network::libos::accept 38.21 2109.27 940.68 0.00
demikernel::async_close 32.50 649.89 259.47 0.00
demikernel::accept 21.86 1113.32 493.75 0.00
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;catnip::runtime::transmit 21.75 584.36 255.84 3.39
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.93 17777.88 8149.53 18.65
demikernel::connect 20.93 2585.82 1145.22 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::sender;catnip::runtime::transmit 20.93 529.53 231.02 11.20
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 11.00 166.11 76.05 0.01
demikernel::socket 10.30 1916.15 850.04 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger;catnip::runtime::transmit 9.00 4639.78 2067.52 39.32
bgc::inetstack::arp::background 6.43 2359.79 1024.49 0.00
bgc::inetstack::icmp::background 1.05 2995.30 1306.66 0.00
demikernel::new 1.00 1752709049.43 763554601.64 48.93
demikernel::bind 1.00 10377.56 4545.45 0.00
demikernel::listen 1.00 4770.36 2066.03 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catpowder
commit id = b2ac784

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 19113257.00 702.43 313.28 85.34
bgc::inetstack::poll 9556628.50 1661.13 741.45 53.35
bgc::inetstack::tcp::established::background 11574.46 1583.72 697.27 0.19
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11574.46 448.04 198.84 22.51
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11565.84 383.96 169.55 29.76
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11523.93 870.01 380.08 24.42
ioc::network::libos::pop 9075.37 436.03 193.50 0.04
ioc::network::libos::push;inetstack::push 8762.74 5954.56 2626.57 2.28
demikernel::sgafree 8748.91 85.12 37.55 0.01
ioc::network::libos::push 8073.71 33449723.02 13423002.81 40.42
demikernel::push 8073.71 565.68 248.94 0.06
demikernel::sgaalloc 6505.08 134.55 59.58 0.02
demikernel::pop 6034.51 588.90 262.15 0.04
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 5780.49 2313.23 1001.95 1.79
ioc::network::libos::pushto 685.67 4360.40 2191.16 2.34
ioc::network::libos::pushto;inetstack::push 685.67 3949.35 1983.62 90.57
demikernel::pushto 685.67 460.92 231.20 0.24
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 207.33 221.82 99.54 61.10
ioc::network::libos::close 47.75 6301.31 2794.68 0.10
ioc::network::libos::connect 41.86 40271.54 17894.25 0.46
bgc::inetstack::tcp::passiveopen::background 41.86 31814.25 14155.05 0.01
ioc::network::libos::accept 38.04 2188.61 969.85 0.00
demikernel::async_close 32.50 638.10 281.98 0.01
demikernel::accept 21.86 1234.80 546.04 0.00
demikernel::connect 20.93 3816.52 1655.39 0.02
demikernel::socket 10.30 2394.74 1061.66 0.00
bgc::inetstack::arp::background 6.37 2002.08 889.90 0.00
bgc::inetstack::icmp::background 1.03 2995.45 1332.08 0.00
demikernel::new 1.00 91719564.62 40922005.18 20.28
demikernel::bind 1.00 25365.50 11073.88 0.00
demikernel::listen 1.00 3009.43 1319.68 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnap
commit id = b2ac784

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 13295932.16 2050.92 898.32 32.95
demikernel::sgafree 11536.47 70.14 30.16 0.05
demikernel::sgaalloc 11284.80 119.86 51.47 0.11
ioc::network::libos::push;catnap::linux::transport::push 9066.10 671.49 295.25 4.20
ioc::network::libos::push 8800.48 16579.08 7291.55 6.89
demikernel::push 8800.48 542.63 238.21 0.17
ioc::network::libos::pop;catnap::linux::transport::pop 8022.94 387.37 168.07 3.49
ioc::network::libos::pop 7814.49 17706334.45 7521426.15 24.66
demikernel::pop 7814.49 524.36 226.43 0.12
ioc::network::libos::pushto 623.00 7450.87 3117.87 23.49
demikernel::pushto 623.00 469.36 196.43 1.49
ioc::network::libos::pushto;catnap::linux::transport::push 623.00 448.08 187.57 6.01
demikernel::async_close 32.50 854.79 347.97 0.02
ioc::network::libos::connect 24.95 4397864.96 1912335.02 27.54
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 78544.51 33698.75 2.78
demikernel::connect 24.95 1958.63 836.72 0.01
ioc::network::libos::close 18.35 23997.52 10402.00 0.07
ioc::network::libos::close;catnap::linux::transport::close 18.35 22442.11 9719.52 94.07
ioc::network::libos::accept 15.42 897361436.50 393839915.74 44.49
demikernel::accept 15.42 1459.13 639.42 0.00
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 3934.00 1698.88 0.00
demikernel::socket 9.50 153776.53 65378.90 0.31
demikernel::socket;catnap::linux::transport::socket 9.50 151456.55 64377.68 96.42
demikernel::new 1.00 262912.52 113859.18 0.14
demikernel::bind 1.00 29075.38 12637.35 0.01
demikernel::bind;catnap::linux::transport::bind 1.00 24424.38 10614.01 84.09
demikernel::listen 1.00 14491.50 6331.24 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 13494.53 5897.78 93.06
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnip
commit id = b2ac784

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 29512120.10 334.04 146.15 75.80
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 29512120.10 196.62 86.01 58.95
bgc::inetstack::poll 14756060.05 885.83 387.93 34.71
bgc::inetstack::tcp::established::background 11055.07 1093.67 472.63 0.11
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11055.07 330.76 143.22 26.88
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11044.73 342.16 149.62 32.57
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11002.77 286.46 117.73 14.39
ioc::network::libos::pop 9045.98 353.83 154.94 0.02
demikernel::sgafree 8779.98 79.00 34.55 0.01
ioc::network::libos::push;inetstack::push 8762.74 2026.40 916.60 0.68
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8762.74 333.17 149.42 15.20
ioc::network::libos::push 8073.71 33377069.62 13835061.33 25.63
demikernel::push 8073.71 695.58 307.26 0.04
demikernel::sgaalloc 6536.08 137.53 59.45 0.01
demikernel::pop 6052.00 510.43 222.95 0.02
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 4567.64 1964.57 827.88 1.91
ioc::network::libos::pushto 1234.67 1361.56 617.59 0.06
ioc::network::libos::pushto;inetstack::push 1234.67 727.91 330.49 53.58
demikernel::pushto 1234.67 474.87 215.65 0.02
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 1234.67 253.14 114.81 34.75
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 528.67 247.58 108.94 69.94
ioc::network::libos::close 49.33 5809.98 2558.60 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 34703.59 15653.52 0.00
ioc::network::libos::connect 41.86 29738.69 13251.63 0.04
ioc::network::libos::connect;catnip::runtime::transmit 41.86 6567.49 2978.26 23.65
ioc::network::libos::accept 38.39 2213.77 986.81 0.00
demikernel::async_close 32.50 619.99 251.03 0.00
demikernel::accept 21.86 1136.69 503.12 0.00
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;catnip::runtime::transmit 21.02 664.34 291.22 3.58
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.93 17856.91 8063.62 18.95
demikernel::connect 20.93 2558.44 1150.85 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::sender;catnip::runtime::transmit 20.93 549.97 241.42 11.61
demikernel::socket 10.30 2798.69 1212.08 0.00
bgc::inetstack::arp::background 6.43 2335.99 1016.10 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger;catnip::runtime::transmit 5.00 2256.11 976.23 19.37
bgc::inetstack::icmp::background 1.05 2931.92 1282.48 0.00
demikernel::new 1.00 1752758007.17 766126136.52 48.85
demikernel::bind 1.00 10370.62 4552.49 0.00
demikernel::listen 1.00 4044.93 1799.91 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 1.00 256.00 113.12 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catpowder
commit id = 6131e87

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 19088877.10 699.89 300.22 86.12
bgc::inetstack::poll 9544438.55 1630.41 699.38 53.66
bgc::inetstack::tcp::established::background 11053.00 1622.43 693.74 0.19
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11053.00 465.28 197.35 23.01
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11044.61 392.47 168.25 29.58
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11002.71 889.71 383.36 24.40
ioc::network::libos::pop 9029.76 454.65 196.08 0.04
ioc::network::libos::push;inetstack::push 8762.80 6405.82 2743.82 2.13
demikernel::sgafree 8746.00 114.23 47.92 0.01
ioc::network::libos::push 8073.74 33527018.20 14776552.38 40.94
demikernel::push 8073.74 651.46 279.70 0.05
demikernel::sgaalloc 6499.33 148.67 63.94 0.02
demikernel::pop 6034.65 617.07 264.20 0.04
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 5278.02 2564.07 1094.93 1.26
ioc::network::libos::pushto 634.00 4566.58 2047.31 3.07
ioc::network::libos::pushto;inetstack::push 634.00 4107.09 1841.34 89.96
demikernel::pushto 634.00 525.57 235.41 0.36
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 196.33 262.38 116.76 64.49
ioc::network::libos::close 47.53 6755.69 2920.31 0.10
ioc::network::libos::connect 41.86 40906.51 17703.83 0.41
bgc::inetstack::tcp::passiveopen::background 41.86 33528.25 14259.56 0.01
ioc::network::libos::accept 38.21 2107.93 897.31 0.00
demikernel::async_close 32.50 687.53 291.94 0.01
demikernel::accept 21.86 1253.94 532.35 0.00
demikernel::connect 20.93 4043.69 1743.81 0.02
demikernel::socket 10.30 2198.39 938.86 0.00
bgc::inetstack::arp::background 6.38 2198.79 938.65 0.00
bgc::inetstack::icmp::background 1.03 3163.18 1360.68 0.00
demikernel::new 1.00 92691885.65 39701993.80 19.64
demikernel::bind 1.00 30022.94 12767.58 0.00
demikernel::listen 1.00 3138.07 1334.66 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnap
commit id = 6131e87

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 13347728.11 2031.95 878.82 32.83
demikernel::sgafree 11535.57 71.70 30.44 0.05
demikernel::sgaalloc 11282.50 117.74 50.45 0.11
ioc::network::libos::push;catnap::linux::transport::push 9066.10 666.55 291.61 4.31
ioc::network::libos::push 8800.48 16244.36 7079.10 6.72
demikernel::push 8800.48 549.46 239.52 0.16
ioc::network::libos::pop;catnap::linux::transport::pop 8022.14 377.67 161.85 3.80
ioc::network::libos::pop 7813.71 18249743.43 7927542.86 24.92
demikernel::pop 7813.71 513.51 219.39 0.11
ioc::network::libos::pushto 588.00 8354.26 3658.17 23.34
demikernel::pushto 588.00 471.40 206.57 1.47
ioc::network::libos::pushto;catnap::linux::transport::push 588.00 467.47 204.86 5.73
demikernel::async_close 32.50 845.81 342.05 0.02
ioc::network::libos::connect 24.95 7167060.36 3031602.76 27.39
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 77203.97 32842.30 2.79
demikernel::connect 24.95 1971.44 842.05 0.01
ioc::network::libos::close 18.35 23647.57 10181.66 0.07
ioc::network::libos::close;catnap::linux::transport::close 18.35 22497.54 9684.08 95.17
ioc::network::libos::accept 15.42 895083989.52 387819017.11 44.71
demikernel::accept 15.42 1482.59 644.77 0.00
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 5356.36 2290.31 0.00
demikernel::socket 9.50 156069.80 66824.66 0.32
demikernel::socket;catnap::linux::transport::socket 9.50 153677.45 65796.57 96.43
demikernel::new 1.00 264732.55 113685.00 0.09
demikernel::bind 1.00 29977.82 12938.78 0.01
demikernel::bind;catnap::linux::transport::bind 1.00 25019.58 10805.93 83.74
demikernel::listen 1.00 15877.47 6853.94 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 14790.18 6386.16 93.14
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnip
commit id = 6131e87

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 29531996.07 336.31 145.52 76.14
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 29531996.07 197.34 85.42 58.77
bgc::inetstack::poll 14765998.03 888.37 384.69 34.67
bgc::inetstack::tcp::established::background 11058.07 1071.30 453.88 0.11
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11058.07 312.15 131.82 26.81
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11047.75 339.09 145.65 32.26
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11005.70 287.14 115.60 14.40
ioc::network::libos::pop 9053.94 356.69 154.22 0.02
demikernel::sgafree 8884.62 77.83 33.84 0.01
ioc::network::libos::push;inetstack::push 8762.80 1994.05 888.10 0.69
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8762.80 316.97 140.84 15.47
ioc::network::libos::push 8073.74 33386259.99 13987941.60 26.12
demikernel::push 8073.74 679.90 296.93 0.04
demikernel::sgaalloc 6751.71 120.06 52.20 0.01
demikernel::pop 6059.51 534.30 230.20 0.02
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 4562.29 2332.72 953.45 1.88
ioc::network::libos::pushto 3083.00 1611.42 768.39 0.17
ioc::network::libos::pushto;inetstack::push 3083.00 1028.04 484.75 60.80
demikernel::pushto 3083.00 637.34 304.20 0.07
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 3083.00 304.79 144.70 31.17
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 645.00 295.85 141.53 71.07
ioc::network::libos::close 49.50 6005.96 2604.05 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 34698.82 15152.30 0.00
ioc::network::libos::connect 41.86 31197.13 13486.30 0.04
ioc::network::libos::connect;catnip::runtime::transmit 41.86 6792.31 2999.34 22.48
ioc::network::libos::accept 38.00 2049.11 887.36 0.00
demikernel::async_close 32.50 598.65 234.93 0.00
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;catnip::runtime::transmit 22.21 734.43 319.00 3.62
demikernel::accept 21.86 1387.87 607.84 0.00
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.93 17127.50 7533.98 18.35
demikernel::connect 20.93 2763.94 1211.96 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::sender;catnip::runtime::transmit 20.93 584.48 252.86 11.57
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 16.00 266.31 117.33 0.01
demikernel::socket 10.30 1725.71 753.76 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger;catnip::runtime::transmit 9.00 2326.22 955.07 31.27
bgc::inetstack::arp::background 6.43 2246.11 969.39 0.00
bgc::inetstack::icmp::background 1.05 3013.05 1296.45 0.00
demikernel::new 1.00 1750752063.68 756511817.75 48.57
demikernel::bind 1.00 10622.31 4616.75 0.00
demikernel::listen 1.00 3381.64 1473.63 0.00
demikernel::close 0.00 nan nan 0.00

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.

Copy link

libos = catpowder
commit id = e0384c4

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 19071339.13 703.82 311.69 85.53
bgc::inetstack::poll 9535669.57 1655.64 732.69 53.89
bgc::inetstack::tcp::established::background 11357.43 1664.78 762.40 0.19
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11357.43 517.64 252.74 23.42
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11348.79 389.79 173.04 29.56
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11306.89 862.40 380.85 24.11
ioc::network::libos::pop 9178.43 436.27 198.02 0.04
demikernel::sgafree 8764.15 102.68 46.79 0.01
ioc::network::libos::push;inetstack::push 8762.80 5983.55 2661.18 2.14
ioc::network::libos::push 8073.74 33465338.46 15201753.71 40.30
demikernel::push 8073.74 582.09 256.95 0.05
demikernel::sgaalloc 6535.54 134.32 60.37 0.02
demikernel::pop 6035.49 576.81 262.69 0.04
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 5573.93 2347.61 1037.19 1.52
ioc::network::libos::pushto 954.67 4301.51 1824.34 2.99
ioc::network::libos::pushto;inetstack::push 954.67 3830.88 1625.09 89.02
demikernel::pushto 954.67 505.92 214.03 0.34
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 219.67 216.48 96.60 61.59
ioc::network::libos::close 47.68 5942.87 2670.93 0.10
ioc::network::libos::connect 41.86 35236.17 15700.91 0.50
bgc::inetstack::tcp::passiveopen::background 41.86 32788.85 14621.24 0.01
ioc::network::libos::accept 38.07 2122.22 943.03 0.00
demikernel::async_close 32.50 648.36 274.81 0.01
demikernel::accept 21.86 1199.88 529.35 0.00
demikernel::connect 20.93 3853.85 1753.65 0.02
demikernel::socket 10.30 1576.58 702.09 0.00
bgc::inetstack::arp::background 6.38 1902.07 841.89 0.00
bgc::inetstack::icmp::background 1.03 3186.00 1416.82 0.00
demikernel::new 1.00 90728952.27 40456050.82 19.77
demikernel::bind 1.00 25548.94 11056.41 0.00
demikernel::listen 1.00 3914.43 1773.34 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnap
commit id = e0384c4

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 13343241.82 2061.87 899.52 33.41
demikernel::sgafree 11536.11 72.68 30.94 0.05
demikernel::sgaalloc 11283.28 130.80 55.68 0.13
ioc::network::libos::push;catnap::linux::transport::push 9066.12 727.31 313.99 4.45
ioc::network::libos::push 8800.49 16616.90 7226.42 7.04
demikernel::push 8800.49 520.75 224.88 0.16
ioc::network::libos::pop;catnap::linux::transport::pop 8023.94 382.29 164.51 2.67
ioc::network::libos::pop 7815.46 17014117.42 7604717.30 24.53
demikernel::pop 7815.46 528.02 225.83 0.12
ioc::network::libos::pushto 608.67 7370.90 3186.46 23.22
demikernel::pushto 608.67 524.88 226.66 1.70
ioc::network::libos::pushto;catnap::linux::transport::push 608.67 470.19 202.96 6.38
demikernel::async_close 32.50 998.60 413.91 0.01
ioc::network::libos::connect 24.95 6700315.61 2845400.85 26.90
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 75519.44 32365.65 2.34
demikernel::connect 24.95 1989.74 852.33 0.01
ioc::network::libos::close 18.35 24516.48 10544.83 0.05
ioc::network::libos::close;catnap::linux::transport::close 18.35 23130.52 9946.71 94.52
demikernel::accept 15.42 1524.36 662.68 0.00
ioc::network::libos::accept 15.39 907414846.10 392564000.13 44.32
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 5104.51 2246.53 0.00
demikernel::socket 9.50 156011.34 66335.02 0.27
demikernel::socket;catnap::linux::transport::socket 9.50 153535.40 65266.49 96.38
demikernel::new 1.00 269181.92 115589.06 0.08
demikernel::bind 1.00 31549.80 13593.42 0.01
demikernel::bind;catnap::linux::transport::bind 1.00 25774.78 11108.26 82.41
demikernel::listen 1.00 15940.87 6888.55 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 14588.50 6305.78 92.60
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnip
commit id = e0384c4

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 29302269.27 338.81 149.59 76.34
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 29302269.27 197.57 87.13 58.40
bgc::inetstack::poll 14651134.63 892.39 394.71 34.70
bgc::inetstack::tcp::established::background 11094.48 1105.72 479.76 0.11
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11094.48 332.34 142.81 26.14
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11084.11 343.46 151.45 32.42
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11042.14 296.65 122.80 14.67
ioc::network::libos::pop 9062.88 368.77 162.59 0.02
demikernel::sgafree 8776.77 84.42 37.16 0.01
ioc::network::libos::push;inetstack::push 8762.74 1975.87 897.43 0.68
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8762.74 318.58 143.65 15.31
ioc::network::libos::push 8073.71 33359544.27 13822941.33 25.53
demikernel::push 8073.71 708.48 314.00 0.04
demikernel::sgaalloc 6531.71 145.03 63.81 0.01
demikernel::pop 6050.90 554.50 242.72 0.02
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 4595.49 1960.71 829.84 2.04
ioc::network::libos::pushto 1178.00 1605.01 716.40 0.05
ioc::network::libos::pushto;inetstack::push 1178.00 1013.62 452.62 60.38
demikernel::pushto 1178.00 662.74 295.89 0.02
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 1178.00 301.05 134.35 32.04
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 497.00 306.23 136.81 72.02
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;catnip::runtime::transmit 59.18 652.42 287.31 3.66
ioc::network::libos::close 49.45 5613.55 2455.97 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 37545.16 16613.36 0.01
ioc::network::libos::connect 41.86 31139.22 13907.50 0.04
ioc::network::libos::connect;catnip::runtime::transmit 41.86 5917.11 2657.36 21.11
ioc::network::libos::accept 38.46 2101.79 933.46 0.00
demikernel::async_close 32.50 721.35 286.25 0.00
demikernel::accept 21.86 1112.10 493.42 0.00
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.96 19160.96 8503.48 18.82
demikernel::connect 20.93 2730.84 1214.00 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::sender;catnip::runtime::transmit 20.93 637.23 282.39 11.94
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 11.50 300.57 141.86 0.01
demikernel::socket 10.30 1546.27 685.46 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger;catnip::runtime::transmit 9.00 4183.33 1683.21 37.46
bgc::inetstack::arp::background 6.43 2410.97 1067.64 0.00
bgc::inetstack::icmp::background 1.05 2966.43 1304.25 0.00
demikernel::new 1.00 1757594393.37 774039583.70 48.92
demikernel::bind 1.00 11128.88 4921.75 0.00
demikernel::listen 1.00 3664.86 1570.83 0.00
demikernel::close 0.00 nan nan 0.00

@anandbonde anandbonde merged commit 05210d8 into dev Nov 28, 2024
14 checks passed
@anandbonde anandbonde deleted the wip-irene-size branch November 28, 2024 03:26
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] Check Maximum Sizes TCP Can Handle
2 participants