Skip to content

Limit number of NICs an instance can have attached #810

Closed

Description

@jmpesp

#771 makes the arbitrary decision that an instance can have a maximum of eight disks attached to an instance, but leaves as a TODO the question of what the maximum should be for NICs.

This issue tracks adding a similar limit for NICs.

Activity

  1. bnaecker commented on Mar 25, 2022

    @bnaecker
    Collaborator

    Good idea! Is this during instance creation, or a limit to also be respected when creating a new NIC for an existing instance?

  2. rmustacc commented on Mar 25, 2022

    @rmustacc

    Good idea! Is this during instance creation, or a limit to also be respected when creating a new NIC for an existing instance?

    This is a permanent limit of 8 each for both disks and NICs for a given instance at this time. The reason for this is a bit of a result from the decisions in RFD 135 Virtual Storage Interfaces. As a part of that, we started with basically having a virtual machine that is leveraging PCI -- critically not PCIe, and the associated ACPI PCI hotplug mechanism. The latter works by taking a single PCI bus and creating one hotpluggable slot per device on that bus. The PCI device is afforded 5 bits in the general PCI scheme, giving us a total of 32 devices. rom there, it's 8 NICs, 8 volumes to start with. The remaining devices are getting used up by other things as well (e.g. USB, VGA, etc.) though more of those can be multi-function devices.

  3. bnaecker commented on Mar 28, 2022

    @bnaecker
    Collaborator

    Closed by #816

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions