But zswap does use a RAM disk as well, right? It's just that it is able to grow and shrink dynamically and is not even created until swapping is actually necessary?
Also, do you happen to know what that RAM usage level would actually be? Maybe there's a mathematical formula based on physical RAM and/or zswap pool size?
I was running nvidia beta drivers (396.18.11) and the 1.20 update caused black screen on me when trying to launch gnome, but the nvidia drivers from the official repos don't give me any problems.
cp /usr/share/applications/chromium.desktop /usr/local/share/applications
# edit /usr/local/share/applications/chromium.desktop to have your launch args
This may or may not work depending on your desktop environment/application launcher. It relies on the fact that things in /usr/local typically shadow things in /usr.
When chromium gets an update the file at /usr/share/applications will be reset but the file at /usr/local/share/applications will not. You may have a problem if chromium.desktop actually gets changed during an upgrade (instead of just reset), since your customized desktop file may no longer work, but from what I've seen that's pretty rare.
Hey, so your last little paragraph ended up solving my problem.
Try mounting as CIFS, instead of using gvfs-smb. Anything gvfs is automatically fuse, which has less performance than a lower level implementation.
I mounted the drive using CIFS and now it's much, much better. Thanks a bunch.
Although... I am still wondering why gfvs-smb can't achieve the same performance on arch as on Ubuntu. Maybe the Ubuntu version of gvfs-smb has some patches we don't have on arch?
Ah, I was hoping there might be a better way to figure out the answer than grepping around my system (which I've been doing already for quite a while, haha).
I had a very similar problem and that fixed it for me. I didn't look into it much, but I assume there is some sort of networking regression in the newer kernel
So, is using the system electron actually supported by upstream?
I checked up on the github issue about it and it doesn't look like that's the case.
Either way, glad to see this is in the official repos. Thanks for your work!
But zswap does use a RAM disk as well, right? It's just that it is able to grow and shrink dynamically and is not even created until swapping is actually necessary?
Hmm, if that is the case, what would
zswap_max_pool_percentrefer to in this snippet from/etc/systemd/swapthat ships withsystemd-swap?Thanks!
Also, do you happen to know what that RAM usage level would actually be? Maybe there's a mathematical formula based on physical RAM and/or zswap pool size?
Is performance always slower? Or is performance only slower once I hit a certain RAM usage?
Thanks for the suggestions everyone! I did a few things and now my desktop responsiveness is significantly better.
First I made these changes:
It seemed to improve things a little bit but I was still experiencing freezing
So then I switched to BFQ scheduler. It's amazing! I have almost 0 freezing even under the heaviest workloads.
Yes, and ext4
Yeah, I'm pretty sure it is an I/O bottleneck since I can actually produce similar behavior by just copying large files back and forth across my SSD
Yup, I have swap and even hibernation to swap enabled
This last line from OP's post should actually make your scrolling in firefox faster. To change this value
Have you ever heard of
wifi-menu? Might change your mind about thatI was running nvidia beta drivers (396.18.11) and the 1.20 update caused black screen on me when trying to launch gnome, but the nvidia drivers from the official repos don't give me any problems.
This may or may not work depending on your desktop environment/application launcher. It relies on the fact that things in
/usr/localtypically shadow things in/usr.When chromium gets an update the file at
/usr/share/applicationswill be reset but the file at/usr/local/share/applicationswill not. You may have a problem if chromium.desktop actually gets changed during an upgrade (instead of just reset), since your customized desktop file may no longer work, but from what I've seen that's pretty rare.Hey, so your last little paragraph ended up solving my problem.
I mounted the drive using CIFS and now it's much, much better. Thanks a bunch.
Although... I am still wondering why gfvs-smb can't achieve the same performance on arch as on Ubuntu. Maybe the Ubuntu version of gvfs-smb has some patches we don't have on arch?
I saw this, but if I'm not mistaken, this is for improving server-side performance for smb. I'm only having client-side issues
How does Ubuntu have it so that when you move a hard drive to a different machine it just kinda figures it out?
Thank you so much! I thought I was going crazy because I could not for the life of me find a startup/service script on my machine that was doing it
I am using xfce. Where is it configured to start up ssh-agent?
Ah, I was hoping there might be a better way to figure out the answer than grepping around my system (which I've been doing already for quite a while, haha).
Thanks for the suggestion though.
https://imgur.com/a/NgW02
Try using the
linux-ltskernel instead oflinuxI had a very similar problem and that fixed it for me. I didn't look into it much, but I assume there is some sort of networking regression in the newer kernel
I've never tried this but it looks like it might work
https://wiki.archlinux.org/index.php/Xorg#More_than_one_graphics_card
Have you tried everything in this section?
https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Unmuting_the_channels
pacman -Ql gog-stardew-valley