Forum:RuneScape Wiki lag

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Forums: Yew Grove > RuneScape Wiki lag
Archive
This page or section is an archive.
Please do not edit the contents of this page.
This thread was archived on 22 August 2009 by Azaz129.

I am tired of this RuneScape Wiki lag. Right now, trying to type this message is very laggy. We have so much unnessesary junk on the wiki's layout. I want to bring this up because alot of users with older computers with the Windows XP operating system, with 512MB RAM, might slow down badly. I remember the time when the wiki only took up 20,000K of memory on Task Manager. Now, it goes up to 105,000K!

Try this:

Press "Ctrl + Alt + Del" on your computer. Choose "Processes" on the top tabs in the Task Manager menu. Then, scroll down to the "iexplore.exe" process (if you are using Internet Explorer, e.g. If not, choose the process that represents your internet service provider, or ISP). Check the CPU usage of it and the Kernel memory usage (e.g. 100,000K). Post that information here.

Now, the important part: Lets remove some of the junk from the sidebar, for example, or make the file size of the Wiki logo smaller somehow. Or lets try and reduce the size of our pages by archives, and remove unneeded hyperlinks. I propose a bot that can cleanup our wiki pages.

Another thing that gets on my case is these horribly formatted signatures. From the time that I came here, to the time I left, there has been an increase in these signatures, that use the template that makes you link personal pictures to your user page. I say we have an over haul of the signature policy to reduce the amount of code you can use (just a suggestion).

So post here and follow my rules: Follow the wiki's rules, no flaming, no spamming. Thanks, Amethyst II Talk 12:35, 8 June 2009 (UTC)

Discussion

Comment I tend to agree. The side bar is way too long and signatures are just getting ridiculous. Nobody wants a laggy wiki (say that 10 times fast) ‎Easter egg.pngAtlandy 12:56, 8 June 2009 (UTC)

Comment Unfortunatly most of the "junk" that gets added to the header, the footer, or the sidebar are added by Wikia and as such we have no control over. --Gold ore.png Mercifull UK serv.svg (Talk) 13:20, 8 June 2009 (UTC)

Comment - I also agree on this. Although I don't tend to get a lot of lag, but can see what you mean. Just look at this article, it has two links that were already stated earlier. I already removed them, but there are still many more left. But how can we get a bot to clean up to reduce lag? ~MuzTalk 13:25, 8 June 2009 (UTC)

Comment- Mine says 121,320 K!!!! and that's just on THIS page! http://img268.imageshack.us/img268/3921/thehimmemote.pngGone. 14:33, 8 June 2009 (UTC)

Comment - I brought up the task manager, and on this page, it says 26992K on reading and 26984K on editing. What skin are you using? I'm using Monobook, which doesn't look very memory-intensive. Also, it may have to do with the backlog of pages you visited with the browser (like, with how many times you can click the back button). I did a few tests, came back with the same window, and memory usage went up to 29250 KB. Also, I'm using Windows XP, as are many others here. Finally, it might depend on your browser. I'm using Internet Explorer 8. Butterman62 (talk) 15:06, 8 June 2009 (UTC)

