Get the App
SLTechnology News&Howtos  ›  Servers  › 

Example Analysis of memory footprint Test of Desktop Environment on Fedora

Shulou Source: shulou.com Published: 2022-05-31 18:13:53 10月18日 Update

This article mainly introduces Fedora desktop environment memory occupancy test sample analysis, the article is very detailed, has a certain reference value, interested friends must read!

Fedora has over 40 Desktop Environments (DE). Each desktop environment has its own advantages and disadvantages. Often, choosing a desktop based on function, appearance, and other qualities is a very personal preference. But sometimes, the desktop environment you choose is limited by hardware.

Installation and System Configuration

Each desktop environment is installed on its own KVM virtual machine. Each VM has 1 CPU, 4GB memory, 15GB virtio SSD, and all other standard configurations on RHEL 8.0kvm.

The image used for installation is the standard Fedora 31 Live image. For GNOME, this image is Fedora Workstation. For other desktops, the corresponding Spin version was used. Sugar On A Stick (SOAS) was not tested because it was not easy to install on local drives.

Start the virtual machine with Live CD and select Install to Hard Disk. During installation, only default values are used. A root user and a normal user were created. After installation and reboot, live image confirmed not in virtual CDROM.

The settings for each desktop environment remain unchanged. They each run with the default settings in the Live CD environment. Each desktop environment is logged in by a regular user. A terminal was opened and dnf -y update was run using sudo on each virtual machine. After the update, each VM runs/sbin/shutdown -h now in the sudo terminal to shut down.

test mode

Every machine has been activated. Desktop environment logged in as regular user. Three desktop terminals were opened. Xterm is never used, always using the endpoint of the desktop environment, such as konsole.

In a terminal, launch top and press M to display processes sorted by memory. In the other terminal, a simple while loop displays free -m every 30 seconds. The third terminal is idle.

Then I waited 5 minutes. This will allow all services started to finish. I recorded the final free results and the final top three memory users in top.

results

Cinnamon

624 MB used

cinnamon 4.8% / Xorg 2.2% / dnfdragora 1.8%

GNOME

612 MB used

gnome-shell 6.9% / gnome-software 1.8% / ibus-x11 1.5%

KDE

733 MB used

plasmashell 6.2% / kwin_x11 3.6% / akonadi_mailfil 2.9%

LXDE

318 MB used

Xorg 1.9% / nm-applet 1.8% / dnfdragora 1.8%

LXQt

391 MB used

lxqt-panel 2.2% / pcmanfm-qt 2.1% / Xorg 2.1%

MATE

465 MB used

Xorg 2.5% / dnfdragora 1.8% / caja 1.5%

XFCE

448 MB used

Xorg 2.3% / xfwm4 2.0% / dnfdragora 1.8%

The above is "Fedora desktop environment memory usage test sample analysis" all the content of this article, thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!

Tags: Environment desktop terminal memory test user normal run select example analysis three content standard article result image login configuration never Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Linux vpn Apple MariaDB