Graal Forums  

Go Back   Graal Forums > General Forums > Graal Main Forum (English)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-29-2005, 06:25 PM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Lag...the great miracle, and the great mystery

Recently, I've been lagging worse than normal. A computer with the same specs lags less with light effects on than I do with light effects off, so something must be causing lag. If it's some kind of spyware, Ad-Aware couldn't find it. It might be because I only have, like, 400MB left on my hardrive.
__________________
Reply With Quote
  #2  
Old 05-29-2005, 06:27 PM
Splke Splke is offline
gwtfc***mattrs/gpsof
Splke's Avatar
Join Date: Oct 2003
Posts: 3,505
Splke is on a distinguished road
Send a message via AIM to Splke Send a message via Yahoo to Splke
Delete some pr0n.

Graal server's were lagging awhile back, but it seems to be good now. What client are you using and where at?
__________________
Quote:
Originally Posted by ZanderX
Argo was very right.
Quote:
Originally Posted by haunter
No, that would look stupid, shut your stupid face, stupid.
Quote:
Originally Posted by Nappa
In the words of the great Argosax

WOOHOO BOOBIES
Reply With Quote
  #3  
Old 05-29-2005, 06:30 PM
Nitkizi Nitkizi is offline
Nil Recurring
Nitkizi's Avatar
Join Date: Jun 2002
Posts: 1,911
Nitkizi is on a distinguished road
Send a message via AIM to Nitkizi
It may be a good idea to free some space up on your harddrive too..
__________________
I got wiring loose inside my head
I got books that I never ever read
I got secrets in my garden shed
I got a scar where all my urges bled
I got people underneath my bed
I got a place where all my dreams are dead
Swim with me into your blackest eyes
Reply With Quote
  #4  
Old 05-29-2005, 06:32 PM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Quote:
Originally Posted by Splke
Delete some pr0n.
If I had any, it would make choosing what to delete a lot easier

Quote:
Originally Posted by Splke
Graal server's were lagging awhile back, but it seems to be good now. What client are you using and where at?
I was using version 2.31 on Zone. I don't use v3 because it only works fullscreen.
__________________
Reply With Quote
  #5  
Old 05-29-2005, 06:34 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Quote:
Originally Posted by Googi
I was using version 2.31 on Zone. I don't use v3 because it only works fullscreen.
Try switching to DirectX in options. In Graal3 that is.

Lack of file space on Windows can cause a great deal of problems if that amount actually fluctuates a lot. Try deleting FILENAMESCACHE.txt, or turning it off alltogether.

What kind of lag do you mean anyway? Graphic lag? Network lag?
Reply With Quote
  #6  
Old 05-29-2005, 06:50 PM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
I got Graalv3 to work in windowed mode, but it's way, way laggier than v2.31
__________________
Reply With Quote
  #7  
Old 05-29-2005, 08:49 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Defragment, maybe? Although most of Graal's files are tiny anyway.

Does this affect any other games?
__________________
Reply With Quote
  #8  
Old 05-29-2005, 09:45 PM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Quote:
Originally Posted by Kaimetsu
Does this affect any other games?
I don't know. It doesn't seem to effect video files though.
__________________
Reply With Quote
  #9  
Old 05-30-2005, 12:37 AM
Butz Butz is offline
Foxy
Butz's Avatar
Join Date: May 2001
Location: New York State
Posts: 2,831
Butz is on a distinguished road
Send a message via AIM to Butz
It got horribly worse after today's NPCServer reset. I can't even go through doors. :-/
__________________

FoxKelfonne @ DeviantART(updated: Dec 14, 2010)
Many Thanks to konidias for my avatar



Shawn Kelfonne - Aegis Mage of Dustari
Reply With Quote
  #10  
Old 05-30-2005, 01:07 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by Googi
I don't know. It doesn't seem to effect video files though.
Unfortunately, there are like a million things that could be responsible. Greedy processes, fragmented files, broken/old drivers, etc.
__________________
Reply With Quote
  #11  
Old 05-30-2005, 04:18 AM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
GET MORE RAM!

AND ALSO.


Try deleting some files from your heads, shields, swords, and webgifs folder. If Graal is like most programs, it has to go through all the files to find the ones it is looking for, and it probably takes longer and sucks up system resources to look through thousands of files in order to load graphics.
Reply With Quote
  #12  
