More Awesome Than You!
Welcome,
Guest
. Please
login
or
register
.
2024 November 21, 21:56:53
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
SUPPORT THE MUNICIPALITY!
Have you destroyed a paysite today?
"Jelenedra" is the new "gay".
All Lythdans are stupid and suck!
DEATH TO ALL STUPID HAIRY-BELLIED NESSES!
All Kewians are stupid and suck! Accept no Kewian-based substitutes!
Clearly, BlueSoup has failed us! You must not! BlueSoup has a fat head!
Hobbsee has a
scrawny pencil neck.
Rohina the Ugly Butted is a Horny Turkey
540287
Posts in
18067
Topics by
6545
Members
Latest Member:
cincinancy
More Awesome Than You!
TS3/TSM: The Pudding
The World Of Pudding
Reducing Hitching in The Sims 3 via Upgrading its Mono Runtime
0 Members and 1 Chinese Bot are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Reducing Hitching in The Sims 3 via Upgrading its Mono Runtime (Read 7417 times)
MechanicalPen
Asinine Airhead
Posts: 8
Reducing Hitching in The Sims 3 via Upgrading its Mono Runtime
«
on:
2017 March 10, 18:11:39 »
Disclaimer; I'm much more a forwards engineer than a reverse engineer, so if I am completely off base please let me know.
Sims 3 runs about as well as my asthmatic step-brother, especially if one tries to play with all Expansion Packs installed at once. This occurs (partially, I assume) for the same reasons the Unity3d engine gets hitchy; they both use an old version of the Mono Runtime for scripting. See, the first garbage collector that shipped with Mono was a Boehm GC. It was fast to implement and mathematically proven to work on any sort of code. However it accomplishes this by pausing all threads while it did its work, which isn't what you want in a real-time simulation video game.
Since then, a more .NET-like garbage collector was implemented, SGen, that reduced garbage collection times by switching from a mark-and-sweep algorithm to a generational algorithm. So I figure, if The Sims 3's current Mono Runtime was ripped out and replaced with a newer version that uses a Generational GC we might just see a performance increase.
The path to this would be to replace the statically linked Mono Runtime Library with a newer one, and then decompile and recompile all the scripting DLLs. Is this idea theoretically sound? Or have I missed something obvious?
Logged
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
Posts: 26288
Re: Reducing Hitching in The Sims 3 via Upgrading its Mono Runtime
«
Reply #1 on:
2017 March 11, 05:52:11 »
Aside from the difficulty of doing that, I don't see anything wrong with the concept. Let us know how it goes. I suspect TS3's bottlenecks are elsewhere, as you point out the problem occurs with more expansion packs, except more expansion packs don't add more actual .NET overhead as the core remains the same, but good luck.
Logged
Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
TS4: The Pee-ening
-----------------------------
=> Insert Amusing Name Here
=> Facts and Strategery
-----------------------------
TS3/TSM: The Pudding
-----------------------------
=> The World Of Pudding
=> Facts & Strategery
=> Pudding Factory
===> World of Puddings
===> Pudding Plots
-----------------------------
TS2: Burnination
-----------------------------
=> The Podium
===> Oops! You Broke It!
=> The War Room
=> Planet K 20X6
===> Building Contest of Awesomeness
=> Peasantry
===> Taster's Choice
-----------------------------
The Bowels of Trogdor
-----------------------------
=> The Small Intestines of Trogdor
=> The Large Intestines of Trogdor
-----------------------------
Awesomeware
-----------------------------
=> TS4 Stuff
=> Armoire of Invincibility
===> AwesomeMod!
=> The Armory
===> Playsets & Toys
===> The Scrapyard
-----------------------------
Darcyland
-----------------------------
=> Lord Darcy Investigates
-----------------------------
Ye Olde Simmes 2 Archives: Dead Creators
-----------------------------
=> Ye Olde Crammyboye Archives
=> Ye Olde Syberspunke Archives
-----------------------------
Serious Business
-----------------------------
===> Spore Discussions
Loading...