What even is performance
-
@julianlam said in What even is performance:
@pie_flavor said in What even is performance:
I've discovered I can inflate it much more rapidly if I switch back and forth between VPN and non-VPN on alternate threads.
Tell me more about this... you're flipping your vpn on and off as you navigate between pages, and this causes memory usage to spike?
Are you seeing the reconnection alert whenever this happens?
Nope. And it still builds up just fine without it, it just builds up faster that way.
-
One of the in house developer controls repaints half the fucking screen on a click. I have just given up. Inline JS, Inline CSS.
I used to try to write fast JS and use efficient CSS selectors. But most devs don't care or don't know. I can't make the whole world erudite.
-
@pie_flavor said in What even is performance:
That is correct. That's the whole point of an SPA.
To balloon memory out of control, break basic browser functionality and introduce navigation bugs where there shouldn't be>
Yeah, that IS the whole point of a SPA.
-
@pie_flavor said in What even is performance:
@dragoon That is correct. That's the whole point of an SPA.
But anyways, if you're using the Music thread, how much of that is memory creep from iFramely being the shit-douche it always is?
-
@lorne-kates said in What even is performance:
@pie_flavor said in What even is performance:
@dragoon That is correct. That's the whole point of an SPA.
But anyways, if you're using the Music thread, how much of that is memory creep from iFramely being the shit-douche it always is?
It continuously inflates even without the music thread.
-
Today my phone did its general 'lag insanely for about thirty seconds' thing it likes to do occasionally when I unlock it. I forget who gave me this bit of advice, but I immediately opened Chrome and closed the WTDWTF tab. Instantly, all the lag stopped (it should have been going another twenty seconds or so). I'll see if I can reproduce that next time it happens, but for now, holy shit.
-
This still isn't fixed. Goddamn.
-
@pie_flavor said in What even is performance:
This still isn't fixed. Goddamn.
And what do you propose is "the fix"? Hmm? Nothing is going to happen until more information than "OMG RAWR IT EAETS MEMZ!!!" is given.
-
@tsaukpaetra It's a very easily reproducible issue.
-
@pie_flavor said in What even is performance:
@tsaukpaetra It's a very easily reproducible issue.
I can easily reproduce my Intel Wifi driver crashing. Doesn't help Intel fix their shitty driver, does it?
-
@tsaukpaetra If they can reproduce it, then they should goddamned fix it already. Similarly, it is very easy for anyone to reproduce this memory leak.
-
@pie_flavor said in What even is performance:
@tsaukpaetra If they can reproduce it, then they should goddamned fix it already. Similarly, it is very easy for anyone to reproduce this memory leak.
Pull requests accepted.
Or, fuck you, give me money.
-
@pie_flavor said in What even is performance:
@tsaukpaetra It's a very easily reproducible issue.
As far as I can tell, you're the only one in this thread who's been able to reproduce it.
-
@heterodox I'm the only one that's tried. It's very easy - just use WTDWTF for a while in a single tab.
-
@pie_flavor said in What even is performance:
@heterodox I'm the only one that's tried. It's very easy - just use WTDWTF for a while in a single tab.
Shut the hell up. @ben_lubar, @Dragoon, @Tsaukpaetra, and @HardwareGeek all tried, or at least provided their results, most after running for several days. You're being rude by assuming that this is such an obvious problem and everyone else is a lazy asshole.
This isn't running on a TI-83; nothing's "very easy" to reproduce. My reading of the thread is that there's something about your particular collection of configuration, hardware, and software that's causing you to experience the problem. That makes it hard to fix until someone else experiences the problem and we can then discover a commonality between those variables. Unless you expect someone from the NodeBB dev team to fly out and debug it right on your computer (hint: this is an unreasonable expectation).
Filed under: A distinct lack of coffee
-
RAM is cheap, just get more. My PC has 32 GB and I don't regret it one bit.
-
@mott555 said in What even is performance:
RAM is cheap
I don't think that's been true for a while. But yes more RAM is definitely nice.
-
@mott555 said in What even is performance:
RAM is cheap
the G.Skill F4-3200C16D-16GVGB memory kit was sold for $68.99 in June 2016, according to price history data from PCPartPicker, though is presently sold for $169.99, which is down from a peak of $202.99 last seen in January.
-
@bb36e That's nuts. I bought 32 GB of ECC DDR4 for like $100 when I built this PC.
-
@pie_flavor said in What even is performance:
@heterodox I'm the only one that's tried. It's very easy - just use WTDWTF for a while in a single tab.
I currently have 54 tabs open.
I (almost) always use WTDWTF in a single tab.
I (almost) never close Chrome
If Chrome is open, the WTDWTF tab is also open
I don't reboot often.
Now, tell me what you consider "for a while" ?
-
@pie_flavor said in What even is performance:
@heterodox I'm the only one that's tried. It's very easy - just use WTDWTF for a while in a single tab.
I use WTDWTF in a single tab for weeks at a time (INB4 impossibru Windows doesn't have that much uptime).
Still doesn't get beat out by my app that consistently manages to crash the tab somehow, but only if I'm not looking at it. And all that's doing is displaying a few tables and a log window!
-
@heterodox said in What even is performance:
My reading of the thread is that there's something about your particular collection of configuration, hardware, and software that's causing you to experience the problem.
Given the description, I'm guessing that the VPN twiddling is causing all packets in relation to a websocket connection to get lost, rather than the system eventually responding to the bust websocket with a “WTF are you talking about?” which would let the library know to give up trying and instead throw away that bust object and instead make a new one. Yet it's making new websockets anyway and those succeed (until the VPN is monkeyed with again) and that causes more and more of these objects to build up.
The workaround is to hard refresh the SPA from time to time. It's probably a good idea to do that anyway.
-
@dkf said in What even is performance:
The workaround is to hard refresh the SPA from time to time. It's probably a good idea to do that anyway.
My phone seems to do this already, usually after backgrounding the gay for a while and coming back to it.
-
@tsaukpaetra said in What even is performance:
backgrounding the gay for a while
-
@dkf Sounds like a laugh as yep situation
-
@hungrier said in What even is performance:
@dkf Sounds like a laugh as yep situation
Huh. Tab and gay are basically right next to each other. Not sure why it would pick gay over tab though, I hardly ever use that word...
-
@tsaukpaetra said in What even is performance:
Not sure why it would pick gay over tab though, I hardly ever use that word
We believe you
-
@timebandit said in What even is performance:
@tsaukpaetra said in What even is performance:
Not sure why it would pick gay over tab though, I hardly ever use that word
We believe you
I have more tabs open than gays, I'll have you know!
Wait....
-
@dkf The VPN exacerbates the situation. It happens just fine without it, albeit more slowly.
-
@pie_flavor You just need 3px more RAM.
-
@pie_flavor
So, do you have an idea of how stable your Internet connection is without the VPN? 5% packet loss? 0% with constant 60ms ping +/- 2ms?If the leak is because of sockets dropping incorrectly (which the VPN toggling would definitely be exacerbating), that might explain why people aren't consistently replicating it, if you have an Internet connection that is less stable than average...
-
@izzion Zero.
-
@pie_flavor said in What even is performance:
@izzion Zero.
You have Zero Internet? I didn't know dial-up from them was still available!
-
@tsaukpaetra Ben hosts the VPN.
No, I meant it's 0% packet loss.
-
@pie_flavor
And just for the sake of potentially ruling out the socket reconnection process... when you're not changing connections, do you:- Often, sometimes, or never see the "wait a moment while we try to reconnect" toaster?
- Have any sort of software or hardware firewall (or a shitty DSL modem with a NAT table that falls over in a light breeze) that terminates long running connections after a certain amount of idle or total time?
-
@izzion said in What even is performance:
@pie_flavor
And just for the sake of potentially ruling out the socket reconnection process... when you're not changing connections, do you:- Often, sometimes, or never see the "wait a moment while we try to reconnect" toaster?
- Have any sort of software or hardware firewall (or a shitty DSL modem with a NAT table that falls over in a light breeze) that terminates long running connections after a certain amount of idle or total time?
Neither of those things.
-
-
@tsaukpaetra said in What even is performance:
You have Zero Internet?
I assumed he was answering the question
Do you have an idea ...?
Zero
-
@pie_flavor said in What even is performance:
@tsaukpaetra Ben hosts the VPN.
No, I meant it's 0% packet loss.
But ping measured in
msMs.
-
@hardwaregeek I've almost downloaded your post, hang on.
-
@pie_flavor said in What even is performance:
hang on.
-
I just noticed that my TDWTF tab was getting slower and slower (like, several seconds between clicking on the "unread" icon and actually seeing the list of threads), and freezing quite regularly while scrolling (probably when loading more stuff, although it seemed to happen at about any time).
I closed the tab and reopened another one and it is now back to its usual, uh, well, not really fast but let's say not-sluggish.
Too bad I forgot to check memory usage before doing that, because it sounds similar to the issue reported here?
-
Because @pie_flavor still doesn't live in my universe:
This is, of course, after my Broadcom wifi fucked itself several times over the last few weeks (but luckily disabling and re-enabling via Device Manager fixes it).
-
@Tsaukpaetra And you use a single tab for all WTDWTF actions, and haven't closed it?
-
@pie_flavor said in What even is performance:
@Tsaukpaetra And you use a single tab for all WTDWTF actions, and haven't closed it?
Yup. Occasionally I open a new tab when I don't want to leave the thread I'm in but want to make a reply to another one. In fact, it's "Pinned" (which doesn't mean much).
-
Short-lived tabs FTW.
-
My TDWTF tab is currently hovering at 1 GB. Been open for at least a few days, but not much more than that since I had a reboot sometime last week.
-
I know nobody cares about this, but my TDWTF tab is currently at 1.8 GB, constantly eating about 15-20% of a cpu, even when it is not active.
Not sure if it's worth not-reloading and struggling with it in the hope that some valuable information might be obtained from it...
-
@remi Interestingly, a reload does not change at all the memory footprint. Duplicating the tab (Opera, right-click the tab, duplicate. No idea whether it's an Opera feature or a Chrome one...) helps a tiny bit (it goes down by about 10%).
The only way to really get it back down to a more reasonable amount is to open a new tab and navigate to TDWTF.
-
@remi said in What even is performance:
@remi Interestingly, a reload does not change at all the memory footprint. Duplicating the tab (Opera, right-click the tab, duplicate. No idea whether it's an Opera feature or a Chrome one...) helps a tiny bit (it goes down by about 10%).
The only way to really get it back down to a more reasonable amount is to open a new tab and navigate to TDWTF.
Chrome has it too. Duplicating a tab does not actually start a new process (what normally happens in a New Tab) as demonstrated in the Chrome Task Manager:
Which explains why nothing really happened.
I figure it's whatever memory leak @pie_flavor experiences.
For reference, the current tab (that I just duplicated) has been running for 24 days, 20 hours, 1 minutes (approximately).