Will this help the performance of the server?

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Will this help the performance of the server?

Post by JMD »

# Enable Warehouse Cache. If warehouse is not used will server clear memory used by this warehouse.
# Default: False
WarehouseCache = True

# How long warehouse should be stored in memory.
# Default: 15
WarehouseCacheTime = 15
The description doeasnt help much, does it mean that If the warehouse is not used the server will clear the memory used by this warehouse? Does this help with server perfomance if enabled?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Will this help the performance of the server?

Post by jurchiks »

It's a "CPU vs MEMORY" question. Which do have more of?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Re: Will this help the performance of the server?

Post by JMD »

memory id say
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Will this help the performance of the server?

Post by jurchiks »

Then use the cache. Obviously it will save some CPU cycles.
The description means if you enable it, the wh is cached, but if it isn't used for 15 minutes (2nd config), the cached wh is removed to save some memory. If it is called, it is constructed and put in cache again.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: Will this help the performance of the server?

Post by Pere »

jurchiks wrote:It's a "CPU vs MEMORY" question. Which do have more of?
Isn't it more about "HDD/MySQL speed vs MEMORY"?
Bones tardes amics meus tots!
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Will this help the performance of the server?

Post by UnAfraid »

I doubt that would affect performance in any way..
Caching warehouse or not you will gain nothing notice-able even with few thousand of players.
Image
Post Reply