Skip to content

Instantly share code, notes, and snippets.

@ryu1
Created May 13, 2022 06:48
Show Gist options
  • Save ryu1/75a1d7d5965dcf134e0de3a1e625436b to your computer and use it in GitHub Desktop.
Save ryu1/75a1d7d5965dcf134e0de3a1e625436b to your computer and use it in GitHub Desktop.
m5.largeからm6i.largeに変更する手順

m5.largeからm6i.largeに変更する手順

手順

  1. インスタンス複製します

  2. 1で複製したインスタンスにsshして、ENA driverのバージョンアップを実施します

    $ sudo su -
    $ yum update
    
  3. インスタンスを再起動します

  4. 再度、sshして、ENA driverがバージョンアップされたか確認します    

    • Kernelのバージョンが、4.14.186以上であることを確認する

      $ uname -r
      5.10.106-102.504.amzn2.x86_64
      
    • ENAのversion2.2.9以上であることを確認する

             $ modinfo ena
      filename:       /lib/modules/5.10.106-102.504.amzn2.x86_64/kernel/drivers/amazon/net/ena/ena.ko
      version:        2.6.1g
      license:        GPL
      description:    Elastic Network Adapter (ENA)
      author:         Amazon.com, Inc. or its affiliates
      srcversion:     1C144F7212E7A5BE74C4283
      alias:          pci:v00001D0Fd0000EC21sv*sd*bc*sc*i*
      alias:          pci:v00001D0Fd0000EC20sv*sd*bc*sc*i*
      alias:          pci:v00001D0Fd00001EC2sv*sd*bc*sc*i*
      alias:          pci:v00001D0Fd00000EC2sv*sd*bc*sc*i*
      alias:          pci:v00001D0Fd00000051sv*sd*bc*sc*i*
      depends:
      retpoline:      Y
      intree:         Y
      name:           ena
      vermagic:       5.10.106-102.504.amzn2.x86_64 SMP mod_unload modversions
      sig_id:         PKCS#7
      signer:
      sig_key:
      sig_hashalgo:   md4
      signature:      30:82:02:9A:06:09:2A:86:48:86:F7:0D:01:07:02:A0:82:02:8B:30:
          82:02:87:02:01:01:31:0D:30:0B:06:09:60:86:48:01:65:03:04:02:
          01:30:0B:06:09:2A:86:48:86:F7:0D:01:07:01:31:82:02:64:30:82:
          02:60:02:01:01:30:3B:30:2E:31:2C:30:2A:06:03:55:04:03:0C:23:
          42:75:69:6C:64:20:74:69:6D:65:20:61:75:74:6F:67:65:6E:65:72:
          61:74:65:64:20:6B:65:72:6E:65:6C:20:6B:65:79:02:09:00:AF:37:
          28:C9:BB:0C:B3:A4:30:0B:06:09:60:86:48:01:65:03:04:02:01:30:
          0D:06:09:2A:86:48:86:F7:0D:01:01:01:05:00:04:82:02:00:21:D7:
          47:E0:C6:7D:CB:F5:B9:82:68:76:CC:6C:5B:CC:5C:C2:8E:10:84:6F:
          8E:28:09:AE:8A:45:34:CA:4F:6C:43:F1:AB:CF:D9:95:1A:5B:8D:4B:
          0C:0B:AA:24:AD:D7:92:4F:AA:15:FE:85:0B:98:E3:C1:62:88:C6:E9:
          C6:28:CE:8B:EC:C0:FD:8D:74:33:5D:2D:F2:82:C6:43:92:40:2F:6A:
          FA:93:90:91:87:7E:F0:11:53:C4:EE:8B:B7:45:D9:4F:F7:A9:EF:D8:
          10:21:D9:38:E8:3B:DD:E9:97:78:88:9A:60:48:C3:32:E4:29:68:0B:
          31:90:1E:A1:20:1D:4C:50:23:4F:C0:23:62:3D:AD:C4:5B:29:28:2F:
          87:8B:B8:D8:35:81:BF:5E:8A:6E:06:B3:7A:65:E7:D1:1A:C8:EF:AE:
          6B:F9:4B:72:CA:A9:4E:C3:3E:AF:58:4E:C7:88:1F:A1:69:0F:0A:A0:
          E2:E8:37:3F:17:E5:DD:E8:47:01:14:E5:A8:E9:DD:D2:16:E0:72:DE:
          48:07:40:34:50:24:F3:5B:45:35:33:D4:0C:F4:B6:F5:9D:D7:F4:5A:
          A4:2D:03:0A:65:7D:DC:33:02:0A:D0:2A:51:C8:B0:FC:DC:59:3C:B1:
          0F:60:3F:12:50:2A:2C:42:6E:7D:C5:2A:38:60:82:C7:85:1A:DD:9E:
          DE:72:A4:9F:A4:B2:C8:11:45:76:25:3D:52:C9:2E:A7:BF:08:8B:CF:
          AF:3F:F4:B7:8F:97:FF:1D:20:B5:4B:CA:0A:E4:A4:94:2D:D4:B7:33:
          04:97:C4:11:47:08:6D:D6:42:E9:A9:F1:19:90:ED:A3:20:AC:D3:B8:
          0F:0C:4B:9D:B9:54:D2:92:64:18:55:F6:09:2D:47:99:B9:72:DE:12:
          7D:3C:79:61:4E:39:03:C9:B9:B7:46:38:3A:B3:C6:0A:0C:4D:48:F5:
          23:E5:40:E0:6D:E0:BE:EE:58:E7:83:F1:DC:4B:76:2E:37:42:20:90:
          38:17:85:78:0B:FA:F4:39:D8:DC:98:F7:17:8C:D1:C4:75:06:E1:DE:
          E2:E4:00:3F:8F:A9:72:C8:27:34:F5:1D:25:2A:63:A4:B6:13:A7:78:
          B4:9A:05:F3:02:00:65:89:42:F6:10:A6:13:11:BC:EA:B7:70:C2:85:
          F3:C5:C3:5C:CA:B1:19:AE:4A:33:6A:3E:4D:AD:B1:DC:6E:1E:66:57:
          B0:78:E2:3B:58:C7:77:E3:20:7F:EF:A0:90:08:4C:DB:8C:B7:A9:2C:
          37:C5:11:96:E1:6B:DE:D2:57:9A:F5:F4:BD:04:4B:BD:93:52:6F:A9:
          A9:45:13:6D:A1:EF:B5:69:D7:06
      parm:           debug:Debug level (-1=default,0=none,...,16=all) (int)
      parm:           rx_queue_size:Rx queue size. The size should be a power of 2. Max value is 8K
      (int)
      parm:           force_large_llq_header:Increases maximum supported header size in LLQ mode to 224 bytes, while reducing the maximum TX queue size by half.
      (int)
      parm:           num_io_queues:Sets number of RX/TX queues to allocate to device. The maximum value depends on the device and number of online CPUs.
      (int)
      parm:           enable_bql:Enable BQL.
      (int)
      parm:           lpc_size:Each local page cache (lpc) holds N * 1024 pages. This parameter sets N which is rounded up to a multiplier of 2. If zero, the page cache is disabled. Max: 32
      (uint)
      
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment