1. Reserve bandwidth for a slice

Reserve bandwidth for a slice

Home Forums FABRIC General Questions and Discussion Reserve bandwidth for a slice

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7348
    Prateek Jain
    Participant

      Hi,

      I have a slice with 5 nodes on teracore network. I need to conduct several experiments that require a stable and interference-free network environment. I’m looking to ensure that my experimental traffic is prioritized, or isolated, to avoid any interference from other experimenters using the same infrastructure. I’m considering reserving bandwidth for the slice that includes all nodes relevant to my experiments.

      Is there any way to reserve bandwidth for a slice on teracore network? If yes, can you please direct me to the relevant page or jupyter notebook?

       

      #7350
      Komal Thareja
      Participant

        Hi Prateek,

        We currently do not support guaranteed Quality of Service (QoS), but we do offer best-effort QoS. You can request bandwidth by setting it on your interfaces using a command like iface.set_bandwidth(10).

        Please note that Basic NICs are essentially Virtual Functions, and the underlying dedicated NIC is shared, so guaranteed bandwidth may not be achievable. However, you should see better performance with ConnectX_6 or ConnectX_5 NICs.

        Here’s an example slice request for your reference:


        #Create Slice
        slice = fablib.new_slice(name=slice_name)
        # Network
        net1 = slice.add_l2network(name=network_name, subnet=IPv4Network("192.168.1.0/24"))
        # Node1
        node1 = slice.add_node(name=node1_name, site=site)
        iface1 = node1.add_component(model='NIC_Basic', name='nic1').get_interfaces()[0]
        iface1.set_mode('auto')
        iface1.set_bandwidth(10)
        net1.add_interface(iface1)
        # Node2
        node2 = slice.add_node(name=node2_name, site=site)
        iface2 = node2.add_component(model='NIC_Basic', name='nic1').get_interfaces()[0]
        iface2.set_mode('auto')
        iface2.set_bandwidth(10)
        net1.add_interface(iface2)
        #Submit Slice Request
        slice.submit();

        Thanks,
        Komal

        #7351
        Prateek Jain
        Participant

          Thanks! I will try that.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.
        FABRIC invites nominations for four awards recognizing innovative uses of FABRIC resources—Best Published Paper, Best FABRIC Matrix, Best FABRIC Experiment, and Best Classroom Use of FABRIC — submissions due by **Monday, February 24 at 11:59 PM ET**, and winners announced at KNIT10. [>>>Submit Form](https://docs.google.com/forms/d/e/1FAIpQLSeTp3i2iDhB7bHgN8ryMxZci8ya87yjeQd7_JMZImUodNinVA/viewform)

        KNIT10 Call for Demos Now Open! Submit your demo by **February 24**. [>>>Submit Demo](https://docs.google.com/forms/d/e/1FAIpQLScRIWqHliNP3DFWBCnalYN_fBXJXVM0PpP9YWWJdSebC95TvA/viewform)
        FABRIC invites nominations for four awards recognizing innovative uses of FABRIC resources—Best Published Paper, Best FABRIC Matrix, Best FABRIC Experiment, and Best Classroom Use of FABRIC — submissions due by **Monday, February 24 at 11:59 PM ET**, and winners announced at KNIT10. [>>>Submit Form](https://docs.google.com/forms/d/e/1FAIpQLSeTp3i2iDhB7bHgN8ryMxZci8ya87yjeQd7_JMZImUodNinVA/viewform)

        KNIT10 Call for Demos Now Open! Submit your demo by **February 24**. [>>>Submit Demo](https://docs.google.com/forms/d/e/1FAIpQLScRIWqHliNP3DFWBCnalYN_fBXJXVM0PpP9YWWJdSebC95TvA/viewform)