Last visit was: It is currently Fri Sep 03, 2010 8:12 am


All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 60 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Loading/saving duration
PostPosted: Sun Aug 09, 2009 3:16 pm 
 

Joined: Sun Aug 09, 2009 2:58 pm
Posts: 5
As you can see the attached file, saving duration is too long(about 2.5min).

Is it normal?

It seems reasonable time consuming to play with 70MB xml file, but it makes the autosave feature obscure :(

Using Intel 2160 CPU(duel core, overclocked to 2.8Ghz), 2gb ram, x86 OS(XP sp3). Not a fancy system, but I think it's not too slow computer...


Attachments:
saving.png
saving.png [ 4.44 KiB | Viewed 1198 times ]
Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Mon Aug 10, 2009 9:38 am 
 

Joined: Sun Aug 09, 2009 2:58 pm
Posts: 5
Attachment:
skyr.png
skyr.png [ 6.71 KiB | Viewed 1183 times ]

During saving the game, onlink uses very big part of CPU and memory(about 1.5 gig!).

Even more, the game crashed BEFORE saving procedure terminated, for now.
("Staging world state into XML structures", "Writing to ~~~.xml.gz" are done, but no "write to disk" message appeared.)

Any troubleshooting guide?

I'm using the most recent Onlink version(0.2.0 a8 r23).


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Mon Aug 10, 2009 12:29 pm 
Project Manager
User avatar
 

Joined: Tue Mar 01, 2005 9:00 am
Posts: 1083
Location: Minnapolis, MN, U.S.A.
It's a known issue specifically with XP, and we're looking into it. Hang tight.

_________________
Image


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Tue Aug 11, 2009 12:03 am 
Project Manager
User avatar
 

Joined: Sat Apr 02, 2005 3:31 pm
Posts: 1196
Location: The vicinity of an area adjacent to a location.
Miah wrote:
It's a known issue specifically with XP, and we're looking into it. Hang tight.

Miah, before I hunt this problem down, can you think of anything that would cause this?

_________________
- Tycho

Image


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Tue Aug 11, 2009 2:27 am 
 

Joined: Sun Aug 09, 2009 2:58 pm
Posts: 5
Maybe my savefile would be helping(or not. Who knows?).

I played about 3 game-days, and I did no quest-line or "special" missions. I made 27 denial clients, but it will hardly matters for this problem, I think. However, the uncompressed savefile has 75mb, which I think pretty big size for little progress.


I forced to re-compress the XML file because gz-compressed savefile exceeded 5mb.


Attachments:
Yukari.rar [2.16 MiB]
Downloaded 11 times
Top
Offline Profile  
 
 Post subject: Save problem... takes almost 10 minutes to do a save >.<
PostPosted: Tue Aug 11, 2009 9:14 am 
 

Joined: Mon Apr 23, 2007 1:16 pm
Posts: 67
i cant quote it but took about 550 second last time i tried to go out of onlink
i think the "save as XML" idea didn't work out 2 good - its simply 2 slow >.<, should make some sort of binary-format instead, also if removing the compression would make "noticeably faster", i wouldn't care if it so used 10x the size
ps:using v 0.2.0-a8-23-g0c617cf

and i haven't even came so very far yet, only got log deleter/proxy disabler v5/ start stuff

_________________
zzzzzz yach


Last edited by hans henrik on Tue Aug 11, 2009 9:22 am, edited 1 time in total.

Top
Offline Profile  
 
 Post subject: Re: Save problem... takes almost 10 minutes to do a save >.<
PostPosted: Tue Aug 11, 2009 9:22 am 
 

Joined: Tue Aug 26, 2008 6:55 pm
Posts: 16
Don't now about that, it works fine for me. Try running it as admin, it does need privliges for app data.


Top
Offline Profile E-mail  
 
 Post subject: Re: Save problem... takes almost 10 minutes to do a save >.<
PostPosted: Tue Aug 11, 2009 9:23 am 
 

Joined: Mon Apr 23, 2007 1:16 pm
Posts: 67
_black_cell_ wrote:
Don't now about that, it works fine for me. Try running it as admin, it does need privliges for app data.

how long have you came? was no problem for me either untill i played few hours yesterday

_________________
zzzzzz yach


Top
Offline Profile  
 
 Post subject: Re: Save problem... takes almost 10 minutes to do a save >.<
PostPosted: Tue Aug 11, 2009 9:43 am 
 

Joined: Mon Apr 23, 2007 1:16 pm
Posts: 67
could som1 check how long they use to save this? http://www.speedyshare.com/265431882.html
(sorry for double-posting, tho was intensional)

_________________
zzzzzz yach


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Tue Aug 11, 2009 9:48 am 
 

Joined: Mon Apr 23, 2007 1:16 pm
Posts: 67
oh.. i got same problem

_________________
zzzzzz yach


Top
Offline Profile  
 
 Post subject: Re: Save problem... takes almost 10 minutes to do a save >.<
PostPosted: Tue Aug 11, 2009 11:35 am 
User avatar
 

Joined: Sat Jun 03, 2006 3:51 am
Posts: 1124
Location: Look at my horse, my horse is amazing!
Are you on XP? If you're on XP, this is a known problem and a fix is being worked on.

-- Griffinhart

EDIT: I'm merging this thread with the other thread re: saving/loading times.

_________________
"My word is my honor. My honor is my life."
-- Demonchild, Angelkin, the Blackest Seraph, the Final Warrior

Image


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Fri Aug 14, 2009 4:24 pm 
 

Joined: Mon Apr 23, 2007 1:16 pm
Posts: 67
i cant play onlink untill this is resolved )-:

