Ubuntu complaining 

Wow whatever Ubuntu did to their gui software center thingy in the ~8 years since I last used Ubuntu is awful! There is hardly any software, and it segfaults when I try to install something. On a clean OS installation!

Am I missing a secret way to get the old functionality back? I mean I can use `apt` for sure but I did like being able to browse cool software.

(Please do not recommend other distros. The ONLY distro I am allowed to use on my work laptop is Ubuntu 20 LTS.)

Follow

My biggest Ubuntu woes, fixed 

Figured out the two things that were making Ubuntu 20 slow for me.

1: It installed with 1GB of swap space. This is comically low for a machine with 16GB of RAM. Increased it to 16GB and that helped a lot. But my GUI was still really slow, at which point I realized

2: I had "fractional scaling" enabled for one of my displays. I turned it off and suddenly everything is butter-smooth. It means I have to run my high-DPI screen at a lower resolution but I'll take it.

· · Web · 1 · 0 · 14

My biggest Ubuntu woes, fixed 

@darius i would've thought that swap is only used to hibernate or crashdump to?

but, uh, i don't actually know enough about Linux VM or it's crashing and dumping mechanisms enough

so, feel free to ignore me when you don't know anything either

My biggest Ubuntu woes, fixed 

@meena Ubuntu recommends 25% RAM worth of swap if you don't user the hibernate feature; it recommends ~125% RAM if you do. I don't use it, but I figured it wouldn't hurt to go for 100%.

I don't know what it's used for but when I had 1GB of swap the system monitor showed 100% swap usage at all times!

My biggest Ubuntu woes, fixed 

@darius wouldn't it be cool if Linux had tools that could tell you what's in that swap, and why it was put there??

My biggest Ubuntu woes, fixed 

@meena @darius something like ncdu for memory would be super neat

My biggest Ubuntu woes, fixed 

@meena @darius i tried searching "ncurses memory," but all i got were reports of ncurses-related memory leaks.

My biggest Ubuntu woes, fixed 

@meena @darius from the unbelievably full of sysops gems Linux Memory Management At Scale, there's a section on swap space, and a link to http://bit.ly/whyswap .

the talk is really really good if you care about running Linux boxes well, without blocking, and especially under any pressure. chris is about to launch into swap here:
https://www.youtube.com/watch?v=QZZWAsBI_zY#t=11m30s

My biggest Ubuntu woes, fixed 

@jauntywunderkind420 @meena oh thank you this looks great

My biggest Ubuntu woes, fixed 

@jauntywunderkind420 @darius

The swapper on kernels before 4.0 has a lot of pitfalls, and has contributed to a lot of people's negative perceptions about swap due to its overeagerness to swap out pages. On kernels >4.0, the situation is significantly better.

ah, yeah
so my superstitious knowledge about Linux VM is dated then

My biggest Ubuntu woes, fixed 

@jauntywunderkind420 @darius i used to disable OOM on servers to get more predictable VM

but what really helped was getting more RAM, and SSDs, so swapping isn't so noticeable.

Sign in to participate in the conversation
Friend Camp

Hometown is adapted from Mastodon, a decentralized social network with no ads, no corporate surveillance, and ethical design.

<svg xmlns="http://www.w3.org/2000/svg" id="hometownlogo" x="0px" y="0px" viewBox="25 40 50 20" width="100%" height="100%"><g><path d="M55.9,53.9H35.3c-0.7,0-1.3,0.6-1.3,1.3s0.6,1.3,1.3,1.3h20.6c0.7,0,1.3-0.6,1.3-1.3S56.6,53.9,55.9,53.9z"/><path d="M55.9,58.2H35.3c-0.7,0-1.3,0.6-1.3,1.3s0.6,1.3,1.3,1.3h20.6c0.7,0,1.3-0.6,1.3-1.3S56.6,58.2,55.9,58.2z"/><path d="M55.9,62.6H35.3c-0.7,0-1.3,0.6-1.3,1.3s0.6,1.3,1.3,1.3h20.6c0.7,0,1.3-0.6,1.3-1.3S56.6,62.6,55.9,62.6z"/><path d="M64.8,53.9c-0.7,0-1.3,0.6-1.3,1.3v8.8c0,0.7,0.6,1.3,1.3,1.3s1.3-0.6,1.3-1.3v-8.8C66,54.4,65.4,53.9,64.8,53.9z"/><path d="M60.4,53.9c-0.7,0-1.3,0.6-1.3,1.3v8.8c0,0.7,0.6,1.3,1.3,1.3s1.3-0.6,1.3-1.3v-8.8C61.6,54.4,61.1,53.9,60.4,53.9z"/><path d="M63.7,48.3c1.3-0.7,2-2.5,2-5.6c0-3.6-0.9-7.8-3.3-7.8s-3.3,4.2-3.3,7.8c0,3.1,0.7,4.9,2,5.6v2.4c0,0.7,0.6,1.3,1.3,1.3 s1.3-0.6,1.3-1.3V48.3z M62.4,37.8c0.4,0.8,0.8,2.5,0.8,4.9c0,2.5-0.5,3.4-0.8,3.4s-0.8-0.9-0.8-3.4C61.7,40.3,62.1,38.6,62.4,37.8 z"/><path d="M57,42.7c0-0.1-0.1-0.1-0.1-0.2l-3.2-4.1c-0.2-0.3-0.6-0.5-1-0.5h-1.6v-1.9c0-0.7-0.6-1.3-1.3-1.3s-1.3,0.6-1.3,1.3V38 h-3.9h-1.1h-5.2c-0.4,0-0.7,0.2-1,0.5l-3.2,4.1c0,0.1-0.1,0.1-0.1,0.2c0,0-0.1,0.1-0.1,0.1C34,43,34,43.2,34,43.3v7.4 c0,0.7,0.6,1.3,1.3,1.3h5.2h7.4h8c0.7,0,1.3-0.6,1.3-1.3v-7.4c0-0.2,0-0.3-0.1-0.4C57,42.8,57,42.8,57,42.7z M41.7,49.5h-5.2v-4.9 h10.2v4.9H41.7z M48.5,42.1l-1.2-1.6h4.8l1.2,1.6H48.5z M44.1,40.5l1.2,1.6h-7.5l1.2-1.6H44.1z M49.2,44.6h5.5v4.9h-5.5V44.6z"/></g></svg>