Live data from Hacker News

24-core CPU and I can’t type an email

randomascii.wordpress.com

121–130 of 320 posts

Re: 24-core CPU and I can’t type an email

#121

Earlier quoted context omitted.

This isn't meant to be an especially religious comment, but I regularly switch back and forth between OSX and Windows 10 and wanted to make mention of the differences. I also use Ubuntu fairly regularly but only over ssh so I'll discount it from this comparison. Both OSX and Windows 10 do suffer from UI lag but, in my experience, it is far worse on Windows 10 to the point where I have come to absolutely detest Window…

This is strange. I run a 6 year old PC with win 10 on it. It has 4GB of RAM. I use an SSD and an M.2 drive. The thing is snappy as hell. I face zero lags, jitters, or switching delays at all. I get the feeling that writing things to disk is causing delays.

I had a friend telling me "check out my new computer it's so snappy!" once and the darn thing was so slow it made my hands shake from the stress. Can't believe anyone on the internet telling they don't have any lag.

Re: 24-core CPU and I can’t type an email

#122
post #46

I just kind of figured we'd stop having UI lag by now. I work on a 24 core workstation with 64GB of RAM and things lag all the time. Not slow to complete, like jittery key entry and non-responses. Haven't we figured out thread prioritization by now? Can't we make sure something draws 60 times per second while things are going on in the background? My Android Studio build should be totally isolated from my inbox. I kn…

It's simple: Bad Engineering is cheaper.

