Skip to content

Any way to improve v2ray's traffic processing efficiency? #3333

Open
@arinc9

Description

@arinc9

Which version of V2Ray are you using?

v5.29.2

What abnormal phenomenon do you see?

On Qualcomm IPQ4019 SoC which has a quad-core 717 MHz processor, v2ray performs as shown in the screenshots. Is there any way to improve the efficiency of v2ray's traffic processing so that we see more throughput?

Image
Image

Please attach your configuration

Server configuration:

{
  "log": {
    "level": "info"
  },
  "inbounds": [
    {
      "port": port,
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "UUID"
          }
        ]
      },
      "streamSettings": {
        "sockopt": {
          "mptcp": true
        }
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom"
    }
  ]
}

Client configuration:

{
  "inbounds": [
    {
      "port": 12345,
      "listen": "127.0.0.1",
      "protocol": "dokodemo-door",
      "settings": {
        "network": "tcp,udp",
        "followRedirect": true
      },
      "streamSettings": {
        "sockopt": {
          "tproxy": "tproxy"
        }
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "server",
            "port": port,
            "users": [
              {
                "id": "UUID",
                "security": "zero"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "sockopt": {
          "mptcp": true
        }
      },
      "mux": {
        "enabled": true,
        "concurrency": 8
      }
    }
  ]
}

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