speed up mapload, like if you would reconnect after a ctd

General discussion of the Project Reality: BF2 modification.
Post Reply
Pesticide
Posts: 307
Joined: 2009-11-09 02:57

speed up mapload, like if you would reconnect after a ctd

Post by Pesticide »

Hi guys,

I have noticed superfast map load times when reconnecting to a server after a ctd if the map was still the same. Is there any trick of extracting files or copying some files when connected to a server that could accomplish this map load speed so it stays forever. I have plenty of hd space.

Anyone ever investigated this where the files are stored when you connect to a server and where they stay even when you ctd ?
Proud member of Forgotten Honor Tournament.
http://www.forgottenhonor.com
Broadcasting PR live from big servers every week http://www.justin.tv/pesticide/videos
Feriluce
Posts: 334
Joined: 2009-03-12 18:35

Re: speed up mapload, like if you would reconnect after a ctd

Post by Feriluce »

I assume its because you have already loaded the map once and the data is still in your ram.
Pesticide
Posts: 307
Joined: 2009-11-09 02:57

Re: speed up mapload, like if you would reconnect after a ctd

Post by Pesticide »

doubtfull, because the application crashed and the 1 gig exe file in task master is gone, so technicly there is no game data in ram anymore, it must be somewhere extracted on the hd
Proud member of Forgotten Honor Tournament.
http://www.forgottenhonor.com
Broadcasting PR live from big servers every week http://www.justin.tv/pesticide/videos
Psyrus
Retired PR Developer
Posts: 3841
Joined: 2006-06-19 17:10

Re: speed up mapload, like if you would reconnect after a ctd

Post by Psyrus »

Pesticide wrote:doubtfull, because the application crashed and the 1 gig exe file in task master is gone, so technicly there is no game data in ram anymore, it must be somewhere extracted on the hd
So the computer wasted time zeroing all that memory when the game crashed, or it simply lost its process identifier and was marked as unreserved? I think I know which is more likely.

Edit: to make all maps load like ctd'd maps grab about 20gb of ram, have pr/bf2 on a ram drive and obviously use the remaining 4+ gb as your ram. Should make loads very quick - very.

Edit again: it would also be advisable to symbolically link your documents/bf2/ folder to the ram drive or else it would bottleneck the loads.
Last edited by Psyrus on 2011-05-16 15:24, edited 1 time in total.
Psyrus
Retired PR Developer
Posts: 3841
Joined: 2006-06-19 17:10

Re: speed up mapload, like if you would reconnect after a ctd

Post by Psyrus »

Mora wrote:Or get a SSD
Bern there, faster than conventional drives but pales in comparison to a ram drive for speed :)
MasacruTheSniper
Posts: 19
Joined: 2008-05-09 20:53

Re: speed up mapload, like if you would reconnect after a ctd

Post by MasacruTheSniper »

Yeah I'm willing to fill a few gigas if we can like have the maps pre-loaded so it would load instantly.
CoLdFiRe88
Posts: 106
Joined: 2009-04-05 15:06

Re: speed up mapload, like if you would reconnect after a ctd

Post by CoLdFiRe88 »

Psyrus wrote:So the computer wasted time zeroing all that memory when the game crashed, or it simply lost its process identifier and was marked as unreserved? I think I know which is more likely.

Edit: to make all maps load like ctd'd maps grab about 20gb of ram, have pr/bf2 on a ram drive and obviously use the remaining 4+ gb as your ram. Should make loads very quick - very.

Edit again: it would also be advisable to symbolically link your documents/bf2/ folder to the ram drive or else it would bottleneck the loads.
so which IS more likely? actually can you repost what you said in simpler terms? I have no idea what you said.

i expect by SSD you mean solid state drive??
BloodyDeed
Retired PR Developer
Posts: 4452
Joined: 2008-05-07 17:43

Re: speed up mapload, like if you would reconnect after a ctd

Post by BloodyDeed »

How about installing PR on a Ramdisc?
Image
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: speed up mapload, like if you would reconnect after a ctd

Post by LITOralis.nMd »

There is a forum thread regarding Ram Drives. https://www.realitymod.com/forum/f360-g ... ystem.html
That is really the only way to permanently speed up map loads on BF2.

From slowest to fastest:

Single HDD. $20
Dual HDDs. $40
RAID HDDs $various
Single SSD with OS and BF2 :P R. $80
Dual SSD. $140
Single SSD and Ram Drive. $220
uefi boot OS on Ram drive using SSD as storage. $Expensive, need MOBO that can boot an OS in RAM, need 12 to 16GB RAM... and the SSD
uefi boot OS and BF2 :P R on Ram drive using SSD as storage. $Expensive, need MOBO that can boot an OS in RAM, need 12 to 16GB RAM... and the SSD