btw what i can tell on my pc at least, an excessive amount of memory is being used, and its constantly "using the pagefile" while saves... >.< (even if its more ram available)

_________________
zzzzzz yach


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Sat Aug 15, 2009 11:01 am 
Project Manager
User avatar
 

Joined: Sat Apr 02, 2005 3:31 pm
Posts: 1196
Location: The vicinity of an area adjacent to a location.
Note that the problem is XP-specific. If you use any other OS, things seem fine. We're working on resolving this, but we need to identify what DLLs Onlink is using on Windows XP, so we can bundle the correct ones with it. Theoretically, once the correct DLLs are discovered, we can just push out an update and everyone with XP will start having decent save times.

_________________
- Tycho

Image


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Sun Aug 16, 2009 5:09 am 
 

Joined: Mon Apr 23, 2007 1:16 pm
Posts: 67
Tycho wrote:
Note that the problem is XP-specific. If you use any other OS, things seem fine. We're working on resolving this, but we need to identify what DLLs Onlink is using on Windows XP, so we can bundle the correct ones with it. Theoretically, once the correct DLLs are discovered, we can just push out an update and everyone with XP will start having decent save times.

dependency walker ftw?

_________________
zzzzzz yach


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Sun Aug 16, 2009 5:42 am 
Project Manager
User avatar
 

Joined: Sat Apr 02, 2005 3:31 pm
Posts: 1196
Location: The vicinity of an area adjacent to a location.
Basically.

_________________
- Tycho

Image


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Sat Aug 29, 2009 8:16 am 
 

Joined: Wed Aug 26, 2009 4:53 am
Posts: 2
I think i have the same problem with XP, took off autosaving and the game quits/crashes when trying to logout from the Onlink user, therefore not saving my progress. Upgraded to Windows 7 and still have the same problem :?

Worth noting that im not that far into the game, same as Hans, Proxy disabler v.5, 1st Gateway etc.


Top
Offline Profile E-mail  
 
 Post subject: Re: Loading/saving duration
PostPosted: Sat Aug 29, 2009 1:04 pm 
Project Manager
User avatar
 

Joined: Sat Apr 02, 2005 3:31 pm
Posts: 1196
Location: The vicinity of an area adjacent to a location.
You "upgraded" to Windows 7. As in, via the installer 'Upgrade' option, or reformatted and installed Windows 7? If the former, that's interesting news, because that means that Windows 7 isn't distributed with whatever is causing the problem, but it doesn't eliminate it on an upgrade, either.

_________________
- Tycho

Image


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Sat Aug 29, 2009 1:45 pm 
 