Old 05-30-2005, 12:58 PM
Benm00t Benm00t is offline
I made a tree!
Benm00t's Avatar
Join Date: Jul 2003
Location: The Intarwebbernetwork!
Posts: 987
Benm00t is on a distinguished road
Quote:
Originally Posted by protagonist
Try deleting some files from your heads, shields, swords, and webgifs folder. If Graal is like most programs, it has to go through all the files to find the ones it is looking for, and it probably takes longer and sucks up system resources to look through thousands of files in order to load graphics.
Yeah that might work. I went and did that and noticed quite a bit of a speed boost on GK.
__________________
Lag is a good thing. Only those without it complain.

~ Ben
Reply With Quote
  #13  
Old 05-30-2005, 05:20 PM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
Quote:
Originally Posted by Benm00t
Yeah that might work. I went and did that and noticed quite a bit of a speed boost on GK.
I am the forerunner of Graal Technical Support. I exist because nobody else does.
Reply With Quote
  #14  
Old 05-30-2005, 05:29 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
are you running @ 16bit colors? I know that 32 lags the **** out of my graal.
__________________
Reply With Quote
  #15  
Old 05-30-2005, 11:52 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by protagonist
If Graal is like most programs, it has to go through all the files to find the ones it is looking for
Why do you think it indexes the files during startup?
__________________
Reply With Quote
  #16  
Old 05-31-2005, 02:39 AM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
Quote:
Originally Posted by Kaimetsu
Why do you think it indexes the files during startup?
I didn't know it did, actually. However, if it indexes these files during startup, it still has to store this index in memory. The fewer it has to store, the fewer it has to process, the fewer resources it uses to do so, etc.

If the client didn't have to run a check when it was being used, then the client would not know whether it actually had the necessary graphic, and would not know to download any missing graphics. If it has to look at each indice to see if it is a certain graphic, then surely it must soak up some resources doing so.
Reply With Quote
  #17  
Old 05-31-2005, 03:44 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by protagonist
I didn't know it did, actually. However, if it indexes these files during startup, it still has to store this index in memory. The fewer it has to store, the fewer it has to process, the fewer resources it uses to do so, etc
True. But I do not think it is likely to be a bottleneck, unless the user has literally millions of files. There are plenty of very efficient ways to construct and traverse such indices.
__________________
Reply With Quote
  #18  
Old 05-31-2005, 05:15 AM
Splke Splke is offline
gwtfc***mattrs/gpsof
Splke's Avatar
Join Date: Oct 2003
Posts: 3,505
Splke is on a distinguished road
Send a message via AIM to Splke Send a message via Yahoo to Splke
Somebody once suggested making a fat32 partition and sticking all of the useless junk from Graal into it to speed up the client, perhaps you could try? :0
__________________
Quote:
Originally Posted by ZanderX
Argo was very right.
Quote:
Originally Posted by haunter
No, that would look stupid, shut your stupid face, stupid.
Quote:
Originally Posted by Nappa
In the words of the great Argosax

WOOHOO BOOBIES
Reply With Quote
  #19  
Old 05-31-2005, 05:33 AM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
Quote:
Originally Posted by Kaimetsu
True. But I do not think it is likely to be a bottleneck, unless the user has literally millions of files. There are plenty of very efficient ways to construct and traverse such indices.
It depends, I think. Sometimes, depending on the computer, larger folders take a longer time to open. Larger can mean either many files or bigger files. I know my webgifs is 11.8mb and 2,800 files, which is a fair amount considering I rarely play Graal. In these cases, and pretty much any case, RAM helps. Even if it doesn't bottleneck, each indice must be examined. Does Graal look at filesize, modified dates, and such, or just names? Or must it scan the raw data? If it scans raw data, larger files could take a far longer time to completely scan.
Reply With Quote
  #20  
Old 05-31-2005, 06:37 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by protagonist
It depends, I think. Sometimes, depending on the computer, larger folders take a longer time to open
In explorer? Yeah, but how's that relevant here?
__________________
Reply With Quote
  #21  
Old 05-31-2005, 09:03 AM
Trevor Trevor is offline
True
Trevor's Avatar
Join Date: Mar 2003
Posts: 2,253
Trevor is on a distinguished road
Quote:
Originally Posted by protagonist
Even if it doesn't bottleneck, each indice must be examined.
A proper search procedure on a good hash table will defiantly not be any kind of bottleneck.


Quote:
Does Graal look at filesize, modified dates, and such, or just names?
It compares the timestamp of the local file to the one stored on server. But why does that matter? It is not like it is storing that in memory.
__________________


