I am trying to determine if we have set our TeamSite 6.1 cache high enough. I see in the forums that the recommendation is 3x the number of files and directories in your largest branch... but I haven't been able to figure out an easy way to determine that number. Surely there is some command line I can run somewhere, right?Thanks for the help.
Do you have too many branches? You wouldn't need an EXACT number, just an approximation of the largest number on any given branch. A simple way on either OS (Unix or Windows) would be to do a 'ls' (UNIX) or a 'dir' (WINDOWS) and get the total number of files and sizes. You can run the command on the mount point 'iwmnt' or 'Y:'. ls -R does a recursive search of a directory. Might not work on all versions of the commanddir /s/a/p should probably help on Windows.You can also output/pipe your result to a text file for in-depth analysis.
Okay, I just ran find dir -type f|wc -l on just one of my sub-branches (which itself has several sub branches) and came up with 2,326,434... can that even be right? should I be excluding editions from this to determine optimum cache?
Basically we have a formula to calculate the cache value and it depends on the largest number of files in a directory.
the 3 times the largest branch is just a ballpark estimation. Some other things to take into account are:RAM and VM footprint for iwserverWorkflow object thrash - iwstat -c (check available wftobjs and how often they get turned over). If I recall, once 90% of the total cache available used TS will turn some over that over. This will tell you how teamsite is caching cache objs relative to load. I believe there is a brief mention of this is the admin doc somewhere.Also Workflow plays into this too, which really depends on wft design and use of workflow.Keep in mind that too high of a setting could cause iwserver to die because of process limitations on a 32 bit os.The biggest issue is making this deterimination is that there is no direct relationship between memory and vm use and a cache objects.TS6.7.X has made advancements in performance around cached objects and content repositories, including memory monitor, and RAM and VM event triggers. But the assumption is that you are seeing performance issues because of iwserver, but there are other things at work which could also play into what you are seeing: apache, tomcat, etc