Joined: Wed Aug 26, 2009 4:53 am
Posts: 2
Sorry yeah bad phrasing, i installed Windows 7 from scratch. Just spent an hour on Onlink, and has happened again :( ....seems like it hangs for a few minutes then it states Run Time error before telling me Onlink will now close.

Not sure if the following may be partly correlated in any way:

-'Connecting to the gateway' at the beginning can take a few minutes.
-Fast forwarding the game sometimes brings this message (also happened in XP):

'Onlink has recovered from a serious error. Please zip and send your player profile to forensics@onlink-mod.net. Your player profile is still stable and you may resume play.'


Top
Offline Profile E-mail  
 
 Post subject: Re: Loading/saving duration
PostPosted: Wed Sep 09, 2009 7:03 am 
Project Manager
User avatar
 

Joined: Sat Apr 02, 2005 3:31 pm
Posts: 1196
Location: The vicinity of an area adjacent to a location.
It'd also be helpful to see the specs of the machines encountering the issue (especially pertaining to the processor). I suspect it could be a scheduling issue, which would actually be pretty easy to fix.

_________________
- Tycho

Image


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Wed Sep 09, 2009 9:37 am 
 

Joined: Mon Apr 23, 2007 1:16 pm
Posts: 67
Tycho wrote:
It'd also be helpful to see the specs of the machines encountering the issue (especially pertaining to the processor). I suspect it could be a scheduling issue, which would actually be pretty easy to fix.

short,
Intel Core Duo, 1,66 GHz, SSE3
1 GB physical memory (interesting enough, onlink uses over 500 MB ram while loading, using the pagefile allot even when more physical memory available, and disabling the pagefile=onlink crash on load..)

_________________
zzzzzz yach


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Thu Sep 10, 2009 2:16 am 
 

Joined: Wed Jan 03, 2007 5:17 am
Posts: 68
Location: 127.0.0.1
Dual core 2500 running windows 7, and i have no problems

_________________
Image


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Thu Sep 10, 2009 6:45 pm 
Project Manager
User avatar
 

Joined: Sat Apr 02, 2005 3:31 pm
Posts: 1196
Location: The vicinity of an area adjacent to a location.
I really need a multi-factored poll for this. I need a poll that covers this:

1. Are you experiencing the load/save duration issue?
2. What operating system are you currently running? Did you use the "upgrade" install option to upgrade from a previous version? If yes, what OS did you run previously?
3. What processor do you have? Single core? Dual core? Hyperthreaded?

It'd be great to get a graphical representation of this. Anyone want to set up a poll for this, somehow, somewhere?

I'd really like to get this load/save issue resolved before we really get Cerberus going.

_________________
- Tycho

Image


Top
Offline Profile  
 
 Post subject: Re: Loading/saving duration
PostPosted: Fri Sep 11, 2009 12:39 am 
User avatar
 

Joined: Sat Dec 20, 2008 8:57 pm
Posts: 90
http://www.polldaddy.com/ ?


Top
Offline Profile E-mail  
 
 Post subject: Re: Loading/saving duration
PostPosted: Fri Sep 11, 2009 5:57 am 
Connoisseur of the Godawful
User avatar
 

Joined: Tue Mar 01, 2005 9:00 am
Posts: 452
Location: 127.0.0.1
I believe XP doesn't maintain any kind of buffer for file writing operations, which means that each fwrite() will be a system call, so I would advise keeping a buffer in memory and then writing save files in one shot.

_________________
Alastair Lynn / Official Git / Onlink Team


Top
Offline Profile E-mail  
 
 Post subject: Re: Loading/saving duration
PostPosted: Fri Sep 11, 2009 11:34 am 
User avatar
 

Joined: Thu Aug 18, 2005 8:19 pm
Posts: 36
Location: f(x)
Tycho wrote:
I really need a multi-factored poll for this. I need a poll that covers this:
<snip>


1) Yes. But only save seems to take quite a long time
2) XP home. "Upgraded" from 98 SE.
3) Core 2 DUO E8400 (3GHZ)

Hope it helps.


Top
Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 60 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created by Miah with assistance from hyprnova