Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just did some experiments in a Slackware --Current VM with XFCE with 4 GB RAM.
When I resized a window simply (that is, I just changed it to a different size), RAM usage spiked to 30-40%. When energetically resized it (that is, I grabbed corner and wiggled it around before settling on a size), usage spiked to 80-90%, but immediately subside once the moving was done.
If this is sort of behavior you are concerned about, I wouldn't be alarmed.
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803
Rep:
Quote:
Originally Posted by frankbell
I just did some experiments in a Slackware --Current VM with XFCE with 4 GB RAM.
When I resized a window simply (that is, I just changed it to a different size), RAM usage spiked to 30-40%. When energetically resized it (that is, I grabbed corner and wiggled it around before settling on a size), usage spiked to 80-90%, but immediately subside once the moving was done.
If this is sort of behavior you are concerned about, I wouldn't be alarmed.
I have Slackware + Xfce on my laptop and haven't noticed this though I can't say I've paid it much attention. The OP's CPU use shows up on openSUSE + KDE as well (it's actually hitting both cores on my desktop). I've noticed that most windowing managers seem to default to displaying the window content while it's being resized---not sure if Xfce is one of those. I can easily imagine this chewing up a lot of CPU while the contents are repeatedly rescaled, text rewrapped, etc., while the window size is changing. If you can turn that behavior off -- showing the new window edges while resizing and only redisplaying the contents when the edge/corner is released -- you'd reduce the CPU load quite a bit.
I've noticed that most windowing managers seem to default to displaying the window content while it's being resized---not sure if Xfce is one of those.
If you can turn that behavior off -- showing the new window edges while resizing and only redisplaying the contents when the edge/corner is released -- you'd reduce the CPU load quite a bit.
This is possible with XFCE in Settings => Window Manager => Advanced => Hide contents of windows.
If the CPU struggles it might also be advisable to turn off compositing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.