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: Move consts, types and config to inetstack #1471

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

iyzhang
Copy link
Contributor

@iyzhang iyzhang commented Nov 26, 2024

This PR reorganizes all consts, types and config options that are specific to the inetstack from the runtime to the inetstack.

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

libos = catpowder
commit id = 3fb9c89

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 18925720.47 709.36 307.83 85.85
bgc::inetstack::poll 9462860.23 1662.90 721.97 53.59
bgc::inetstack::tcp::established::background 11323.36 1713.10 735.19 0.20
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11323.36 523.62 221.90 23.17
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11314.88 383.64 166.51 28.85
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11273.07 970.60 416.56 24.95
ioc::network::libos::pop 9105.25 411.65 177.86 0.04
ioc::network::libos::push;inetstack::push 8762.80 5954.27 2603.80 2.20
demikernel::sgafree 8754.77 115.75 49.20 0.01
ioc::network::libos::push 8073.74 33450115.50 14105750.39 40.60
demikernel::push 8073.74 589.29 256.82 0.06
demikernel::sgaalloc 6510.08 156.87 68.20 0.03
demikernel::pop 6038.27 583.95 251.72 0.04
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 5539.39 2461.45 1059.16 1.52
ioc::network::libos::pushto 789.00 4416.51 1822.44 2.11
ioc::network::libos::pushto;inetstack::push 789.00 3938.51 1626.51 89.24
demikernel::pushto 789.00 504.85 207.78 0.24
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 274.67 205.00 86.94 61.25
ioc::network::libos::close 47.57 6390.37 2774.45 0.10
ioc::network::libos::connect 41.86 36095.69 15785.00 0.47
bgc::inetstack::tcp::passiveopen::background 41.86 31351.27 13653.88 0.01
ioc::network::libos::accept 38.18 2083.47 907.45 0.00
demikernel::async_close 32.50 700.10 300.04 0.01
demikernel::accept 21.86 1708.51 729.40 0.00
demikernel::connect 20.93 4114.63 1807.90 0.02
demikernel::socket 10.30 3175.61 1346.46 0.00
bgc::inetstack::arp::background 6.38 2006.02 866.98 0.00
bgc::inetstack::icmp::background 1.03 3515.83 1519.73 0.00
demikernel::new 1.00 95421236.48 41324553.49 19.91
demikernel::bind 1.00 26661.69 11469.32 0.00
demikernel::listen 1.00 3966.00 1731.73 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnap
commit id = 3fb9c89

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 13272209.98 1779.52 792.32 32.93
demikernel::sgafree 11538.11 72.07 31.17 0.05
demikernel::sgaalloc 11287.60 132.19 56.86 0.11
ioc::network::libos::push;catnap::linux::transport::push 9066.12 695.18 309.12 4.32
ioc::network::libos::push 8800.49 16849.98 7483.95 6.86
demikernel::push 8800.49 553.09 242.92 0.17
ioc::network::libos::pop;catnap::linux::transport::pop 8023.41 401.36 175.01 3.86
ioc::network::libos::pop 7814.95 14897692.14 6981791.92 24.41
demikernel::pop 7814.95 516.35 223.83 0.12
ioc::network::libos::pushto 686.67 9165.10 4126.94 23.96
demikernel::pushto 686.67 612.53 275.39 1.84
ioc::network::libos::pushto;catnap::linux::transport::push 686.67 551.23 247.66 5.92
demikernel::async_close 32.50 851.77 339.38 0.01
ioc::network::libos::connect 24.95 5707608.32 2500150.58 28.74
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 75300.71 32307.17 2.48
demikernel::connect 24.95 2116.44 909.54 0.01
ioc::network::libos::close 18.35 23904.59 10400.13 0.06
ioc::network::libos::close;catnap::linux::transport::close 18.35 22633.93 9841.03 94.84
demikernel::accept 15.42 1438.90 632.14 0.00
ioc::network::libos::accept 15.41 893645340.78 386798861.37 44.32
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 4958.21 2183.33 0.00
demikernel::socket 9.50 151927.01 65972.80 0.28
demikernel::socket;catnap::linux::transport::socket 9.50 149643.26 64975.91 96.45
demikernel::new 1.00 261626.18 113950.66 0.12
demikernel::bind 1.00 29843.72 13050.29 0.01
demikernel::bind;catnap::linux::transport::bind 1.00 24438.25 10691.00 82.26
demikernel::listen 1.00 14953.79 6547.95 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 13956.61 6112.39 93.23
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnip
commit id = 3fb9c89

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 30133729.77 341.08 148.43 76.35
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 30133729.77 198.27 86.22 58.25
bgc::inetstack::poll 15066864.88 899.34 391.92 35.78
bgc::inetstack::tcp::established::background 11057.02 1087.52 466.61 0.11
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11057.02 312.14 133.09 26.53
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11046.46 343.49 149.42 32.48
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11004.25 300.97 123.76 14.55
ioc::network::libos::pop 9047.18 361.08 156.95 0.02
demikernel::sgafree 8780.83 82.60 35.93 0.01
ioc::network::libos::push;inetstack::push 8762.80 2003.26 903.99 0.70
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8762.80 310.37 139.87 15.04
ioc::network::libos::push 8073.74 33358772.43 14725410.45 25.50
demikernel::push 8073.74 660.10 292.80 0.04
demikernel::sgaalloc 6536.17 151.10 67.27 0.01
demikernel::pop 6053.29 534.35 230.18 0.02
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 4569.39 2359.15 999.08 2.10
ioc::network::libos::pushto 1249.33 1330.76 606.83 0.06
ioc::network::libos::pushto;inetstack::push 1249.33 729.83 332.56 55.13
demikernel::pushto 1249.33 493.63 223.76 0.02
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 1249.33 258.42 117.49 35.38
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 540.33 243.79 110.83 70.96
ioc::network::libos::close 49.42 5557.75 2449.39 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 33721.03 14659.91 0.00
ioc::network::libos::connect 41.86 32516.65 14654.27 0.04
ioc::network::libos::connect;catnip::runtime::transmit 41.86 6426.60 2956.75 22.25
ioc::network::libos::accept 38.07 2084.84 900.15 0.00
demikernel::async_close 32.50 679.88 277.91 0.00
demikernel::accept 21.86 1063.18 456.47 0.00
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;catnip::runtime::transmit 21.82 644.61 282.41 3.36
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.93 17440.85 7540.32 18.68
demikernel::connect 20.93 2611.28 1185.89 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::sender;catnip::runtime::transmit 20.93 638.33 281.79 11.75
demikernel::socket 10.30 2835.38 1301.86 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger;catnip::runtime::transmit 7.33 1609.06 663.33 16.64
bgc::inetstack::arp::background 6.47 2316.18 998.46 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 5.00 1248.37 531.01 1.73
bgc::inetstack::icmp::background 1.05 3041.93 1323.37 0.00
demikernel::new 1.00 1756937661.68 763639626.39 47.86
demikernel::bind 1.00 10809.44 4667.73 0.00
demikernel::listen 1.00 2596.43 1109.28 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.

@anandbonde anandbonde force-pushed the irene-inetstack-usize branch from 3fb9c89 to 6552edf Compare November 27, 2024 01:13
Copy link

libos = catpowder
commit id = 6552edf

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 18971888.77 692.71 306.05 85.81
bgc::inetstack::poll 9485944.38 1626.60 719.19 53.36
bgc::inetstack::tcp::established::background 11637.91 1598.88 706.08 0.19
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11637.91 490.13 218.41 23.28
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11629.32 378.90 167.15 29.41
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11587.43 836.24 363.24 24.31
ioc::network::libos::pop 9227.27 453.41 200.60 0.04
demikernel::sgafree 8814.89 102.36 45.61 0.02
ioc::network::libos::push;inetstack::push 8762.80 6085.07 2689.97 2.16
ioc::network::libos::push 8073.74 33512250.91 13445060.54 40.87
demikernel::push 8073.74 607.59 266.49 0.06
demikernel::sgaalloc 6603.42 181.63 77.56 0.04
demikernel::pop 6057.39 650.62 289.30 0.04
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 5855.61 2540.77 1110.47 1.55
ioc::network::libos::pushto 1851.00 4140.05 1731.46 6.54
ioc::network::libos::pushto;inetstack::push 1851.00 3724.56 1557.70 89.96
demikernel::pushto 1851.00 468.83 196.11 0.73
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 591.00 197.35 84.22 61.58
ioc::network::libos::close 47.73 6201.69 2712.60 0.09
ioc::network::libos::connect 41.86 33917.70 14875.03 0.43
bgc::inetstack::tcp::passiveopen::background 41.86 31806.88 14233.90 0.01
ioc::network::libos::accept 38.43 2071.64 926.62 0.00
demikernel::async_close 32.50 629.38 267.67 0.01
demikernel::accept 21.86 1151.23 516.76 0.00
demikernel::connect 20.93 3978.40 1781.63 0.02
demikernel::socket 10.30 1718.24 813.64 0.00
bgc::inetstack::arp::background 6.37 1847.94 826.01 0.00
bgc::inetstack::icmp::background 1.03 3536.93 1554.26 0.00
demikernel::new 1.00 92666973.10 40943753.62 19.78
demikernel::bind 1.00 25871.69 11381.04 0.00
demikernel::listen 1.00 3013.93 1354.48 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnap
commit id = 6552edf

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 13370227.32 1897.36 820.84 33.30
demikernel::sgafree 11535.23 73.74 31.37 0.05
demikernel::sgaalloc 11282.32 126.31 53.81 0.12
ioc::network::libos::push;catnap::linux::transport::push 9066.10 664.04 290.55 4.13
ioc::network::libos::push 8800.48 16701.80 7286.76 7.32
demikernel::push 8800.48 522.52 226.74 0.17
ioc::network::libos::pop;catnap::linux::transport::pop 8023.01 430.29 184.68 4.46
ioc::network::libos::pop 7814.56 19897915.10 8769921.07 24.57
demikernel::pop 7814.56 538.29 229.99 0.12
ioc::network::libos::pushto 574.67 7467.80 3232.96 23.28
demikernel::pushto 574.67 443.43 191.95 1.37
ioc::network::libos::pushto;catnap::linux::transport::push 574.67 433.48 187.79 5.81
demikernel::async_close 32.50 942.93 368.57 0.01
ioc::network::libos::connect 24.95 5200942.79 2193173.14 25.91
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 76602.77 32274.34 2.39
demikernel::connect 24.95 2039.10 861.23 0.01
ioc::network::libos::close 18.35 24446.97 10481.78 0.07
ioc::network::libos::close;catnap::linux::transport::close 18.35 23031.51 9873.59 94.56
demikernel::accept 15.42 1401.57 605.35 0.00
ioc::network::libos::accept 15.39 899742770.93 385876949.51 44.42
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 6596.25 2959.17 0.00
demikernel::socket 9.50 155189.06 65934.07 0.32
demikernel::socket;catnap::linux::transport::socket 9.50 152838.65 64924.07 96.53
demikernel::new 1.00 267276.60 114454.95 0.14
demikernel::bind 1.00 29872.12 12882.97 0.01
demikernel::bind;catnap::linux::transport::bind 1.00 25114.15 10832.91 83.79
demikernel::listen 1.00 15303.92 6596.79 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 14265.55 6150.83 93.21
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnip
commit id = 6552edf

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 28643849.40 339.75 146.56 76.00
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 28643849.40 197.73 85.23 58.36
bgc::inetstack::poll 14321924.70 903.17 390.31 35.21
bgc::inetstack::tcp::established::background 11746.23 1090.20 463.59 0.11
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11746.23 319.58 135.63 26.49
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11735.86 344.34 148.49 32.33
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11693.75 299.59 120.25 14.68
ioc::network::libos::pop 9410.41 353.85 153.04 0.02
demikernel::sgafree 8817.92 77.07 33.41 0.01
ioc::network::libos::push;inetstack::push 8762.80 1969.60 885.74 0.69
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8762.80 319.28 142.70 15.52
ioc::network::libos::push 8073.74 33382401.78 13779950.61 25.18
demikernel::push 8073.74 680.18 298.53 0.04
demikernel::sgaalloc 6614.88 128.20 55.32 0.01
demikernel::pop 6054.80 549.23 235.38 0.03
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 4978.93 2044.98 841.07 2.48
ioc::network::libos::pushto 1904.67 1333.26 580.29 0.10
ioc::network::libos::pushto;inetstack::push 1904.67 802.62 348.61 59.44
demikernel::pushto 1904.67 469.35 204.81 0.04
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 1904.67 253.18 110.34 32.50
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;catnip::runtime::transmit 708.48 581.97 252.55 3.90
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 558.00 250.49 107.94 71.39
ioc::network::libos::close 49.53 5896.62 2547.61 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 34974.98 15593.11 0.01
ioc::network::libos::connect 41.86 30057.74 13086.67 0.04
ioc::network::libos::connect;catnip::runtime::transmit 41.86 6259.55 2740.69 22.68
ioc::network::libos::accept 38.11 2229.96 991.61 0.00
demikernel::async_close 32.50 632.70 248.72 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 23.67 190.26 87.33 0.02
demikernel::accept 21.86 1106.87 486.98 0.00
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.93 18248.04 8165.19 19.11
demikernel::connect 20.93 2561.87 1121.62 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::sender;catnip::runtime::transmit 20.93 581.56 251.85 11.26
demikernel::socket 10.30 2533.55 1075.41 0.00
bgc::inetstack::arp::background 6.43 2345.65 1009.02 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger;catnip::runtime::transmit 5.00 2170.56 887.26 20.46
bgc::inetstack::icmp::background 1.05 2917.50 1256.75 0.00
demikernel::new 1.00 1746658284.53 752243702.57 48.63
demikernel::bind 1.00 11408.31 4956.66 0.00
demikernel::listen 1.00 3172.93 1353.50 0.00
demikernel::close 0.00 nan nan 0.00

