The world is Saving... Please wait.

Blood
Posts: 66
Joined: Sun Apr 25, 2010 11:38 pm

The world is Saving... Please wait.

Post by Blood »

When I entered this server I found that the pause and resume for the world to save was annoying. I know the importance of it and after a few days I was used to it.

With my time in UOSA Im seeing that Derrick (and staff) is making a hell of an effort to keep the server running by the rules of the era and the content of the patches are incredible. So I thought I should throw to the table my idea...

It is possible in UOSA to run the save process in a separate thread so it doesn't interfere with the gameplay? Like UO normally do saves that players don't notice it.


My 2 cents, thanks!

User avatar
Derrick
Posts: 9004
Joined: Thu Dec 13, 2007 7:49 pm
Location: Cove
Contact:

Re: The world is Saving... Please wait.

Post by Derrick »

I would love to do this, or even save each region individually by doing only a partial lock on the world between regions.

This issue with doing this entirely asynchronously is world consistency, it needs to be a snapshot which means there must be some lock on movement of items between segments of the save. Currently there is a single segment, other possibilities may exist though.

If we could get the world saves to be fast enough we could just get rid of the message, but currently we're at approx. 5 million items; saving that much data is 8 or 9 seconds is pretty speedy. The bottleneck on saves is actually hard drive speed, even with write caching enabled on raid 10.
Image
"The text in this article or section may be incoherent or very hard to understand, and should be reworded if the intended meaning can be determined."

User avatar
rouss
Posts: 414
Joined: Wed Apr 15, 2009 12:16 pm

Re: The world is Saving... Please wait.

Post by rouss »

SSD perhaps? quite pricey but ..
Chesapeake Nov. 1998 — July 2000
Second Age Feb. 2009 —

Dagon
Posts: 949
Joined: Tue Jun 16, 2009 11:09 am

Re: The world is Saving... Please wait.

Post by Dagon »

i dont know how it's done or how it's implimented or anything, but i logged into some other server a while back for a couple mins to see what it was all about and it had no-interupted-game-play world saves.. you played right through the save..

so its entirely possible, just dont know how they did it

User avatar
Rhaps
Posts: 188
Joined: Sun Aug 02, 2009 5:43 pm
Location: Scotland

Re: The world is Saving... Please wait.

Post by Rhaps »

Someone here must work in tech retail or supply, we're all geeks after all, hook up Derrick with some cheap SSDs! :lol:

User avatar
SJane3384
UOSA Donor!!
UOSA Donor!!
Posts: 1190
Joined: Mon Apr 27, 2009 5:51 pm
Location: Trinsic
Contact:

Re: The world is Saving... Please wait.

Post by SJane3384 »

Or another CUB! Would help reduce that 5 mil item count.......
Dolphins are NOT era accurate, and MUST be banned!
Sign my PETITION!

Rammar
UOSA Donor!!
UOSA Donor!!
Posts: 1513
Joined: Thu Jan 07, 2010 4:36 pm

Re: The world is Saving... Please wait.

Post by Rammar »

Derrick wrote:If we could get the world saves to be fast enough we could just get rid of the message, but currently we're at approx. 5 million items; saving that much data is 8 or 9 seconds is pretty speedy. The bottleneck on saves is actually hard drive speed, even with write caching enabled on raid 10.
Why save all the items every time? Would it be possible to do a Full save at server restart, then Incremental saves on "dirty" items throughout the day?

User avatar
MatronDeWinter
UOSA Donor!!
UOSA Donor!!
Posts: 7249
Joined: Wed Mar 04, 2009 3:35 am
Location: 你的錢包

Re: The world is Saving... Please wait.

Post by MatronDeWinter »

How big of a Solid State drive would the server need, and would that work? I could probably get one if it's something reasonable, I know a few distributors of said types of things. I know those things can go into the 10's of thousands though, but I can't imagine our server save being that large?

User avatar
rouss
Posts: 414
Joined: Wed Apr 15, 2009 12:16 pm

Re: The world is Saving... Please wait.

Post by rouss »

