Alleg on RAM drive?

User-to-user help and troubleshooting.
Post Reply
SpaceJunk
Posts: 759
Joined: Wed Apr 06, 2005 7:00 am
Location: Collision orbit

Post by SpaceJunk »

Yo.

I've been away of Alleg since I got 'downgraded' to an old workstation (750MHz Duron with a 64MB video card, it runs but not really smooth). But, since I hope I'll be able to put my hands on some SDRAMs I was wondering: how much use does Allegiance of harddisk reading/writting? I thought about placing Alleg on a RAM drive, with a mirror on the HD to copy it there before running it, tho if Alleg is loading data (like textures) only once, at startup, it would be faster only when the game starts.

So, would it be really worth setting up a RAM drive for Alleg?
Image
ImmortalZ
Posts: 5048
Joined: Mon Sep 08, 2003 7:00 am
Location: India
Contact:

Post by ImmortalZ »

The only time Alleg loads stuff is when you join a server. I don't know how much of an advantage a RAM drive will provide, except for reduced loading time. On another thought, that machine should be plenty to run Alleg smoothly. Post your full config will ya?
schnobs
Posts: 85
Joined: Mon Jan 24, 2005 8:00 am
Location: Fürth (de)

Post by schnobs »

I'd say your box has about 3-5 times as much oomph as is strictly necessary for Allegiance. I've been able to play Alleg with less than that (32MB Matrox card, for crissakes) at 1024 resolution with 30+fps. If you get much less than that, I'd say you have an actual problem somewhere; and rather than toy around, my suggestion would be to find and resolve the issue.

As to your actual question (how much data is read from disk during gameplay), I cannot give a qualified answer. You'll have to wait for one of the coders.

But given you have enough RAM, I don't think you need to mess around with a RAM drive. Just slap it into the box and let the windows disk cache do it's work. Oh so long ago and with another game I sunk hours (and lots of money) into setting up such a RAM drive thingy, only to find out that the performance gain over normal caching was barely measurable. Lots of trying and the weirdest test scenarios were necessary to show that there was any gain at all.
pkk
Posts: 5419
Joined: Tue Jul 01, 2003 7:00 am
Location: Germany, Munich

Post by pkk »

As far I know alleg loads the used files into memory, than it doesn't access the files from the harddisk.

But Windows does swap the RAM on the harddisk. /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />
The Escapist (Justin Emerson) @ Dec 21 2010, 02:33 PM:
The history of open-source Allegiance is paved with the bodies of dead code branches, forum flame wars, and personal vendettas. But a community remains because people still love the game.
Post Reply