@iyzhang iyzhang force-pushed the irene-inetstack-usize branch from 6552edf to c7951a6 Compare November 27, 2024 15:35
@iyzhang iyzhang force-pushed the irene-inetstack-usize branch from c7951a6 to dcc470e Compare November 27, 2024 15:52
Copy link

libos = catpowder
commit id = dcc470e

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 19058974.50 701.35 305.48 85.74
bgc::inetstack::poll 9529487.25 1651.49 718.64 54.24
bgc::inetstack::tcp::established::background 11677.39 1677.15 728.22 0.20
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11677.39 507.79 217.67 23.25
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11668.96 391.03 171.16 29.02
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11627.09 873.60 380.06 24.24
ioc::network::libos::pop 9251.47 446.32 194.94 0.04
ioc::network::libos::push;inetstack::push 8762.80 6466.97 2860.07 2.41
demikernel::sgafree 8749.72 106.70 46.44 0.01
ioc::network::libos::push 8073.74 33486759.77 15021232.04 40.69
demikernel::push 8073.74 637.19 280.72 0.06
demikernel::sgaalloc 6504.42 147.25 63.94 0.02
demikernel::pop 6036.02 761.82 331.98 0.04
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 5873.31 2355.00 1020.83 1.64
ioc::network::libos::pushto 699.67 4486.98 1812.11 2.77
ioc::network::libos::pushto;inetstack::push 699.67 4051.86 1636.88 90.30
demikernel::pushto 699.67 485.54 196.06 0.30
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 209.00 193.24 82.43 60.74
ioc::network::libos::close 47.53 6184.69 2707.26 0.10
ioc::network::libos::connect 41.86 34340.85 14960.30 0.46
bgc::inetstack::tcp::passiveopen::background 41.86 33319.17 15031.61 0.01
ioc::network::libos::accept 38.43 2260.27 1009.89 0.00
demikernel::async_close 32.50 661.05 288.33 0.01
demikernel::accept 21.86 1262.95 563.28 0.00
demikernel::connect 20.93 3702.25 1645.72 0.02
demikernel::socket 10.30 2156.21 936.16 0.00
bgc::inetstack::arp::background 6.27 1957.14 861.68 0.00
bgc::inetstack::icmp::background 1.03 3218.23 1407.80 0.00
demikernel::new 1.00 88266703.45 38549595.82 19.18
demikernel::bind 1.00 25505.88 11107.27 0.00
demikernel::listen 1.00 3489.50 1553.17 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnap
commit id = fc12467

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 13333952.42 1924.94 828.28 33.14
demikernel::sgafree 11534.84 72.24 30.97 0.05
demikernel::sgaalloc 11281.52 124.27 53.11 0.11
ioc::network::libos::push;catnap::linux::transport::push 9066.12 635.65 278.74 3.98
ioc::network::libos::push 8800.49 16568.19 7227.82 7.22
demikernel::push 8800.49 521.76 227.01 0.17
ioc::network::libos::pop;catnap::linux::transport::pop 8022.66 390.64 168.46 3.98
ioc::network::libos::pop 7814.22 20797041.72 9175573.14 24.11
demikernel::pop 7814.22 544.11 234.33 0.12
ioc::network::libos::pushto 559.00 8656.41 3786.75 23.82
ioc::network::libos::pushto;catnap::linux::transport::push 559.00 577.17 252.45 6.61
demikernel::pushto 559.00 565.99 247.82 1.63
demikernel::async_close 32.50 908.47 369.95 0.01
ioc::network::libos::connect 24.95 5562366.24 2378560.91 27.59
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 74479.09 31724.02 2.45
demikernel::connect 24.95 2005.88 860.85 0.01
ioc::network::libos::close 18.35 24966.99 10799.92 0.07
ioc::network::libos::close;catnap::linux::transport::close 18.35 23800.05 10293.04 95.30
demikernel::accept 15.42 1498.03 652.65 0.00
ioc::network::libos::accept 15.39 897252412.17 391290683.14 44.63
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 5850.86 2524.42 0.00
demikernel::socket 9.50 155075.37 66966.71 0.30
demikernel::socket;catnap::linux::transport::socket 9.50 152898.00 66021.08 96.68
demikernel::new 1.00 260608.11 112365.12 0.09
demikernel::bind 1.00 29238.38 12730.26 0.01
demikernel::bind;catnap::linux::transport::bind 1.00 24394.10 10623.24 83.32
demikernel::listen 1.00 14623.39 6383.90 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 13682.00 5973.61 93.51
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnip
commit id = fc12467

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 29913730.17 338.81 146.98 76.23
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 29913730.17 197.37 85.61 58.40
bgc::inetstack::poll 14956865.08 896.13 389.19 34.90
bgc::inetstack::tcp::established::background 11361.43 1095.91 468.81 0.11
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11361.43 326.47 138.91 26.69
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11351.05 342.24 148.45 32.30
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11308.96 290.09 119.05 14.66
ioc::network::libos::pop 9206.65 369.17 159.39 0.02
demikernel::sgafree 8778.15 81.47 35.38 0.01
ioc::network::libos::push;inetstack::push 8762.80 2102.23 941.40 0.69
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8762.80 338.70 151.42 15.20
ioc::network::libos::push 8073.74 33388471.97 14844248.47 25.73
demikernel::push 8073.74 714.12 315.65 0.04
demikernel::sgaalloc 6533.21 151.56 66.57 0.01
demikernel::pop 6051.82 546.38 234.86 0.03
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 4750.08 2250.30 958.58 2.18
ioc::network::libos::pushto 1202.00 1345.00 663.19 0.05
ioc::network::libos::pushto;inetstack::push 1202.00 720.55 353.74 53.77
demikernel::pushto 1202.00 488.54 238.50 0.02
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 1202.00 263.87 130.74 36.40
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 538.33 244.45 117.32 71.09
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;catnip::runtime::transmit 325.93 616.87 266.16 3.89
ioc::network::libos::close 49.50 6028.28 2634.55 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 34652.21 15105.86 0.01
ioc::network::libos::connect 41.86 31863.85 13951.67 0.04
ioc::network::libos::connect;catnip::runtime::transmit 41.86 6596.32 2962.35 21.64
ioc::network::libos::accept 37.50 2079.57 901.51 0.00
demikernel::async_close 32.50 653.04 267.80 0.00
demikernel::accept 21.86 1379.16 597.68 0.00
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.93 17857.61 7808.40 18.68
demikernel::connect 20.93 2583.81 1143.83 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::sender;catnip::runtime::transmit 20.93 572.93 247.94 11.73
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 10.33 352.11 163.12 0.01
demikernel::socket 10.30 1916.22 840.69 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger;catnip::runtime::transmit 9.00 3914.89 1610.39 39.71
bgc::inetstack::arp::background 6.43 2254.59 979.06 0.00
bgc::inetstack::icmp::background 1.05 2755.22 1197.75 0.00
demikernel::new 1.00 1748686486.77 757964867.08 48.59
demikernel::bind 1.00 11088.44 4821.35 0.00
demikernel::listen 1.00 3869.79 1674.06 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catpowder
commit id = fc12467

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 18864820.67 700.29 302.80 85.90
bgc::inetstack::poll 9432410.33 1638.31 708.55 54.48
bgc::inetstack::tcp::established::background 11178.09 1618.30 695.72 0.20
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11178.09 485.54 205.42 23.44
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11169.73 386.89 167.97 29.32
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11127.79 857.90 370.98 24.00
ioc::network::libos::pop 9053.49 550.04 238.40 0.06
ioc::network::libos::push;inetstack::push 8762.74 6237.30 2695.27 2.25
demikernel::sgafree 8749.58 116.28 48.06 0.01
ioc::network::libos::push 8073.71 33450833.89 13021860.75 40.82
demikernel::push 8073.71 660.64 286.99 0.07
demikernel::sgaalloc 6504.04 204.13 88.35 0.03
demikernel::pop 6035.84 680.26 293.21 0.04
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 5397.42 2568.11 1105.53 1.40
ioc::network::libos::pushto 697.67 4230.27 1757.34 2.15
ioc::network::libos::pushto;inetstack::push 697.67 3808.14 1582.19 90.01
demikernel::pushto 697.67 488.05 202.58 0.26
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 216.67 210.51 84.50 61.39
ioc::network::libos::close 47.52 6481.07 2789.67 0.10
ioc::network::libos::connect 41.86 38382.75 16799.80 0.53
bgc::inetstack::tcp::passiveopen::background 41.86 33722.62 14630.46 0.01
ioc::network::libos::accept 38.75 2087.36 911.77 0.00
demikernel::async_close 32.50 696.41 300.74 0.01
demikernel::accept 21.86 1195.46 519.47 0.00
demikernel::connect 20.93 4152.52 1777.64 0.02
demikernel::socket 10.30 1589.58 683.55 0.00
bgc::inetstack::arp::background 6.37 1895.31 818.82 0.00
bgc::inetstack::icmp::background 1.03 3270.73 1416.94 0.00
demikernel::new 1.00 88620581.68 38280381.16 18.85
demikernel::bind 1.00 26314.31 11299.78 0.00
demikernel::listen 1.00 3064.50 1327.91 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnap
commit id = fc12467

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::catnap::transport::epoll 13450210.31 1987.36 866.92 31.97
demikernel::sgafree 11542.57 73.72 32.71 0.04
demikernel::sgaalloc 11301.88 131.93 57.46 0.09
ioc::network::libos::push;catnap::linux::transport::push 9066.10 700.18 305.92 4.28
ioc::network::libos::push 8800.48 16816.93 7382.02 5.83
demikernel::push 8800.48 540.95 236.29 0.13
ioc::network::libos::pop;catnap::linux::transport::pop 8024.54 416.58 187.36 1.07
ioc::network::libos::pop 7816.05 16563076.89 6706551.12 27.55
demikernel::pop 7816.05 554.52 245.75 0.09
ioc::network::libos::pushto 861.00 7793.10 3246.16 23.83
ioc::network::libos::pushto;catnap::linux::transport::push 861.00 490.04 203.88 6.25
demikernel::pushto 861.00 483.71 201.13 1.44
demikernel::async_close 32.50 1071.22 421.83 0.01
ioc::network::libos::connect 24.95 5073200.05 2190414.79 25.25
ioc::network::libos::connect;catnap::linux::transport::connect 24.95 89983.82 39305.99 3.05
demikernel::connect 24.95 2532.41 1133.49 0.01
ioc::network::libos::close 18.35 27064.56 11828.20 0.07
ioc::network::libos::close;catnap::linux::transport::close 18.35 25807.88 11280.47 95.25
demikernel::accept 15.42 1393.00 606.28 0.00
ioc::network::libos::accept 15.39 915725461.27 409105830.00 44.58
ioc::network::libos::accept;catnap::linux::transport::accept 15.39 6968.33 3029.03 0.00
demikernel::socket 9.50 183307.51 81413.60 0.32
demikernel::socket;catnap::linux::transport::socket 9.50 181119.21 80462.42 96.83
demikernel::new 1.00 276636.74 120044.08 0.13
demikernel::bind 1.00 31770.25 13815.63 0.01
demikernel::bind;catnap::linux::transport::bind 1.00 26295.28 11432.29 83.29
demikernel::listen 1.00 15668.00 6805.21 0.00
demikernel::listen;catnap::linux::transport::listen 1.00 14685.16 6378.12 93.63
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catnip
commit id = fc12467

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 29757170.63 338.93 148.39 76.05
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once;catnip::runtime::receive 29757170.63 197.31 86.32 58.35
bgc::inetstack::poll 14878585.32 898.77 394.11 34.77
bgc::inetstack::tcp::established::background 11439.52 1072.75 467.37 0.11
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 11439.52 306.68 135.54 26.59
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 11429.16 339.98 148.53 32.27
bgc::inetstack::tcp::established::background;tcp::established::background::sender 11387.11 302.02 125.17 14.66
ioc::network::libos::pop 9232.04 362.18 160.45 0.02
demikernel::sgafree 8781.21 77.47 34.07 0.01
ioc::network::libos::push;inetstack::push 8762.80 1978.06 886.92 0.68
ioc::network::libos::push;inetstack::push;catnip::runtime::transmit 8762.80 317.51 141.59 15.44
ioc::network::libos::push 8073.74 33389450.87 13634586.07 25.68
demikernel::push 8073.74 684.44 299.26 0.04
demikernel::sgaalloc 6536.58 132.91 57.42 0.01
demikernel::pop 6053.61 518.52 229.22 0.03
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 4784.53 2775.55 1163.19 2.34
ioc::network::libos::pushto 1256.00 1360.17 602.02 0.06
ioc::network::libos::pushto;inetstack::push 1256.00 728.83 322.14 53.76
demikernel::pushto 1256.00 480.71 212.72 0.02
ioc::network::libos::pushto;inetstack::push;catnip::runtime::transmit 1256.00 248.14 110.00 33.97
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 559.00 241.83 106.02 71.09
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;catnip::runtime::transmit 403.88 672.91 295.02 3.72
ioc::network::libos::close 49.43 5992.47 2641.19 0.01
bgc::inetstack::tcp::passiveopen::background 41.86 34579.32 15398.98 0.00
ioc::network::libos::connect 41.86 32042.79 14431.35 0.04
ioc::network::libos::connect;catnip::runtime::transmit 41.86 5515.96 2494.04 20.09
ioc::network::libos::accept 37.75 2224.43 983.25 0.00
demikernel::async_close 32.50 650.23 263.02 0.00
demikernel::accept 21.86 1148.28 503.91 0.00
bgc::inetstack::tcp::passiveopen::background;catnip::runtime::transmit 20.93 18816.10 8437.35 19.38
demikernel::connect 20.93 2564.22 1155.64 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::sender;catnip::runtime::transmit 20.93 583.76 256.83 11.64
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter;catnip::runtime::transmit 14.50 252.46 114.43 0.01
demikernel::socket 10.30 2257.92 991.14 0.00
bgc::inetstack::arp::background 6.43 2381.97 1036.23 0.00
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger;catnip::runtime::transmit 5.00 1315.00 632.71 16.84
bgc::inetstack::icmp::background 1.05 2834.10 1234.38 0.00
demikernel::new 1.00 1746513891.15 763378972.91 48.75
demikernel::bind 1.00 10616.81 4627.72 0.00
demikernel::listen 1.00 3355.64 1433.08 0.00
demikernel::close 0.00 nan nan 0.00