name: Trevor Fancher
email: trevor at fancher dot org
home page: fancher.org
Reply With Quote
  #22  
Old 05-31-2005, 02:17 PM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
Quote:
Originally Posted by Kaimetsu
In explorer? Yeah, but how's that relevant here?
*shrug*

I figured that if one program had difficulty opening it, then another might as well.


Quote:
Originally Posted by Trevor
A proper search procedure on a good hash table will defiantly not be any kind of bottleneck.
Is that what Graal has? I haven't seen the source code.

Quote:
Originally Posted by Trevor
It compares the timestamp of the local file to the one stored on server. But why does that matter? It is not like it is storing that in memory.
It has to do that, which takes time. Googi asked for anything to help fix his problem, and this isn't a far-fetched one to try.
Reply With Quote
  #23  
Old 05-31-2005, 04:14 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Graal is indexing the files, it remembers the location and the timestamp, see FILENAMECACHE.txt. You can turn that off in the options, but the first start of the program will take some time then. In v4 it is displaying a window telling you that it is scanning the folders for fast access while doing it.
It can take quite some time on Windows because when accessing NTFS drives Windows loads information about access rights and such, which can take ages. It is not possible to turn off that, the only choice is to use some better file system (FAT32 is much faster, but doesn't have security options), or some better OS, or delete files. The folder scanning should not slow down the game though, it is only slowing down the start.

About lag: Try to update your drivers for gfx card and sound card, and check if you have anything running that is slowing down your computer (task manager)
Reply With Quote
  #24  
Old 05-31-2005, 04:49 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
Oh and turn up the volumes slighty, i.e the voice one. I heard there was a bug on that or so.
__________________
Reply With Quote
  #25  
Old 06-01-2005, 12:59 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
I deleted a bunch of head/sword/shield/body/etc GFX. It didn't do a thing.
__________________
Reply With Quote
  #26  
Old 06-01-2005, 01:34 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by protagonist
I figured that if one program had difficulty opening it, then another might as well
"opening" folders is only meaningful in certain programs, such as explorer.
__________________
Reply With Quote
  #27  
Old 06-01-2005, 04:18 AM
Trevor Trevor is offline
True
Trevor's Avatar
Join Date: Mar 2003
Posts: 2,253
Trevor is on a distinguished road
Quote:
Originally Posted by protagonist
I figured that if one program had difficulty opening it, then another might as well.
You are a bit confused on the way filesystems work. When you access a file, you aren't actually opening each folder in the directory tree to get to it. You are directly accessing that file. You just have to tell the computer where to find it.

For an example open up your local terminal (or whatever it is called on Windows), and do a cd $path. You will notice for all values of $path that the execution time will be the same (try a really deep path and see).
__________________


name: Trevor Fancher
email: trevor at fancher dot org
home page: fancher.org
Reply With Quote
  #28  
Old 06-01-2005, 01:13 PM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
Quote:
Originally Posted by Trevor
You are a bit confused on the way filesystems work. When you access a file, you aren't actually opening each folder in the directory tree to get to it. You are directly accessing that file. You just have to tell the computer where to find it.

For an example open up your local terminal (or whatever it is called on Windows), and do a cd $path. You will notice for all values of $path that the execution time will be the same (try a really deep path and see).
Like anybody remembers the DOS change directory command or it's usage besides us two :P
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #29  
Old 06-01-2005, 03:16 PM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
Quote:
Originally Posted by Kaimetsu
"opening" folders is only meaningful in certain programs, such as explorer.
Ok.

Quote:
Originally Posted by Trevor
You are a bit confused on the way filesystems work. When you access a file, you aren't actually opening each folder in the directory tree to get to it. You are directly accessing that file. You just have to tell the computer where to find it.

For an example open up your local terminal (or whatever it is called on Windows), and do a cd $path. You will notice for all values of $path that the execution time will be the same (try a really deep path and see).
Thank you for getting to the point, teaching me something in the process, all without posting short answers in which extracting information is like pulling teeth. Kudos.
Quote:
Originally Posted by HoudiniMan
Like anybody remembers the DOS change directory command or it's usage besides us two :P
I do! Also, I remember del *.*, dir/p, and win(or exit). Also, open for text files. I need to know these things to play all my pirated DOS games.
Reply With Quote
  #30  
Old 06-01-2005, 08:01 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by HoudiniMan
Like anybody remembers the DOS change directory command or it's usage besides us two :P
Or anybody that has ever written a Windows batch file.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.