ATM, to upgrade speed, Cheapest way to go if using Windows 7 is to buy a smaller second gen SSD right now. Only need it to be as big as your games installation directories. For me, a 64GB would do.


Prices are abitrary guesses,.. the point is the cost increases at a exponential rate for the extra speed.
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: speed up mapload, like if you would reconnect after a ctd

Post by LITOralis.nMd »

Hi BloodyDeed,
enjoyed the forest fire test server, you were a great CO.

The Ram Disk option is a good option if you can find 12 to 16 GB of RAM at a decent price, check out the thread link:
https://www.realitymod.com/forum/f360-g ... ystem.html

FInd a Ram Disk software suite that will mount and unmount ISO files, then set up a new virtual ram drive and install your game, save the drive to an ISO, then you can load the ISO to the rram drive before starting game... very convenient and you can then create as many drives as needed, one for each of your games.
Psyrus
Retired PR Developer
Posts: 3841
Joined: 2006-06-19 17:10

Re: speed up mapload, like if you would reconnect after a ctd

Post by Psyrus »

CoLdFiRe88 wrote:so which IS more likely? actually can you repost what you said in simpler terms? I have no idea what you said.

i expect by SSD you mean solid state drive??
The simplified version is that in my comp sci degree we were taught how operating systems typically handle memory allocation and management. On the balance of probabilities, feriluce is correct and the map/game data is still in ram and thus does not need to be reloaded, thereby resulting in the fast rejoins.
Mikemonster
Posts: 1384
Joined: 2011-03-21 17:43

Re: speed up mapload, like if you would reconnect after a ctd

Post by Mikemonster »

If I win the lottery I promise to by everyone in this thread a swanky new SSD. A man can dream.. I'm really looking forward to these ecoming standard even on cheap PC's.
Pesticide
Posts: 307
Joined: 2009-11-09 02:57

Re: speed up mapload, like if you would reconnect after a ctd

Post by Pesticide »

dont go offtopic please ... im looking for ways to speed up loadtime with no expenses using some knowledge about what happens during mapload.

any dev know exactly what happens when a ctd happens , what files are where in ram, and how we could profit from this knowledge somehow ?
Proud member of Forgotten Honor Tournament.
http://www.forgottenhonor.com
Broadcasting PR live from big servers every week http://www.justin.tv/pesticide/videos
Feriluce
Posts: 334
Joined: 2009-03-12 18:35

Re: speed up mapload, like if you would reconnect after a ctd

Post by Feriluce »

Pesticide wrote:dont go offtopic please ... im looking for ways to speed up loadtime with no expenses using some knowledge about what happens during mapload.

any dev know exactly what happens when a ctd happens , what files are where in ram, and how we could profit from this knowledge somehow ?
During mapload the map data, including models etc, is loading from your HD into your Ram. Thats basically it. Maybe if there was a way to preload a lot of the common models at game startup that would speed up all maploads. You'd have a longer loading time on game startup though.
Vicious302
Posts: 407
Joined: 2010-07-28 19:54

Re: speed up mapload, like if you would reconnect after a ctd

Post by Vicious302 »

probably has something to do with what loads to your video card ram... and your scratchdisk as well.
Soppa
Posts: 360
Joined: 2009-02-23 14:24

Re: speed up mapload, like if you would reconnect after a ctd

Post by Soppa »

Vicious302 wrote:probably has something to do with what loads to your video card ram... and your scratchdisk as well.
I got SSD drive with swapping turned off and still mapload takes some time.
I agree, its because reading up textures to video card ram.
Zimmer
Posts: 2069
Joined: 2008-01-12 00:21

Re: speed up mapload, like if you would reconnect after a ctd

Post by Zimmer »

Pesticide wrote:dont go offtopic please ... im looking for ways to speed up loadtime with no expenses using some knowledge about what happens during mapload.

any dev know exactly what happens when a ctd happens , what files are where in ram, and how we could profit from this knowledge somehow ?
What others have said the files dont magically erase from the memory it just get checked as a place new stuff can be put. So when the same files load up again the files are all ready in the memory meaning there is no need to load up all the files.
People don't realize that autism doesn't mean they're "stupid". Just socially inept. Like rhino... > > or in a worst case scenario... Wicca. =)- Lithium fox
Image

I found this sentence quite funny and since this is a war game forum I will put it here. No offense to the french just a good laugh.
"Going to war without France is like going deer hunting without an accordion. All you do is leave behind a lot of noisy baggage."
Post Reply

Return to “PR:BF2 General Discussion”