I agree with Henry on the JNI library, but also would recommend using 64-bit windows instead of 32-bit windows. It makes a big difference in cache size for LiveServer, and in turn, performance to have a larger heap size. We typically have a 3.5GB JVM for LiveServers. It depends on how much content you have, but we performance tested a 10K page site and found that 3.5GB was the right number to keep about 80% of our content in cache.
Also, we've authored a white paper with a number of other Performance Tuning tricks for LiveServer + Web Server and for CMS as well: http://www.oshyn.com/_literature_33846/Performance_Tuning_Open_Text_Web_Solutions_Management_Server_and_Delivery_Server Christian http://www.oshyn.com On Nov 30, 9:28 am, ArryD <[email protected]> wrote: > Thanks Henry this is much appreciated! My client at the moment is not > too happy with LS performance so trying a few things to improve it. > > On Nov 30, 4:29 pm, "Henry Lu a.k.a. Javahand" <[email protected]> > wrote: > > > Sure Aaron, for you, anything. > > > 1. First find out if you need to use JNI dlls. > > > Stop Tomcat. Re-start it from the command line by invoking the startup.bat > > in "bin" folder. If the Cat is not taking advantage of JNI low level IO > > operations, you will see a complaint from the Cat: > > > "The Apache Tomcat Native library which allows optimal performance in > > production environments was not found on the java.library.path" > > > 2. If that is the case, go to tomcat.apache.org and look for "tomcat native" > > under connector download. There should be plenty of pre-compiled binaries > > for you to download in version 1.1.x. (tcnative-1.dll). > > > Personally, I have not found that the minor version makes any difference but > > the later compilation does branch out on 32 bit vs. 64 bit. So if your box > > is 64 bit, you should find the the dll compiled with 64 bit. Apache site > > also offers the source that you can compile with the designated VC++ > > compiler. I would imagine that VC++ 6.00 is the safest to statically link > > all WIN32 API's. > > > After download, drop the Cat native dll in its "bin" folder and re-start it > > from the command. If the complaint is gone, your Cat has been successfully > > naturalized and the performance will be better. > > > Henry Lu > > > On Mon, Nov 30, 2009 at 10:02 AM, ArryD <[email protected]> wrote: > > > Henry could you please explain ow to configure Tomcat to use the > > > native DLL? > > > > On Nov 28, 7:26 pm, "Henry Lu a.k.a. Javahand" <[email protected]> > > > wrote: > > > > Alex-- > > > > > I'm guessing your LS is installed on Windoze. > > > > > If that is the correct assumption, the key to performance improvement is > > > > actually outside LS, but rather on the app server -- Tomcat. Two thing > > > that > > > > will enhance performances: > > > > > 1)Use Tomcat native dll for windows. > > > > 2)Maximize memory alloc for JVM for Tomcat on the Windoze box (1024 MB) > > > > > Let me know if these help. > > > > > Henry Lu > > > > > On Sat, Nov 28, 2009 at 1:53 PM, Alex <[email protected]> wrote: > > > > > I am curious as to if it is possible to optimize LiveServer setup for > > > > > performance. > > > > > > In current config LS is using MSSQL as persistence layer, during > > > > > various batch operations(indexing, batch content update, etc.) process > > > > > is stupendously slow. Neither of servers is under any significant load > > > > > at all(CPU utilization below 10%, low IO, etc.). Hence my question - > > > > > what could be done to optimize liveserver/mssql to perform better and > > > > > utilize resources more efficiently? > > > > > > -- > > > > > > You received this message because you are subscribed to the Google > > > Groups > > > > > "RedDot CMS Users" group. > > > > > To post to this group, send email to [email protected] > > > . > > > > > To unsubscribe from this group, send email to > > > > > [email protected]<reddot-cms-users%2Bunsubscrib > > > > > [email protected]><reddot-cms-users%2Bunsubscrib > > > [email protected]> > > > > > . > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/reddot-cms-users?hl=en. > > > > > -- > > > > 646-807-8683 > > > > -- > > > > You received this message because you are subscribed to the Google Groups > > > "RedDot CMS Users" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<reddot-cms-users%2Bunsubscrib > > > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/reddot-cms-users?hl=en. > > > -- > > 646-807-8683 -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
