(Urgent)Inquiries about improving the response speed of device Ethernet communication
I am developing a device using the nucleo-f429zit6 evaluation board as a reference. This device has an Ethernet communication function, and the Ethernet communication function was tested by directly connecting this device to the server using a cross-Ethernet cable. Currently, after a command is delivered to the device from the server, the response from the device arrives at the server late. As an example, I checked the server's response to a ping command, and the initial response took about 2 seconds. I'd like to know how to improve this response so that it comes out quickly, within 1 second.
The current device's slow Ethernet communication response speed

Below is the clock speed of the hardware used by the device, the firmware version currently being used, and the version of LwIP.



