F5F Stay Refreshed Power Users Networks Address unusual network activity on Ubuntu Server 20.04/18.04

Address unusual network activity on Ubuntu Server 20.04/18.04

Address unusual network activity on Ubuntu Server 20.04/18.04

S
Samko003
Junior Member
3
04-09-2016, 06:25 PM
#1
Hi, I am currently setting up a headless Ubuntu server 20.04 on my raspberry pi 4, After installing, i immediately setup static local ip with netplan configs, which worked. (i am using wired lan) However, after this it seems that the network goes to "sleep" when left unattended. I.E. If i were to establish an SSH connection with it, leave it for a minute, and then try to type on it, it freezes for a few seconds before responding to my input normally. Or if i deployed a simple rest server, and leave it for a while, then try to query a URL, then it still freezes for a few seconds before responding normally again. I checked syslog there seems to be no notable entry about eth0. Anyone experienced this?
S
Samko003
04-09-2016, 06:25 PM #1

Hi, I am currently setting up a headless Ubuntu server 20.04 on my raspberry pi 4, After installing, i immediately setup static local ip with netplan configs, which worked. (i am using wired lan) However, after this it seems that the network goes to "sleep" when left unattended. I.E. If i were to establish an SSH connection with it, leave it for a minute, and then try to type on it, it freezes for a few seconds before responding to my input normally. Or if i deployed a simple rest server, and leave it for a while, then try to query a URL, then it still freezes for a few seconds before responding normally again. I checked syslog there seems to be no notable entry about eth0. Anyone experienced this?

_
_Jose_
Junior Member
3
04-09-2016, 06:52 PM
#2
Its performance matches the RPi4 but lags behind other models, particularly when using an SD card. The noticeable lag comes from the time needed to activate flash-based routines in the RPi-ARM Ubuntu image. For a better experience, consider using Raspbian, which is tailored for Flash storage and likely offers smoother operation. You might also attempt to run the OS entirely in RAM, which could eliminate delays but is challenging to achieve.
_
_Jose_
04-09-2016, 06:52 PM #2

Its performance matches the RPi4 but lags behind other models, particularly when using an SD card. The noticeable lag comes from the time needed to activate flash-based routines in the RPi-ARM Ubuntu image. For a better experience, consider using Raspbian, which is tailored for Flash storage and likely offers smoother operation. You might also attempt to run the OS entirely in RAM, which could eliminate delays but is challenging to achieve.

H
HerbiGames
Junior Member
19
04-29-2016, 01:45 PM
#3
I performed additional tests by comparing it to Pi OS, and I can verify that the issue appeared only after enabling a static IP on both systems. If DHCP is active, the problem disappears.
H
HerbiGames
04-29-2016, 01:45 PM #3

I performed additional tests by comparing it to Pi OS, and I can verify that the issue appeared only after enabling a static IP on both systems. If DHCP is active, the problem disappears.