Just today on Patreon, I was going through a creators posts. After about 100 posts or so the page was barely usable. Animations took minutes to complete, loading more posts took 30 seconds and Firefox (Chrome quit after 80 posts when Linux' OOM decided that the fun was over) was struggling to repaint the view port, lots of white areas. At the end other applications were severely lagging too both because Patreon's webshit was pulling 80% of all cores when doing nothing on the page and the Linux kernel was shoveling everything into ssd swap like crazy. Animations didn't work at all (likely if I waited 60 minutes it would have shown the first frames) and clicking on links to open in a new tab took about 15 seconds until the JS behind the scenes completed.

It's simply shitty design that there is no obvious way to say "show all posts from January 2016" and jump back month by month. Or atleast UNLOADING posts I've long scrolled past.

I have 8 Cores and 32 GB of RAM at my disposal, a website has no excuse to have that much of a shit performance. Especially when it's a platform where lots of money flows.

But hey, it's cheaper this way.

---

The issue is not thread priorization. Or processes. Your mail app and android studio are both competing for resources and either android studio will lag because the mail app is running on all the CPUs or the other way round. The OS doesn't have a way to tell which is more important and trusting applications to tell is not really reliable (devs will just say "I'm the most important").

A real partial issue is that a lot of modern apps are not engineered to save resources. They just take what they need and the user better provide enough CPU and RAM to do it. There is no sense in self-limiting in a lot of modern apps.

Frontend devs should wake up to the reality that they aren't running on the only instance of the chrome browser with only one tab open. There is other apps around too. There are other browsers around too. Sharing resources gives the user a better experience than just taking them all for yourself.

Re: 24-core CPU and I can’t type an email

#123

Earlier quoted context omitted.

I need 27 seconds on Firefox 52.9 ESR (Debian) and about 20,287 kbyte of data transferred in 148 requests just to reach an idle GMail tab. What is all this stuff even doing?

I usually append /h/ to the URL (/mail/h/) and get a HTML version. It can work even without JS and it has classic design with small rows that works well on my small screen. No Material Design and no huge elements with large offsets.

Now this is what I call a sane UI!

Re: 24-core CPU and I can’t type an email

#124

Earlier quoted context omitted.

Ubuntu w/Gnome is possibly the worst offender. I actually like Gnome a lot but anytime I leave my PC on for more than a day the UI gets incredibly sluggish. Just moving windows around gets choppy and there is a annoying pause whenever I click the application launcher (happens even without the animation). I've also found macOS provides the smoothest experience. I haven't found W10 that bad, but I haven't used it that…

I'm running Gnome and for the most part it has been excellent; Linux in general, though, still has a lot of trouble maintaining good UI speed at the same time as I/O throughput. I'm on Fedora, and dnf/rpm is an excellent example - even though I'm on an SSD, I can tell when something is updating in the background because stuff will lag for a little while. It feels like this has been a problem forever, and while it has…

> while it has definitely improved over time it's still not really possible to say, in a simple way, "I care more about interactivity than other stuff, prioritise that

that's not what mainline kernel optimizes for, you have to use liquorix or another kernel (https://liquorix.net/)

Re: 24-core CPU and I can’t type an email

#125

Earlier quoted context omitted.

This isn't meant to be an especially religious comment, but I regularly switch back and forth between OSX and Windows 10 and wanted to make mention of the differences. I also use Ubuntu fairly regularly but only over ssh so I'll discount it from this comparison. Both OSX and Windows 10 do suffer from UI lag but, in my experience, it is far worse on Windows 10 to the point where I have come to absolutely detest Window…

Ubuntu w/Gnome is possibly the worst offender. I actually like Gnome a lot but anytime I leave my PC on for more than a day the UI gets incredibly sluggish. Just moving windows around gets choppy and there is a annoying pause whenever I click the application launcher (happens even without the animation). I've also found macOS provides the smoothest experience. I haven't found W10 that bad, but I haven't used it that…

I've found alt-f2 then r (ie. restarting gnome) puts it back in as good a state as a fresh boot. Sometimes my extensions won't load and this also restarts those.

Re: 24-core CPU and I can’t type an email

#126

Earlier quoted context omitted.

This isn't meant to be an especially religious comment, but I regularly switch back and forth between OSX and Windows 10 and wanted to make mention of the differences. I also use Ubuntu fairly regularly but only over ssh so I'll discount it from this comparison. Both OSX and Windows 10 do suffer from UI lag but, in my experience, it is far worse on Windows 10 to the point where I have come to absolutely detest Window…

Just curious, is that windows machine possibly not on an SSD? My windows 10 rig opens a profile faster than my MacBook

A fair question, but both SSDs so it's definitely not that. Since we're on hardware differences though the Macbook Pro is 3 years old and has a quad-core i7, whereas the Windows 10 laptop is 1 year old and has a dual-core i7. I'm not in love with having only dual cores but I don't think that's the issue either.

Re: 24-core CPU and I can’t type an email

#127
post #93
post #34

Earlier quoted context omitted.

He cant say 350MB for just one tab is bloatware while he is partially responsible for it. Sinclairs "It is difficult to get a man to understand something, when his salary depends upon his not understanding it!" comes to mind. Poor Bruce herding all those Google javascript cats.

Why do you say "he is partially responsible for it"?

It appears the author works on Chrome.

Re: 24-core CPU and I can’t type an email

#128

Earlier quoted context omitted.

Ubuntu w/Gnome is possibly the worst offender. I actually like Gnome a lot but anytime I leave my PC on for more than a day the UI gets incredibly sluggish. Just moving windows around gets choppy and there is a annoying pause whenever I click the application launcher (happens even without the animation). I've also found macOS provides the smoothest experience. I haven't found W10 that bad, but I haven't used it that…

I've found alt-f2 then r (ie. restarting gnome) puts it back in as good a state as a fresh boot. Sometimes my extensions won't load and this also restarts those.

Just tried this and it works great. Much better solution than rebooting. Thanks!

Re: 24-core CPU and I can’t type an email

#129
post #93
post #34

Earlier quoted context omitted.

He cant say 350MB for just one tab is bloatware while he is partially responsible for it. Sinclairs "It is difficult to get a man to understand something, when his salary depends upon his not understanding it!" comes to mind. Poor Bruce herding all those Google javascript cats.

Why do you say "he is partially responsible for it"?

FTA: "I work on Chrome, on Windows, focused on performance. Investigating this hang was actually my job."

Re: 24-core CPU and I can’t type an email

#130

Earlier quoted context omitted.

Does Linux has ETW or something of similar level?

The Linux "perf" tool is amazingly powerful, but it's user interface is... not ideal. That said, WPA (the UI for ETW) is complex for new users, but mostly only necessarily so.

perf has a nice UI nowadays, hotspot : https://github.com/KDAB/hotspot
Post reply on HN