MatronDeWinter wrote:How big of a Solid State drive would the server need, and would that work? I could probably get one if it's something reasonable, I know a few distributors of said types of things. I know those things can go into the 10's of thousands though, but I can't imagine our server save being that large?
Well, given that max writing speed possibly floats around 40mbytes/sec and we have 7-9 sec saves, our savefile would be theoretically 300-400mb max. But that im not taking into account time taken to pull all the data out of memory, group, parse, etc. So, I believe ssd of 32-64gbs would be more than enough.
Chesapeake Nov. 1998 — July 2000
Second Age Feb. 2009 —

User avatar
son
UOSA Donor!!
UOSA Donor!!
Posts: 3329
Joined: Sun Nov 16, 2008 8:15 pm
Location: I put an r in it http://my.uosecondage.com/Status/Player/67484

Re: The world is Saving... Please wait.

Post by son »

Derrick does not own his own hardware.
Image
rdash wrote:BLACKFOOT STAY AWAY FROM MY FRIENDS OR MEET A BLADE OF VANQUISH AND ADDITIONAL TACTICS

Blood
Posts: 66
Joined: Sun Apr 25, 2010 11:38 pm

Re: The world is Saving... Please wait.

Post by Blood »

If we want to get rid of the pause, save and resume metodology a lot of development to be made. As Derrick mentioned to get a snapshot the whole server must be paused, with that medology UOSA is able to save dirty items, character items, house items, in other words, the whole server items. The other metodoly (asynchronously) allows the server to save items but require a lot of development and implementation, thus time and effort. It all depends on the priorities of Derrick and the importance of how the server is saving.

The pause is usefull in some ways by giving you time to think your next move, lets say for instance when you are trying to escape from a red or getting trapped by trash mobs but not usefull in a tournament fight or if you are the red trying to kill a blue. Eight seconds can decide something or nothing it all depends the situation.

SSD... investing and not solving completely the "problem" is not a solution. Anyways era accuracy didnt had the pauses!! im just kidding :)

User avatar
nightshark
UOSA Subscriber!
UOSA Subscriber!
Posts: 4550
Joined: Mon Apr 20, 2009 10:47 pm

Re: The world is Saving... Please wait.

Post by nightshark »

Server saves do suck, time flies when you're playing and it seems like you're waiting for server saves every 5 minutes. The server has been very stable whenever I have been playing it, would it be possible to maybe increase the time gap between saves? In the whole time I have played here I think I have seen the shard crash once (and that wasn't even a crash, it was a DoS attack).

On OSI we were constantly dealing with roll backs due to shard crashes, it would never be as bad here as it was back when :P
<green> grats pink and co. .... the 3 of you f---ing scrubs together can blow up a bard. IMPRESSIVE

User avatar
MatronDeWinter
UOSA Donor!!
UOSA Donor!!
Posts: 7249
Joined: Wed Mar 04, 2009 3:35 am
Location: 你的錢包

Re: The world is Saving... Please wait.

Post by MatronDeWinter »

Oh yeah, I didn't even think that Derrick does not own the server.

Well, what are server saves, like every 15 minutes? Maybe that can be toned down some to every 1/2 hour or something?

There has been almost no crashes, and only like 1-2 times I can think of that a revert has been needed since I have been playing here. I don't think a (possible) extra 15 minutes added on to the revert time would have any significance when compared to the many seconds a day that will be saved by decreasing the save frequency.

User avatar
rouss
Posts: 414
Joined: Wed Apr 15, 2009 12:16 pm

Re: The world is Saving... Please wait.

Post by rouss »

save the world every 2 hours
Chesapeake Nov. 1998 — July 2000
Second Age Feb. 2009 —

User avatar
Derrick
Posts: 9004
Joined: Thu Dec 13, 2007 7:49 pm
Location: Cove
Contact:

Re: The world is Saving... Please wait.

Post by Derrick »

There are every 30 mins now, and people do get Very upset on 20 mins rollbacks.

We can go many months without a crash, and then have a few in a couple days; usually related to patches.

There are some things we can do to significantly reduce save-times, but it's going to take some work; and if doing saves in sections it's critical that we be very careful about maintaining a consistent wolds state, so that we do not introduce any duping exploits.

Saving the whole world every time is slow, but it's Very secure.
Image
"The text in this article or section may be incoherent or very hard to understand, and should be reworded if the intended meaning can be determined."

Post Reply