Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

igh CPU Usage in Cinnamon on Linux Mint 22.1 in VirtualBox Resolved by Installing wsdd #12639

Open
georg41980 opened this issue Jan 17, 2025 · 2 comments
Labels

Comments

@georg41980
Copy link

Distribution

Mint 22.1

Package version

6.4.6

Graphics hardware in use

00:02.0 VMware SVGA II Adapter

Frequency

Always

Bug description

After installing Linux Mint 22.1 in VirtualBox, the system was very slow, with high CPU usage by Cinnamon (ranging between 5% and 60%). The issue was resolved by installing wsdd using sudo apt install wsdd. It is suggested to include wsdd in the meson.build for Cinnamon so that it is already included during installation.

Steps to reproduce

top
sudo apt install -y wsdd
top
sudo apt remove -y wsdd

Expected behavior

Cinnamon should run efficiently with minimal CPU usage after installing Linux Mint 22.1 in VirtualBox, without requiring additional packages like wsdd to resolve performance issues. The desktop environment should remain stable and responsive under normal usage conditions.

This describes the ideal scenario where the system performs optimally without manual intervention or additional installations.

Additional information

No response

@georg41980 georg41980 added the BUG label Jan 17, 2025
@mtwebster
Copy link
Member

Please describe the reasoning - I have a feeling your issue was probably something else - I'm not sure how this package would have any effect on the issue you're describing.

[09:43:58 AM] mtwebster@mintbox3:~> apt show wsdd
Package: wsdd
Version: 2:0.7.1-5
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Matthew Grant <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 111 kB
Depends: python3 (>= 3.7)
Homepage: https://github.com/christgau/wsdd
Download-Size: 33.4 kB
APT-Sources: http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
Description: Python Web Services Discovery Daemon, Windows Net Browsing
 This daemon is used to announce Linux Hosts to Windows 7+ computers for
 use in their File Manager network browsing, by using the Windows
 Services Discovery Protocol.
 .
 This protocol is a local network segment procotol, which is multicasted
 on udp/3072, and incoming on tcp/5357 on the 239.255.255.250/ff02::c
 multicast addresses.  It DOES have security issues, but it is designed
 for use in a trusted environment inside a firewall.
 .
 Install only this if running Gnome desktop, or GVFS and not announcing
 well known File shares.  See wsdd-server for working with Samba servers.

@georg41980
Copy link
Author

Image

  1. Screenshot from 2025-01-17 12-41-27.png:

This image shows a technical documentation or configuration file listing various parameters and settings. It appears to be a structured list of configurations or metadata.

Image
2. Screenshot from 2025-01-17 12-49-00.png:

This image shows a screenshot of the gnome-system-monitor tool running on my Linux system. It lists various processes running on the system, including their PID, user, CPU and memory usage, and the commands they are executing.

Image
3. Screenshot from 2025-01-17 12-54-11.png:

This image shows a screenshot of the top tool running on my Linux system. It lists various processes running on the system, including their PID, user, CPU and memory usage, and the commands they are executing.

Image
4. Screenshot from 2025-01-17 12-59-28.png:

This image shows another screenshot of the top tool running on my Linux system. It lists various processes running on the system, including their PID, user, CPU and memory usage, and the commands they are executing.

Image
5. Screenshot from 2025-01-17 13-26-27.png:

This image shows a detailed performance analysis using perf, displaying the CPU usage of various processes and kernel functions. It lists the overhead percentages and the corresponding symbols.

Image
6. Screenshot from 2025-01-17 13-28-53.png:

This image shows a performance analysis using perf, displaying the CPU usage of various processes and kernel functions. It lists the overhead percentages and the corresponding symbols.

Image
7. Screenshot from 2025-01-17 13-32-41.png:

This image shows system logs documenting the startup and activation of various services such as packagekit.service and systemd-hostnamed.service. It also includes error messages related to the wsdd daemon.

Image
8. Screenshot from 2025-01-17 13-34-48.png:

This image displays kernel logs generated during system startup. It includes information about the configuration of hardware components such as hard drives and network interfaces, as well as the loading of filesystems and kernel modules.

Image
9. Screenshot from 2025-01-17 13-49-20.png:

This image shows a screenshot of the htop tool running on my Linux system. It lists various processes running on the system, including their PID, user, CPU and memory usage, and the commands they are executing. The cinnamon --replace process shows high CPU usage.

Installation of wsdd:
Around 13:40, I installed wsdd using the command sudo apt install -y wsdd. After installing wsdd, the CPU usage significantly decreased, and the system ran much more smoothly and quickly. Even after several reboots, the CPU usage remained low.

These screenshots document the system performance and processes running on my Linux system, as well as the troubleshooting and optimization steps. The installation of wsdd resolved the issue, and I suggest integrating wsdd into the meson.build for Cinnamon to prevent similar issues for other users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants