 |
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.
Windows 7 - Skyrim Optimization Mod |
12-23-2011
|
#1 | | Windows 7 Home Premium x64 SP1 |
Skyrim Optimization Mod Quote: Tests show that the "Markath FPS Death Zone" went from ~20FPS without the plugin to ~30FPS with the plugin, framebuffer size 2560x1600, everything maxed except no AA. Not joking or trolling; that's just the worst CPU-bound case I could think of. Source Quote: Things I'd like to note here:
Only a fraction of the speedup comes from using SSE2 code. The original exe also uses SSE2 code, just not in the right places where it is truly needed. This could've been prevented by using automated SSE2 vectorization and/or another math library. Interestingly, in this case, it's the dot product function that has been rewritten, which is somewhat ironically the #1 textbook example for automated vectorization in compiler demos.
Much of the speedup is gained by manually eliminating (only possible if the entire function can be reduced to 5 bytes or less), or at least simplifying calls along the critical code paths as far as possible. This doesn't even produce nearly as good results as an optimizing compiler could have because of many restrictions a compiler doesn't have to deal with in the first place, so every optimizing compiler can do and usually does an excellent job at this if told to do it. Skyrim would probably experience an execution speed gain of over 100% just by applying this single optimization, as it has drastic consequences to the amount of code that could be detected as being redundant and thus completely eliminated. I know that sounds exaggerated, and normally would be, but it isn't when you've read and profiled enough of the code to know just how bad the compiled code is.
Just 3 functions have truly been rewritten, everything else is either a variant form or an instruction-level simplification of functions consisting of things like "return *this;" which are at the very top in the profiled list because the compiler was obviously told not to inline it. So, every time a certain kind of pointer needs to be dereferenced, the game will call a lengthy function to do what can be (and is) replaced by a single instruction. Fixing this manually isn't feasible after a certain point, but the compiler can do this for the whole binary at the cost of just a few seconds extra compiling time and much better than ever possible by a human (at least at these code dimensions).
In general, the TESV code has pretty high register pressure. A huge part of this is simply due to the completely missing optimizations which would otherwise eliminate the unneeded allocations, but an x86_64 build would also definitely help improving this condition.
Jump targets are completely unaligned, including the so-called hot targets which are hit millions of times in short periods, leading to cache stress due to multiple fetches being required to execute a jump, whether correctly predicted or not. Optimizing compilers can automatically align them properly.
I guess I don't have to mention how bad the threading is; this isn't trivial to fix though. Just sad that it's almost 2012 and this thing can't even properly use two threads. Besides all the other obvious flaws, this is the main reason why the game is so strongly limited by the CPU. Single-core speed didn't grow nearly as much as the number of cores did. Everyone knew it 10 years ago, but back then they could still just wait for the hardware to provide the additional power needed to run the sloppy code - this trick doesn't work anymore.
Yeah, Skyrim is a nice game, but many obstacles we've got here have trivial fixes compared to the size of their respective payoffs (little to none extra coding required). Especially with over 10 million copies already sold, I somewhat expect that it will at least run on recent hardware without sub-30 framerates. Source
A Guy | My System Specs | | OS Windows 7 Home Premium x64 SP1 CPU INTEL Core i5-750 Quad-Core 3.37GHz Motherboard ASUS P7P55D Memory KINGSTON 4GB (2 x 2GB) HyperX PC3-12800 DDR3 1600MHz CL8 Graphics Card MSI N240GT-MD1G/D5 GeForce GT 240 1GB 128-bit GDDR5 Monitor(s) Displays Samsung SyncMaster B2430H 24" , SyncMaster P2050 20" Screen Resolution 1920 x 1080 , 1440 x 900 PSU ANTEC TruePower New TP-550, 80 PLUS, 550W Case ANTEC Three Hundred Illusion Cooling COOLER MASTER Hyper 212 Plus, 3 x 120mm 1 x 140mm Case Hard Drives Intel X25M Gen2 80GB, SEAGATE 500GB Barracudaź 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache Internet Speed 20 + Mbps |
12-23-2011
|
#2 | | Windows 7 Ultimate x64 & Mac OS X 10.7.1 |
Modders and coders amaze me  they can do so much and have such huge impacts on games performance, yet the people who make the game can't achieve this themselves lol.
By the sounds of it soon it will run on netbooks (joke) lol | My System Specs | | System Manufacturer/Model Number Built by badgers!!! OS Windows 7 Ultimate x64 & Mac OS X 10.7.1 CPU Intel Core i5 2500k Motherboard Asus P8z68 Memory Corsair Vengence 8gb 1866mhz Graphics Card XFX Ati HD6950 2Gb Sound Card Mobo Optical to Yamaha Rx-V667 7.2 home cinema system Monitor(s) Displays Samsung LED 32" TV Screen Resolution 1920x1080 Keyboard Saitek Cyborg V7 Mouse Saitek R.A.T 9 PSU Corsair HX650w Modular Case NZXT Phantom White Cooling Corsair H60 Push/Pull Hard Drives 120gb Corsair Force 3 SSD Internet Speed Too slow! Other Info AMD fusion E350N Home server-Windows Home Server 2011 (also made by badgers!)
2011 Macbook 2.4ghz Core2Duo, 4gb ddr3, 120gb Ocz Vertex SSD |
12-25-2011
|
#3 | | Win 7 premium 64bit/Win Pro XP 32bit /Ubuntu 12.04 |
im going to try this currently can only get around 30fps more fps wont hurt :P
one problem though i dont get how to install this read readme still dont get it ........ | My System Specs | | System Manufacturer/Model Number me OS Win 7 premium 64bit/Win Pro XP 32bit /Ubuntu 12.04 CPU AMD Athlon II X4 640 Processor (4 CPUs), ~3.1GHz|(O.C)3.4GHz Motherboard M5A78L-MLX Plus Memory 4096MB RAM DDR3 Graphics Card XFX HD 6870 1GB Sound Card Logitech Speakers (VIA High Definition Audio) Monitor(s) Displays 21inch monitor vga Screen Resolution 1280x1024 Keyboard Microsoft USB Comfort Curve Keyboard 2000 (IntelliType Pro) Mouse HP 1000dpi desktop mouse PSU CORSAIR CX600 600w Case AZZA Orion 202 EVO Cooling 4fans and cool master hyper TX3 cpu cooler Hard Drives 500gb hdd 7200rpm Western Digital Internet Speed 5.6mb down/ 0.55up yeah dsl i know it sucks Other Info just a dude who loves tech Skyrim Optimization Mod problems? All times are GMT -5. The time now is 08:20 PM. |  |