nrf7002DK Wi-fi bandwidth confirmation over HTTPS

Hello,

We are using nrf7002DK and using 'download_client' sample code NCS v2.5.0, to evaluate the download speed from AWS S3 Object via HTTPS.

Board was connected using a Wifi 5GHz router (speedtest on PC is 300 Mbps) that is located closely to the nrf7002 board.

Object URL is of this format https://<bucket>.s3.ap-northeast-1.amazonaws.com/<size of MB text file>

Downloading 100MB from AWS S3,

  • Download completed in 4494457 ms @ 23600 bytes per sec, total 104857600 bytes
  • 1:14:54 @ 23600 bytes per sec

Downloading 10MB from AWS S3, 

  • Download completed in 554720 ms @ 18902 bytes per sec, total 10485760 bytes
  • 09:14 @ 18902 bytes per sec

Downloading 10 MB from local server,

  • Download completed in 255286 ms @ 41074 bytes per sec, total 10485760 bytes
  • 04:15 @ 41074 bytes per sec

Observation is even if local server has faster speed compared to AWS S3, it seems to be significantly slow compared to the standard 5GHz speed.

So the inquiries are:

1. Why is the file transfer using HTTPS slow? 

2. What is the theoretical performance (transfer rate) of the nRF7002?

3. How to improve speed or if there is sample code to use or update?

4. Also sometimes, we encounter error during download. Please advise how to resume download at this point.

5. The nrf7002DK board has no antenna connected to wifi, is there an effect on this?

Thank you.

Parents
  • Hi, 

    nRF7002 product overview page specifies PHY data rate of 86 Mbps. You can also find QSPI throughput values in the documentation.

     The nrf7002DK board has no antenna connected to wifi, is there an effect on this?

    Could you elaborate on this?

    Documentation provides some information about the size of https messages and the way how download is performed in HTTP and HTTPS section of the download client library.

    I will get back to you regarding the possibility for speed increase and download resume.

    Best regards,
    Dejan

  • Hello, 
    For this,

    The nrf7002DK board has no antenna connected to wifi, is there an effect on this?

    Please see the highlighted part below

    Thank you.

  • Hi,

    alink said:
    The nrf7002DK board has no antenna connected to wifi, is there an effect on this?

    What you marked is a connector for an external antenna, or for connection to spectrum analyzer. There is onboard antenna for wi-fi marked red in the screenshot below. 

    dejans said:
    I will get back to you regarding the possibility for speed increase and download resume.

    Resuming download should be possible with download_client sample.
    With regard to potential speed increase, there are 2 steps:
    1. Since download thread runs on the same priority level as logging thread, you would need to either disable logging or change the priority of the download thread. You can read more about Thread priorities in the documentation.
    2. You could try the following configuration

    CONFIG_NET_IPV4_FRAGMENT=y
    CONFIG_NET_BUF_DATA_SIZE=768
    CONFIG_DOWNLOAD_CLIENT_HTTP_FRAG_SIZE_4096=y
    CONFIG_DOWNLOAD_CLIENT_BUF_SIZE=4096
    

    Additionally, you could have a look at usage profiles in the documentation.

    Best regards,
    Dejan

Reply
  • Hi,

    alink said:
    The nrf7002DK board has no antenna connected to wifi, is there an effect on this?

    What you marked is a connector for an external antenna, or for connection to spectrum analyzer. There is onboard antenna for wi-fi marked red in the screenshot below. 

    dejans said:
    I will get back to you regarding the possibility for speed increase and download resume.

    Resuming download should be possible with download_client sample.
    With regard to potential speed increase, there are 2 steps:
    1. Since download thread runs on the same priority level as logging thread, you would need to either disable logging or change the priority of the download thread. You can read more about Thread priorities in the documentation.
    2. You could try the following configuration

    CONFIG_NET_IPV4_FRAGMENT=y
    CONFIG_NET_BUF_DATA_SIZE=768
    CONFIG_DOWNLOAD_CLIENT_HTTP_FRAG_SIZE_4096=y
    CONFIG_DOWNLOAD_CLIENT_BUF_SIZE=4096
    

    Additionally, you could have a look at usage profiles in the documentation.

    Best regards,
    Dejan

Children
Related