Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-23-2007, 12:48 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
filenamecache

I was wondering why filenamecache was implemented? Using filenamecache (if it is very large) can be extremely devastating on your framerate for some reason. I was running graal at half screen JUST so I could move until I disabled using filenamecache, now it runs nice and smoothly.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #2  
Old 06-23-2007, 01:16 AM
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
Using filenamecache is slowing you down?
Well it is a workaround around the damned slow NTFS which can take minutes to list just a few thousand files. But Graal needs to know where it can find the graphics, so it is remembering the filenames and modification time in FILENAMECACHE.txt and saves it a few second after the download of files has finished. The next time Graal is starting it already knows the location of the files and doesn't need to scan the whole folder. Accessing a file can still take some moments if the NTFS drive is huge and fragmented, can't do something about that though.
Reply With Quote
  #3  
Old 06-23-2007, 01:16 AM
PrinceOfKenshin PrinceOfKenshin is offline
Gani Guy
PrinceOfKenshin's Avatar
Join Date: May 2004
Location: Las Vegas, Nevada
Posts: 818
PrinceOfKenshin will become famous soon enough
how do you disable it?

Edit: i am having a huge problem where the graphics when i load up graal, they won't show and i deleted the filenamecache and now its taking forever for graal to load up
__________________


Quote:
Game Master (Server): Greetings PrinceOfKenshin, there are new posts on the forums that demand your urgent attention! God speed, the fate of the world is in your hands. If you fail, middle earth will forever be in the darkness and your children will be enslaved by McKain.
Reply With Quote
  #4  
Old 06-23-2007, 01:26 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by Admins View Post
Using filenamecache is slowing you down?
Well it is a workaround around the damned slow NTFS which can take minutes to list just a few thousand files. But Graal needs to know where it can find the graphics, so it is remembering the filenames and modification time in FILENAMECACHE.txt and saves it a few second after the download of files has finished. The next time Graal is starting it already knows the location of the files and doesn't need to scan the whole folder. Accessing a file can still take some moments if the NTFS drive is huge and fragmented, can't do something about that though.
Yes, Filenamecache is terrible on my computer, and makes my graal extremely slow. Disabling filenamecache seemed to do wonders on my framerate though, Graal (besides the lag on GK) is running as smooth as it used to, which is a great change since I have been having problems with low framerate on graal for a month or more.

A few friends of mine have also seen drastic changes in their framerate by disabling it.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #5  
Old 06-23-2007, 01:27 AM
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
Quote:
Originally Posted by PrinceOfKenshin View Post
and now its taking forever for graal to load up
That's what I explained: When you delete FILENAMECACHE.txt or disable filename cache in the graal options then Graal takes much more time to startup the first time you start it.
Reply With Quote
  #6  
Old 06-23-2007, 01:30 AM
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
Quote:
Originally Posted by Tigairius View Post
Yes, Filenamecache is terrible on my computer, and makes my graal extremely slow. Disabling filenamecache seemed to do wonders on my framerate though, Graal (besides the lag on GK) is running as smooth as it used to, which is a great change since I have been having problems with low framerate on graal for a month or more.

A few friends of mine have also seen drastic changes in their framerate by disabling it.
How many files do you have on your hard drive? I thought it can be slightly slower when accessing new files, but normally it is not really noticable. Disabling the filename cache can actually speed up the game, but it must be enabled by default for new players because people would be too scared when the programs takes minutes to start.
Reply With Quote
  #7  
Old 06-23-2007, 01:36 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
According to my cache list, I have 28783 files in my Graal folder that are accessed by FILENAMECACHE.txt
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 04:51 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.