Copy link

libos = catpowder
commit id = fc12467

collapsed_stack num_calls cycles_per_call nanoseconds_per_call percent_time
bgc::inetstack::poll;inetstack::layer4_endpoint::poll_once 18819295.03 692.39 299.76 85.57
bgc::inetstack::poll 9409647.52 1631.12 705.95 53.68
bgc::inetstack::tcp::established::background 12183.88 1595.42 691.60 0.20
bgc::inetstack::tcp::established::background;tcp::established::background::acknowledger 12183.88 469.26 204.58 23.25
bgc::inetstack::tcp::established::background;tcp::established::background::retransmitter 12175.20 375.72 163.23 29.09
bgc::inetstack::tcp::established::background;tcp::established::background::sender 12133.27 868.59 373.00 23.84
ioc::network::libos::pop 9507.20 486.03 209.64 0.05
ioc::network::libos::push;inetstack::push 8762.80 6011.87 2633.01 2.08
demikernel::sgafree 8753.13 113.51 48.68 0.01
ioc::network::libos::push 8073.74 33453590.42 14654277.92 40.23
demikernel::push 8073.74 613.15 267.14 0.06
demikernel::sgaalloc 6508.12 142.38 62.07 0.02
bgc::inetstack::poll;inetstack::poll_bg_work::for::for 6361.10 2626.33 1137.79 1.73
demikernel::pop 6037.63 589.43 254.36 0.04
ioc::network::libos::pushto 760.00 4561.77 1903.72 2.39
ioc::network::libos::pushto;inetstack::push 760.00 4127.87 1722.13 90.46
demikernel::pushto 760.00 489.51 205.03 0.25
bgc::inetstack::poll;inetstack::poll_bg_work::for::for;udp::receive 242.33 208.95 85.46 62.56
ioc::network::libos::close 47.80 6541.51 2850.12 0.09
ioc::network::libos::connect 41.86 39703.02 17389.42 0.53
bgc::inetstack::tcp::passiveopen::background 41.86 32427.84 14046.42 0.01
ioc::network::libos::accept 38.32 2158.46 934.26 0.00
demikernel::async_close 32.50 758.33 324.57 0.01
demikernel::accept 21.86 1163.20 503.76 0.00
demikernel::connect 20.93 4162.76 1839.88 0.03
demikernel::socket 10.30 2104.52 916.75 0.00
bgc::inetstack::arp::background 6.25 1959.60 847.61 0.00
bgc::inetstack::icmp::background 1.03 3493.37 1510.61 0.00
demikernel::new 1.00 96006423.53 41480960.62 20.03
demikernel::bind 1.00 27074.44 11717.92 0.00
demikernel::listen 1.00 3930.71 1704.95 0.00
demikernel::close 0.00 nan nan 0.00

@anandbonde anandbonde merged commit 77fbdf9 into dev Nov 27, 2024
14 checks passed
@anandbonde anandbonde deleted the irene-inetstack-usize branch November 27, 2024 17:27
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.

2 participants