[Linux] Big loading time compared to the Windows version
rkfg
Russia Join Date: 2013-09-03 Member: 187744Members, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow
I noticed that Windows version of NS2 loads times faster than the Linux one. First off, I have an SSD and Steam is on it. I also moved and symlinked ~/.config/Natural Selection 2 to SSD since it contains the shaders cache. No matter what when I get into the ready room there's already 15 out of 20 players there and I'm sure all of them use WIndows. I also saw the loading process on some youtube stream and it was a blast! Literally 20 seconds from pressing the join button to enter the RR. For me it takes 1 minute and 17 seconds (!!!), almost 4 times longer. Imagine what happens with HDD (hint: about 3 minutes of waiting). But let's stick to SSD for now. I doubt Windows filesystem is performing this better than ext4. I also doubt that SSD is 4 times faster than mine (OCZ Vertex 4). But I suspect it has something to do with case sensitivity because I see lots of this
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/Dropship/dropship1_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/Dropship/dropship1_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/Dropship/dropship1_normal.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/Dropship/dropship1_normal.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/Dropship/dropship1.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/Dropship/dropship1.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/tunnel/Mouth_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/tunnel/Mouth_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/tunnel/Mouth_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/tunnel/Mouth_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/lerk/Lerk_shadow_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/lerk/Lerk_shadow_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/lerk/Lerk_shadow_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/lerk/Lerk_shadow_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/female/Female_view_v3.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/female/Female_view_v3.dds'
on each load. It's not a secret that Windows FS are case insensitve while Linux FSes are all case sensitive. I guess a hack was used to overcome this while porting the game, probably not very efficient when working with many files. Maybe it's unrelated at all but it bothers me performance-wise. Since CDT now has Linux developers on board and recently the performance improvements were made, could you please profile the loading process on Linux (using SSD to take out of equation the seek times) and see what exactly bottlenecks it? I have a couple of friends who really hate the long loading time on Linux and don't play NS2 exactly because of this. Which is sad. WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/Dropship/dropship1_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/Dropship/dropship1_normal.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/Dropship/dropship1_normal.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/Dropship/dropship1.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/Dropship/dropship1.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/tunnel/Mouth_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/tunnel/Mouth_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/tunnel/Mouth_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/tunnel/Mouth_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/lerk/Lerk_shadow_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/lerk/Lerk_shadow_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/lerk/Lerk_shadow_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/alien/lerk/Lerk_shadow_spec.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/female/Female_view_v3.dds'
WARNING: Corrected case of '/opt/SteamLinux/SteamApps/common/Natural Selection 2/ns2/models/marine/female/Female_view_v3.dds'
Comments
The new update (267) killed NS2 on my Linux machine, it failed to compile shaders and would just close. I managed to combine my current shaders folder with murray's and its worked my past two games. Although REALLY slow to get into game, when in my FPS are a lot better with this build. I'm on 14.6 Betas.