Mine is firefox and mine only registers 85,738kb and thats with RuneScape HD wide screen AND this page. Santa hat.png Powers38 おはようヾ(´・ω・`) 15:35, 8 June 2009 (UTC)

  • This page alone (editing): 62,248K
  • 12 pages (tabbed; Windows Live Hotmail, a YouTube video, a RuneScape official forums thread, and 9 wiki pages (including but not limited to this page (editing), Recent changes (AJAX on), Forum:Yew Grove (AJAX on), and RuneScape:Templates)): 176,708K

I use Opera (9.64), on Windows Vista, with Monaco Sapphire. Quest.png Gaz Lloyd 7:^]Events!99s 16:12, 8 June 2009 (UTC)

Comment - I think that making a bot for this will delete some odf the excess junk on pages. Also, we should change the [[MediaWiki:Monaco.css]] flie to make Monaco more un-laggy friendly. ~DerilthTalk 16:35, 8 June 2009 (UTC)

Support - (First Support, surprisingly) I hardly ever get lag, but I always have the most updated ram, cpu, operating system, ect. Obviously not many people have the most up-to-date systems, so I can imagine many people getting lag. Only link to a certain page once, try not to make everything into a link, dont make images so big. Little things that make a huge difference --— Enigma 17:03, 8 June 2009 (UTC)

Comment - First of all, cpu and memory usage as reported via task manager are awful ways to determine whether or not a page on the wiki is too large. Each users memory usage would be relative to their system specifications and whatever programs and operating system they are running, for example 1.28 gigabytes of memory used while looking at this page means nothing to me because I have over 4 gigabytes of ram. It also depends very heavily on your ISP and the quality of service they provide. And finally it depends on how the servers over at wikia central are handling the load. All in all, it is not our fault the servers are slow, we have taken measures to clean up many hundreds of pictures and animations, and few pages (besides yg discussions) ever reach lag inducing levels. Cap and goggles.pngTEbuddy 04:47, 9 June 2009 (UTC)

Comment - Please forgive my ignorance on this, but I hear a lot of complaints of how people are lagged while using the Wiki..how is that they are able to play RS online and not have problems, but they do when they load a web page with few pictures or small animations? I have no lag on anything, even when playing RS in HD on a busy world. I'd like to say that there comes a time when you just need to upgrade your pc because the world isn't going to slow down and wait for you..but I understand that circumstances prevents people from upgrading and I understand that. Help me understand better how you can lag in one and not the other..then maybe I can judge things like this topic better. Thanks. Vadanea 06:06, 9 June 2009 (UTC)

Because Runescape actually downloads a lot to you own computer first. Then its just a case of sending instructions to your computer which when draws the graphics on screen etc. --Gold ore.png Mercifull UK serv.svg (Talk) 09:25, 9 June 2009 (UTC)

Comment - Per above comments, the memory usage of the browser is going to depend heavily on the browser you are using, what add-ons/extensions you have installed, and many other factors. Butterman62 made a comment above about how your page history can also affect your memory usage--this is in fact true, at least for FireFox and probably other browsers, which use various in-memory caches [1]. While those features increase the browser's memory usage, it's meant to make the browser faster. If anything we should not be looking specifically at browser memory usage but rather the actual file sizes for both the HTML, scripts, CSS, and any images/media. I'm in full support of optimizing that, under the realization that some factors like connection quality of your ISP and the speed of Wikia's servers may also contribute to slow-downs and are largely out of our control. --Quarenon  T / C 01:55, 12 June 2009 (UTC)

Oppose - Not enough evidence to determine source of the lag. Zig 06:54, 19 June 2009 (UTC)

Comment - 113,688, Mozilla Firefox (on this page). However, I don't suffer from any lag. A solution for your problem would be nice, but how would you solve this? Just changing the sidebar and the logo won't change that much, right? Ancient talisman.png Oil4 Talk 07:45, 19 June 2009 (UTC)

Oppose - I don't suffer from lag and we shouldn't remove links and things like that just to prevent lag. If you're lagging, simply don't multi-task. ~ Fire Surge icon.png Sentry Telos Talk  09:57, 20 June 2009 (UTC)


Oppose - I sometimes lag, but no more often here than I do on googlemail or facebook or even wikipedia. --Serenity1137 21:43, 20 June 2009 (UTC)

Oppose - Per Telos. Ancient talisman.png Oil4 Talk 19:13, 21 June 2009 (UTC)

Comment - everything that was written hear has been moved to my talk page as it is no longer needed and is more of a personal issue. Magic-icon.pngStelercusIlluminated Book of Balance.png 22:23, 23 June 2009 (UTC)

Comment - As I said in my original post, all we can do is try to make our load on wikia as light and efficient as possible. The actual performance of the server is controlled by wikia and their webhost. Making new rules under the banner of better performance for the entire wiki is pointless. Cap and goggles.pngTEbuddy 23:40, 23 June 2009 (UTC)

Comment - I don't think this is entirely the wikis fault. My browser was recently crippled by ad-ons (it took an average of 20 seconds to shut down the browser). The RS wiki used to lag like no tommarow on this laptop, which is running Vista on 2 GB of RAM and a duel core. Since I have disabled all but 3 add-ons (one for the antivirus to cheack pages, one to make RS work [java], and one to make youtube work), it has been much better. That being said, this editing is super laggy, and my laptop fans are going running a little hard, and I have 136,300k kernal usage, which is about the same RS used at startup. This is a computer that dosen't lag playing RuneScape on any north american or most european servers, and can handle austrailia off peak hours fine. Its a bit laggy, and not having text appear as I type is annoying, especialy when I backspace typos. Randox 05:15, 24 June 2009 (UTC)

CommentHonestly, I don't see much of a problem. The left sidebar is customizable right? I am assuming most of you play runescape. That's the most likely reason you made an account on the runescape wiki. How many of you are still playing in low detail due to your computer not being about to take high detail?‎Easter egg.pngCahoszerox 19 June 2009

Common.js Compression

Here's something I recently found that I thought might be relevant to this discussion. It's a JavaScript packer--it basically compresses the size of a script by removing comments, whitespace, and renaming variables. We may need to make a few changes on the script for this page to work per the usage guide. I ran our [[MediaWiki:Common.js|site script]] through it with the "shrink variables" option checked and the code size went from about 40K down to 19K. We can maintain an unpacked copy of Common.js elsewhere and re-pack it any time it is changed. --Quarenon  Talk 03:12, 18 July 2009 (UTC)

Don't forget the css too. Wink Sounds great, I've been thinking about the same thing lately. Maybe have a MediaWiki:Common.js.src and have instructions on how to minify the JavaScript on that page. On MediaWiki:Common.js maybe have a single line saying "See directions in Common.js.src"? - TehKittyCatTalk Wikian-Book 18:21, 18 July 2009 (UTC)
Agreed. I was looking at MediaWiki:Common.css/hilite as well. Can we reduce the number of selectors by using a.mw-userlink instead? This should cover the page histories (ul#pagehistory li a) and diffs (table.diff a), but I can't find where the others are used and whether they are covered by this class. --Quarenon  Talk 09:26, 19 July 2009 (UTC)
I'll check, I happen to know.Wink - TehKittyCatTalk Wikian-Book 10:48, 19 July 2009 (UTC)
I checked, all locations that rely on the existing css have that class. And, in fact most of the existing css is broken due to changes I presume in MW1.14 or by Wikia. I wonder, how can a.mw-userlink be used to affect just one user? If you provide how I'll test it. - TehKittyCatTalk Wikian-Book 11:20, 19 July 2009 (UTC)
Wow...I wasn't thinking when I said that. I just reread what you said and figured it out(trying to think and 6am ftl). I'll rewrite the hilite css.(See User:TehKittyCat/Litterbox/1, it will be the top section and it does work, I tested it) - TehKittyCatTalk Wikian-Book 11:48, 19 July 2009 (UTC)
Ok, I finished the list. I converted it to use the new css, I updated all of the groups(Staff and Helpers), and I also added the bot group back(It existed in the original hilite page, my reason for this is bots need to stick out as they are commonly thought to be a normal user). I have noticed one side effect to the new hilite, almost all links created by MediaWiki(not ones created by users) are affected. So, feel free to check it over, and hopefully add it.Smile - TehKittyCatTalk Wikian-Book 12:52, 19 July 2009 (UTC)
Comment - Nice, that change drops the size from 31K down to 6K, and it's easier to maintain than the current format. One other question: is there a specific reason why it uses href|="URL" instead of simply href="URL"? From what I've read, the |= syntax is meant for hyphen-separated values such as language codes [2]. --Quarenon  Talk 21:09, 19 July 2009 (UTC)
I just took that since it was already like that, I wondered that myself. I just removed the "|"s, as appears to still work fine without them(note: I'm just testing it in my global.css where I have my name hilited). - TehKittyCatTalk Wikian-Book 00:14, 20 July 2009 (UTC)