Skip to content

What exactly is happening during the loading screen?

Win Wall··5 votes·4,481 views

I've heard rumors about it loading all the game files into the RAM, but that seems a bit off, given that League is about 10 gigabytes on my HDD and I only have 2 gigabytes of RAM. I'm pretty sure network latency isn't the cause either; when I play at a friend's house that gets ~10 ping, my loading time is the same when I play at my house with ~70 ping. What exactly is going on?

Rito answer pliseru, it'd be great to hear from a dev.

11 Comments

sshiny10 votes

I've heard rumors, that the game is "Loading" during the loading screen. Not confirmed :( summoner 4

Win Wall2 votes

Mind=Blown

Never knew that was happening.

Saelani4 votes

Loading time and ping are in no way related.

During the loading screen the client is loading all of the assets for the map, champion information and all other relevant information required to play the game and places this into what is often called a "runtime environment".

The speed at which this happens is based purely on the performance of your computer. Mainly CPU/RAM speeds and hard drive read speed. Ping is just a measure of the amount of time it takes your computer to contact the riot servers and receive a response.

Basically all the assets and files that are required to run the program are copied from the hard drive and placed into your computers RAM or running memory.

I should also add that it is not loading ALL of the files belonging to League of Legends, just those that are required for the current game. Relevant champions, relevant map, neutral monsters, etc. etc. For example, when you play a standard 5v5 game on Summoner's Rift, it doesn't also load Twisted Treeline or any related information to it.

Xengre1 votes

Loading time and ping are in no way related.

During the loading screen the client is loading all of the assets for the map, champion information and all other relevant information required to play the game and places this into what is often called a "runtime environment".

The speed at which this happens is based purely on the performance of your computer. Mainly CPU/RAM speeds and hard drive read speed. Ping is just a measure of the amount of time it takes your computer to contact the riot servers and receive a response.

Basically all the assets and files that are required to run the program are copied from the hard drive and placed into your computers RAM or running memory.

I should also add that it is not loading ALL of the files belonging to League of Legends, just those that are required for the current game. Relevant champions, relevant map, neutral monsters, etc. etc. For example, when you play a standard 5v5 game on Summoner's Rift, it doesn't also load Twisted Treeline or any related information to it.

I support the above statement bar a few issues. Ping may be taken into account or it may be other player's connection taken into account. To what degree and why I don't know. This is extremely easy to prove for anyone with a capable SSD and CPU. When loading a game you will take much longer to initially load a normal 5v5 when everyone else is loading. When reconnecting to a fully loaded game where everyone is loaded or a bot game with no other players it may take 2-3 seconds to fully load. If this is the case of other player's connections being involved with your loading this means Riot is doing something absurdly stupid as this is completely unnecessary, period. Another thought is that this does not factor in ping at all and the differences shown are due to the fact that their loading values are very inaccurate, particularly for faster loaders (the fast options may only reach 39% for example before jumping straight in game skipping the rest). Personally, I have a problem with LoL's loading period where I am forced to wait on other players to take longer to load in then it does for the same computer setups in Crysis Wars multiplayer (one of the longest loading screens for a game not due to a bug that exists atm).

HDD/SSD speeds have the biggest impact followed by CPU with far less impact and lastly RAM.

Saelani1 votes

You are correct about re-joining a game. This is substantially more network based than the initial load as it requires a lot of synchronization to be done. However, it is still very much related to the statements i made earlier as the game assets still need to be loaded.

ReallllusioN1 votes

10 gigabytes is the size of 100+ champions but you only load 10 champions so you just load 1 gb.

SecretAgentHulk1 votes

The game is actually ~3.5GB (the rest is patches for whatever reason, because we all need patch 4.1 still amirite), so when it's loading 1/4 maps and 10/120 champs, a game very easily fits inside 1GB RAM.

And it's definitely loading from disk into memory. My friend just replaced his hard disk with an SSD and his load time improved 3x. Additionally, my Mac (Macs have cache memory, so when the game ends most of the files still stay in the RAM) will load a game roughly twice as fast on the second and all subsequent games.

Xengre1 votes

The game is actually ~3.5GB (the rest is patches for whatever reason, because we all need patch 4.1 still amirite), so when it's loading 1/4 maps and 10/120 champs, a game very easily fits inside 1GB RAM.

And it's definitely loading from disk into memory. My friend just replaced his hard disk with an SSD and his load time improved 3x. Additionally, my Mac (Macs have cache memory, so when the game ends most of the files still stay in the RAM) will load a game roughly twice as fast on the second and all subsequent games.

My game is 3.46GB so not sure where people got the 10GB figure. It should load data from drive into RAM and for those with lesser amounts of RAM possibly onto pagefile (drive cache acting as temp RAM solution when limited RAM space). Both Mac and Windows should do this (I'm not particularly familiar with Mac, but the concept should be the same). There is no cache memory int he manner described by SecretAgentHulk. Pagefile will produce slower loading then if it were all in RAM and unless Mac client doesn't free up the RAM after a game (big no no) then you wont see any loading benefits. Besides, you may not have the same champs, etc. loading the next time around. That said the champions and map shouldn't take much time to load in the first place even on low tier systems so its questionable why the game takes such a long time for most users to load. Yes, SSD can yield serious loading improvements. I load in 2-3 seconds (bot game/reconnect) or around 10-15 average game (though I'm betting the loading indicator is actually inaccurate).

SecretAgentHulk1 votes

I'm pretty sure LoL keeps old patches that have been downloaded. If it's 10GB you honestly might just delete the game and re-download. Also Macs do indeed keep old memory in RAM, clearing it out as needed if something else comes along. It generally works pretty well (and it's gotten better even in just the past couple years), but I don't think Windows uses it. (And this is a Mac feature, not a LoL Mac Client feature.)

Xengre1 votes

I'm pretty sure LoL keeps old patches that have been downloaded. If it's 10GB you honestly might just delete the game and re-download. Also Macs do indeed keep old memory in RAM, clearing it out as needed if something else comes along. It generally works pretty well (and it's gotten better even in just the past couple years), but I don't think Windows uses it. (And this is a Mac feature, not a LoL Mac Client feature.)

After looking a bit I simply can't find any such feature of Mac OS X. Doing so would be dangerous as it could produce severe glitches and crashes in games, anyways so I doubt that Mac does such a thing. Of course, if you can find an article to this "feature" or the name of the feature by all means. I know Mac supports memory compression in RAM which isn't very common in Windows. I mean, the memory could still exist but it would be bogus data and it would be a programmer's error to use it. There may be optimizations League side that can intentionally keep certain data in memory but I doubt they have done this.

SecretAgentHulk1 votes

It exists. I know my operating system, and due to web browsers being butts, frequently ran into allocation errors for this reason before I upgraded to 8GB. Pre-Mavericks it was known as inactive memory, and is now known as File Cache.

More from Gameplay